Home
last modified time | relevance | path

Searched refs:AttentionCallbackInternal (Results 1 – 10 of 10) 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.java34 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;
67 private AttentionCallbackInternal mMockAttentionCallbackInternal;
121 AttentionCallbackInternal callback = Mockito.mock(AttentionCallbackInternal.class); in testCheckAttention_returnFalseWhenPowerManagerNotInteract()
133 AttentionCallbackInternal callback = Mockito.mock(AttentionCallbackInternal.class); in testCheckAttention_callOnSuccess()
/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java31 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;
242 boolean checkAttention(long timeout, AttentionCallbackInternal callbackInternal) { in checkAttention()
308 void cancelAttentionCheck(AttentionCallbackInternal callbackInternal) { in cancelAttentionCheck()
412 public boolean checkAttention(long timeout, AttentionCallbackInternal callbackInternal) { in checkAttention()
417 public void cancelAttentionCheck(AttentionCallbackInternal callbackInternal) { in cancelAttentionCheck()
485 private final AttentionCallbackInternal mCallbackInternal;
491 AttentionCheck(AttentionCallbackInternal callbackInternal, in AttentionCheck()
711 class TestableAttentionCallbackInternal extends AttentionCallbackInternal {
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DAttentionDetectorTest.java41 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;
226 ArgumentCaptor<AttentionCallbackInternal> callbackCaptor = ArgumentCaptor.forClass( in testOnWakefulnessChangeStarted_cancelsRequestWhenNotAwake()
227 AttentionCallbackInternal.class); in testOnWakefulnessChangeStarted_cancelsRequestWhenNotAwake()
/frameworks/base/services/core/java/com/android/server/power/
DAttentionDetector.java25 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;
394 final class AttentionCallbackInternalImpl extends AttentionCallbackInternal {
/frameworks/base/boot/
Dpreloaded-classes1029 android.attention.AttentionManagerInternal$AttentionCallbackInternal
Dboot-image-profile.txt23853 Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;
/frameworks/base/config/
Dpreloaded-classes1026 android.attention.AttentionManagerInternal$AttentionCallbackInternal
Dboot-image-profile.txt33486 Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;
/frameworks/base/services/
Dart-profile10634 …vice$AttentionCheck;Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;Lcom/and…
10637 …1;->onSuccess(IJ)V+]Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;Lcom/and…
10638 …ntionCheck;-><init>(Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;Lcom/and…
10639 …nagerService$AttentionCheck;)Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;
10673 …ice;->cancelAttentionCheck(Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;)V
10674 …lService;->checkAttention(JLandroid/attention/AttentionManagerInternal$AttentionCallbackInternal;)Z
10693 …ice;->cancelAttentionCheck(Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;)V
10694 …e;->checkAttention(JLandroid/attention/AttentionManagerInternal$AttentionCallbackInternal;)Z+]Lcom…