Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java205 boolean checkAttention(long timeout, AttentionCallbackInternal callbackInternal) { in checkAttention() argument
206 Objects.requireNonNull(callbackInternal); in checkAttention()
236 callbackInternal.onSuccess(cache.mResult, cache.mTimestamp); in checkAttention()
248 userState.mCurrentAttentionCheck = createAttentionCheck(callbackInternal, userState); in checkAttention()
266 private AttentionCheck createAttentionCheck(AttentionCallbackInternal callbackInternal, in createAttentionCheck() argument
275 callbackInternal.onSuccess(result, timestamp); in createAttentionCheck()
292 callbackInternal.onFailure(error); in createAttentionCheck()
303 return new AttentionCheck(callbackInternal, iAttentionCallback); in createAttentionCheck()
308 void cancelAttentionCheck(AttentionCallbackInternal callbackInternal) { in cancelAttentionCheck() argument
314 if (!userState.mCurrentAttentionCheck.mCallbackInternal.equals(callbackInternal)) { in cancelAttentionCheck()
[all …]