/frameworks/base/services/java/com/android/server/ |
WiredAccessoryManager.java | 50 * <p>WiredAccessoryManager monitors for a wired headset on the main board or dock using 132 int headset; local 136 headset = 0; 140 headset = BIT_HEADSET_NO_MIC; 144 headset = BIT_HEADSET; 148 headset = BIT_HEADSET; 152 headset = 0; 156 updateLocked(NAME_H2W, (mHeadsetState & ~(BIT_HEADSET | BIT_HEADSET_NO_MIC)) | headset); 161 * Compare the existing headset state with the new state and pass along accordingly. Note 162 * that this only supports a single headset at a time. Inserting both a usb and jacked headse [all...] |
/packages/services/Telephony/src/com/android/phone/ |
WiredHeadsetManager.java | 31 * Listens for and caches headset state. Used By the AudioRouter for maintaining 33 * headset to the phone call. 41 // True if a wired headset is currently plugged in, based on the state 57 * Returns connection state of the wires headset. 64 * Add a listener for wired headset connection status. 73 * Called when we get an event from the system for the headset connection state. 77 Log.d(LOG_TAG, "Wired headset connected: " + pluggedIn); 108 * Listeners for those that want to know about the headset state.
|
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...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
msm8960_use_cases.h | 65 #define DEVICE_SPEAKER_HEADSET_RX_ACDB_ID DEVICE_HEADSET_RX_ACDB_ID // Use headset calibration 67 #define DEVICE_ANC_HEADSET_STEREO_RX_ACDB_ID 26// ANC RX, same as regular headset 219 #define SND_USE_CASE_DEV_ANC_HEADSET "ANC Headset" 224 #define SND_USE_CASE_DEV_SPEAKER_HEADSET "Speaker Headset" 225 #define SND_USE_CASE_DEV_SPEAKER_ANC_HEADSET "Speaker ANC Headset" 227 #define SND_USE_CASE_DEV_TTY_HEADSET_RX "TTY Headset Rx" 228 #define SND_USE_CASE_DEV_TTY_HEADSET_TX "TTY Headset Tx" 251 #define SND_USE_CASE_DEV_SPDIF_ANC_HEADSET "SPDIF ANC Headset" 252 #define SND_USE_CASE_DEV_SPDIF_SPEAKER_HEADSET "SPDIF Speaker Headset" 253 #define SND_USE_CASE_DEV_SPDIF_SPEAKER_ANC_HEADSET "SPDIF Speaker ANC Headset" [all...] |
/frameworks/base/core/java/android/bluetooth/ |
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...] |
IBluetoothHeadsetPhone.aidl | 20 * API for Bluetooth Headset Phone Service in phone app
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TreeMapExtendTest.java | [all...] |
/hardware/ti/wpan/ |
README | 6 and connect to BT headset via SCO. 18 BluetoothSCOApp/ - BT SCO UI App for connect to BT headset via SCO
|
/external/chromium_org/device/test/data/bluetooth/ |
rfcomm.xml | 37 <text value="Headset Audio Gateway" />
|
/external/guava/guava/src/com/google/common/collect/ |
ContiguousSet.java | 42 @Override public ContiguousSet<C> headSet(C toElement) { 43 return headSet(checkNotNull(toElement), false); 46 @Override ContiguousSet<C> headSet(C toElement, boolean inclusive) { 74 * These methods perform most headSet, subSet, and tailSet logic, besides parameter validation.
|
ForwardingSortedSet.java | 76 public SortedSet<E> headSet(E toElement) { 77 return delegate().headSet(toElement); 157 * terms of {@link #headSet(Object)} and {@link #tailSet(Object)}. In some 164 return tailSet(fromElement).headSet(toElement);
|
/frameworks/base/media/java/android/media/ |
package.html | 9 in Bitmaps ({@link android.media.FaceDetector}), control audio routing (to the device or a headset)
|
/hardware/libhardware/include/hardware/ |
bt_av.h | 78 /** connect to headset */ 81 /** dis-connect from headset */
|
/packages/apps/InCallUI/res/menu/ |
incall_audio_mode_menu.xml | 25 <!-- We display *either* "earpiece" or "wired headset", never both, 26 depending on whether a wired headset is physically plugged in
|
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_api.c | 176 ** Description Opens a connection to a headset or hands-free device. 204 ** Description Close the current connection to a headset or a handsfree 228 ** headset or hnadsfree. 250 ** Description Close the currently active audio connection to a headset 274 ** Description Send an AT result code to a headset or hands-free device.
|
/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,
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldTreeSetTest.java | 136 // java.util.TreeSet.headSet(java.lang.Object) 137 Set s = ts.headSet(new Integer(100)); 142 SortedSet sort = ts.headSet(new Integer(100)); 144 sort.headSet(new Integer(101)); 151 ts.headSet(this); 158 ts.headSet(null);
|
/development/apps/BluetoothDebug/ |
AndroidManifest.xml | 28 <action android:name="android.bluetooth.headset.action.STATE_CHANGED" /> 29 <action android:name="android.bluetooth.headset.action.AUDIO_STATE_CHANGED" />
|
/device/samsung/manta/ |
mixer_paths.xml | 141 <path name="headset-mic"> 201 <path name="bt-sco-headset"> 239 <path name="media-headset-mic"> 240 <path name="headset-mic" /> 249 <path name="voice-rec-headset-mic"> 250 <path name="headset-mic" /> 255 <path name="communication-headset-mic"> 256 <path name="headset-mic" />
|
/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/docs/html/training/managing-audio/ |
audio-output.jd | 41 being routed to the device speaker, wired headset, or attached Bluetooth device as shown in the 59 <p>When a headset is unplugged, or a Bluetooth device disconnected, the audio stream
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
ObscureSpeechDelegate.java | 36 /** Whether any client has announced the "headset" notification. */ 51 // Play the "headset required" announcement the first time the user
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ContiguousSetTest.java | 106 ASSERT.that(set.headSet(1)).isEmpty(); 107 ASSERT.that(set.headSet(2)).hasContentsInOrder(1); 108 ASSERT.that(set.headSet(3)).hasContentsInOrder(1, 2); 109 ASSERT.that(set.headSet(4)).hasContentsInOrder(1, 2, 3); 110 ASSERT.that(set.headSet(Integer.MAX_VALUE)).hasContentsInOrder(1, 2, 3); 111 ASSERT.that(set.headSet(1, true)).hasContentsInOrder(1); 112 ASSERT.that(set.headSet(2, true)).hasContentsInOrder(1, 2); 113 ASSERT.that(set.headSet(3, true)).hasContentsInOrder(1, 2, 3); 114 ASSERT.that(set.headSet(4, true)).hasContentsInOrder(1, 2, 3); 115 ASSERT.that(set.headSet(Integer.MAX_VALUE, true)).hasContentsInOrder(1, 2, 3) [all...] |
ImmutableSortedSetTest.java | 120 assertSame(set, set.headSet("c")); 165 assertTrue(set.headSet("g") instanceof ImmutableSortedSet); 166 ASSERT.that(set.headSet("g")).hasContentsInOrder("e"); 167 assertSame(of(), set.headSet("c")); 168 assertSame(of(), set.headSet("e")); 267 assertTrue(set.headSet("e") instanceof ImmutableSortedSet); 268 ASSERT.that(set.headSet("e")).hasContentsInOrder("b", "c", "d"); 269 ASSERT.that(set.headSet("g")).hasContentsInOrder("b", "c", "d", "e", "f"); 270 assertSame(of(), set.headSet("a")); 271 assertSame(of(), set.headSet("b")) 450 SortedSet<String> headset = set.headSet("d"); local [all...] |
/frameworks/base/obex/javax/obex/ |
ClientSession.java | 291 HeaderSet headset; local 293 headset = new HeaderSet(); 295 headset = header; 296 if (headset.nonce != null) { 298 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); 303 if (headset.nonce != null) { 305 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); 310 headset.mConnectionID = new byte[4]; 311 System.arraycopy(mConnectionId, 0, headset.mConnectionID, 0, 4); 314 head = ObexHelper.createHeader(headset, false) [all...] |