Searched refs:setPermissionGrantState (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | PermissionGrantDelegateTest.java | 67 mDpm.setPermissionGrantState(null, TEST_APP_PKG, TEST_PERMISSION, in testCannotAccessApis() 89 mDpm.setPermissionGrantState(null, TEST_APP_PKG, TEST_PERMISSION, in testCanAccessApis()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PermissionsTest.java | 278 mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, in assertSetPermissionGrantState() 287 assertFalse(mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, in assertFailedToSetDevelopmentPermissionGrantState() 299 assertFalse(mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, in assertSetPermissionGrantStatePreMApp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | CommandReceiverActivity.java | 351 mDpm.setPermissionGrantState(mAdmin, getPackageName(), in onCreate() 586 mDpm.setPermissionGrantState(mAdmin, getPackageName(), in clearAllPoliciesAndRestrictions() 589 mDpm.setPermissionGrantState(mAdmin, getPackageName(), Manifest.permission.RECORD_AUDIO, in clearAllPoliciesAndRestrictions() 591 mDpm.setPermissionGrantState(mAdmin, getPackageName(), Manifest.permission.CAMERA, in clearAllPoliciesAndRestrictions()
|
D | PermissionLockdownTestActivity.java | 176 mDevicePolicyManager.setPermissionGrantState(mAdmin, PERMISSION_APP_PACKAGE, in onCheckedChanged()
|
D | ByodHelperActivity.java | 528 mDevicePolicyManager.setPermissionGrantState(mAdminReceiverComponent, getPackageName(), in grantCameraPermissionToSelf() 550 mDevicePolicyManager.setPermissionGrantState(mAdminReceiverComponent, getPackageName(), in grantLocationPermissionToSelf()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | BasePermissionsTest.java | 317 setPermissionGrantState(permissions, true, false); in grantPermissions() 325 setPermissionGrantState(permissions, false, legacyApp); in revokePermissions() 338 private void setPermissionGrantState(String[] permissions, boolean granted, in setPermissionGrantState() method in BasePermissionsTest
|