Searched refs:setLockTaskPackages (Results 1 – 8 of 8) sorted by relevance
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | LockTaskTest.java | 132 sDeviceState.dpc().devicePolicyManager().setLockTaskPackages(new String[]{PACKAGE_NAME}); in setLockTaskPackages_lockTaskPackagesIsSet() 138 sDeviceState.dpc().devicePolicyManager().setLockTaskPackages(originalLockTaskPackages); in setLockTaskPackages_lockTaskPackagesIsSet() 151 …sDeviceState.dpc().devicePolicyManager().setLockTaskPackages(new String[]{sTestApp.packageName()}); in startLockTask_recordsMetric() 171 sDeviceState.dpc().devicePolicyManager().setLockTaskPackages(originalLockTaskPackages); in startLockTask_recordsMetric() 190 sDeviceState.dpc().devicePolicyManager().setLockTaskPackages(new String[]{}); in setLockTaskPackages_empty_lockTaskPackagesIsSet() 196 sDeviceState.dpc().devicePolicyManager().setLockTaskPackages(originalLockTaskPackages); in setLockTaskPackages_empty_lockTaskPackagesIsSet() 211 sDeviceState.dpc().devicePolicyManager().setLockTaskPackages(new String[]{policyExemptApp}); in setLockTaskPackages_includesPolicyExemptApp_lockTaskPackagesIsSet() 217 sDeviceState.dpc().devicePolicyManager().setLockTaskPackages(originalLockTaskPackages); in setLockTaskPackages_includesPolicyExemptApp_lockTaskPackagesIsSet() 226 () -> sDeviceState.dpc().devicePolicyManager().setLockTaskPackages(new String[]{})); in setLockTaskPackages_policyIsNotAllowedToBeSet_throwsException() 236 sDeviceState.dpc().devicePolicyManager().setLockTaskPackages(new String[]{PACKAGE_NAME}); in isLockTaskPermitted_lockTaskPackageIsSet_returnsTrue() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | AffiliationTest.java | 72 mDevicePolicyManager.setLockTaskPackages(ADMIN_RECEIVER_COMPONENT, packages); in testSetLockTaskPackagesClearedIfUserBecomesUnaffiliated() 104 mDevicePolicyManager.setLockTaskPackages(ADMIN_RECEIVER_COMPONENT, new String[0]); in checkLockTaskMethodsThrow()
|
/cts/common/device-side/bedstead/remotedpc/src/communication/main/java/com/android/bedstead/remotedpc/managers/ |
D | RemoteDevicePolicyManager.java | 61 void setLockTaskPackages(@NonNull ComponentName admin, @NonNull String[] packages); in setLockTaskPackages() method 63 @RemoteDpcAutomaticAdmin void setLockTaskPackages(@NonNull String[] packages); in setLockTaskPackages() method
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | LockTaskUiTestActivity.java | 250 mDpm.setLockTaskPackages(ADMIN_RECEIVER, new String[] {TEST_PACKAGE_NAME}); in startLockTaskMode() 299 mDpm.setLockTaskPackages(ADMIN_RECEIVER, new String[] {}); in stopLockTaskMode()
|
D | CommandReceiverActivity.java | 262 mDpm.setLockTaskPackages(mAdmin, in onCreate() 265 mDpm.setLockTaskPackages(mAdmin, new String[] {getPackageName()}); in onCreate()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | DevicePolicySafetyCheckerIntegrationTest.java | 185 dpm.setLockTaskPackages(admin, new String[] { TEST_PACKAGE });
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | DevicePolicyManagerWrapper.java | 134 doAnswer(answer).when(spy).setLockTaskPackages(any(), any()); in getWrapper()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 407 mDevicePolicyManager.setLockTaskPackages(mComponent, new String[] {"package"}); in testSetLockTaskPackages_failIfNotDeviceOwner()
|