Searched refs:AttentionCallbackInternal (Results 1 – 6 of 6) 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
29 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()
28 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 {
34 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;225 ArgumentCaptor<AttentionCallbackInternal> callbackCaptor = ArgumentCaptor.forClass( in testOnWakefulnessChangeStarted_cancelsRequestWhenNotAwake()226 AttentionCallbackInternal.class); in testOnWakefulnessChangeStarted_cancelsRequestWhenNotAwake()
25 import android.attention.AttentionManagerInternal.AttentionCallbackInternal;310 final class AttentionCallbackInternalImpl extends AttentionCallbackInternal {
32748 Landroid/attention/AttentionManagerInternal$AttentionCallbackInternal;