Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java168 AdiDeviceState ads = findBtDeviceStateForAddress(address, deviceType); in addAudioDeviceInInventoryIfNeeded() local
169 if (ads == null && peerAddress != null) { in addAudioDeviceInInventoryIfNeeded()
170 ads = findBtDeviceStateForAddress(peerAddress, deviceType); in addAudioDeviceInInventoryIfNeeded()
172 if (ads != null) { in addAudioDeviceInInventoryIfNeeded()
176 if (ads.getAudioDeviceCategory() != category && (userDefined in addAudioDeviceInInventoryIfNeeded()
178 ads.setAudioDeviceCategory(category); in addAudioDeviceInInventoryIfNeeded()
179 mDeviceBroker.postUpdatedAdiDeviceState(ads, false /*initSA*/); in addAudioDeviceInInventoryIfNeeded()
182 mDeviceBroker.postSynchronizeAdiDevicesInInventory(ads); in addAudioDeviceInInventoryIfNeeded()
185 ads = new AdiDeviceState(AudioDeviceInfo.convertInternalDeviceToDeviceType(deviceType), in addAudioDeviceInInventoryIfNeeded()
187 ads.setAudioDeviceCategory(category); in addAudioDeviceInInventoryIfNeeded()
[all …]
DAudioService.java10874 for (AdiDeviceState ads : mDeviceBroker.getImmutableDeviceInventory()) { in retrieveBluetoothAddressUncheked()
10875 if (!(AudioSystem.isBluetoothDevice(ads.getInternalDeviceType()) in retrieveBluetoothAddressUncheked()
10876 && (ada.getInternalType() == ads.getInternalDeviceType()) in retrieveBluetoothAddressUncheked()
10878 ads.getDeviceAddress())))) { in retrieveBluetoothAddressUncheked()
10881 ada.setAddress(ads.getDeviceAddress()); in retrieveBluetoothAddressUncheked()
/frameworks/proto_logging/stats/atoms/adservices/
Dadservices_extension_atoms.proto820 // The number of Ads which are filtered during contextual ads.
1041 // Number of custom audiences opting into the omit-ads feature