Home
last modified time | relevance | path

Searched defs:permissions (Results 1 – 25 of 26) sorted by relevance

12

/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DUsePermissionTest23.java147 String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS}; in testRuntimeGroupGrantSpecificity() local
179 String[] permissions = new String[] {Manifest.permission.RECEIVE_SMS}; in testRuntimeGroupGrantExpansion() local
211 String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS}; in testCancelledPermissionRequest() local
237 String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS}; in testRequestGrantedPermission() local
271 String[] permissions = new String[] {Manifest.permission.WRITE_CONTACTS}; in testDenialWithPrejudice() local
347 String[] permissions = new String[] {Manifest.permission.READ_CALENDAR}; in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1() local
417 String[] permissions = new String[] {Manifest.permission.BIND_PRINT_SERVICE}; in testRequestNonRuntimePermission() local
434 String[] permissions = new String[] {"permission.does.not.exist"}; in testRequestNonExistentPermission() local
453 String[] permissions = new String[] { in testRequestPermissionFromTwoGroups() local
570 String[] permissions = new String[] {null}; in testNullPermissionRequest() local
[all …]
DBasePermissionActivity.java35 public final String[] permissions; field in BasePermissionActivity.Result
38 public Result(int requestCode, String[] permissions, int[] grantResults) { in Result()
57 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult()
DBasePermissionsTest.java94 int requestCode, String[] permissions, boolean[] granted) { in assertPermissionRequestResult()
309 String[] permissions, int requestCode, Class<?> clazz, Runnable postRequestAction) in requestPermissions()
414 protected void grantPermissions(String[] permissions) throws Exception { in grantPermissions()
422 protected void revokePermissions(String[] permissions, boolean legacyApp) throws Exception { in revokePermissions()
448 private void setPermissionGrantState(String[] permissions, boolean granted, in setPermissionGrantState()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellIdentityUtils.java114 ShellPermissionMethodHelper<T, U> methodHelper, String... permissions) { in invokeMethodWithShellPermissions()
135 Class<E> clazz, String... permissions) throws E { in invokeThrowableMethodWithShellPermissions()
155 String... permissions) { in invokeMethodWithShellPermissionsNoReturn()
196 Class<E> clazz, String... permissions) throws E { in invokeThrowableMethodWithShellPermissionsNoReturn()
DAdoptShellPermissionsRule.java51 @Nullable String... permissions) { in AdoptShellPermissionsRule()
DSystemUtil.java173 String... permissions) { in runWithShellPermissionIdentity()
196 @NonNull ThrowingRunnable runnable, String... permissions) { in runWithShellPermissionIdentity()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp26/src/com/android/cts/usepermission/
DUsePermissionTest26.java40 String[] permissions = new String[]{Manifest.permission.RECEIVE_SMS}; in testRuntimeGroupGrantNoExpansion() local
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp28/src/com/android/cts/usepermission/
DUsePermissionTest28.java45 String[] permissions = {ACCESS_FINE_LOCATION}; in testLocationPermissionWasSplit() local
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp29/src/com/android/cts/usepermission/
DUsePermissionTest29.java49 private BasePermissionActivity.Result requestPermissions(String[] permissions, in requestPermissions()
/cts/tests/tests/telephony/TestSmsApp/src/android/telephony/cts/sms/
DMainActivity.java44 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DAdoptShellPermissionsRule.java52 @Nullable String... permissions) { in AdoptShellPermissionsRule()
DSystemUtil.java159 String... permissions) { in runWithShellPermissionIdentity()
182 @NonNull ThrowingRunnable runnable, String... permissions) { in runWithShellPermissionIdentity()
/cts/tests/tests/os/jni/
Dandroid_os_cts_NoExecutePermissionTest.cpp37 char permissions[10]; in isAddressExecutable() local
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/
DPermissionActivity.java69 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DXmlParser.java45 HashMap<String, PermissionList> permissions = getPermissions(); in setAdditionalInfo() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestListActivity.java105 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DIdentityCredentialAuthentication.java113 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] state) { in onRequestPermissionsResult()
DFingerprintBoundKeysTest.java102 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] state) { in onRequestPermissionsResult()
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java51 public static void adoptShellPermissionIdentity(String... permissions) { in adoptShellPermissionIdentity()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/
DBiometricTest.java203 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] state) { in onRequestPermissionsResult()
/cts/tests/tests/permission2/src/android/permission2/cts/
DPermissionPolicyTest.java244 List<ExpectedPermissionInfo> permissions = new ArrayList<>(); in loadExpectedPermissions() local
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java174 DragAndDropPermissions permissions = null; in processDrop() local
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java161 List<PermissionInfo> permissions = mPackageManager.queryPermissionsByGroup( in testQuery() local
200 private void checkPermissionInfoName(String expectedName, List<PermissionInfo> permissions) { in checkPermissionInfoName()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DExternalStorageHostTest.java678 private void updatePermissions(String packageName, int userId, String[] permissions, in updatePermissions()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentLifecycleTest.java1202 String[] permissions, int requestCode) { in onRequestPermissionsFromFragment()

12