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.java57 private static final int BIT_HEADSET = (1 << 0); field in WiredAccessoryManager
63 private static final int SUPPORTED_HEADSETS = (BIT_HEADSET|BIT_HEADSET_NO_MIC|
145 headset = BIT_HEADSET; in notifyWiredAccessoryChanged()
149 headset = BIT_HEADSET; in notifyWiredAccessoryChanged()
158 (mHeadsetState & ~(BIT_HEADSET | BIT_HEADSET_NO_MIC | BIT_LINEOUT)) | headset); in notifyWiredAccessoryChanged()
186 int h2w_headset = headsetState & (BIT_HEADSET | BIT_HEADSET_NO_MIC | BIT_LINEOUT); in updateLocked()
202 if (h2w_headset == (BIT_HEADSET | BIT_HEADSET_NO_MIC | BIT_LINEOUT)) { in updateLocked()
269 if (headset == BIT_HEADSET) { in setDeviceStateLocked()
362 uei = new UEventInfo(NAME_H2W, BIT_HEADSET, BIT_HEADSET_NO_MIC, BIT_LINEOUT); in makeObservedUEventList()