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.java201 int headsetState = newState & SUPPORTED_HEADSETS; in updateLocked() local
202 int usb_headset_anlg = headsetState & BIT_USB_HEADSET_ANLG; in updateLocked()
203 int usb_headset_dgtl = headsetState & BIT_USB_HEADSET_DGTL; in updateLocked()
204 int h2w_headset = headsetState & (BIT_HEADSET | BIT_HEADSET_NO_MIC | BIT_LINEOUT); in updateLocked()
210 + " headsetState=" + headsetState in updateLocked()
214 if (mHeadsetState == headsetState) { in updateLocked()
240 Message msg = mHandler.obtainMessage(MSG_NEW_DEVICE_STATE, headsetState, in updateLocked()
244 mHeadsetState = headsetState; in updateLocked()
264 int headsetState, int prevHeadsetState, String headsetName) { in setDevicesState() argument
269 setDeviceStateLocked(curHeadset, headsetState, prevHeadsetState, headsetName); in setDevicesState()
[all …]