Searched defs:headset (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/services/java/com/android/server/
H A DWiredAccessoryManager.java49 * <p>WiredAccessoryManager monitors for a wired headset on the main board or dock using
131 int headset;
135 headset = 0;
139 headset = BIT_HEADSET_NO_MIC;
143 headset = BIT_HEADSET;
147 headset = BIT_HEADSET;
151 headset = 0;
155 updateLocked(NAME_H2W, (mHeadsetState & ~(BIT_HEADSET | BIT_HEADSET_NO_MIC)) | headset);
160 * Compare the existing headset state with the new state and pass along accordingly. Note
161 * that this only supports a single headset a
237 setDeviceStateLocked(int headset, int headsetState, int prevHeadsetState, String headsetName) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java252 /** Bluetooth headset object */
1258 public void setBtHeadset(BluetoothHeadset headset) { argument
1259 if (headset != null && mBtHeadset == null && isOnBattery() && mBluetoothPingStart == -1) {
1262 mBtHeadset = headset;
1481 // Track bt headset ping count
1517 // Track bt headset ping count

Completed in 456 milliseconds