Home
last modified time | relevance | path

Searched refs:AudioDeviceBroker (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioDeviceBrokerTest.java74 private AudioDeviceBroker mAudioDeviceBroker;
97 mAudioDeviceBroker = new AudioDeviceBroker(context, mMockAudioService, mSpyDevInventory, in setUp()
123 new AudioDeviceBroker.BtDeviceChangedData(mFakeBtDevice, null, in testPostA2dpDeviceConnectionChange()
127 any(AudioDeviceBroker.BtDeviceInfo.class)); in testPostA2dpDeviceConnectionChange()
374 new AudioDeviceBroker.BtDeviceChangedData(mFakeBtDevice, null, in doTestConnectionDisconnectionReconnection()
380 new AudioDeviceBroker.BtDeviceChangedData(null, mFakeBtDevice, in doTestConnectionDisconnectionReconnection()
388 new AudioDeviceBroker.BtDeviceChangedData(mFakeBtDevice, null, in doTestConnectionDisconnectionReconnection()
DSpatializerHelperTest.java56 @Spy private AudioDeviceBroker mSpyDeviceBroker;
64 new AudioDeviceBroker( in setUp()
/frameworks/base/services/core/java/com/android/server/audio/
DBtHelper.java77 private final @NonNull AudioDeviceBroker mDeviceBroker;
80 BtHelper(@NonNull AudioDeviceBroker broker, Context context) { in BtHelper()
758 AudioDeviceBroker.BtDeviceChangedData data = new AudioDeviceBroker.BtDeviceChangedData( in postBluetoothActiveDevice()
760 AudioDeviceBroker.BtDeviceInfo info = mDeviceBroker.createBtDeviceInfo( in postBluetoothActiveDevice()
1187 result ? AudioDeviceBroker.BT_HEADSET_CNCT_TIMEOUT_MS : 0); in getBluetoothHeadset()
DAudioDeviceInventory.java554 private @NonNull AudioDeviceBroker mDeviceBroker;
575 /*package*/ AudioDeviceInventory(@NonNull AudioDeviceBroker broker) { in AudioDeviceInventory()
585 private AudioDeviceInventory(@Nullable AudioDeviceBroker broker, in AudioDeviceInventory()
593 /*package*/ void setDeviceBroker(@NonNull AudioDeviceBroker broker) { in setDeviceBroker()
808 public void onSetBtActiveDevice(@NonNull AudioDeviceBroker.BtDeviceInfo btInfo, in onSetBtActiveDevice()
925 @NonNull AudioDeviceBroker.BtDeviceInfo btInfo, in onBluetoothDeviceConfigChange()
993 setBluetoothActiveDevice(new AudioDeviceBroker.BtDeviceInfo(btInfo, in onBluetoothDeviceConfigChange()
1991 public int setBluetoothActiveDevice(@NonNull AudioDeviceBroker.BtDeviceInfo info) {
2041 private void makeA2dpDeviceAvailable(AudioDeviceBroker.BtDeviceInfo btInfo,
2494 AudioDeviceBroker.BtDeviceInfo btInfo, int streamType,
DAudioDeviceBroker.java84 public class AudioDeviceBroker { class
182 /*package*/ AudioDeviceBroker(@NonNull Context context, @NonNull AudioService service, in AudioDeviceBroker() method in AudioDeviceBroker
197 AudioDeviceBroker(@NonNull Context context, @NonNull AudioService service, in AudioDeviceBroker() method in AudioDeviceBroker
664 if (device == null || !AudioDeviceBroker.isValidCommunicationDevice(device)) { in getCommunicationDeviceInt()
1784 synchronized (AudioDeviceBroker.this) { in run()
1788 AudioDeviceBroker.this.notify(); in run()
DSpatializerHelper.java83 private final @NonNull AudioDeviceBroker mDeviceBroker;
176 @NonNull AudioDeviceBroker deviceBroker, boolean binauralEnabledDefault, in SpatializerHelper()
DAudioService.java1168 mDeviceBroker = new AudioDeviceBroker(mContext, this, mAudioSystem); in AudioService()
6043 /*package*/ AudioDeviceBroker.AudioModeInfo getAudioModeOwner() { in getAudioModeOwner()
6046 return new AudioDeviceBroker.AudioModeInfo( in getAudioModeOwner()
6049 return new AudioDeviceBroker.AudioModeInfo(AudioSystem.MODE_NORMAL, 0 , 0); in getAudioModeOwner()
6576 List<AudioDeviceInfo> commDevices = AudioDeviceBroker.getAvailableCommunicationDevices(); in getAvailableCommunicationDeviceIds()
6595 if (!AudioDeviceBroker.isValidCommunicationDevice(device)) { in setCommunicationDevice()
7947 AudioDeviceBroker.BtDeviceChangedData data = in handleBluetoothActiveDeviceChanged()
7948 new AudioDeviceBroker.BtDeviceChangedData(newDevice, previousDevice, info, in handleBluetoothActiveDeviceChanged()
9782 (AudioDeviceBroker.BtDeviceChangedData) msg.obj); in handleMessage()
13411 private final AudioDeviceBroker mDeviceBroker;
/frameworks/base/services/
Dart-wear-profile7985 PLcom/android/server/audio/AudioDeviceBroker$AudioModeInfo;-><init>(III)V
7986 PLcom/android/server/audio/AudioDeviceBroker$BrokerHandler;-><init>(Lcom/android/server/audio/Audio…
7987 …erver/audio/AudioDeviceBroker$BrokerHandler;-><init>(Lcom/android/server/audio/AudioDeviceBroker;L…
7988 HPLcom/android/server/audio/AudioDeviceBroker$BrokerHandler;->handleMessage(Landroid/os/Message;)V
7989 PLcom/android/server/audio/AudioDeviceBroker$BrokerThread;-><init>(Lcom/android/server/audio/AudioD…
7990 PLcom/android/server/audio/AudioDeviceBroker$BrokerThread;->run()V
7991 PLcom/android/server/audio/AudioDeviceBroker;->-$$Nest$fgetmBtHelper(Lcom/android/server/audio/Audi…
7992 PLcom/android/server/audio/AudioDeviceBroker;->-$$Nest$fgetmDeviceStateLock(Lcom/android/server/aud…
7993 …er/audio/AudioDeviceBroker;->-$$Nest$fputmBrokerHandler(Lcom/android/server/audio/AudioDeviceBroke…
7994 PLcom/android/server/audio/AudioDeviceBroker;->-$$Nest$monSetForceUse(Lcom/android/server/audio/Aud…
[all …]