Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataManagerImpl.kt222 private val mediaEntries: LinkedHashMap<String, MediaData> = LinkedHashMap() constant
407 mediaEntries.put(key, temp) in onNotificationAdded()
411 val oldData = mediaEntries.remove(oldKey)!! in onNotificationAdded()
413 mediaEntries.put(key, oldData) in onNotificationAdded()
423 val toRemove = mediaEntries.filter { it.value.packageName == packageName } in removeAllForPackage()
428 mediaEntries.get(key)?.let { in setResumeAction()
444 if (!mediaEntries.containsKey(packageName)) { in addResumptionControls()
463 mediaEntries.put(packageName, resumeData) in addResumptionControls()
485 if (mediaEntries.containsKey(key)) { in findExistingEntry()
489 if (mediaEntries.containsKey(packageName)) { in findExistingEntry()
[all …]
DMediaDataProcessor.kt391 mediaDataRepository.mediaEntries.value.filter { it.value.packageName == packageName } in <lambda>()
396 mediaDataRepository.mediaEntries.value.get(key)?.let { in <lambda>()
412 if (!mediaDataRepository.mediaEntries.value.containsKey(packageName)) { in <lambda>()
454 val mediaEntries = mediaDataRepository.mediaEntries.value in <lambda>() constant
455 if (mediaEntries.containsKey(key)) { in <lambda>()
459 if (mediaEntries.containsKey(packageName)) { in <lambda>()
528 mediaDataRepository.mediaEntries.value[key]?.let { in <lambda>()
557 mediaDataRepository.mediaEntries.value.get(key)?.let { in <lambda>()
596 val existed = mediaDataRepository.mediaEntries.value[key] != null in <lambda>()
598 mediaDataRepository.mediaEntries.value[key]?.let { mediaData -> in <lambda>()
[all …]
DMediaDataFilterImpl.kt337 val mediaEntries = mediaFilterRepository.allUserEntries.value.entries in <lambda>() constant
338 mediaEntries.forEach { (key, data) -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/
DMediaDataRepository.kt46 val mediaEntries: StateFlow<Map<String, MediaData>> = _mediaEntries.asStateFlow() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/data/repository/
DMediaDataRepositoryTest.kt60 val entries by collectLastValue(underTest.mediaEntries) in addAndRemoveMediaData()