Added in API level 28
android.os.strictmode
Classes
| CleartextNetworkViolation | |
| ContentUriWithoutPermissionViolation | |
| CredentialProtectedWhileLockedViolation |
Subclass of Violation that is used when a process accesses filesystem
paths stored in credential protected storage areas while the user is locked.
|
| CustomViolation | |
| DiskReadViolation | |
| DiskWriteViolation | |
| FileUriExposedViolation | |
| ImplicitDirectBootViolation |
Subclass of Violation that is used when a process implicitly relies
on automatic Direct Boot filtering.
|
| InstanceCountViolation | |
| IntentReceiverLeakedViolation | |
| LeakedClosableViolation | |
| NetworkViolation | |
| NonSdkApiUsedViolation |
Subclass of Violation that is used when a process accesses
a non SDK API.
|
| ResourceMismatchViolation | |
| ServiceConnectionLeakedViolation | |
| SqliteObjectLeakedViolation | |
| UnbufferedIoViolation |
See #Builder#detectUnbufferedIo()
|
| UntaggedSocketViolation | |
| Violation | Root class for all StrictMode violations. |
| WebViewMethodCalledOnWrongThreadViolation |
Classes
- CleartextNetworkViolation
- ContentUriWithoutPermissionViolation
- CredentialProtectedWhileLockedViolation
- CustomViolation
- DiskReadViolation
- DiskWriteViolation
- FileUriExposedViolation
- ImplicitDirectBootViolation
- InstanceCountViolation
- IntentReceiverLeakedViolation
- LeakedClosableViolation
- NetworkViolation
- NonSdkApiUsedViolation
- ResourceMismatchViolation
- ServiceConnectionLeakedViolation
- SqliteObjectLeakedViolation
- UnbufferedIoViolation
- UntaggedSocketViolation
- Violation
- WebViewMethodCalledOnWrongThreadViolation