Home
last modified time | relevance | path

Searched refs:btInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java808 public void onSetBtActiveDevice(@NonNull AudioDeviceBroker.BtDeviceInfo btInfo, in onSetBtActiveDevice() argument
813 + " btDevice=" + btInfo.mDevice in onSetBtActiveDevice()
814 + " profile=" + BluetoothProfile.getProfileName(btInfo.mProfile) in onSetBtActiveDevice()
815 + " state=" + BluetoothProfile.getConnectionStateName(btInfo.mState)); in onSetBtActiveDevice()
817 String address = btInfo.mDevice.getAddress(); in onSetBtActiveDevice()
823 + btInfo + " codec=" + AudioSystem.audioFormatToString(codec))); in onSetBtActiveDevice()
826 .set(MediaMetrics.Property.STATUS, btInfo.mProfile) in onSetBtActiveDevice()
828 AudioSystem.getDeviceName(btInfo.mAudioSystemDevice)) in onSetBtActiveDevice()
836 btInfo.mState == BluetoothProfile.STATE_CONNECTED in onSetBtActiveDevice()
841 final String key = DeviceInfo.makeDeviceListKey(btInfo.mAudioSystemDevice, address); in onSetBtActiveDevice()
[all …]
DAudioDeviceBroker.java1843 final BtDeviceInfo btInfo = (BtDeviceInfo) msg.obj; in handleMessage() local
1844 if (btInfo.mState == BluetoothProfile.STATE_CONNECTED in handleMessage()
1845 && !mBtHelper.isProfilePoxyConnected(btInfo.mProfile)) { in handleMessage()
1849 + btInfo)).printLog(TAG)); in handleMessage()
1852 mBtHelper.getCodecWithFallback(btInfo.mDevice, in handleMessage()
1853 btInfo.mProfile, btInfo.mIsLeOutput, in handleMessage()
1857 mDeviceInventory.onSetBtActiveDevice(btInfo, codecAndChanged.first, in handleMessage()
1858 (btInfo.mProfile != BluetoothProfile.LE_AUDIO in handleMessage()
1859 || btInfo.mIsLeOutput) in handleMessage()
1862 if (btInfo.mProfile == BluetoothProfile.LE_AUDIO in handleMessage()
[all …]