Home
last modified time | relevance | path

Searched refs:headset (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/java/com/android/server/
DWiredAccessoryManager.java131 int headset; in notifyWiredAccessoryChanged() local
135 headset = 0; in notifyWiredAccessoryChanged()
139 headset = BIT_HEADSET_NO_MIC; in notifyWiredAccessoryChanged()
143 headset = BIT_HEADSET; in notifyWiredAccessoryChanged()
147 headset = BIT_HEADSET; in notifyWiredAccessoryChanged()
151 headset = 0; in notifyWiredAccessoryChanged()
155 updateLocked(NAME_H2W, (mHeadsetState & ~(BIT_HEADSET | BIT_HEADSET_NO_MIC)) | headset); in notifyWiredAccessoryChanged()
237 private void setDeviceStateLocked(int headset, in setDeviceStateLocked() argument
239 if ((headsetState & headset) != (prevHeadsetState & headset)) { in setDeviceStateLocked()
243 if ((headsetState & headset) != 0) { in setDeviceStateLocked()
[all …]
/frameworks/base/obex/javax/obex/
DClientSession.java291 HeaderSet headset; in setPath() local
293 headset = new HeaderSet(); in setPath()
295 headset = header; in setPath()
296 if (headset.nonce != null) { in setPath()
298 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); in setPath()
303 if (headset.nonce != null) { in setPath()
305 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); in setPath()
310 headset.mConnectionID = new byte[4]; in setPath()
311 System.arraycopy(mConnectionId, 0, headset.mConnectionID, 0, 4); in setPath()
314 head = ObexHelper.createHeader(headset, false); in setPath()
[all …]
/frameworks/base/docs/html/training/managing-audio/
Daudio-output.jd41 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
Dindex.jd60 played and how to handle a headset being disconnected during playback.</dd>
Dvolume-playback.jd36 device, bluetooth headset, or headphones.</p>
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java1162 BluetoothHeadset headset = new BluetoothHeadset(context, listener); in getProfileProxy() local
1197 BluetoothHeadset headset = (BluetoothHeadset)proxy; in closeProfileProxy() local
1198 headset.close(); in closeProfileProxy()
/frameworks/base/docs/html/about/versions/
Dandroid-4.0.3.jd212 a headset is not in use. By default, no password text is spoken unless a headset
Dandroid-3.0.jd325 <h3>Bluetooth A2DP and headset APIs</h3>
328 headset profile devices. For example, applications can identify when a Bluetooth headset is
Dandroid-3.0-highlights.jd251 … and status and let the user know that music is playing through a stereo headset. Applications can…
Dandroid-4.0.jd712 <p>Similar to regular headset and A2DP profile devices, you must call {@link
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd903 is the Hands-Free profile. For a mobile phone to connect to a wireless headset,
1009 to handle vendor-specific AT commands for the headset.</p>
1061 object. <p>Similar to regular headset and A2DP profile devices, you must call
/frameworks/base/docs/html/guide/components/
Dintents-filters.jd155 <td>A headset has been plugged into the device, or unplugged from it.
280 "{@code state}" extra indicating whether the headset is now plugged in or
281 unplugged, as well as a "{@code name}" extra for the type of headset.
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1385 public void setBtHeadset(BluetoothHeadset headset) { in setBtHeadset() argument
1386 if (headset != null && mBtHeadset == null && isOnBattery() && mBluetoothPingStart == -1) { in setBtHeadset()
1389 mBtHeadset = headset; in setBtHeadset()
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd61 device. Currently, that is the mobile device speaker or a Bluetooth headset. You cannot play sound
/frameworks/base/api/
Dcurrent.txt5071 …c final java.lang.String ACTION_AUDIO_STATE_CHANGED = "android.bluetooth.headset.profile.action.AU…
5072 …al java.lang.String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.headset.profile.action.CO…
5073 …va.lang.String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT = "android.bluetooth.headset.action.VENDOR_SPE…
5079 …ang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS = "android.bluetooth.headset.extra.VENDOR_SPEC…
5080 …lang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD = "android.bluetooth.headset.extra.VENDOR_SPEC…
5081 …String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE = "android.bluetooth.headset.extra.VENDOR_SPEC…
5085 …g VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY = "android.bluetooth.headset.intent.category.c…