Searched refs:perm (Results 1 – 3 of 3) sorted by relevance
61 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()
106 final UriPermission perm = perms.get(0); in verifyOutgoingPersisted() local107 if (!perm.getUri().equals(uri)) { in verifyOutgoingPersisted()109 "Expected " + uri + " but found " + perm.getUri()); in verifyOutgoingPersisted()
1325 final UriPermission perm = perms.get(0); in assertPersistedUriPermission() local1326 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()