Searched refs:BluetoothHeadset (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java22 import android.bluetooth.BluetoothHeadset;
82 private BluetoothHeadset mBluetoothHeadset;
104 new IntentFilter(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED);
650 mBluetoothHeadset = (BluetoothHeadset) proxy;
679 if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) {
682 Log.e(TAG, "BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED: "+state);
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java20 import android.bluetooth.BluetoothHeadset;
55 private BluetoothHeadset mBluetoothHeadset;
329 mBluetoothHeadset = (BluetoothHeadset) proxy;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadset.java36 * <p>BluetoothHeadset is a proxy object for controlling the Bluetooth Headset
40 * the BluetoothHeadset proxy object. Use
46 public final class BluetoothHeadset implements BluetoothProfile { class in inherits:BluetoothProfile
47 private static final String TAG = "BluetoothHeadset";
260 * Create a BluetoothHeadset proxy object.
262 /*package*/ BluetoothHeadset(Context context, ServiceListener l) { method in class:BluetoothHeadset
292 * Other public functions of BluetoothHeadset will return default error
686 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED;
809 * This is a backdoor for phone app to call BluetoothHeadset since
894 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, BluetoothHeadset
[all...]
H A DBluetoothAdapter.java1181 BluetoothHeadset headset = new BluetoothHeadset(context, listener);
1219 BluetoothHeadset headset = (BluetoothHeadset)proxy;
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java224 mConnectionAction = BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED;
319 mHeadset = (BluetoothHeadset) proxy;
360 private BluetoothHeadset mHeadset = null;
942 assertTrue(((BluetoothHeadset)proxy).connect(device));
1017 assertTrue(((BluetoothHeadset)proxy).disconnect(device));
1411 BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED,
/frameworks/base/media/java/android/media/
H A DAudioService.java35 import android.bluetooth.BluetoothHeadset;
345 // BluetoothHeadset API to control SCO connection
346 private BluetoothHeadset mBluetoothHeadset;
373 // SCO audio mode is virtual voice call (BluetoothHeadset.startScoUsingVirtualVoiceCall())
375 // SCO audio mode is raw audio (BluetoothHeadset.connectAudio())
532 new IntentFilter(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED);
533 intentFilter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED);
2001 // inCount() calls requestScoState() which in turn can call BluetoothHeadset APIs
2018 // decCount() calls requestScoState() which in turn can call BluetoothHeadset APIs
2054 requestScoState(BluetoothHeadset
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java22 import android.bluetooth.BluetoothHeadset;
251 BluetoothHeadset mBtHeadset;
1465 public void setBtHeadset(BluetoothHeadset headset) {

Completed in 365 milliseconds