Home
last modified time | relevance | path

Searched refs:getDevicePolicyManager (Results 1 – 14 of 14) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DTrustAgentInfoTest.java115 List<PersistableBundle> configs = getDevicePolicyManager(isParent) in setAndGetTrustAgentConfigurationInternal()
120 configs = getDevicePolicyManager(isParent) in setAndGetTrustAgentConfigurationInternal()
127 getDevicePolicyManager(isParent).setKeyguardDisabledFeatures(ADMIN_RECEIVER_COMPONENT, in disableTrustAgents()
132 getDevicePolicyManager(isParent).setKeyguardDisabledFeatures(ADMIN_RECEIVER_COMPONENT, in enableTrustAgents()
137 getDevicePolicyManager(isParent).setTrustAgentConfiguration(ADMIN_RECEIVER_COMPONENT, in clearTrustAgentConfiguration()
139 assertNull(getDevicePolicyManager(isParent).getTrustAgentConfiguration( in clearTrustAgentConfiguration()
145 getDevicePolicyManager(isParent).setTrustAgentConfiguration(ADMIN_RECEIVER_COMPONENT, in setTrustAgentConfiguration()
148 getDevicePolicyManager(isParent).getTrustAgentConfiguration( in setTrustAgentConfiguration()
DBaseManagedProfileTest.java64 protected DevicePolicyManager getDevicePolicyManager(boolean isParent) { in getDevicePolicyManager() method in BaseManagedProfileTest
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBaseAffiliatedProfileOwnerTest.java44 mDevicePolicyManager = TestAppSystemServiceFactory.getDevicePolicyManager(mContext, in setUp()
DBaseDeviceOwnerTest.java82 mDevicePolicyManager = TestAppSystemServiceFactory.getDevicePolicyManager(mContext, in setUp()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DBaseTestCase.java52 DevicePolicyManager dpm = TestAppSystemServiceFactory.getDevicePolicyManager(context, in getDpm()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/capturecontentfornotes/
DDeviceAdminCommandExecutorActivity.java54 TestAppSystemServiceFactory.getDevicePolicyManager(this, in onCreate()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DTestAppSystemServiceFactory.java85 public static DevicePolicyManager getDevicePolicyManager(Context context, in getDevicePolicyManager() method in TestAppSystemServiceFactory
95 public static DevicePolicyManager getDevicePolicyManager(Context context, in getDevicePolicyManager() method in TestAppSystemServiceFactory
97 return getDevicePolicyManager(context, receiverClass, forDeviceOwner, in getDevicePolicyManager()
/cts/hostsidetests/settings/app/DeviceOwnerApp/src/com/google/android/cts/deviceowner/
DClearDeviceOwnerTest.java81 DevicePolicyManager dpm = TestAppSystemServiceFactory.getDevicePolicyManager(mContext, in removeDeviceOwner()
DDeviceOwnerTest.java96 mDevicePolicyManager = TestAppSystemServiceFactory.getDevicePolicyManager(mContext, in setUp()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java162 mDevicePolicyManager = TestAppSystemServiceFactory.getDevicePolicyManager(mContext, in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DDeviceOwnerRequestingBugreportTestActivity.java89 dpm = TestAppSystemServiceFactory.getDevicePolicyManager(this, in onCreate()
DDeviceAdminTestReceiver.java99 DevicePolicyManager doDpm = TestAppSystemServiceFactory.getDevicePolicyManager( in onReceive()
DCommandReceiverActivity.java214 mDpm = TestAppSystemServiceFactory.getDevicePolicyManager(this, in onCreate()
647 DevicePolicyManager dpm = TestAppSystemServiceFactory.getDevicePolicyManager(this, in isDeviceOwner()
DDeviceOwnerPositiveTestActivity.java116 DevicePolicyManager dpm = TestAppSystemServiceFactory.getDevicePolicyManager(this, in onCreate()