Home
last modified time | relevance | path

Searched refs:AttentionCallbackInternal (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/attention/
DAttentionManagerInternal.java40 public abstract boolean checkAttention(long timeoutMillis, AttentionCallbackInternal callback); in checkAttention()
47 public abstract void cancelAttentionCheck(AttentionCallbackInternal callback); in cancelAttentionCheck()
50 public abstract static class AttentionCallbackInternal { class in AttentionManagerInternal
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/
DAttentionManagerServiceTest.java29 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;
59 @Mock private AttentionCallbackInternal mMockAttentionCallbackInternal;
120 AttentionCallbackInternal callback = Mockito.mock(AttentionCallbackInternal.class); in testCheckAttention_returnFalseWhenPowerManagerNotInteract()
131 AttentionCallbackInternal callback = Mockito.mock(AttentionCallbackInternal.class); in testCheckAttention_callOnSuccess()
/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java28 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;
173 boolean checkAttention(long timeout, AttentionCallbackInternal callbackInternal) { in checkAttention()
228 private AttentionCheck createAttentionCheck(AttentionCallbackInternal callbackInternal, in createAttentionCheck()
268 void cancelAttentionCheck(AttentionCallbackInternal callbackInternal) { in cancelAttentionCheck()
413 public boolean checkAttention(long timeout, AttentionCallbackInternal callbackInternal) { in checkAttention()
418 public void cancelAttentionCheck(AttentionCallbackInternal callbackInternal) { in cancelAttentionCheck()
438 private final AttentionCallbackInternal mCallbackInternal;
443 AttentionCheck(AttentionCallbackInternal callbackInternal, in AttentionCheck()
679 class TestableAttentionCallbackInternal extends AttentionCallbackInternal {
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DAttentionDetectorTest.java34 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;
225 ArgumentCaptor<AttentionCallbackInternal> callbackCaptor = ArgumentCaptor.forClass( in testOnWakefulnessChangeStarted_cancelsRequestWhenNotAwake()
226 AttentionCallbackInternal.class); in testOnWakefulnessChangeStarted_cancelsRequestWhenNotAwake()
/frameworks/base/services/core/java/com/android/server/power/
DAttentionDetector.java25 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;
310 final class AttentionCallbackInternalImpl extends AttentionCallbackInternal {
/frameworks/base/config/
Dboot-image-profile.txt32748 Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;