Searched refs:getPolicyController (Results 1 – 13 of 13) sorted by relevance
71 DevicePolicyController devicePolicyController = mTestApp.getPolicyController(); in handleException_whenUnprovisioned_shouldTerminateNoWipe()90 DevicePolicyController devicePolicyController = mTestApp.getPolicyController(); in handleException_whenProvisionInProgress_shouldWipeNoTerminate()109 DevicePolicyController devicePolicyController = mTestApp.getPolicyController(); in handleException_whenProvisionPaused_shouldWipeNoTerminate()128 DevicePolicyController devicePolicyController = mTestApp.getPolicyController(); in handleException_whenProvisionFailed_shouldWipeNoTerminate()147 DevicePolicyController devicePolicyController = mTestApp.getPolicyController(); in handleException_whenKioskProvisioned_shouldWipeNoTerminate()166 DevicePolicyController devicePolicyController = mTestApp.getPolicyController(); in handleException_whenProvisionSucceededRestrictionsNotCleared_shouldWipeNoTerminate()185 DevicePolicyController devicePolicyController = mTestApp.getPolicyController(); in handleException_whenProvisionSucceededRestrictionsCleared_shouldntWipe()
88 getPolicyController()); in getProvisionStateController()96 public DevicePolicyController getPolicyController() { in getPolicyController() method in TestDeviceLockControllerApplication
220 DevicePolicyController policyController = mTestApp.getPolicyController(); in onUserSwitching_enforcePoliciesAndFinalizationState()
66 .getPolicyController().wipeDevice(); in onReceive()75 .getPolicyController().wipeDevice(); in onReceive()
30 DevicePolicyController getPolicyController(); in getPolicyController() method
44 ((PolicyObjectsProvider) getApplicationContext()).getPolicyController(); in onCreate()
57 when(mContext.getPolicyController().getLaunchIntentForCurrentState()).thenReturn( in setUp()
62 DevicePolicyController policyController = testApplication.getPolicyController(); in setUp()
119 mDevicePolicyController = mTestApp.getPolicyController(); in setUp()
106 public DevicePolicyController getPolicyController() { in getPolicyController() method in DeviceLockControllerApplication
285 mPolicyController = policyObjects.getPolicyController();
330 policyObjectsProvider.getPolicyController(); in handleException()
383 DevicePolicyController policyController = policyObjectsProvider.getPolicyController(); in forceReset()