Home
last modified time | relevance | path

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

/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.java86 int requestCode, String[] permissions, boolean[] granted) { in assertPermissionRequestResult()
272 String[] permissions, int requestCode, Class<?> clazz, Runnable postRequestAction) in requestPermissions()
346 protected void grantPermissions(String[] permissions) throws Exception { in grantPermissions()
354 protected void revokePermissions(String[] permissions, boolean legacyApp) throws Exception { in revokePermissions()
369 private void setPermissionGrantState(String[] permissions, boolean granted, in setPermissionGrantState()
/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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAdoptShellPermissionsRule.java51 @Nullable String... permissions) { in AdoptShellPermissionsRule()
DSystemUtil.java173 String... permissions) { in runWithShellPermissionIdentity()
196 @NonNull ThrowingRunnable runnable, String... permissions) { in runWithShellPermissionIdentity()
/cts/apps/PermissionApp/src/com/android/cts/permission/permissionapp/
DPermissionActivity.java69 public void onRequestPermissionsResult(int requestCode, String[] permissions, in onRequestPermissionsResult()
/cts/tests/tests/os/jni/
Dandroid_os_cts_NoExecutePermissionTest.cpp37 char permissions[10]; in isAddressExecutable() local
/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/
DFingerprintBoundKeysTest.java98 public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] state) { in onRequestPermissionsResult()
/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.java233 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.java679 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()
/cts/tools/release-parser/proto/
Drelease.proto311 repeated Permission permissions = 2; field