Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DUtilsProvider.java99 final List<UriPermission> perms = context.getContentResolver() in verifyOutgoingPersisted() local
103 if (perms.size() != 1) { in verifyOutgoingPersisted()
106 final UriPermission perm = perms.get(0); in verifyOutgoingPersisted()
113 if (perms.size() != 0) { in verifyOutgoingPersisted()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java1320 final List<UriPermission> perms = getContext() in assertPersistedUriPermission() local
1323 assertEquals("expected exactly one permission", 1, perms.size()); in assertPersistedUriPermission()
1325 final UriPermission perm = perms.get(0); in assertPersistedUriPermission()
1342 assertEquals("expected zero permissions", 0, perms.size()); in assertPersistedUriPermission()