Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/attention/
DAttentionManagerServiceTest.java50 import com.android.server.attention.AttentionManagerService.AttentionCheckCache;
163 buffer.add(new AttentionCheckCache(0, 0, 1L)); in testAttentionCheckCacheBuffer_getLast_returnTheLastElement()
164 AttentionCheckCache cache = new AttentionCheckCache(0, 0, 2L); in testAttentionCheckCacheBuffer_getLast_returnTheLastElement()
178 AttentionCheckCache cache = new AttentionCheckCache(0L, 0, 1L); in testAttentionCheckCacheBuffer_get_handleCircularIndexing()
184 buffer.add(new AttentionCheckCache(0L, 0, i)); in testAttentionCheckCacheBuffer_get_handleCircularIndexing()
/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java233 final AttentionCheckCache cache = userState.mAttentionCheckCacheBuffer == null ? null in checkAttention()
282 new AttentionCheckCache(SystemClock.uptimeMillis(), result, timestamp)); in createAttentionCheck()
467 private final AttentionCheckCache[] mQueue;
472 mQueue = new AttentionCheckCache[ATTENTION_CACHE_BUFFER_SIZE]; in AttentionCheckCacheBuffer()
477 public AttentionCheckCache getLast() { in getLast()
482 public void add(@NonNull AttentionCheckCache cache) { in add()
492 public AttentionCheckCache get(int offset) { in get()
499 protected static final class AttentionCheckCache { class in AttentionManagerService
504 AttentionCheckCache(long lastComputed, @AttentionService.AttentionSuccessCodes int result, in AttentionCheckCache() method in AttentionManagerService.AttentionCheckCache
/frameworks/base/services/
Dart-profile8763 PLcom/android/server/attention/AttentionManagerService$AttentionCheckCache;-><init>(JIJ)V
8764 …ttentionManagerService$AttentionCheckCache;->access$400(Lcom/android/server/attention/AttentionMan…
8765 …ttentionManagerService$AttentionCheckCache;->access$500(Lcom/android/server/attention/AttentionMan…
8766 …ttentionManagerService$AttentionCheckCache;->access$600(Lcom/android/server/attention/AttentionMan…
8769 …CheckCacheBuffer;->add(Lcom/android/server/attention/AttentionManagerService$AttentionCheckCache;)V
8770 …CheckCacheBuffer;->get(I)Lcom/android/server/attention/AttentionManagerService$AttentionCheckCache;
8771 …ckCacheBuffer;->getLast()Lcom/android/server/attention/AttentionManagerService$AttentionCheckCache;
41771 Lcom/android/server/attention/AttentionManagerService$AttentionCheckCache;