/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | UsePermissionTest23.java | 147 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 …]
|
D | BasePermissionActivity.java | 35 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()
|
D | BasePermissionsTest.java | 94 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/ |
D | ShellIdentityUtils.java | 114 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()
|
D | AdoptShellPermissionsRule.java | 51 @Nullable String... permissions) { in AdoptShellPermissionsRule()
|
D | SystemUtil.java | 173 String... permissions) { in runWithShellPermissionIdentity() 196 @NonNull ThrowingRunnable runnable, String... permissions) { in runWithShellPermissionIdentity()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp26/src/com/android/cts/usepermission/ |
D | UsePermissionTest26.java | 40 String[] permissions = new String[]{Manifest.permission.RECEIVE_SMS}; in testRuntimeGroupGrantNoExpansion() local
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp28/src/com/android/cts/usepermission/ |
D | UsePermissionTest28.java | 45 String[] permissions = {ACCESS_FINE_LOCATION}; in testLocationPermissionWasSplit() local
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp29/src/com/android/cts/usepermission/ |
D | UsePermissionTest29.java | 49 private BasePermissionActivity.Result requestPermissions(String[] permissions, in requestPermissions()
|
/cts/tests/tests/telephony/TestSmsApp/src/android/telephony/cts/sms/ |
D | MainActivity.java | 44 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | AdoptShellPermissionsRule.java | 52 @Nullable String... permissions) { in AdoptShellPermissionsRule()
|
D | SystemUtil.java | 159 String... permissions) { in runWithShellPermissionIdentity() 182 @NonNull ThrowingRunnable runnable, String... permissions) { in runWithShellPermissionIdentity()
|
/cts/tests/tests/os/jni/ |
D | android_os_cts_NoExecutePermissionTest.cpp | 37 char permissions[10]; in isAddressExecutable() local
|
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/ |
D | PermissionActivity.java | 69 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | XmlParser.java | 45 HashMap<String, PermissionList> permissions = getPermissions(); in setAdditionalInfo() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListActivity.java | 105 int requestCode, String permissions[], int[] grantResults) { in onRequestPermissionsResult()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | IdentityCredentialAuthentication.java | 113 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] state) { in onRequestPermissionsResult()
|
D | FingerprintBoundKeysTest.java | 102 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] state) { in onRequestPermissionsResult()
|
/cts/libs/install/src/com/android/cts/install/lib/ |
D | InstallUtils.java | 51 public static void adoptShellPermissionIdentity(String... permissions) { in adoptShellPermissionIdentity()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/biometrics/ |
D | BiometricTest.java | 203 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] state) { in onRequestPermissionsResult()
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | PermissionPolicyTest.java | 244 List<ExpectedPermissionInfo> permissions = new ArrayList<>(); in loadExpectedPermissions() local
|
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/ |
D | DropTarget.java | 174 DragAndDropPermissions permissions = null; in processDrop() local
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 161 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/ |
D | ExternalStorageHostTest.java | 678 private void updatePermissions(String packageName, int userId, String[] permissions, in updatePermissions()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentLifecycleTest.java | 1202 String[] permissions, int requestCode) { in onRequestPermissionsFromFragment()
|