/frameworks/base/core/java/android/bluetooth/ |
BluetoothProfile.java | 58 * Headset and Handsfree profile 60 public static final int HEADSET = 1; 180 * @param profile - One of {@link #HEALTH}, {@link #HEADSET} or 190 * @param profile - One of {@link #HEALTH}, {@link #HEADSET} or
|
BluetoothHeadset.java | 33 * Public API for controlling the Bluetooth Headset Service. This includes both 34 * Bluetooth Headset and Handsfree (v1.5) profiles. 36 * <p>BluetoothHeadset is a proxy object for controlling the Bluetooth Headset 43 * <p> Android only supports one connected Bluetooth Headset at a time. 52 * Intent used to broadcast the change in connection state of the Headset 70 "android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED"; 90 "android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED"; 94 * Intent used to broadcast that the headset has posted a 128 "android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT"; 135 "android.bluetooth.headset.extra.VENDOR_SPECIFIC_HEADSET_EVENT_CMD" [all...] |
BluetoothAdapter.java | 1361 BluetoothHeadset headset = new BluetoothHeadset(context, listener); local 1399 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 | 223 case BluetoothProfile.HEADSET: 318 case BluetoothProfile.HEADSET: 338 case BluetoothProfile.HEADSET: [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
HeadsetProfile.java | 35 * HeadsetProfile handles Bluetooth HFP and Headset profiles. 53 static final String NAME = "HEADSET"; 102 BluetoothProfile.HEADSET); 128 // Downgrade priority as user is disconnecting the headset. 210 BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.HEADSET,
|
/packages/services/Telephony/src/com/android/phone/ |
BluetoothManager.java | 41 * Listens to and caches bluetooth headset state. Used By the AudioRouter for maintaining 43 * headset to the phone call. 90 // Bluetooth Headset. This lets you completely connect/disconnect a 91 // headset (which we don't do from the Phone UI!) but also lets you 92 // get the address of the currently active headset and see whether 98 * and a headset is connected.) 117 // Check if there's a connected headset, using the BluetoothHeadset API. 126 if (VDBG) log(" - headset state = " + 128 if (VDBG) log(" - headset address: " + device); 138 * @return true if a BT Headset is available, and its audio is currently connected [all...] |
BluetoothPhoneService.java | 52 * Bluetooth headset manager for the Phone app. 117 mAdapter.getProfileProxy(this, mProfileListener, BluetoothProfile.HEADSET); 511 // Send CLCC response to Bluetooth headset service [all...] |
CallNotifier.java | 210 BluetoothProfile.HEADSET); [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
BluetoothHeadsetHandover.java | 41 * Connects / Disconnects from a Bluetooth headset (or any device that 225 if(!mBluetoothAdapter.getProfileProxy(mContext, this, BluetoothProfile.HEADSET)) 352 mBluetoothAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mHeadset); 422 case BluetoothProfile.HEADSET:
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
ScoAudioTest.java | 159 BluetoothProfile.HEADSET); 174 btAdapter.closeProfileProxy(BluetoothProfile.HEADSET, mBluetoothHeadset);
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
AudioManagerAndroid.java | 73 "Wired headset", // With or without microphone 74 "Headset earpiece", // Only available on mobile phones 75 "Bluetooth headset", 92 // A wired headset (with or without a microphone) is plugged in. 94 // The audio stream is being directed to a Bluetooth headset. 135 // Broadcast receiver for wired headset intent broadcasts. 156 * for broadcasted intents related to wired headset and bluetooth devices. 183 // removing a wired headset (Intent.ACTION_HEADSET_PLUG). 184 // Also starts routing to the wired headset/headphone if one is 185 // already attached (can be overridden by a Bluetooth headset) [all...] |
/frameworks/base/services/java/com/android/server/am/ |
BatteryStatsService.java | 314 BluetoothProfile.HEADSET);
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerActivity.java | 239 BluetoothProfile.HEADSET)) { 240 Log.e(TAG, "Getting Headset Proxy failed"); 426 if (false) Log.d(TAG, "headset status " + state); 428 // We are already connnected to a headset 451 if (false) Log.d(TAG, "HEADSET STATE -> " + state); 478 // apparently our connection to the headset has dropped. [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AdapterService.java | 165 if (((profileId == BluetoothProfile.A2DP) ||(profileId == BluetoothProfile.HEADSET)) && [all...] |
/frameworks/base/media/java/android/media/ |
AudioService.java | 175 // Timeout for connection to bluetooth headset service 354 // Bluetooth headset device 358 // audio service (internal) or bluetooth headset (external) 362 // SCO audio activation request waiting for headset service to connect 366 // SCO audio deactivation request waiting for headset service to connect 373 // waiting for headset service to connect 384 // Current connection state indicated by bluetooth headset [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetStateMachine.java | 194 Log.e(TAG, "Could not bind to Bluetooth Headset Phone Service"); [all...] |
/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/current/ |
android.jar | |