Searched refs:mutingExpectedDevice (Results 1 – 3 of 3) sorted by relevance
531 MediaDevice mutingExpectedDevice = getMutingExpectedDevice(); in onDeviceListAdded() local532 if (mutingExpectedDevice != null) { in onDeviceListAdded()533 mMediaDevices.add(mutingExpectedDevice); in onDeviceListAdded()580 AudioDeviceAttributes mutingExpectedDevice = mAudioManager.getMutingExpectedDevice(); in isMutingExpectedDevice() local581 if (mutingExpectedDevice == null || cachedDevice == null) { in isMutingExpectedDevice()584 return cachedDevice.getAddress().equals(mutingExpectedDevice.getAddress()); in isMutingExpectedDevice()
97 whenever(audioManager.mutingExpectedDevice).thenReturn(null) in startListening_audioManagerHasNoMuteAwaitDevice_localMediaMangerNotNotified()106 whenever(audioManager.mutingExpectedDevice).thenReturn(DEVICE) in startListening_audioManagerHasMuteAwaitDevice_localMediaMangerNotified()
82 val currentDevice = audioManager.mutingExpectedDevice in startListening()