Searched refs:assertReadingContentUriNotAllowed (Results 1 – 2 of 2) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | AccessPermissionWithDiffSigTest.java | 22 import static com.android.cts.usespermissiondiffcertapp.Asserts.assertReadingContentUriNotAllowed; 102 assertReadingContentUriNotAllowed(PERM_URI, null); in testReadProviderWithDiff() 120 assertReadingContentUriNotAllowed(PRIV_URI, "shouldn't read private provider"); in testReadProviderWhenPrivate() 129 assertReadingContentUriNotAllowed(AMBIGUOUS_URI, "shouldn't read ambiguous provider"); in testReadProviderWhenAmbiguous() 195 assertReadingContentUriNotAllowed(test1, null); in testRestrictingProviderMatchingPathDenied() 201 assertReadingContentUriNotAllowed(test2, null); in testRestrictingProviderMatchingPathDenied() 248 assertReadingContentUriNotAllowed(PERM_URI, "shouldn't read when starting test"); in testGetMimeTypePermission() 258 assertReadingContentUriNotAllowed(PRIV_URI, "shouldn't read when starting test"); in testGetMimeTypePrivate() 268 assertReadingContentUriNotAllowed(AMBIGUOUS_URI, "shouldn't read when starting test"); in testGetMimeTypeAmbiguous()
|
D | Asserts.java | 67 assertReadingContentUriNotAllowed(uri, null); in assertAccess() 76 static void assertReadingContentUriNotAllowed(Uri uri, String msg) { in assertReadingContentUriNotAllowed() method in Asserts 102 assertReadingContentUriNotAllowed(uri, msg); in assertReadingClipNotAllowed() 107 assertReadingContentUriNotAllowed(uri, msg); in assertReadingClipNotAllowed() 134 assertReadingContentUriNotAllowed(uri, msg); in assertContentUriNotAllowed()
|