Home
last modified time | relevance | path

Searched refs:getAudioDeviceCategory (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DAdiDeviceState.java139 public synchronized int getAudioDeviceCategory() { in getAudioDeviceCategory() method in AdiDeviceState
DSpatializerHelper.java699 if (deviceState.getAudioDeviceCategory() == AUDIO_DEVICE_CATEGORY_UNKNOWN in evaluateState()
700 || deviceState.getAudioDeviceCategory() == AUDIO_DEVICE_CATEGORY_HEADPHONES) { in evaluateState()
789 && deviceState.getAudioDeviceCategory() != AUDIO_DEVICE_CATEGORY_UNKNOWN in isAvailableForAdiDeviceState()
790 && deviceState.getAudioDeviceCategory() != AUDIO_DEVICE_CATEGORY_HEADPHONES) { in isAvailableForAdiDeviceState()
DAudioDeviceInventory.java176 if (ads.getAudioDeviceCategory() != category && (userDefined in addAudioDeviceInInventoryIfNeeded()
213 if (oldState.getAudioDeviceCategory() in addOrUpdateAudioDeviceCategoryInInventory()
214 != newState.getAudioDeviceCategory()) { in addOrUpdateAudioDeviceCategoryInInventory()
215 oldState.setAudioDeviceCategory(newState.getAudioDeviceCategory()); in addOrUpdateAudioDeviceCategoryInInventory()
245 btCategory = deviceState.getAudioDeviceCategory(); in getAndUpdateBtAdiDeviceStateCategoryForAddress()
252 int a2dpCategory = deviceState.getAudioDeviceCategory(); in getAndUpdateBtAdiDeviceStateCategoryForAddress()
346 ads2.setAudioDeviceCategory(updatedDevice.getAudioDeviceCategory()); in synchronizeBleDeviceInInventory()
367 ads2.setAudioDeviceCategory(updatedDevice.getAudioDeviceCategory()); in synchronizeBleDeviceInInventory()
392 ads.setAudioDeviceCategory(updatedDevice.getAudioDeviceCategory()); in synchronizeDeviceProfilesInInventory()
DSoundDoseHelper.java595 if (state.getAudioDeviceCategory() != AUDIO_DEVICE_CATEGORY_UNKNOWN) { in initCachedAudioDeviceCategories()
601 state.getAudioDeviceCategory() == AUDIO_DEVICE_CATEGORY_HEADPHONES; in initCachedAudioDeviceCategories()
DAudioService.java11441 return deviceState.getAudioDeviceCategory(); in getBluetoothAudioDeviceCategory_legacy()
11497 deviceState.getAudioDeviceCategory() == AUDIO_DEVICE_CATEGORY_HEADPHONES); in onUpdatedAdiDeviceState()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioDeviceBrokerTest.java357 ArgumentMatchers.argThat(devState -> devState.getAudioDeviceCategory() in testAddAudioDeviceWithCategoryInInventoryIfNeeded()