Searched refs:assertPolicy (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 128 assertPolicy(info, StrictMode.DETECT_VM_CLOSABLE_LEAKS); in testUnclosedCloseable() 165 info -> assertPolicy(info, StrictMode.DETECT_VM_INSTANCE_LEAKS)); in testClassInstanceLimit() 190 assertPolicy(info, StrictMode.DETECT_VM_CLEARTEXT_NETWORK); in testCleartextNetwork() 350 violation -> assertPolicy(violation, StrictMode.DETECT_DISK_READ); in testRead() 382 violation -> assertPolicy(violation, StrictMode.DETECT_DISK_WRITE); in testWrite() 415 violation -> assertPolicy(violation, StrictMode.DETECT_NETWORK)); in testNetwork() 420 violation -> assertPolicy(violation, StrictMode.DETECT_NETWORK)); in testNetwork() 435 assertPolicy(violation, StrictMode.DETECT_DISK_WRITE); in testViolationAcrossBinder() 474 assertPolicy(violation, StrictMode.DETECT_VM_NON_SDK_API_USAGE); in checkNonSdkApiUsageViolation() 581 private void assertPolicy(ViolationInfo info, int policy) { in assertPolicy() method in StrictModeTest
|