/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_server.cpp | 773 int32_t AudioServer::SetIORoutes(std::vector<std::pair<DeviceType, DeviceFlag>> &activeDevices, in SetIORoutes() argument 776 …CHECK_AND_RETURN_RET_LOG(!activeDevices.empty() && activeDevices.size() <= AUDIO_CONCURRENT_ACTIVE… in SetIORoutes() 778 DeviceType type = activeDevices.front().first; in SetIORoutes() 779 DeviceFlag flag = activeDevices.front().second; in SetIORoutes() 782 for (auto activeDevice : activeDevices) { in SetIORoutes() 849 std::vector<std::pair<DeviceType, DeviceFlag>> activeDevices; in UpdateActiveDeviceRoute() local 850 activeDevices.push_back(make_pair(type, flag)); in UpdateActiveDeviceRoute() 851 return UpdateActiveDevicesRoute(activeDevices, a2dpOffloadFlag); in UpdateActiveDeviceRoute() 854 …udioServer::UpdateActiveDevicesRoute(std::vector<std::pair<DeviceType, DeviceFlag>> &activeDevices, in UpdateActiveDevicesRoute() argument 859 return SetIORoutes(activeDevices, a2dpOffloadFlag); in UpdateActiveDevicesRoute()
|
H A D | audio_manager_stub.cpp | 299 std::vector<std::pair<DeviceType, DeviceFlag>> activeDevices; in HandleUpdateActiveDevicesRoute() local 306 activeDevices.push_back(std::make_pair(deviceType, deviceFlag)); in HandleUpdateActiveDevicesRoute() 309 int32_t ret = UpdateActiveDevicesRoute(activeDevices, a2dpOffloadFlag); in HandleUpdateActiveDevicesRoute()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/primary/ |
H A D | audio_renderer_sink.cpp | 177 int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) override; 1121 …udioRendererSinkInner::SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) in SetAudioScene() argument 1123 …CHECK_AND_RETURN_RET_LOG(!activeDevices.empty() && activeDevices.size() <= AUDIO_CONCURRENT_ACTIVE… in SetAudioScene() 1125 DeviceType activeDevice = activeDevices.front(); in SetAudioScene() 1156 …if (activeDevices.size() != static_cast<size_t>(currentDevicesSize_) || activeDevice != currentAct… in SetAudioScene() 1160 for (auto device : activeDevices) { in SetAudioScene() 1167 currentDevicesSize_ = static_cast<int32_t>(activeDevices.size()); in SetAudioScene()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/multichannel/ |
H A D | multichannel_audio_renderer_sink.cpp | 89 int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) override; 852 …nnelRendererSinkInner::SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) in SetAudioScene() argument 854 …CHECK_AND_RETURN_RET_LOG(!activeDevices.empty() && activeDevices.size() <= AUDIO_CONCURRENT_ACTIVE… in SetAudioScene() 856 DeviceType activeDevice = activeDevices.front(); in SetAudioScene()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/file/ |
H A D | audio_renderer_file_sink.h | 53 int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) override;
|
H A D | audio_renderer_file_sink.cpp | 66 …AudioRendererFileSink::SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) in SetAudioScene() argument
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote/ |
H A D | remote_audio_renderer_sink.cpp | 112 int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) override; 795 …udioRendererSinkInner::SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) in SetAudioScene() argument 797 …CHECK_AND_RETURN_RET_LOG(!activeDevices.empty() && activeDevices.size() <= AUDIO_CONCURRENT_ACTIVE… in SetAudioScene() 799 DeviceType activeDevice = activeDevices.front(); in SetAudioScene()
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/include/ |
H A D | audio_server.h | 78 int32_t UpdateActiveDevicesRoute(std::vector<std::pair<DeviceType, DeviceFlag>> &activeDevices, 185 int32_t SetIORoutes(std::vector<std::pair<DeviceType, DeviceFlag>> &activeDevices,
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | audio_manager_proxy.cpp | 502 …nagerProxy::UpdateActiveDevicesRoute(std::vector<std::pair<DeviceType, DeviceFlag>> &activeDevices, in UpdateActiveDevicesRoute() argument 505 …CHECK_AND_RETURN_RET_LOG(!activeDevices.empty() && activeDevices.size() <= AUDIO_CONCURRENT_ACTIVE… in UpdateActiveDevicesRoute() 513 data.WriteInt32(static_cast<int32_t>(activeDevices.size())); in UpdateActiveDevicesRoute() 514 for (auto it = activeDevices.begin(); it != activeDevices.end(); it++) { in UpdateActiveDevicesRoute()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/common/ |
H A D | i_audio_renderer_sink.h | 78 … virtual int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) = 0;
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/include/ |
H A D | audio_manager_proxy.h | 49 int32_t UpdateActiveDevicesRoute(std::vector<std::pair<DeviceType, DeviceFlag>> &activeDevices,
|
H A D | audio_manager_base.h | 217 …ual int32_t UpdateActiveDevicesRoute(std::vector<std::pair<DeviceType, DeviceFlag>> &activeDevices,
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote_fast/ |
H A D | remote_fast_audio_renderer_sink.cpp | 100 int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) override; 716 …udioRendererSinkInner::SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) in SetAudioScene() argument
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/fast/ |
H A D | fast_audio_renderer_sink.cpp | 86 int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) override; 730 …udioRendererSinkInner::SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) in SetAudioScene() argument
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/bluetooth/ |
H A D | bluetooth_renderer_sink.cpp | 110 int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) override; 243 …oothRendererSinkInner::SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) in SetAudioScene() argument
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/offload/ |
H A D | offload_audio_renderer_sink.cpp | 109 int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) override; 863 …udioRendererSinkInner::SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) in SetAudioScene() argument
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/ |
H A D | audio_policy_service.cpp | 2158 std::vector<std::pair<InternalDeviceType, DeviceFlag>> activeDevices; in UpdateActiveDeviceRoute() local 2159 activeDevices.push_back(make_pair(deviceType, deviceFlag)); in UpdateActiveDeviceRoute() 2160 UpdateActiveDevicesRoute(activeDevices); in UpdateActiveDeviceRoute() 2164 &activeDevices) in UpdateActiveDevicesRoute() argument 2166 CHECK_AND_RETURN_LOG(!activeDevices.empty(), "activeDevices is empty."); in UpdateActiveDevicesRoute() 2172 for (size_t i = 0; i < activeDevices.size(); i++) { in UpdateActiveDevicesRoute() 2173 deviceTypesInfo = deviceTypesInfo + " " + std::to_string(activeDevices[i].first); in UpdateActiveDevicesRoute() 2175 std::to_string(activeDevices[i].first).c_str()); in UpdateActiveDevicesRoute() 2180 ret = gsp->UpdateActiveDevicesRoute(activeDevices, a2dpOffloadFlag_); in UpdateActiveDevicesRoute() 8822 std::vector<std::pair<InternalDeviceType, DeviceFlag>> activeDevices; in SelectRingerOrAlarmDevices() local [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/ |
H A D | audio_policy_service.h | 775 …id UpdateActiveDevicesRoute(std::vector<std::pair<InternalDeviceType, DeviceFlag>> &activeDevices);
|