Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DServicePermissionTest.java61 for (String perm : sServicePermissions) { in testServicePermissions()
63 new String[] { perm }, PackageManager.MATCH_UNINSTALLED_PACKAGES); in testServicePermissions()
66 failures.add(perm + " held by " + pi.packageName); in testServicePermissions()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DUtilsProvider.java106 final UriPermission perm = perms.get(0); in verifyOutgoingPersisted() local
107 if (!perm.getUri().equals(uri)) { in verifyOutgoingPersisted()
109 "Expected " + uri + " but found " + perm.getUri()); in verifyOutgoingPersisted()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java1325 final UriPermission perm = perms.get(0); in assertPersistedUriPermission() local
1326 assertEquals("unexpected uri", uri, perm.getUri()); in assertPersistedUriPermission()
1328 final long actual = perm.getPersistedTime(); in assertPersistedUriPermission()
1338 assertEquals("unexpected read status", expectedRead, perm.isReadPermission()); in assertPersistedUriPermission()
1339 assertEquals("unexpected write status", expectedWrite, perm.isWritePermission()); in assertPersistedUriPermission()