Searched refs:setPermissionGrantState (Results 1 – 7 of 7) 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 | DevicePolicyLoggingTest.java | 139 mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, in testSetPermissionGrantStateLogged() 141 mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, PACKAGE_NAME, in testSetPermissionGrantStateLogged() 143 mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, PACKAGE_NAME, in testSetPermissionGrantStateLogged()
|
D | PermissionsTest.java | 315 mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, in assertSetPermissionGrantState() 324 assertFalse(mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, in assertFailedToSetDevelopmentPermissionGrantState() 335 assertFalse(mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, in assertCannotSetPermissionGrantStateAppPreM() 351 assertTrue(mDevicePolicyManager.setPermissionGrantState(ADMIN_RECEIVER_COMPONENT, in assertCanSetPermissionGrantStateAppPreM()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | CommandReceiverActivity.java | 354 mDpm.setPermissionGrantState(mAdmin, getPackageName(), in onCreate() 584 mDpm.setPermissionGrantState(mAdmin, getPackageName(), in clearAllPoliciesAndRestrictions() 587 mDpm.setPermissionGrantState(mAdmin, getPackageName(), Manifest.permission.RECORD_AUDIO, in clearAllPoliciesAndRestrictions() 589 mDpm.setPermissionGrantState(mAdmin, getPackageName(), Manifest.permission.CAMERA, in clearAllPoliciesAndRestrictions()
|
D | PermissionLockdownTestActivity.java | 176 mDevicePolicyManager.setPermissionGrantState(mAdmin, PERMISSION_APP_PACKAGE, in onCheckedChanged()
|
D | ByodHelperActivity.java | 570 mDevicePolicyManager.setPermissionGrantState(mAdminReceiverComponent, getPackageName(), in grantCameraPermissionToSelf() 592 mDevicePolicyManager.setPermissionGrantState(mAdminReceiverComponent, getPackageName(), in grantLocationPermissionToSelf()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | BasePermissionsTest.java | 347 setPermissionGrantState(permissions, true, false); in grantPermissions() 355 setPermissionGrantState(permissions, false, legacyApp); in revokePermissions() 369 private void setPermissionGrantState(String[] permissions, boolean granted, in setPermissionGrantState() method in BasePermissionsTest
|