Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java128 int headset; in notifyWiredAccessoryChanged() local
133 headset = 0; in notifyWiredAccessoryChanged()
137 headset = BIT_HEADSET_NO_MIC; in notifyWiredAccessoryChanged()
141 headset = BIT_LINEOUT; in notifyWiredAccessoryChanged()
145 headset = BIT_HEADSET; in notifyWiredAccessoryChanged()
149 headset = BIT_HEADSET; in notifyWiredAccessoryChanged()
153 headset = 0; in notifyWiredAccessoryChanged()
158 (mHeadsetState & ~(BIT_HEADSET | BIT_HEADSET_NO_MIC | BIT_LINEOUT)) | headset); in notifyWiredAccessoryChanged()
256 private void setDeviceStateLocked(int headset, in setDeviceStateLocked() argument
258 if ((headsetState & headset) != (prevHeadsetState & headset)) { in setDeviceStateLocked()
[all …]
/frameworks/base/obex/javax/obex/
DClientSession.java341 HeaderSet headset; in setPath() local
343 headset = new HeaderSet(); in setPath()
345 headset = header; in setPath()
346 if (headset.nonce != null) { in setPath()
348 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); in setPath()
353 if (headset.nonce != null) { in setPath()
355 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); in setPath()
360 headset.mConnectionID = new byte[4]; in setPath()
361 System.arraycopy(mConnectionId, 0, headset.mConnectionID, 0, 4); in setPath()
364 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.java1811 BluetoothHeadset headset = new BluetoothHeadset(context, listener); in getProfileProxy() local
1861 BluetoothHeadset headset = (BluetoothHeadset)proxy; in closeProfileProxy() local
1862 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…
Dkitkat.jd698 use-cases such as listening to music over a headset with the screen off. For
Dandroid-4.0.jd715 <p>Similar to regular headset and A2DP profile devices, you must call {@link
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth.jd898 is the Hands-Free profile. For a mobile phone to connect to a wireless headset,
1004 to handle vendor-specific AT commands for the headset.</p>
1056 object. <p>Similar to regular headset and A2DP profile devices, you must call
/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.txt6882 …c final java.lang.String ACTION_AUDIO_STATE_CHANGED = "android.bluetooth.headset.profile.action.AU…
6883 …al java.lang.String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.headset.profile.action.CO…
6884 …va.lang.String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT = "android.bluetooth.headset.action.VENDOR_SPE…
6890 …ang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS = "android.bluetooth.headset.extra.VENDOR_SPEC…
6891 …lang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD = "android.bluetooth.headset.extra.VENDOR_SPEC…
6892 …String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE = "android.bluetooth.headset.extra.VENDOR_SPEC…
6897 …g VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY = "android.bluetooth.headset.intent.category.c…
Dsystem-current.txt7102 …c final java.lang.String ACTION_AUDIO_STATE_CHANGED = "android.bluetooth.headset.profile.action.AU…
7103 …al java.lang.String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.headset.profile.action.CO…
7104 …va.lang.String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT = "android.bluetooth.headset.action.VENDOR_SPE…
7110 …ang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS = "android.bluetooth.headset.extra.VENDOR_SPEC…
7111 …lang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD = "android.bluetooth.headset.extra.VENDOR_SPEC…
7112 …String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE = "android.bluetooth.headset.extra.VENDOR_SPEC…
7117 …g VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY = "android.bluetooth.headset.intent.category.c…