Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAvalancheController.kt59 @VisibleForTesting var nextMap: MutableMap<HeadsUpEntry, MutableList<Runnable>> = HashMap() variable
106 } else if (entry in nextMap) { in update()
108 nextMap[entry]?.add(runnable) in update()
114 if (entry in nextMap) nextMap.remove(entry) in update()
137 nextMap[entry] = arrayListOf(runnable) in addToNext()
157 if (entry in nextMap) { in delete()
159 if (entry in nextMap) nextMap.remove(entry) in delete()
239 for (entry in nextMap.keys) { in isWaiting()
253 for (entry in nextMap.keys) { in getWaitingKeys()
263 for (headsUpEntry in nextMap.keys) { in getWaitingEntry()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/
DAvalancheControllerTest.kt149 val runnableList: List<Runnable?>? = mAvalancheController.nextMap[headsUpEntry] in <lambda>()
175 assertThat(mAvalancheController.nextMap.containsKey(headsUpEntry)).isTrue() in <lambda>()
188 assertThat(mAvalancheController.nextMap.containsKey(headsUpEntry)).isFalse() in <lambda>()