Home
last modified time | relevance | path

Searched refs:onMediaDeviceChanged (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataCombineLatestTest.java99 mManager.onMediaDeviceChanged(KEY, null, mDeviceData); in eventNotEmittedWithoutMedia()
108 mManager.onMediaDeviceChanged(KEY, null, mDeviceData); in emitEventAfterDeviceFirst()
125 mManager.onMediaDeviceChanged(KEY, null, mDeviceData); in emitEventAfterMediaFirst()
138 mManager.onMediaDeviceChanged(OLD_KEY, null, mDeviceData); in migrateKeyMediaFirst()
155 mManager.onMediaDeviceChanged(OLD_KEY, null, mDeviceData); in migrateKeyDeviceFirst()
158 mManager.onMediaDeviceChanged(KEY, OLD_KEY, mDeviceData); in migrateKeyDeviceFirst()
171 mManager.onMediaDeviceChanged(OLD_KEY, null, mDeviceData); in migrateKeyMediaAfter()
172 mManager.onMediaDeviceChanged(KEY, OLD_KEY, mDeviceData); in migrateKeyMediaAfter()
189 mManager.onMediaDeviceChanged(OLD_KEY, null, mDeviceData); in migrateKeyDeviceAfter()
194 mManager.onMediaDeviceChanged(KEY, OLD_KEY, mDeviceData); in migrateKeyDeviceAfter()
[all …]
DMediaDeviceManagerTest.kt234 verify(listener, never()).onMediaDeviceChanged(eq(KEY), eq(null), any()) in newKeySameAsOldKey()
243 verify(listener).onMediaDeviceChanged(eq(KEY), eq(oldKey), any()) in unknownOldKey()
284 verify(listener, never()).onMediaDeviceChanged(eq(KEY), eq(null), any()) in removeListener()
683 verify(listener, times(2)).onMediaDeviceChanged(eq(KEY), any(), dataCaptor.capture()) in deviceIdChanged_informListener()
712 verify(listener, times(2)).onMediaDeviceChanged(eq(KEY), any(), dataCaptor.capture()) in deviceNameChanged_informListener()
733 verify(listener).onMediaDeviceChanged(eq(KEY), any(), dataCaptor.capture()) in deviceIconChanged_doesNotCallListener()
941 verify(listener).onMediaDeviceChanged(eq(key), eq(oldKey), captor.capture()) in captureDeviceData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataCombineLatest.kt64 override fun onMediaDeviceChanged(key: String, oldKey: String?, data: MediaDeviceData?) { in onMediaDeviceChanged() method in com.android.systemui.media.controls.domain.pipeline.MediaDataCombineLatest
DMediaDeviceManager.kt139 listeners.forEach { it.onMediaDeviceChanged(key, oldKey, device) } in <lambda>()
144 fun onMediaDeviceChanged(key: String, oldKey: String?, data: MediaDeviceData?) in <lambda>() method