Home
last modified time | relevance | path

Searched refs:mA2dp (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/apps/Nfc/src/com/android/nfc/handover/
H A DBluetoothPeripheralHandover.java115 BluetoothA2dp mA2dp; field in BluetoothPeripheralHandover
210 if (mA2dp == null || mHeadset == null || mInput == null) { in nextStepInit()
231 if (mA2dp.getConnectedDevices().contains(mDevice) || in nextStepInit()
241 if (mA2dp.getConnectionPolicy(mDevice) == in nextStepInit()
287 if (mA2dp.getConnectionState(mDevice) in nextStepDisconnect()
290 mA2dp.disconnect(mDevice); in nextStepDisconnect()
399 mA2dp.connect(mDevice); in nextStepConnect()
542 if (mA2dp != null) { in complete()
553 mA2dp = null; in complete()
680 if (mA2dp != null) { in onServiceConnected()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DBluetoothModeChangeHelper.java38 private volatile BluetoothA2dp mA2dp; field in BluetoothModeChangeHelper
58 mA2dp = (BluetoothA2dp) proxy;
73 mA2dp = null;
131 final BluetoothA2dp a2dp = mA2dp; in isA2dpConnected()
/aosp12/frameworks/base/services/core/java/com/android/server/audio/
H A DBtHelper.java67 private @Nullable BluetoothA2dp mA2dp; field in BtHelper
248 return (mA2dp != null && mAvrcpAbsVolSupported); in isAvrcpAbsoluteVolumeSupported()
257 if (mA2dp == null) { in setAvrcpAbsoluteVolumeIndex()
274 mA2dp.setAvrcpAbsoluteVolume(index); in setAvrcpAbsoluteVolumeIndex()
279 if (mA2dp == null) { in getA2dpCodec()
282 final BluetoothCodecStatus btCodecStatus = mA2dp.getCodecStatus(device); in getA2dpCodec()
450 mA2dp = a2dp; in onA2dpProfileConnected()
451 final List<BluetoothDevice> deviceList = mA2dp.getConnectedDevices(); in onA2dpProfileConnected()
902 pw.println(prefix + "mA2dp: " + mA2dp); in dump()
/aosp12/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java355 mA2dp = (BluetoothA2dp) proxy;
378 mA2dp = null;
404 private BluetoothA2dp mA2dp = null; field in BluetoothTestUtils
1584 if (mA2dp != null) { in connectProxy()
1585 return mA2dp; in connectProxy()
1614 while (mA2dp == null && System.currentTimeMillis() - s < CONNECT_PROXY_TIMEOUT) { in connectProxy()
1617 return mA2dp; in connectProxy()