Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DWiredAccessoryManager.java183 int headsetState = newState & SUPPORTED_HEADSETS; in updateLocked() local
184 int usb_headset_anlg = headsetState & BIT_USB_HEADSET_ANLG; in updateLocked()
185 int usb_headset_dgtl = headsetState & BIT_USB_HEADSET_DGTL; in updateLocked()
186 int h2w_headset = headsetState & (BIT_HEADSET | BIT_HEADSET_NO_MIC | BIT_LINEOUT); in updateLocked()
191 + " headsetState=" + headsetState in updateLocked()
194 if (mHeadsetState == headsetState) { in updateLocked()
220 Message msg = mHandler.obtainMessage(MSG_NEW_DEVICE_STATE, headsetState, in updateLocked()
224 mHeadsetState = headsetState; in updateLocked()
244 int headsetState, int prevHeadsetState, String headsetName) { in setDevicesState() argument
249 setDeviceStateLocked(curHeadset, headsetState, prevHeadsetState, headsetName); in setDevicesState()
[all …]