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.java360 AudioDeviceInventory.WiredDeviceConnectionState wdcs) { in onSetWiredDeviceConnectionState() argument
361 AudioService.sDeviceLogger.log(new AudioServiceEvents.WiredDevConnectEvent(wdcs)); in onSetWiredDeviceConnectionState()
364 if ((wdcs.mState == AudioService.CONNECTION_STATE_DISCONNECTED) in onSetWiredDeviceConnectionState()
365 && DEVICE_OVERRIDE_A2DP_ROUTE_ON_PLUG_SET.contains(wdcs.mType)) { in onSetWiredDeviceConnectionState()
370 if (!handleDeviceConnection(wdcs.mState == AudioService.CONNECTION_STATE_CONNECTED, in onSetWiredDeviceConnectionState()
371 wdcs.mType, wdcs.mAddress, wdcs.mName)) { in onSetWiredDeviceConnectionState()
375 if (wdcs.mState != AudioService.CONNECTION_STATE_DISCONNECTED) { in onSetWiredDeviceConnectionState()
376 if (DEVICE_OVERRIDE_A2DP_ROUTE_ON_PLUG_SET.contains(wdcs.mType)) { in onSetWiredDeviceConnectionState()
380 mDeviceBroker.checkMusicActive(wdcs.mType, wdcs.mCaller); in onSetWiredDeviceConnectionState()
382 if (wdcs.mType == AudioSystem.DEVICE_OUT_HDMI) { in onSetWiredDeviceConnectionState()
[all …]