Searched refs:outputDevices (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libaudioclient/tests/ |
D | audiosystem_tests.cpp | 418 AudioDeviceTypeAddrVector outputDevices; in TEST_F() local 423 outputDevices.push_back(outputDevice); in TEST_F() 427 DEVICE_ROLE_PREFERRED, outputDevices)); in TEST_F() 430 EXPECT_EQ(devices, outputDevices); in TEST_F() 485 const AudioDeviceTypeAddrVector outputDevices = {outputDevice}; in TEST_F() local 489 AudioSystem::setDevicesRoleForCapturePreset(audioSource, role, outputDevices)); in TEST_F() 491 AudioSystem::addDevicesRoleForCapturePreset(audioSource, role, outputDevices)); in TEST_F() 493 AudioSystem::removeDevicesRoleForCapturePreset(audioSource, role, outputDevices)); in TEST_F() 578 AudioDeviceTypeAddrVector outputDevices = {outputDevice}; in TEST_F() local 579 EXPECT_EQ(NO_ERROR, AudioSystem::setUidDeviceAffinities(uid, outputDevices)); in TEST_F() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyConfig.h | 114 void addOutputDevices(const DeviceVector &outputDevices) in addOutputDevices() argument 116 mOutputDevices.add(outputDevices); in addOutputDevices()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 764 DeviceVector outputDevices = mManager->getAvailableOutputDevices(); in TEST_P() local 766 outputDevices.remove(mMsdOutputDevice); in TEST_P() 767 mManager->setMsdOutputPatches(&outputDevices); in TEST_P() 773 mManager->releaseMsdOutputPatches(outputDevices); in TEST_P() 821 DeviceVector outputDevices = mManager->getAvailableOutputDevices(); in TEST_P() local 823 outputDevices.remove(mMsdOutputDevice); in TEST_P() 824 mManager->setMsdOutputPatches(&outputDevices); in TEST_P() 834 mManager->releaseMsdOutputPatches(outputDevices); in TEST_P() 894 DeviceVector outputDevices = mManager->getAvailableOutputDevices(); in TEST_P() local 896 outputDevices.remove(mMsdOutputDevice); in TEST_P() [all …]
|
/frameworks/av/services/mediametrics/ |
D | AudioPowerUsage.cpp | 468 std::string outputDevices; in checkCreatePatch() local 469 if (!item->get(AMEDIAMETRICS_PROP_OUTPUTDEVICES, &outputDevices)) return; in checkCreatePatch() 478 const int32_t device = deviceFromStringPairs(outputDevices); in checkCreatePatch()
|
D | AudioAnalytics.cpp | 987 const auto [ outputDeviceStatsd, outputDevices ] = in endAudioIntervalGroup() 990 mAudioAnalytics.getDeviceNamesFromOutputDevices(outputDevices); in endAudioIntervalGroup() 1059 << " outputDevices:" << outputDevices << "(" << outputDeviceStatsd in endAudioIntervalGroup() 1141 std::string outputDevices; in createPatch() local 1142 item->get(AMEDIAMETRICS_PROP_OUTPUTDEVICES, &outputDevices); in createPatch() 1143 if (outputDevices.find("AUDIO_DEVICE_OUT_BLUETOOTH_A2DP") != std::string::npos) { in createPatch()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1210 DeviceVector outputDevices; in getOutputForAttrInt() local 1317 outputDevices = mEngine->getOutputDevicesForAttributes(*resultAttr, requestedDevice, false); in getOutputForAttrInt() 1328 if (outputDevices.onlyContainsDevicesWithType(AUDIO_DEVICE_OUT_TELEPHONY_TX) && in getOutputForAttrInt() 1339 __func__, outputDevices.toString().c_str(), config->sample_rate, config->format, in getOutputForAttrInt() 1345 if (*output != AUDIO_IO_HANDLE_NONE && setMsdOutputPatches(&outputDevices) == NO_ERROR) { in getOutputForAttrInt() 1347 __func__, msdDevices.toString().c_str(), outputDevices.toString().c_str()); in getOutputForAttrInt() 1354 if (outputDevices.size() == 1) { in getOutputForAttrInt() 1356 outputDevices.itemAt(0)->getId(), in getOutputForAttrInt() 1371 [this, &outputDevices](audio_usage_t usage) { in getOutputForAttrInt() 1373 usage, outputDevices[0]); }))) { in getOutputForAttrInt() [all …]
|
D | AudioPolicyManager.h | 1073 status_t setMsdOutputPatches(const DeviceVector *outputDevices = nullptr);
|