Home
last modified time | relevance | path

Searched refs:assertNoViolation (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java173 assertNoViolation(() -> references.add(new LimitedClass())); in testClassInstanceLimit()
214 assertNoViolation( in testEncryptedNetwork()
238 assertNoViolation( in testFileUriExposure() method
289 assertNoViolation( in testContentUriWithoutPermission() method
317 assertNoViolation( in testUntaggedSocketsHttp() method
339 assertNoViolation( in testUntaggedSocketsRaw() method
494 assertNoViolation(() -> service.getPid()); in testViolationAcrossBinder()
543 assertNoViolation(() -> { in testNonSdkApiUsage() method
646 private static void assertNoViolation(ThrowingRunnable r) throws Exception { in assertNoViolation() method in StrictModeTest
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java290 assertNoViolation( in assertUnlocked()
299 assertNoViolation( in assertUnlocked()
405 private static void assertNoViolation(StrictMode.VmPolicy policy, ThrowingRunnable r) in assertNoViolation() method in EncryptionAppTest