Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DLocalMediaManager.java531 MediaDevice mutingExpectedDevice = getMutingExpectedDevice(); in onDeviceListAdded() local
532 if (mutingExpectedDevice != null) { in onDeviceListAdded()
533 mMediaDevices.add(mutingExpectedDevice); in onDeviceListAdded()
580 AudioDeviceAttributes mutingExpectedDevice = mAudioManager.getMutingExpectedDevice(); in isMutingExpectedDevice() local
581 if (mutingExpectedDevice == null || cachedDevice == null) { in isMutingExpectedDevice()
584 return cachedDevice.getAddress().equals(mutingExpectedDevice.getAddress()); in isMutingExpectedDevice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/muteawait/
DMediaMuteAwaitConnectionManagerTest.kt97 whenever(audioManager.mutingExpectedDevice).thenReturn(null) in startListening_audioManagerHasNoMuteAwaitDevice_localMediaMangerNotNotified()
106 whenever(audioManager.mutingExpectedDevice).thenReturn(DEVICE) in startListening_audioManagerHasMuteAwaitDevice_localMediaMangerNotified()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/muteawait/
DMediaMuteAwaitConnectionManager.kt82 val currentDevice = audioManager.mutingExpectedDevice in startListening()