Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java60 private static final int BIT_HEADSET = (1 << 0); field in WiredAccessoryManager
66 private static final int SUPPORTED_HEADSETS = (BIT_HEADSET | BIT_HEADSET_NO_MIC |
163 headset = BIT_HEADSET; in notifyWiredAccessoryChanged()
167 headset = BIT_HEADSET; in notifyWiredAccessoryChanged()
176 (mHeadsetState & ~(BIT_HEADSET | BIT_HEADSET_NO_MIC | BIT_LINEOUT)) | headset); in notifyWiredAccessoryChanged()
204 int h2w_headset = headsetState & (BIT_HEADSET | BIT_HEADSET_NO_MIC | BIT_LINEOUT); in updateLocked()
222 if (h2w_headset == (BIT_HEADSET | BIT_HEADSET_NO_MIC | BIT_LINEOUT)) { in updateLocked()
289 if (headset == BIT_HEADSET) { in setDeviceStateLocked()
383 uei = new UEventInfo(NAME_H2W, BIT_HEADSET, BIT_HEADSET_NO_MIC, BIT_LINEOUT); in makeObservedUEventList()
528 updateBit(maskAndState, BIT_HEADSET, status,"MICROPHONE") ; in parseState()