Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java54 private final @NonNull AudioDeviceBroker mDeviceBroker; field in BtHelper
57 mDeviceBroker = broker; in BtHelper()
184 adapter.getProfileProxy(mDeviceBroker.getContext(), in onSystemReady()
186 adapter.getProfileProxy(mDeviceBroker.getContext(), in onSystemReady()
192 final int forMed = mDeviceBroker.getBluetoothA2dpEnabled() in onAudioServerDiedRestoreA2dp()
194 mDeviceBroker.setForceUse_Async(AudioSystem.FOR_MEDIA, forMed, "onAudioServerDied()"); in onAudioServerDiedRestoreA2dp()
268 mDeviceBroker.setBluetoothScoOn(true, "BtHelper.receiveBtEvent"); in receiveBtEvent()
271 mDeviceBroker.setBluetoothScoOn(false, "BtHelper.receiveBtEvent"); in receiveBtEvent()
414 mDeviceBroker.postDisconnectA2dp(); in disconnectAllBluetoothProfiles()
415 mDeviceBroker.postDisconnectA2dpSink(); in disconnectAllBluetoothProfiles()
[all …]
DAudioDeviceInventory.java59 private final @NonNull AudioDeviceBroker mDeviceBroker; field in AudioDeviceInventory
62 mDeviceBroker = broker; in AudioDeviceInventory()
190 mDeviceBroker.cancelA2dpDockTimeout(); in onSetA2dpSinkConnectionState()
195 if (mDeviceBroker.hasScheduledA2dpDockTimeout() && mDockAddress != null) { in onSetA2dpSinkConnectionState()
196 mDeviceBroker.cancelA2dpDockTimeout(); in onSetA2dpSinkConnectionState()
202 mDeviceBroker.postSetVolumeIndexOnDevice(AudioSystem.STREAM_MUSIC, in onSetA2dpSinkConnectionState()
287 if (mDeviceBroker.hasScheduledA2dpSinkConnectionState(btDevice)) { in onBluetoothA2dpActiveDeviceChange()
303 mDeviceBroker.postSetVolumeIndexOnDevice(AudioSystem.STREAM_MUSIC, in onBluetoothA2dpActiveDeviceChange()
317 int musicDevice = mDeviceBroker.getDeviceForStream(AudioSystem.STREAM_MUSIC); in onBluetoothA2dpActiveDeviceChange()
350 mDeviceBroker.postObserveDevicesForAllStreams(); in onReportNewRoutes()
[all …]
DAudioService.java763 mDeviceBroker = new AudioDeviceBroker(mContext, this); in AudioService()
866 mDeviceBroker.onSystemReady(); in onSystemReady()
972 mDeviceBroker.onAudioServerDied(); in onAudioServerDied()
986 mDeviceBroker.setForceUse_Async(AudioSystem.FOR_SYSTEM, forSys, "onAudioServerDied"); in onAudioServerDied()
1015 mDeviceBroker.setForceUse_Async(AudioSystem.FOR_DOCK, forDock, "onAudioServerDied"); in onAudioServerDied()
1373 mDeviceBroker.setForceUse_Async(AudioSystem.FOR_ENCODED_SURROUND, forceSetting, in sendEncodedSurroundMode()
1875 mDeviceBroker.postSetAvrcpAbsoluteVolumeIndex(newIndex / 10); in adjustStreamVolume()
1887 mDeviceBroker.postSetHearingAidVolumeIndex(newIndex, streamType); in adjustStreamVolume()
2223 mDeviceBroker.postSetHearingAidVolumeIndex(index * 10, streamType); in updateHearingAidVolumeOnVoiceActivityUpdate()
2263 mDeviceBroker.postSetHearingAidVolumeIndex(index * 10, streamType); in updateAbsVolumeMultiModeDevices()
[all …]