Home
last modified time | relevance | path

Searched refs:audioSystemMgr (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/test/example/
H A Daudio_policy_test.cpp248 audioSystemMgr->GetVolumeGroups(networkId, groups); in HandleVolume()
259 audioSystemMgr->GetVolumeGroups(networkId, groups); in HandleVolume()
293 bool muteStatus = audioSystemMgr->IsMicrophoneMute(); in HandleMicMute()
313 cout << "Stream Active: " << audioSystemMgr->IsStreamActive( in IsStreamActive()
351 audioSystemMgr->SetAudioParameter(key, value); in SetAudioParamter()
362 std::string value = audioSystemMgr->GetAudioParameter(key); in GetAudioParamter()
439 result = audioSystemMgr->UpdateStreamState(uid, sate, suage); in HandleUpdateStreamState()
458 audioSystemMgr->SetLowPowerVolume(streamId, volume); in HandleSingleStreamVolumeOption()
481 audioSystemMgr->GetVolumeGroups(networkId, volumeGroups); in HandleGetVolumeGroups()
506 audioSystemMgr->SetAudioMonoState(monoState); in HandleAudioBalanceState()
[all …]
H A Daudio_dump_test.cpp60 AudioSystemManager *audioSystemMgr = AudioSystemManager::GetInstance(); in AudioDumpCmd() local
67 audioSystemMgr->SetExtraParameters(AudioDumpKey, kvpairs); in AudioDumpCmd()
/ohos5.0/foundation/multimedia/audio_framework/
H A DREADME_zh.md197 int32_t maxVol = audioSystemMgr->GetMaxVolume(streamType);
198 int32_t minVol = audioSystemMgr->GetMinVolume(streamType);
202 int32_t result = audioSystemMgr->SetVolume(streamType, 10);
203 int32_t vol = audioSystemMgr->GetVolume(streamType);
207 int32_t result = audioSystemMgr->SetMute(streamType, true);
208 bool isMute = audioSystemMgr->IsStreamMute(streamType);
212 AudioRingerMode ringMode = audioSystemMgr->GetRingerMode();
216 int32_t result = audioSystemMgr->SetMicrophoneMute(true);
217 bool isMicMute = audioSystemMgr->IsMicrophoneMute();
224 = audioSystemMgr->GetDevices(deviceFlag);
[all …]
H A DREADME.md173 int32_t maxVol = audioSystemMgr->GetMaxVolume(streamType);
174 int32_t minVol = audioSystemMgr->GetMinVolume(streamType);
178 int32_t result = audioSystemMgr->SetVolume(streamType, 10);
179 int32_t vol = audioSystemMgr->GetVolume(streamType);
183 int32_t result = audioSystemMgr->SetMute(streamType, true);
184 bool isMute = audioSystemMgr->IsStreamMute(streamType);
189 AudioRingerMode ringMode = audioSystemMgr->GetRingerMode();
193 int32_t result = audioSystemMgr->SetMicrophoneMute(true);
194 bool isMicMute = audioSystemMgr->IsMicrophoneMute();
201 = audioSystemMgr->GetDevices(deviceFlag);
[all …]
/ohos5.0/foundation/multimedia/audio_framework/test/moduletest/audiopolicy/1.0/src/
H A Daudio_policy_test.cpp261 AudioSystemManager *audioSystemMgr = AudioSystemManager::GetInstance(); variable
264 ret = audioSystemMgr->SetRingerModeCallback(1, ringerModeCB);
267 audioSystemMgr->SetRingerMode(ringerMode);
271 ret = audioSystemMgr->UnsetRingerModeCallback(1);
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/
H A Daudio_capturer_session.cpp44 AudioSystemManager* audioSystemMgr = AudioSystemManager::GetInstance(); in getMicNum() local
45 if (audioSystemMgr == nullptr) { in getMicNum()
49 int32_t ret = audioSystemMgr->GetExtraParameters(mainKey, subKeys, result); in getMicNum()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/timepicker/
H A Dtimepicker_haptic_controller.cpp42 auto audioSystemMgr = AudioStandard::AudioSystemManager::GetInstance(); in TimePickerHapticController() local
43 audioGroupMngr_ = audioSystemMgr->GetGroupManager(AudioStandard::DEFAULT_VOLUME_GROUP_ID); in TimePickerHapticController()
/ohos5.0/base/telephony/call_manager/test/unittest/ui_client/
H A Dui_client_test.cpp887 …AudioStandard::AudioSystemManager *audioSystemMgr = AudioStandard::AudioSystemManager::GetInstance… in GetVolume() local
888 int32_t ret = audioSystemMgr->GetVolume(audioVolumeType); in GetVolume()
916 …AudioStandard::AudioSystemManager *audioSystemMgr = AudioStandard::AudioSystemManager::GetInstance… in SetVolume() local
917 int32_t ret = audioSystemMgr->SetVolume(volumeType, volume); in SetVolume()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/policy_test/src/
H A Daudio_policy_unit_test.cpp117 AudioSystemManager *audioSystemMgr = AudioSystemManager::GetInstance(); variable
120 audioDeviceDescriptorsVector = audioSystemMgr->GetDevices(deviceFlag);
/ohos5.0/foundation/multimedia/av_session/services/session/server/
H A Davsession_service.cpp2569 AudioSystemManager *audioSystemMgr = AudioSystemManager::GetInstance(); in SelectOutputDevice() local
2570 …CHECK_AND_RETURN_RET_LOG(audioSystemMgr != nullptr, AVSESSION_ERROR, "get AudioSystemManager insta… in SelectOutputDevice()
2571 int32_t ret = audioSystemMgr->SelectOutputDevice(audioFilter, audioDescriptor); in SelectOutputDevice()