Searched refs:callbackInternal (Results 1 – 1 of 1) sorted by relevance
205 boolean checkAttention(long timeout, AttentionCallbackInternal callbackInternal) { in checkAttention() argument206 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() argument275 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() argument314 if (!userState.mCurrentAttentionCheck.mCallbackInternal.equals(callbackInternal)) { in cancelAttentionCheck()[all …]