Home
last modified time | relevance | path

Searched refs:activeDevices (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/server/src/
H A Daudio_server.cpp773 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 Daudio_manager_stub.cpp299 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 Daudio_renderer_sink.cpp177 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 Dmultichannel_audio_renderer_sink.cpp89 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 Daudio_renderer_file_sink.h53 int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) override;
H A Daudio_renderer_file_sink.cpp66 …AudioRendererFileSink::SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) in SetAudioScene() argument
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/remote/
H A Dremote_audio_renderer_sink.cpp112 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 Daudio_server.h78 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 Daudio_manager_proxy.cpp502 …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 Di_audio_renderer_sink.h78 … virtual int32_t SetAudioScene(AudioScene audioScene, std::vector<DeviceType> &activeDevices) = 0;
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/client/include/
H A Daudio_manager_proxy.h49 int32_t UpdateActiveDevicesRoute(std::vector<std::pair<DeviceType, DeviceFlag>> &activeDevices,
H A Daudio_manager_base.h217 …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 Dremote_fast_audio_renderer_sink.cpp100 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 Dfast_audio_renderer_sink.cpp86 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 Dbluetooth_renderer_sink.cpp110 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 Doffload_audio_renderer_sink.cpp109 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 Daudio_policy_service.cpp2158 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 Daudio_policy_service.h775 …id UpdateActiveDevicesRoute(std::vector<std::pair<InternalDeviceType, DeviceFlag>> &activeDevices);