Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java358 AudioDeviceInventory.WiredDeviceConnectionState wdcs) { in onSetWiredDeviceConnectionState() argument
359 AudioService.sDeviceLogger.log(new AudioServiceEvents.WiredDevConnectEvent(wdcs)); in onSetWiredDeviceConnectionState()
362 if ((wdcs.mState == AudioService.CONNECTION_STATE_DISCONNECTED) in onSetWiredDeviceConnectionState()
363 && ((wdcs.mType & DEVICE_OVERRIDE_A2DP_ROUTE_ON_PLUG) != 0)) { in onSetWiredDeviceConnectionState()
368 if (!handleDeviceConnection(wdcs.mState == AudioService.CONNECTION_STATE_CONNECTED, in onSetWiredDeviceConnectionState()
369 wdcs.mType, wdcs.mAddress, wdcs.mName)) { in onSetWiredDeviceConnectionState()
373 if (wdcs.mState != AudioService.CONNECTION_STATE_DISCONNECTED) { in onSetWiredDeviceConnectionState()
374 if ((wdcs.mType & DEVICE_OVERRIDE_A2DP_ROUTE_ON_PLUG) != 0) { in onSetWiredDeviceConnectionState()
378 mDeviceBroker.checkMusicActive(wdcs.mType, wdcs.mCaller); in onSetWiredDeviceConnectionState()
380 if (wdcs.mType == AudioSystem.DEVICE_OUT_HDMI) { in onSetWiredDeviceConnectionState()
[all …]