Home
last modified time | relevance | path

Searched refs:WindowWakeUpPolicyInternal (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DWindowWakeUpPolicyTests.java90 @Mock WindowWakeUpPolicyInternal.InputWakeUpDelegate mInputWakeUpDelegate;
105 LocalServices.removeServiceForTest(WindowWakeUpPolicyInternal.class); in setUp()
115 assertThat(LocalServices.getService(WindowWakeUpPolicyInternal.class)).isNotNull(); in testSupportsInputWakeDelegatse_publishesLocalService()
124 assertThat(LocalServices.getService(WindowWakeUpPolicyInternal.class)).isNull(); in testDoesNotSupportInputWakeDelegatse_doesNotPublishLocalService()
132 LocalServices.getService(WindowWakeUpPolicyInternal.class) in testMotionWakeUpDelegation_wakePowerManagerIfDelegateDoesNotHandleWake()
157 LocalServices.getService(WindowWakeUpPolicyInternal.class) in testKeyWakeUpDelegation_wakePowerManagerIfDelegateDoesNotHandleWake()
185 LocalServices.getService(WindowWakeUpPolicyInternal.class) in testDelegatedKeyWakeIsSubjectToPolicyChecks()
200 LocalServices.getService(WindowWakeUpPolicyInternal.class) in testDelegatedMotionWakeIsSubjectToPolicyChecks()
314 LocalServices.removeServiceForTest(WindowWakeUpPolicyInternal.class); in runPowerManagerUpChecks()
323 LocalServices.removeServiceForTest(WindowWakeUpPolicyInternal.class); in runPowerManagerUpChecks()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/
DWindowWakeUpPolicy.java64 @Nullable private WindowWakeUpPolicyInternal.InputWakeUpDelegate mInputWakeUpDelegate;
92 LocalServices.addService(WindowWakeUpPolicyInternal.class, new LocalService()); in WindowWakeUpPolicy()
96 private final class LocalService implements WindowWakeUpPolicyInternal {
DWindowWakeUpPolicyInternal.java27 public interface WindowWakeUpPolicyInternal { interface
/frameworks/base/services/
Dart-wear-profile21168 …calService;->setInputWakeUpDelegate(Lcom/android/server/policy/WindowWakeUpPolicyInternal$InputWak…
21169 …id/server/policy/WindowWakeUpPolicy;Lcom/android/server/policy/WindowWakeUpPolicyInternal$InputWak…