Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java284 void onSynchronizeAdiDevicesInInventory(AdiDeviceState updatedDevice) { in onSynchronizeAdiDevicesInInventory() argument
287 if (updatedDevice != null) { in onSynchronizeAdiDevicesInInventory()
288 onSynchronizeAdiDeviceInInventory_l(updatedDevice); in onSynchronizeAdiDevicesInInventory()
304 void onSynchronizeAdiDeviceInInventory_l(AdiDeviceState updatedDevice) { in onSynchronizeAdiDeviceInInventory_l() argument
306 found |= synchronizeBleDeviceInInventory(updatedDevice); in onSynchronizeAdiDeviceInInventory_l()
308 found |= synchronizeDeviceProfilesInInventory(updatedDevice); in onSynchronizeAdiDeviceInInventory_l()
329 private boolean synchronizeBleDeviceInInventory(AdiDeviceState updatedDevice) { in synchronizeBleDeviceInInventory() argument
331 if (di.mDeviceType != updatedDevice.getInternalDeviceType()) { in synchronizeBleDeviceInInventory()
334 if (di.mDeviceAddress.equals(updatedDevice.getDeviceAddress())) { in synchronizeBleDeviceInInventory()
340 if (mDeviceBroker.isSADevice(updatedDevice) in synchronizeBleDeviceInInventory()
[all …]
DSpatializerHelper.java550 AdiDeviceState updatedDevice = null; // non-null on update. in addCompatibleAudioDevice() local
556 updatedDevice = deviceState; in addCompatibleAudioDevice()
557 updatedDevice.setSAEnabled(true); in addCompatibleAudioDevice()
568 updatedDevice = new AdiDeviceState(canonicalDeviceType, ada.getInternalType(), in addCompatibleAudioDevice()
570 initSAState(updatedDevice); in addCompatibleAudioDevice()
572 updatedDevice, true /*syncInventory*/); in addCompatibleAudioDevice()
574 if (updatedDevice != null) { in addCompatibleAudioDevice()
577 logDeviceState(updatedDevice, "addCompatibleAudioDevice"); in addCompatibleAudioDevice()