Searched refs:mDeviceInventory (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceBroker.java | 114 private final AudioDeviceInventory mDeviceInventory; field in AudioDeviceBroker 187 mDeviceInventory = new AudioDeviceInventory(this); in AudioDeviceBroker() 204 mDeviceInventory = mockDeviceInventory; in AudioDeviceBroker() 788 return mDeviceInventory.isDeviceConnected(device); in isDeviceConnected() 796 mDeviceInventory.setWiredDeviceConnectionState(attributes, state, caller); in setWiredDeviceConnectionState() 803 mDeviceInventory.setTestDeviceConnectionState(device, state); in setTestDeviceConnectionState() 1223 return mDeviceInventory.startWatchingRoutes(observer); in startWatchingRoutes() 1229 return mDeviceInventory.getCurAudioRoutes(); in getCurAudioRoutes() 1283 return mDeviceInventory.setPreferredDevicesForStrategyAndSave(strategy, devices); in setPreferredDevicesForStrategySync() 1287 return mDeviceInventory.removePreferredDevicesForStrategyAndSave(strategy); in removePreferredDevicesForStrategySync() [all …]
|
D | AudioDeviceInventory.java | 122 private final LinkedHashMap<Pair<Integer, String>, AdiDeviceState> mDeviceInventory = field in AudioDeviceInventory 128 newList = new ArrayList<>(mDeviceInventory.values()); in getImmutableDeviceInventory() 140 mDeviceInventory.merge(deviceState.getDeviceId(), deviceState, in addOrUpdateDeviceSAStateInInventory() 189 mDeviceInventory.put(ads.getDeviceId(), ads); in addAudioDeviceInInventoryIfNeeded() 211 deviceState = mDeviceInventory.merge(deviceState.getDeviceId(), in addOrUpdateAudioDeviceCategoryInInventory() 290 for (AdiDeviceState ads : mDeviceInventory.values()) { in onSynchronizeAdiDevicesInInventory() 317 if (mDeviceInventory.size() > MAX_DEVICE_INVENTORY_ENTRIES) { in checkDeviceInventorySize_l() 320 mDeviceInventory.entrySet().iterator(); in checkDeviceInventorySize_l() 335 for (AdiDeviceState ads2 : mDeviceInventory.values()) { in synchronizeBleDeviceInInventory() 356 for (AdiDeviceState ads2 : mDeviceInventory.values()) { in synchronizeBleDeviceInInventory() [all …]
|