Searched defs:mBluetoothHeadset (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java82 private BluetoothHeadset mBluetoothHeadset; field in class:ScoAudioTest
171 if (mBluetoothHeadset != null) {
174 btAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset);
245 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null) {
247 mBluetoothHeadset.startVoiceRecognition(mBluetoothHeadsetDevice);
249 mBluetoothHeadset.stopVoiceRecognition(mBluetoothHeadsetDevice);
659 mBluetoothHeadset = (BluetoothHeadset) proxy;
660 List<BluetoothDevice> deviceList = mBluetoothHeadset.getConnectedDevices();
669 if (mBluetoothHeadset != null) {
670 List<BluetoothDevice> devices = mBluetoothHeadset
[all...]
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java517 private BluetoothHeadset mBluetoothHeadset; field in class:AudioService
3273 if ((mBluetoothHeadset != null)
3274 && (mBluetoothHeadset.getAudioState(mBluetoothHeadsetDevice)
3507 if (mBluetoothHeadset == null) {
3525 if (connectBluetoothScoAudioHelper(mBluetoothHeadset,
3553 if (mBluetoothHeadset == null) {
3571 if (disconnectBluetoothScoAudioHelper(mBluetoothHeadset,
3596 if (mBluetoothHeadset != null && mBluetoothHeadsetDevice != null &&
3598 mBluetoothHeadset.getAudioState(mBluetoothHeadsetDevice)
3836 mBluetoothHeadset
[all...]

Completed in 99 milliseconds