Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/attention/
H A DAttentionManagerServiceTest.java49 import com.android.server.attention.AttentionManagerService.AttentionCheckCache;
141 buffer.add(new AttentionCheckCache(0, 0, 1L)); in testAttentionCheckCacheBuffer_getLast_returnTheLastElement()
142 AttentionCheckCache cache = new AttentionCheckCache(0, 0, 2L); in testAttentionCheckCacheBuffer_getLast_returnTheLastElement()
156 AttentionCheckCache cache = new AttentionCheckCache(0L, 0, 1L); in testAttentionCheckCacheBuffer_get_handleCircularIndexing()
162 buffer.add(new AttentionCheckCache(0L, 0, i)); in testAttentionCheckCacheBuffer_get_handleCircularIndexing()
/aosp12/frameworks/base/services/core/java/com/android/server/attention/
H A DAttentionManagerService.java274 final AttentionCheckCache cache = mAttentionCheckCacheBuffer == null ? null in checkAttention()
424 private final AttentionCheckCache[] mQueue;
429 mQueue = new AttentionCheckCache[ATTENTION_CACHE_BUFFER_SIZE]; in AttentionCheckCacheBuffer()
434 public AttentionCheckCache getLast() { in getLast()
439 public void add(@NonNull AttentionCheckCache cache) { in add()
449 public AttentionCheckCache get(int offset) { in get()
456 AttentionCheckCache cache; in dump()
470 protected static final class AttentionCheckCache { class in AttentionManagerService
475 AttentionCheckCache(long lastComputed, @AttentionService.AttentionSuccessCodes int result, in AttentionCheckCache() method in AttentionManagerService.AttentionCheckCache
504 new AttentionCheckCache(SystemClock.uptimeMillis(), result, in AttentionCheck()
[all …]
/aosp12/frameworks/base/services/
H A Dart-profile10647 PLcom/android/server/attention/AttentionManagerService$AttentionCheckCache;-><init>(JIJ)V
10648 …ttentionManagerService$AttentionCheckCache;->access$400(Lcom/android/server/attention/AttentionMan…
10649 …ttentionManagerService$AttentionCheckCache;->access$500(Lcom/android/server/attention/AttentionMan…
10650 …ttentionManagerService$AttentionCheckCache;->access$600(Lcom/android/server/attention/AttentionMan…
10653 …CheckCacheBuffer;->add(Lcom/android/server/attention/AttentionManagerService$AttentionCheckCache;)V
10655 …CheckCacheBuffer;->get(I)Lcom/android/server/attention/AttentionManagerService$AttentionCheckCache;
10656 …ckCacheBuffer;->getLast()Lcom/android/server/attention/AttentionManagerService$AttentionCheckCache;
10681 …ttentionManagerService;Lcom/android/server/attention/AttentionManagerService$AttentionCheckCache;)V
10688 …ToAttentionCacheBuffer(Lcom/android/server/attention/AttentionManagerService$AttentionCheckCache;)V
52621 Lcom/android/server/attention/AttentionManagerService$AttentionCheckCache;