Home
last modified time | relevance | path

Searched refs:DEVICE_TYPE_SPEAKER (Results 1 - 25 of 55) sorted by relevance

123

/foundation/multimedia/audio_framework/services/audio_policy/test/unittest/audio_policy_service_unit_test/src/
H A Daudio_policy_service_second_unit_test.cpp198 DeviceType deviceType = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST_F()
291 DeviceType deviceType = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST_F()
430 DeviceType deviceType = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST_F()
532 DeviceType deviceType = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST_F()
569 EXPECT_EQ(deviceType, DeviceType::DEVICE_TYPE_SPEAKER); in HWTEST_F()
631 deviceInfo.deviceType = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST_F()
664 DeviceType deviceType = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST_F()
723 DeviceType outputDevice = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST_F()
743 DeviceType deviceType = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST_F()
764 deviceType = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST_F()
[all...]
H A Daudio_policy_service_first_unit_test.cpp133 DEVICE_TYPE_SPEAKER,
503 // modify currentActiveDevice_.deviceType_ to DEVICE_TYPE_SPEAKER in HWTEST_F()
504 GetServerPtr()->audioPolicyService_.currentActiveDevice_.deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST_F()
550 // deviceType use DEVICE_TYPE_SPEAKER in HWTEST_F()
552 ret = GetServerPtr()->audioPolicyService_.GetActiveDeviceStreamInfo(DEVICE_TYPE_SPEAKER, streamInfoRet); in HWTEST_F()
641 GetServerPtr()->audioPolicyService_.currentActiveDevice_.deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST_F()
651 GetServerPtr()->audioPolicyService_.currentActiveDevice_.deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST_F()
1028 // case 3 InternalDeviceType::DEVICE_TYPE_SPEAKER in HWTEST_F()
1029 deviceType = DEVICE_TYPE_SPEAKER; in HWTEST_F()
1169 deviceType = DEVICE_TYPE_SPEAKER; in HWTEST_F()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/test/unittest/effect_unit_test/src/
H A Daudio_effect_chain_manager_unit_test.cpp416 AudioEffectChainManager::GetInstance()->deviceType_ = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST()
528 AudioEffectChainManager::GetInstance()->deviceType_ = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST()
710 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
886 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
1395 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
1482 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
1554 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
1573 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
1588 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
1592 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
[all...]
H A Daudio_effect_hdi_param_unit_test.cpp95 int32_t result = audioEffectHdiParam_->UpdateHdiState(effectHdiInput_, DEVICE_TYPE_SPEAKER); in HWTEST()
H A Daudio_effect_chain_adapter_unit_test.cpp220 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
829 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
990 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in HWTEST()
/foundation/multimedia/audio_framework/services/audio_service/server/include/
H A Dpolicy_handler.h77 DeviceType deviceType_ = DEVICE_TYPE_SPEAKER;
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/
H A Daudio_effect_chain_manager.cpp81 deviceType_ = DEVICE_TYPE_SPEAKER; in AudioEffectChainManager()
135 if (deviceType_ == DEVICE_TYPE_SPEAKER) { in SetSpkOffloadState()
138 ret = audioEffectHdiParam_->UpdateHdiState(effectHdiInput_, DEVICE_TYPE_SPEAKER); in SetSpkOffloadState()
151 ret = audioEffectHdiParam_->UpdateHdiState(effectHdiInput_, DEVICE_TYPE_SPEAKER); in SetSpkOffloadState()
190 if (deviceType_ == DEVICE_TYPE_SPEAKER) { in GetOffloadEnabled()
213 ret = audioEffectHdiParam_->UpdateHdiState(effectHdiInput_, DEVICE_TYPE_SPEAKER); in InitHdiState()
787 if (((deviceType_ == DEVICE_TYPE_SPEAKER) && (spkOffloadEnabled_)) || in GetLatency()
840 ret = audioEffectHdiParam_->UpdateHdiState(effectHdiInput_, DEVICE_TYPE_SPEAKER); in UpdateExtraSceneType()
921 deviceType_ = DEVICE_TYPE_SPEAKER; in ResetInfo()
1049 if (((deviceType == "DEVICE_TYPE_BLUETOOTH_A2DP") || (deviceType == "DEVICE_TYPE_SPEAKER")) in FindMaxEffectChannels()
[all...]
/foundation/multimedia/audio_framework/test/fuzztest/audioeffect_fuzzer/
H A Daudio_effect_fuzzer.cpp153 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in GetOffloadEnabledFuzzTest()
322 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in UpdateSpkOffloadEnabledFuzzTest()
340 AudioEffectChainManager::GetInstance()->deviceType_ = DEVICE_TYPE_SPEAKER; in UpdateDeviceInfoFuzzTest()
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/
H A Daudio_device_info.h115 DEVICE_TYPE_SPEAKER = 2, enumerator
205 DeviceType::DEVICE_TYPE_SPEAKER,
467 devType = DEVICE_TYPE_SPEAKER; in Marshalling()
H A Daudio_effect.h255 {DEVICE_TYPE_SPEAKER, "DEVICE_TYPE_SPEAKER"},
426 {DEVICE_TYPE_SPEAKER, {"libspeaker_processing_dsp", "aaaabbbb-8888-9999-6666-aabbccdd9966oo"}},
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/
H A Daudio_adapter_manager.cpp48 DEVICE_TYPE_SPEAKER,
334 handler_->SendSaveVolume(DEVICE_TYPE_SPEAKER, streamType, volumeLevel); in SetSystemVolumeLevel()
388 volumeDb = CalculateVolumeDbNonlinear(streamType, DEVICE_TYPE_SPEAKER, volumeLevel); in SetVolumeDb()
438 {DEVICE_TYPE_SPEAKER, {PRIMARY_CLASS, MCH_CLASS, REMOTE_CLASS, OFFLOAD_CLASS}}, in SetAudioVolume()
484 if (!(dev == DEVICE_TYPE_SPEAKER || dev == DEVICE_TYPE_BLUETOOTH_A2DP || dev == DEVICE_TYPE_USB_HEADSET)) { in SetOffloadVolume()
530 if (Util::IsDualToneStreamType(streamType) && currentActiveDevice_ != DEVICE_TYPE_SPEAKER && in SetStreamMuteInternal()
1123 case DEVICE_TYPE_SPEAKER: in GetDeviceCategory()
1358 result = volumeDataMaintainer_.GetVolume(DEVICE_TYPE_SPEAKER, streamType); in LoadVolumeMap()
1477 if (currentActiveDevice_ != DEVICE_TYPE_SPEAKER) { in LoadMuteStatusMap()
1623 case DEVICE_TYPE_SPEAKER in GetMuteKeyForKvStore()
[all...]
H A Dvolume_data_maintainer.cpp46 DEVICE_TYPE_SPEAKER,
554 case DEVICE_TYPE_SPEAKER: in GetDeviceTypeName()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_affinity_parser.cpp28 {"DEVICE_TYPE_SPEAKER", DEVICE_TYPE_SPEAKER},
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/policy_test/src/
H A Daudio_policy_ext_unit_test.cpp716 if (outputDescriptor->deviceType_ == DeviceType::DEVICE_TYPE_SPEAKER) { in HWTEST()
717 desc->deviceType_ = DeviceType::DEVICE_TYPE_SPEAKER; in HWTEST()
773 if (outputDevice->deviceType_ != DeviceType::DEVICE_TYPE_SPEAKER) { in HWTEST()
810 if (outputDevice->deviceType_ != DeviceType::DEVICE_TYPE_SPEAKER) { in HWTEST()
/foundation/arkui/ace_engine/adapter/ohos/entrance/timepicker/
H A Dtimepicker_haptic_controller.cpp127 AudioStandard::AudioVolumeType::STREAM_RING, vol, AudioStandard::DEVICE_TYPE_SPEAKER); in ThreadLoop()
/foundation/multimedia/audio_framework/services/audio_service/client/src/
H A Daudio_stream_manager.cpp201 desc->deviceType_ = DEVICE_TYPE_SPEAKER; in GetHardwareOutputSamplingRate()
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/routing_manager_test/src/
H A Daudio_routing_manager_unit_test.cpp78 EXPECT_EQ(devDesc->deviceType_, DEVICE_TYPE_SPEAKER); in HWTEST()
/foundation/multimedia/av_session/interfaces/inner_api/native/session/include/
H A Davsession_info.h570 DEVICE_TYPE_SPEAKER = 3, enumerator
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_device_manager.cpp181 if ((devDesc->deviceType_ == DEVICE_TYPE_EARPIECE || devDesc->deviceType_ == DEVICE_TYPE_SPEAKER) && in MakePairedDefaultDeviceDescriptor()
186 desc->deviceType_ == DEVICE_TYPE_SPEAKER && desc->networkId_ == devDesc->networkId_) { in MakePairedDefaultDeviceDescriptor()
205 } else if (devDesc->deviceType_ == DEVICE_TYPE_SPEAKER && speaker_ != NULL && defalutMic_ != NULL) { in MakePairedDefaultDeviceImpl()
277 } else if (devType == DEVICE_TYPE_SPEAKER) { in AddDefaultDevices()
736 if (desc->deviceType_ == DEVICE_TYPE_SPEAKER && desc->networkId_ != LOCAL_NETWORK_ID) { in GetDefaultAvailableDevicesByUsage()
1278 } else if (selectedMediaDefaultOutputDevice_ == DEVICE_TYPE_SPEAKER) { in GetSelectedMediaRenderDevice()
1290 } else if (selectedCallDefaultOutputDevice_ == DEVICE_TYPE_SPEAKER) { in GetSelectedCallRenderDevice()
H A Daudio_policy_service.cpp106 {{DEVICE_TYPE_MIC, DEVICE_TYPE_SPEAKER}, EC_TYPE_SAME_ADAPTER},
113 {{DEVICE_TYPE_USB_HEADSET, DEVICE_TYPE_SPEAKER}, EC_TYPE_SAME_ADAPTER},
120 {{DEVICE_TYPE_WIRED_HEADSET, DEVICE_TYPE_SPEAKER}, EC_TYPE_SAME_ADAPTER},
127 {{DEVICE_TYPE_USB_ARM_HEADSET, DEVICE_TYPE_SPEAKER}, EC_TYPE_DIFF_ADAPTER},
134 {{DEVICE_TYPE_BLUETOOTH_SCO, DEVICE_TYPE_SPEAKER}, EC_TYPE_SAME_ADAPTER},
817 case DEVICE_TYPE_SPEAKER: in GetVolumeGroupType()
1014 return dev == DEVICE_TYPE_SPEAKER || (dev == DEVICE_TYPE_BLUETOOTH_A2DP && a2dpOffloadFlag_ == A2DP_OFFLOAD) || in CheckActiveOutputDeviceSupportOffload()
1209 localDevice->deviceType_ = DeviceType::DEVICE_TYPE_SPEAKER; in NotifyRemoteRenderState()
1869 case InternalDeviceType::DEVICE_TYPE_SPEAKER: in GetSinkPortName()
3861 return (devDesc->deviceType_ == DEVICE_TYPE_SPEAKER); in AddEarpiece()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/group_manager_test/src/
H A Daudio_group_manager_unit_test.cpp640 DeviceType::DEVICE_TYPE_SPEAKER); in HWTEST()
662 DeviceType::DEVICE_TYPE_SPEAKER); in HWTEST()
684 DeviceType::DEVICE_TYPE_SPEAKER); in HWTEST()
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/test/unittest/enhance_unit_test/src/
H A Daudio_enhance_chain_manager_unit_test.cpp444 DeviceType newDeviceType = DEVICE_TYPE_SPEAKER; in HWTEST_F()
457 DeviceType deviceType = DEVICE_TYPE_SPEAKER; in HWTEST_F()
/foundation/multimedia/audio_framework/test/fuzztest/audioeffectchain_fuzzer/
H A Daudio_effect_chain_fuzzer.cpp284 DeviceType newDeviceType = DEVICE_TYPE_SPEAKER; in AudioEnhanceChainManagerFuzzTest()
/foundation/multimedia/audio_framework/frameworks/native/audioeffect/include/
H A Daudio_effect_chain_manager.h195 DeviceType deviceType_ = DEVICE_TYPE_SPEAKER;
/foundation/multimedia/audio_framework/test/moduletest/audiopolicy/1.0/src/
H A Daudio_policy_test.cpp129 .deviceType = DEVICE_TYPE_SPEAKER,

Completed in 42 milliseconds

123