Home
last modified time | relevance | path

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

/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/services/java/com/android/server/
DHeadsetObserver.java152 …private final void sendIntent(int headset, int headsetState, int prevHeadsetState, String headsetN… in sendIntent() argument
153 if ((headsetState & headset) != (prevHeadsetState & headset)) { in sendIntent()
160 if ((headset & HEADSETS_WITH_MIC) != 0) { in sendIntent()
163 if ((headsetState & headset) != 0) { in sendIntent()
DSystemServer.java124 HeadsetObserver headset = null; in run() local
387 headset = new HeadsetObserver(context); in run()
/frameworks/base/services/java/com/android/server/am/
DBatteryStatsService.java290 BluetoothHeadset headset = new BluetoothHeadset(mContext, null); in noteBluetoothOn() local
293 mStats.setBtHeadset(headset); in noteBluetoothOn()
/frameworks/base/core/java/android/server/
DBluetoothService.java1985 BluetoothHeadset headset = new BluetoothHeadset(mContext, null); in dump() local
2030 switch (headset.getState(headset.getCurrentHeadset())) { in dump()
2045 pw.println("\ngetCurrentHeadset() = " + headset.getCurrentHeadset()); in dump()
2046 pw.println("getBatteryUsageHint() = " + headset.getBatteryUsageHint()); in dump()
2047 headset.close(); in dump()
/frameworks/base/docs/html/guide/topics/media/
Dindex.jd71 output device; currently, that is the mobile device speaker or Bluetooth headset. You
/frameworks/base/docs/html/guide/topics/intents/
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.java1178 public void setBtHeadset(BluetoothHeadset headset) { in setBtHeadset() argument
1179 if (headset != null && mBtHeadset == null && isOnBattery() && mBluetoothPingStart == -1) { in setBtHeadset()
1182 mBtHeadset = headset; in setBtHeadset()
/frameworks/base/docs/html/sdk/
Dandroid-3.0-highlights.jd238 … and status and let the user know that music is playing through a stereo headset. Applications can…