Searched refs:getAudioDeviceCategory (Results 1 – 6 of 6) sorted by relevance
139 public synchronized int getAudioDeviceCategory() { in getAudioDeviceCategory() method in AdiDeviceState
699 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()
176 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()
595 if (state.getAudioDeviceCategory() != AUDIO_DEVICE_CATEGORY_UNKNOWN) { in initCachedAudioDeviceCategories()601 state.getAudioDeviceCategory() == AUDIO_DEVICE_CATEGORY_HEADPHONES; in initCachedAudioDeviceCategories()
11441 return deviceState.getAudioDeviceCategory(); in getBluetoothAudioDeviceCategory_legacy()11497 deviceState.getAudioDeviceCategory() == AUDIO_DEVICE_CATEGORY_HEADPHONES); in onUpdatedAdiDeviceState()
357 ArgumentMatchers.argThat(devState -> devState.getAudioDeviceCategory() in testAddAudioDeviceWithCategoryInInventoryIfNeeded()