Searched refs:perms (Results 1 – 3 of 3) sorted by relevance
99 final List<UriPermission> perms = context.getContentResolver() in verifyOutgoingPersisted() local103 if (perms.size() != 1) { in verifyOutgoingPersisted()106 final UriPermission perm = perms.get(0); in verifyOutgoingPersisted()113 if (perms.size() != 0) { in verifyOutgoingPersisted()
493 ArrayList<String> perms = new ArrayList<>(Arrays.asList( in testNoResidualPermissionsOnUninstall_part1() local503 perms.add(Manifest.permission.READ_EXTERNAL_STORAGE); in testNoResidualPermissionsOnUninstall_part1()506 grantPermissions(perms.toArray(new String[perms.size()])); in testNoResidualPermissionsOnUninstall_part1()643 ArrayList<String> perms = new ArrayList<>(Arrays.asList( in assertAllPermissionsGrantState() local670 perms.add(Manifest.permission.READ_EXTERNAL_STORAGE); in assertAllPermissionsGrantState()671 perms.add(Manifest.permission.WRITE_EXTERNAL_STORAGE); in assertAllPermissionsGrantState()672 assertPermissionsGrantState(perms.toArray(new String[perms.size()]), grantState); in assertAllPermissionsGrantState()
1360 final List<UriPermission> perms = getContext() in assertPersistedUriPermission() local1363 assertEquals("expected exactly one permission", 1, perms.size()); in assertPersistedUriPermission()1365 final UriPermission perm = perms.get(0); in assertPersistedUriPermission()1382 assertEquals("expected zero permissions", 0, perms.size()); in assertPersistedUriPermission()