Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioDeviceBroker.java110 private final AudioDeviceInventory mDeviceInventory; field in AudioDeviceBroker
175 mDeviceInventory = new AudioDeviceInventory(this); in AudioDeviceBroker()
191 mDeviceInventory = mockDeviceInventory; in AudioDeviceBroker()
1173 return mDeviceInventory.getCurAudioRoutes(); in getCurAudioRoutes()
1557 return mDeviceInventory.handleDeviceConnection( in handleDeviceConnection()
1617 mDeviceInventory.dump(pw, prefix); in dump()
1888 mDeviceInventory.onToggleHdmi(); in handleMessage()
2394 mDeviceInventory.applyConnectedDevicesRoles(); in updateCommunicationRoute()
2656 mDeviceInventory.setDeviceSettings(settings); in setDeviceSettings()
2661 return mDeviceInventory.getDeviceSettings(); in getDeviceSettings()
[all …]
H A DAudioDeviceInventory.java99 private final HashMap<Pair<Integer, String>, AdiDeviceState> mDeviceInventory = new HashMap<>(); field in AudioDeviceInventory
103 return mDeviceInventory.values(); in getImmutableDeviceInventory()
114 mDeviceInventory.merge(deviceState.getDeviceId(), deviceState, (oldState, newState) -> { in addOrUpdateDeviceSAStateInInventory()
138 mDeviceInventory.put(ads.getDeviceId(), ads); in addAudioDeviceInInventoryIfNeeded()
150 mDeviceInventory.merge(deviceState.getDeviceId(), deviceState, (oldState, newState) -> { in addOrUpdateAudioDeviceCategoryInInventory()
170 AdiDeviceState deviceState = mDeviceInventory.get( in findBtDeviceStateForAddress()
194 for (AdiDeviceState deviceState : mDeviceInventory.values()) { in findDeviceStateForAudioDeviceAttributes()
208 mDeviceInventory.clear(); in clearDeviceInventory()
471 for (AdiDeviceState device : mDeviceInventory.values()) { in dump()
2548 deviceCatalogSize = mDeviceInventory.size();
[all …]