Searched refs:mDeviceBroker (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/audio/ |
D | BtHelper.java | 54 private final @NonNull AudioDeviceBroker mDeviceBroker; field in BtHelper 57 mDeviceBroker = broker; in BtHelper() 190 adapter.getProfileProxy(mDeviceBroker.getContext(), in onSystemReady() 192 adapter.getProfileProxy(mDeviceBroker.getContext(), in onSystemReady() 198 final int forMed = mDeviceBroker.getBluetoothA2dpEnabled() in onAudioServerDiedRestoreA2dp() 200 mDeviceBroker.setForceUse_Async(AudioSystem.FOR_MEDIA, forMed, "onAudioServerDied()"); in onAudioServerDiedRestoreA2dp() 274 mDeviceBroker.setBluetoothScoOn(true, "BtHelper.receiveBtEvent"); in receiveBtEvent() 277 mDeviceBroker.setBluetoothScoOn(false, "BtHelper.receiveBtEvent"); in receiveBtEvent() 421 mDeviceBroker.postDisconnectA2dp(); in disconnectAllBluetoothProfiles() 422 mDeviceBroker.postDisconnectA2dpSink(); in disconnectAllBluetoothProfiles() [all …]
|
D | AudioDeviceInventory.java | 63 private @NonNull AudioDeviceBroker mDeviceBroker; field in AudioDeviceInventory 71 mDeviceBroker = broker; in AudioDeviceInventory() 77 mDeviceBroker = null; in AudioDeviceInventory() 81 mDeviceBroker = broker; in setDeviceBroker() 193 mDeviceBroker.postBluetoothA2dpDeviceConfigChange(btDevice); in onSetA2dpSinkConnectionState() 201 mDeviceBroker.postSetVolumeIndexOnDevice(AudioSystem.STREAM_MUSIC, in onSetA2dpSinkConnectionState() 284 if (mDeviceBroker.hasScheduledA2dpSinkConnectionState(btDevice)) { in onBluetoothA2dpActiveDeviceChange() 300 mDeviceBroker.postSetVolumeIndexOnDevice(AudioSystem.STREAM_MUSIC, in onBluetoothA2dpActiveDeviceChange() 314 int musicDevice = mDeviceBroker.getDeviceForStream(AudioSystem.STREAM_MUSIC); in onBluetoothA2dpActiveDeviceChange() 347 mDeviceBroker.postObserveDevicesForAllStreams(); in onReportNewRoutes() [all …]
|
D | AudioService.java | 756 mDeviceBroker = new AudioDeviceBroker(mContext, this); in AudioService() 863 mDeviceBroker.onSystemReady(); in onSystemReady() 978 mDeviceBroker.onAudioServerDied(); in onAudioServerDied() 992 mDeviceBroker.setForceUse_Async(AudioSystem.FOR_SYSTEM, forSys, "onAudioServerDied"); in onAudioServerDied() 1024 mDeviceBroker.setForceUse_Async(AudioSystem.FOR_DOCK, forDock, "onAudioServerDied"); in onAudioServerDied() 1411 mDeviceBroker.setForceUse_Async(AudioSystem.FOR_ENCODED_SURROUND, forceSetting, in sendEncodedSurroundMode() 1929 mDeviceBroker.postSetAvrcpAbsoluteVolumeIndex(newIndex / 10); in adjustStreamVolume() 1941 mDeviceBroker.postSetHearingAidVolumeIndex(newIndex, streamType); in adjustStreamVolume() 2302 mDeviceBroker.postSetHearingAidVolumeIndex(index * 10, streamType); in updateHearingAidVolumeOnVoiceActivityUpdate() 2346 mDeviceBroker.postSetHearingAidVolumeIndex(index * 10, streamType); in updateAbsVolumeMultiModeDevices() [all …]
|