Searched refs:newDevices (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/data/repository/ |
D | LocalMediaRepository.kt | 57 override fun onDeviceListUpdate(newDevices: List<MediaDevice>?) { in <lambda>() 58 trySend(DevicesUpdate.DeviceListUpdate(newDevices ?: emptyList())) in <lambda>() 98 data class DeviceListUpdate(val newDevices: List<MediaDevice>?) : DevicesUpdate constant in DevicesUpdate.DeviceListUpdate
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/ |
D | MediaOutputControllerTest.java | 927 final List<MediaDevice> newDevices = mMediaOutputController.getGroupMediaDevices(); in getGroupMediaDevices_differentDeviceOrder_showingSameOrder() local 929 assertThat(newDevices.size()).isEqualTo(groupMediaDevices.size()); in getGroupMediaDevices_differentDeviceOrder_showingSameOrder() 932 newDevices.get(i).getId())).isTrue(); in getGroupMediaDevices_differentDeviceOrder_showingSameOrder() 965 final List<MediaDevice> newDevices = mMediaOutputController.getGroupMediaDevices(); in getGroupMediaDevices_newDevice_verifyDeviceOrder() local 967 assertThat(newDevices.size()).isEqualTo(5); in getGroupMediaDevices_newDevice_verifyDeviceOrder() 970 newDevices.get(i).getId())).isTrue(); in getGroupMediaDevices_newDevice_verifyDeviceOrder() 972 assertThat(newDevices.get(4).getId()).isEqualTo(TEST_DEVICE_5_ID); in getGroupMediaDevices_newDevice_verifyDeviceOrder()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 332 DeviceVector newDevices = getNewOutputDevices(desc, true /*fromCache*/); in setDeviceConnectionStateInt() local 341 if (desc->mPreferredAttrInfo != nullptr && newDevices != desc->devices()) { in setDeviceConnectionStateInt() 345 outputsToReopenWithDevices.emplace(mOutputs.keyAt(i), newDevices); in setDeviceConnectionStateInt() 348 setOutputDevices(__func__, desc, newDevices, force, 0); in setDeviceConnectionStateInt() 941 DeviceVector newDevices = getNewOutputDevices(desc, true /*fromCache*/); in setPhoneState() local 946 outputsToReopen.emplace(mOutputs.keyAt(i), newDevices); in setPhoneState() 950 bool forceRouting = !newDevices.isEmpty(); in setPhoneState() 951 setOutputDevices(__func__, desc, newDevices, forceRouting, 0 /*delayMs*/, nullptr, in setPhoneState() 2588 DeviceVector newDevices = getNewOutputDevices(desc, false /*fromCache*/); in checkLeBroadcastRoutes() local 2589 bool force = desc->devices() != newDevices; in checkLeBroadcastRoutes() [all …]
|
D | AudioPolicyManager.h | 1090 void onNewAudioModulesAvailableInt(DeviceVector *newDevices);
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 902 const DeviceTypeSet newDevices = getDeviceTypes_l(); in processConfigEvents_l() local 903 configChanged = oldDevices != newDevices; in processConfigEvents_l() 906 dumpDeviceTypes(newDevices).c_str(), toString(newDevices).c_str()); in processConfigEvents_l() 913 const DeviceTypeSet newDevices = getDeviceTypes_l(); in processConfigEvents_l() local 914 configChanged = oldDevices != newDevices; in processConfigEvents_l() 917 dumpDeviceTypes(newDevices).c_str(), toString(newDevices).c_str()); in processConfigEvents_l()
|