HomeSort by relevance Sort by last modified time
    Searched refs:HEADSET (Results 1 - 23 of 23) sorted by null

  /frameworks/base/core/java/android/bluetooth/
BluetoothProfile.java 61 * Headset and Handsfree profile
63 public static final int HEADSET = 1;
128 * Headset Client - HFP HF Role
210 * @param profile - One of {@link #HEALTH}, {@link #HEADSET} or
220 * @param profile - One of {@link #HEALTH}, {@link #HEADSET} or
BluetoothHeadset.java 34 * Public API for controlling the Bluetooth Headset Service. This includes both
35 * Bluetooth Headset and Handsfree (v1.5) profiles.
37 * <p>BluetoothHeadset is a proxy object for controlling the Bluetooth Headset
44 * <p> Android only supports one connected Bluetooth Headset at a time.
53 * Intent used to broadcast the change in connection state of the Headset
71 "android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED";
91 "android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED";
95 * Intent used to broadcast that the headset has posted a
129 "android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT";
136 "android.bluetooth.headset.extra.VENDOR_SPECIFIC_HEADSET_EVENT_CMD"
    [all...]
BluetoothAdapter.java 1811 BluetoothHeadset headset = new BluetoothHeadset(context, listener); local
1861 BluetoothHeadset headset = (BluetoothHeadset)proxy; local
    [all...]
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothStressTest.java 248 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.HEADSET, null);
252 mTestUtils.connectProfile(adapter, device, BluetoothProfile.HEADSET,
254 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.HEADSET,
362 * In this test, a HSP connection is opened with an external headset and the SCO connection is
378 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.HEADSET, null);
379 mTestUtils.connectProfile(adapter, device, BluetoothProfile.HEADSET, null);
390 mTestUtils.disconnectProfile(adapter, device, BluetoothProfile.HEADSET, null);
BluetoothTestUtils.java 225 case BluetoothProfile.HEADSET:
320 case BluetoothProfile.HEADSET:
340 case BluetoothProfile.HEADSET:
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
HeadsetProfile.java 35 * HeadsetProfile handles Bluetooth HFP and Headset profiles.
53 static final String NAME = "HEADSET";
102 BluetoothProfile.HEADSET);
131 "is disconnecting the headset");
132 // Downgrade priority as user is disconnecting the headset.
219 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEADSET,
  /packages/apps/Nfc/src/com/android/nfc/handover/
BluetoothPeripheralHandover.java 43 * Connects / Disconnects from a Bluetooth headset (or any device that
286 if(!mBluetoothAdapter.getProfileProxy(mContext, this, BluetoothProfile.HEADSET))
461 mBluetoothAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mHeadset);
532 case BluetoothProfile.HEADSET:
  /packages/services/Telecomm/src/com/android/server/telecom/
BluetoothManager.java 34 * Listens to and caches bluetooth headset state. Used By the CallAudioManager for maintaining
35 * overall audio state. Also provides method for connecting the bluetooth headset to the phone call.
95 BluetoothProfile.HEADSET);
114 // Bluetooth Headset. This lets you completely connect/disconnect a
115 // headset (which we don't do from the Phone UI!) but also lets you
116 // get the address of the currently active headset and see whether
122 * and a headset is connected.)
141 // Check if there's a connected headset, using the BluetoothHeadset API.
151 + "for headset: " + device);
161 * @return true if a BT Headset is available, and its audio is currently connected
    [all...]
BluetoothPhoneServiceImpl.java 45 * Bluetooth headset manager for Telecom. This class shares the call state with the bluetooth device
80 * bluetooth headset code uses to control call.
203 // only log if it is after we recently updated the headset state or else it can
272 * headset with the new states.
324 * incorrect headset state updates. One of the scenarios is described below for CDMA
351 * bluetooth headset so that we know where to send call updates.
425 mBluetoothAdapter.getProfileProxy(context, mProfileListener, BluetoothProfile.HEADSET);
463 Log.i(TAG, "CDMA calls in conference swapped, updating headset");
617 * Sends an update of the current call state to the current Headset.
619 * @param force {@code true} if the headset state should be sent regardless if no changes to th
    [all...]
  /frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
ScoAudioTest.java 159 BluetoothProfile.HEADSET);
174 btAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset);
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterService.java 256 if (((profileId == BluetoothProfile.A2DP) ||(profileId == BluetoothProfile.HEADSET)) &&
    [all...]
  /packages/services/Telephony/src/com/android/phone/
CallNotifier.java 163 BluetoothProfile.HEADSET);
    [all...]
  /frameworks/base/services/core/java/com/android/server/audio/
AudioService.java 230 // Timeout for connection to bluetooth headset service
440 // Bluetooth headset device
444 // audio service (internal) or bluetooth headset (external)
448 // SCO audio activation request waiting for headset service to connect
452 // SCO audio deactivation request waiting for headset service to connect
459 // waiting for headset service to connect
476 // Current connection state indicated by bluetooth headset
    [all...]
  /frameworks/base/services/core/java/com/android/server/
BluetoothManagerService.java 727 if (bluetoothProfile != BluetoothProfile.HEADSET) return false;
    [all...]
  /packages/apps/FMRadio/src/com/android/fmradio/
FmService.java 96 // Headset
187 // Headset plug state (0:long antenna plug in, 1:long antenna plug out)
240 * down, screen state, headset state
269 // switch antenna when headset plug in or plug out
275 // Avoid Service is killed,and receive headset plug in
376 * Check if BT headset is connected
377 * @return true if current is playing with BT headset
381 int a2dpState = btAdapter.getProfileConnectionState(BluetoothProfile.HEADSET);
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetStateMachine.java 225 Log.e(TAG, "Could not bind to Bluetooth Headset Phone Service");
    [all...]
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/21/
android.jar 

Completed in 857 milliseconds