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

/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";
257 * Create a BluetoothHeadset proxy object.
259 /*package*/ BluetoothHeadset(Context context, ServiceListener l) { method in class:BluetoothHeadset
280 * Other public functions of BluetoothHeadset will return default error
674 return BluetoothHeadset.STATE_AUDIO_DISCONNECTED;
797 * This is a backdoor for phone app to call BluetoothHeadset since
819 * This is a backdoor for phone app to call BluetoothHeadset sinc
[all...]
H A DBluetoothAdapter.java1155 BluetoothHeadset headset = new BluetoothHeadset(context, listener);
1190 BluetoothHeadset headset = (BluetoothHeadset)proxy;
/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);
645 mBluetoothHeadset = (BluetoothHeadset) proxy;
674 if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) {
677 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;
53 private BluetoothHeadset mBluetoothHeadset;
313 mBluetoothHeadset = (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.java34 import android.bluetooth.BluetoothHeadset;
355 // BluetoothHeadset API to control SCO connection
356 private BluetoothHeadset mBluetoothHeadset;
500 new IntentFilter(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED);
501 intentFilter.addAction(BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED);
1924 requestScoState(BluetoothHeadset.STATE_AUDIO_CONNECTED);
1950 requestScoState(BluetoothHeadset.STATE_AUDIO_DISCONNECTED);
1966 requestScoState(BluetoothHeadset.STATE_AUDIO_DISCONNECTED);
1997 if (state == BluetoothHeadset.STATE_AUDIO_CONNECTED) {
2028 } else if (state == BluetoothHeadset
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java25 import android.bluetooth.BluetoothHeadset;
253 BluetoothHeadset mBtHeadset;
1258 public void setBtHeadset(BluetoothHeadset headset) {

Completed in 149 milliseconds