Home
last modified time | relevance | path

Searched refs:perms (Results 1 – 3 of 3) 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/UsePermissionApp23/src/com/android/cts/usepermission/
DUsePermissionTest23.java493 ArrayList<String> perms = new ArrayList<>(Arrays.asList( in testNoResidualPermissionsOnUninstall_part1() local
503 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() local
670 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()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java1360 final List<UriPermission> perms = getContext() in assertPersistedUriPermission() local
1363 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()