Home
last modified time | relevance | path

Searched refs:onLocked (Results 1 – 13 of 13) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DUserRestrictionsPolicyHandlerTest.java238 handler.onLocked().get(); in onLockedDebug_withDisableOutgoingCallShouldSetExpectedUserRestrictions()
265 handler.onLocked().get(); in onLocked_withDisableOutgoingCallShouldSetExpectedUserRestrictions()
288 handler.onLocked().get(); in onLocked_withDisableOutgoingCallAndUnknownSourcesShouldSetExpectedUserRestrictions()
315 handler.onLocked().get(); in onLocked_withDebuggingAllowed_shouldNotDisallowDebuggingFeatures()
333 handler.onLocked().get(); in onCleared_shouldClearExpectedUserRestrictions()
374 handler.onLocked().get(); in onClearedDebug_shouldClearExpectedUserRestrictions()
DLockTaskModePolicyHandlerTest.java168 mHandler.onLocked().get(); in onLocked_shouldHaveNonDuplicateLockTaskFeaturesAndPackages()
185 mHandler.onLocked().get(); in onLocked_withDefaultSystemPackages_shouldHaveExpectedLockTaskFeaturesAndPackages()
DNotificationsPolicyHandlerTest.java121 assertThat(mHandler.onLocked().get()).isTrue(); in onLocked_shouldDoNothing()
DControllerKeepAlivePolicyHandlerTest.java137 assertThat(mHandler.onLocked().get()).isTrue(); in onLocked_shouldDoNothing()
DAppOpsPolicyHandlerTest.java142 mHandler.onLocked().get(); in onLocked_shouldExemptBackgroundStartAndKioskApp()
DKioskKeepAlivePolicyHandlerTest.java131 assertThat(mHandler.onLocked().get()).isTrue(); in onLocked_shouldDoNothing()
DRolePolicyHandlerTest.java145 assertThat(mHandler.onLocked().get()).isTrue(); in onLocked_shouldDoNothing()
DPackagePolicyHandlerTest.java168 assertThat(mHandler.onLocked().get()).isTrue(); in onLocked_shouldDoNothing()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DPolicyHandler.java43 default ListenableFuture<Boolean> onLocked() { in onLocked() method
DAppOpsPolicyHandler.java168 public ListenableFuture<Boolean> onLocked() {
DUserRestrictionsPolicyHandler.java79 public ListenableFuture<Boolean> onLocked() { in onLocked() method in UserRestrictionsPolicyHandler
DLockTaskModePolicyHandler.java94 public ListenableFuture<Boolean> onLocked() { in onLocked() method in LockTaskModePolicyHandler
DDevicePolicyControllerImpl.java281 futures.add(policy.onLocked());