Searched refs:headset (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/services/java/com/android/server/
H A DWiredAccessoryManager.java50 * <p>WiredAccessoryManager monitors for a wired headset on the main board or dock using
132 int headset;
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 a
238 setDeviceStateLocked(int headset, int headsetState, int prevHeadsetState, String headsetName) argument
[all...]
/frameworks/base/obex/javax/obex/
H A DClientSession.java291 HeaderSet headset;
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, fals
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java1181 BluetoothHeadset headset = new BluetoothHeadset(context, listener);
1219 BluetoothHeadset headset = (BluetoothHeadset)proxy;
1220 headset.close();
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java248 /** Bluetooth headset object */
1463 public void setBtHeadset(BluetoothHeadset headset) { argument
1464 if (headset != null && mBtHeadset == null && isOnBattery() && mBluetoothPingStart == -1) {
1467 mBtHeadset = headset;
1660 // Track bt headset ping count
1674 // Track bt headset ping count

Completed in 6498 milliseconds