Home
last modified time | relevance | path

Searched refs:headset (Results 1 – 17 of 17) 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.java1899 BluetoothHeadset headset = new BluetoothHeadset(context, listener); in getProfileProxy() local
1952 BluetoothHeadset headset = (BluetoothHeadset)proxy; in closeProfileProxy() local
1953 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.jd697 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/opt/setupwizard/tools/docs/
Dandroid-22.txt6413 …c final java.lang.String ACTION_AUDIO_STATE_CHANGED = "android.bluetooth.headset.profile.action.AU…
6414 …al java.lang.String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.headset.profile.action.CO…
6415 …va.lang.String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT = "android.bluetooth.headset.action.VENDOR_SPE…
6421 …ang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS = "android.bluetooth.headset.extra.VENDOR_SPEC…
6422 …lang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD = "android.bluetooth.headset.extra.VENDOR_SPEC…
6423 …String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE = "android.bluetooth.headset.extra.VENDOR_SPEC…
6428 …g VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY = "android.bluetooth.headset.intent.category.c…
/frameworks/base/api/
Dtest-current.txt7307 …c final java.lang.String ACTION_AUDIO_STATE_CHANGED = "android.bluetooth.headset.profile.action.AU…
7308 …al java.lang.String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.headset.profile.action.CO…
7309 …va.lang.String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT = "android.bluetooth.headset.action.VENDOR_SPE…
7315 …ang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS = "android.bluetooth.headset.extra.VENDOR_SPEC…
7316 …lang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD = "android.bluetooth.headset.extra.VENDOR_SPEC…
7317 …String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE = "android.bluetooth.headset.extra.VENDOR_SPEC…
7322 …g VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY = "android.bluetooth.headset.intent.category.c…
Dcurrent.txt7301 …c final java.lang.String ACTION_AUDIO_STATE_CHANGED = "android.bluetooth.headset.profile.action.AU…
7302 …al java.lang.String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.headset.profile.action.CO…
7303 …va.lang.String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT = "android.bluetooth.headset.action.VENDOR_SPE…
7309 …ang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS = "android.bluetooth.headset.extra.VENDOR_SPEC…
7310 …lang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD = "android.bluetooth.headset.extra.VENDOR_SPEC…
7311 …String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE = "android.bluetooth.headset.extra.VENDOR_SPEC…
7316 …g VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY = "android.bluetooth.headset.intent.category.c…
Dsystem-current.txt7602 …c final java.lang.String ACTION_AUDIO_STATE_CHANGED = "android.bluetooth.headset.profile.action.AU…
7603 …al java.lang.String ACTION_CONNECTION_STATE_CHANGED = "android.bluetooth.headset.profile.action.CO…
7604 …va.lang.String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT = "android.bluetooth.headset.action.VENDOR_SPE…
7610 …ang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS = "android.bluetooth.headset.extra.VENDOR_SPEC…
7611 …lang.String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD = "android.bluetooth.headset.extra.VENDOR_SPEC…
7612 …String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE = "android.bluetooth.headset.extra.VENDOR_SPEC…
7617 …g VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY = "android.bluetooth.headset.intent.category.c…