Searched refs:AttentionCallbackInternal (Results 1 – 10 of 10) sorted by relevance
40 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
34 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()
31 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 {
41 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;226 ArgumentCaptor<AttentionCallbackInternal> callbackCaptor = ArgumentCaptor.forClass( in testOnWakefulnessChangeStarted_cancelsRequestWhenNotAwake()227 AttentionCallbackInternal.class); in testOnWakefulnessChangeStarted_cancelsRequestWhenNotAwake()
25 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;394 final class AttentionCallbackInternalImpl extends AttentionCallbackInternal {
1029 android.attention.AttentionManagerInternal$AttentionCallbackInternal
23853 Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;
1026 android.attention.AttentionManagerInternal$AttentionCallbackInternal
33486 Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;
10634 …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;)V10674 …lService;->checkAttention(JLandroid/attention/AttentionManagerInternal$AttentionCallbackInternal;)Z10693 …ice;->cancelAttentionCheck(Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;)V10694 …e;->checkAttention(JLandroid/attention/AttentionManagerInternal$AttentionCallbackInternal;)Z+]Lcom…