/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/test/unittest/effect_unit_test/src/ |
H A D | audio_effect_chain_manager_unit_test.cpp | 79 string sceneType = ""; variable 97 string sceneType = "123"; variable 190 string sceneType = ""; variable 207 string sceneType = "123"; variable 278 string sceneType = ""; variable 348 string sceneType = ""; variable 533 string sceneType = ""; variable 550 string sceneType = ""; variable 612 string sceneType = ""; variable 781 string sceneType = ""; variable [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/src/ |
H A D | audio_effect_chain_adapter.cpp | 67 if (sceneType) { in EffectChainManagerProcess() 68 sceneTypeString = sceneType; in EffectChainManagerProcess() 83 if (sceneType) { in EffectChainManagerExist() 84 sceneTypeString = sceneType; in EffectChainManagerExist() 104 if (sceneType) { in EffectChainManagerCreateCb() 105 sceneTypeString = sceneType; in EffectChainManagerCreateCb() 135 if (sceneType) { in EffectChainManagerReleaseCb() 136 sceneTypeString = sceneType; in EffectChainManagerReleaseCb() 165 if (sceneType != nullptr && strlen(sceneType)) { in EffectChainManagerMultichannelUpdate() 225 if (sceneType) { in EffectChainManagerInitCb() [all …]
|
H A D | audio_enhance_chain_adapter.cpp | 37 if (sceneType) { in EnhanceChainManagerProcess() 38 sceneTypeString = sceneType; in EnhanceChainManagerProcess() 41 AUDIO_ERR_LOG("%{public}s process failed", sceneType); in EnhanceChainManagerProcess() 44 AUDIO_DEBUG_LOG("%{public}s process success", sceneType); in EnhanceChainManagerProcess() 56 if (sceneType) { in EnhanceChainManagerCreateCb() 57 sceneTypeString = sceneType; in EnhanceChainManagerCreateCb() 79 if (sceneType) { in EnhanceChainManagerReleaseCb() 80 sceneTypeString = sceneType; in EnhanceChainManagerReleaseCb() 92 bool EnhanceChainManagerExist(const char *sceneType) in EnhanceChainManagerExist() argument 98 if (sceneType) { in EnhanceChainManagerExist() [all …]
|
H A D | audio_effect_chain_manager.cpp | 328 sceneType : DEFAULT_SCENE_TYPE; in CreateAudioEffectChainDynamic() 365 std::string tSceneType = (sceneType == DEFAULT_SCENE_TYPE ? DEFAULT_PRESET_SCENE :sceneType); in SetAudioEffectChainDynamic() 424 sceneTypeToSpecialEffectSet_.erase(sceneType); in ReleaseAudioEffectChainDynamic() 426 CheckAndReleaseCommonEffectChain(sceneType); in ReleaseAudioEffectChainDynamic() 457 CHECK_AND_RETURN_RET(sceneType != "", false); in ExistAudioEffectChain() 870 if (!sceneTypeToSessionIDMap_.count(sceneType)) { in SessionInfoMapDelete() 899 effectHdiInput_[1] = sceneType; in SetHdiParam() 1285 sceneType.c_str()); in CreateAudioEffectChain() 1423 return element.first == sceneType; in UpdateSceneTypeList() 1435 return element.first == sceneType; in UpdateSceneTypeList() [all …]
|
H A D | audio_enhance_chain_manager.cpp | 134 std::string sceneTypeAndDeviceKey = sceneType + "_&_" + upAndDownDevice; in CreateAudioEnhanceChainDynamic() 146 audioEnhanceChain = std::make_shared<AudioEnhanceChain>(sceneType); in CreateAudioEnhanceChainDynamic() 164 std::string sceneTypeAndDeviceKey = sceneType + "_&_" + upAndDownDevice; in SetAudioEnhanceChainDynamic() 171 std::string enhanceChainKey = sceneType + "_&_" + enhanceMode; in SetAudioEnhanceChainDynamic() 214 CHECK_AND_RETURN_RET_LOG(sceneType != "", ERROR, "null sceneType"); in ReleaseAudioEnhanceChainDynamic() 216 std::string sceneTypeAndDeviceKey = sceneType + "_&_" + upAndDownDevice; in ReleaseAudioEnhanceChainDynamic() 231 int32_t AudioEnhanceChainManager::ApplyAudioEnhanceChain(const std::string &sceneType, in ApplyAudioEnhanceChain() argument 236 std::string sceneTypeAndDeviceKey = sceneType + "_&_" + GetUpAndDownDevice(); in ApplyAudioEnhanceChain() 253 bool AudioEnhanceChainManager::ExistAudioEnhanceChain(const std::string &sceneType) in ExistAudioEnhanceChain() argument 260 CHECK_AND_RETURN_RET(sceneType != "", false); in ExistAudioEnhanceChain() [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioeffect/include/ |
H A D | audio_effect_chain_adapter.h | 48 int32_t EffectChainManagerProcess(char *sceneType, BufferAttr *bufferAttr); 49 bool EffectChainManagerExist(const char *sceneType, const char *effectMode, const char *spatializat… 50 int32_t EffectChainManagerCreateCb(const char *sceneType, const char *sessionID); 51 int32_t EffectChainManagerReleaseCb(const char *sceneType, const char *sessionID); 52 int32_t EffectChainManagerMultichannelUpdate(const char *sceneType); 54 int32_t EffectChainManagerAddSessionInfo(const char *sceneType, const char *sessionID, SessionInfoP… 55 int32_t EffectChainManagerInitCb(const char *sceneType); 57 int32_t EffectChainManagerDeleteSessionInfo(const char *sceneType, const char *sessionID); 58 int32_t EffectChainManagerReturnEffectChannelInfo(const char *sceneType, uint32_t *channels, uint64… 64 bool EffectChainManagerSceneCheck(const char *sinkSceneType, const char *sceneType);
|
H A D | audio_effect_chain_manager.h | 64 std::string sceneType; member 108 int32_t CreateAudioEffectChainDynamic(const std::string &sceneType); 110 int32_t ReleaseAudioEffectChainDynamic(const std::string &sceneType); 117 int32_t UpdateMultichannelConfig(const std::string &sceneType); 118 int32_t InitAudioEffectChainDynamic(const std::string &sceneType); 121 int32_t SetHdiParam(const AudioEffectScene &sceneType); 156 void UpdateCurrSceneType(AudioEffectScene &currSceneType, std::string &sceneType); 162 void CheckAndReleaseCommonEffectChain(const std::string &sceneType); 163 void FindMaxSessionID(uint32_t &maxSessionID, std::string &sceneType, 166 bool IsEffectChainStop(const std::string &sceneType, const std::string &sessionID); [all …]
|
H A D | audio_enhance_chain_adapter.h | 41 int32_t EnhanceChainManagerProcess(const char *sceneType, EnhanceBufferAttr *enhanceBufferAttr); 42 int32_t EnhanceChainManagerCreateCb(const char *sceneType, const char *enhanceMode, const char *upA… 43 int32_t EnhanceChainManagerReleaseCb(const char *sceneType, const char *enhanceMode, const char *up… 44 bool EnhanceChainManagerExist(const char *sceneType);
|
H A D | audio_enhance_chain_manager.h | 40 int32_t CreateAudioEnhanceChainDynamic(const std::string &sceneType, 42 …int32_t ReleaseAudioEnhanceChainDynamic(const std::string &sceneType, const std::string &upAndDown… 43 …int32_t ApplyAudioEnhanceChain(const std::string &sceneType, EnhanceBufferAttr *enhanceBufferAttr); 44 bool ExistAudioEnhanceChain(const std::string &sceneType); 48 … int32_t SetAudioEnhanceChainDynamic(const std::string &sceneType, const std::string &enhanceMode,
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | start-intent-panel.md | 24 系统会根据调用方在startAbilityByType接口传入的type与wantParams.sceneType取值,按照如下映射关系,匹配到在module.json5配置文件中声明了对应[lin… 29 | 路线规划功能 |- type:navigation <br/> - wantParams.sceneType:1 | RoutePlan | 30 |导航功能 |- type:navigation <br/> - wantParams.sceneType:2 | Navigation| 31 |位置搜索功能 |- type:navigation <br/> - wantParams.sceneType:3 | PlaceSearch| 32 |转账汇款功能 |- type:finance <br/> - wantParams.sceneType:1 |Transfer| 33 |信用卡还款功能 |- type:finance <br/> - wantParams.sceneType:2 |CreditCardRepayment| 34 |撰写邮件功能|- type:mail <br/> - wantParams.sceneType:1|ComposeMail| 35 |按航班号查询航班功能|- type:flight<br/> - wantParams.sceneType:1|QueryByFlightNo| 36 |按起降地查询航班功能|- type:flight<br/> - wantParams.sceneType:2|QueryByLocation| 37 |快递查询功能|- type:express<br/> - wantParams.sceneType:1|QueryExpress|
|
H A D | start-navigation-apps.md | 17 …| sceneType | number | 否 | 意图场景,表明本次请求对应的操作意图。默认为1,路线规划场景填1或不填 … 32 | sceneType | number | 是 | 意图场景,表明本次请求对应的操作意图。导航场景填2 | 42 | sceneType | number | 是 | 意图场景,表明本次请求对应的操作意图。位置搜索场景填3 | 60 'sceneType': 1,
|
H A D | start-flight-apps.md | 15 | sceneType | number | 否 | 意图场景,表明本次请求对应的操作意图。默认为1,按航班号查询场景填1或不填。 | 23 …| sceneType | number | 是 | 意图场景,表明本次请求对应的操作意图。按起降地查询场景填2。 … 41 'sceneType': 1,
|
H A D | start-express-apps.md | 14 | sceneType | number | 否 | 意图场景,表明本次请求对应的操作意图。默认为1,查询快递填场景填1或不填。 | 29 'sceneType': 1,
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/ |
H A D | module_hdi_sink.c | 88 const char *sceneType = pa_proplist_gets(si->proplist, "scene.type"); in SinkInputNewCb() local 97 EffectChainManagerReleaseCb(sceneType, sessionID); in SinkInputNewCb() 110 EffectChainManagerInitCb(sceneType); in SinkInputNewCb() 112 EffectChainManagerCreateCb(sceneType, sessionID); in SinkInputNewCb() 117 EffectChainManagerMultichannelUpdate(sceneType); in SinkInputNewCb() 129 const char *sceneType = pa_proplist_gets(si->proplist, "scene.type"); in SinkInputUnlinkCb() local 144 EffectChainManagerReleaseCb(sceneType, sessionID); in SinkInputUnlinkCb() 146 !EffectChainManagerDeleteSessionInfo(sceneType, sessionID)) { in SinkInputUnlinkCb() 147 EffectChainManagerMultichannelUpdate(sceneType); in SinkInputUnlinkCb() 176 EffectChainManagerMultichannelUpdate(sceneType); in SinkInputStateChangedCb() [all …]
|
H A D | module_hdi_source.c | 77 const char *sceneType = pa_proplist_gets(so->proplist, "scene.type"); in SourceOutputNewCb() local 79 EnhanceChainManagerCreateCb(sceneType, sceneMode, upAndDownDevice); in SourceOutputNewCb() 87 const char *sceneType = pa_proplist_gets(so->proplist, "scene.type"); in SourceOutputUnlinkCb() local 89 EnhanceChainManagerReleaseCb(sceneType, sceneMode, upAndDownDevice); in SourceOutputUnlinkCb()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/test/unittest/services/ |
H A D | av_sync_manager_test.cpp | 79 streamFirst.sceneType = "streamFirstType"; 84 streamSecond.sceneType = "streamSecondType"; 103 streamFirst.sceneType = "streamFirstType"; 122 streamFirst.sceneType = "streamFirstType"; 161 streamFirst.sceneType = "streamFirstType"; 182 streamFirst.sceneType = "streamFirstType"; 203 streamFirst.sceneType = "streamFirstType"; 223 streamFirst.sceneType = "streamFirstType"; 263 streamFirst.sceneType = SCENE_TYPE_D_MIC; 288 streamFirst.sceneType = MIME_VIDEO_RAW; [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/services/src/ |
H A D | av_sync_manager.cpp | 45 …S_LOGI("add new stream info: sceneType=%{public}s, peerDevId=%{public}s", stream.sceneType.c_str(), in AddStreamInfo() 61 …AVTRANS_LOGI("remove stream info: sceneType=%{public}s, peerDevId=%{public}s", stream.sceneType.c_… in RemoveStreamInfo() 66 … if (((*iter).sceneType == stream.sceneType) && ((*iter).peerDevId == stream.peerDevId)) { in RemoveStreamInfo() 150 sceneTypeSet.insert(item.sceneType); in MergeGroupInfo() 188 if ((item.sceneType == SCENE_TYPE_D_MIC) || (item.sceneType == SCENE_TYPE_D_SPEAKER)) { in MergeGroupInfoInner() 193 cJSON_AddStringToObject(masterStr, KEY_SCENE_TYPE.c_str(), item.sceneType.c_str()); in MergeGroupInfoInner() 205 …} else if ((item.sceneType == SCENE_TYPE_D_SCREEN) || (item.sceneType == SCENE_TYPE_D_CAMERA_STR))… in MergeGroupInfoInner() 210 cJSON_AddStringToObject(slaveStr, KEY_SCENE_TYPE.c_str(), item.sceneType.c_str()); in MergeGroupInfoInner()
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | start-intent-panel.md | 24 Based on the **type** and **wantParams.sceneType** values passed in the **startAbilityByType** API,… 29 | Route planning|- type: navigation<br> - wantParams.sceneType: 1| RoutePlan | 30 |Navigation|- type: navigation<br> - wantParams.sceneType: 2| Navigation| 31 |Place search|- type: navigation<br> - wantParams.sceneType: 3| PlaceSearch| 32 |Transfer|- type: finance<br> - wantParams.sceneType: 1|Transfer| 33 |Credit card repayment|- type: finance<br> - wantParams.sceneType: 2|CreditCardRepayment| 34 |Email writing|- type: mail<br> - wantParams.sceneType: 1|ComposeMail| 35 |Query flights by flight number|- type: flight<br> - wantParams.sceneType: 1|QueryByFlightNo| 36 |Query flights based on origin and destination|- type: flight<br> - wantParams.sceneType: 2|QueryBy… 37 |Express delivery query|- type: express<br> - wantParams.sceneType: 1|QueryExpress|
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/effect/ |
H A D | audio_effect_manager.cpp | 275 item.name.c_str(), item.sceneType.c_str()); in UpdateAvailableAEConfig() 569 std::string sceneType; in ConstructEffectChainManagerParam() local 573 sceneType = scene.scene; in ConstructEffectChainManagerParam() 575 effectChainMgrParam.priorSceneList.push_back(sceneType); in ConstructEffectChainManagerParam() 578 effectChainMgrParam.defaultSceneName = sceneType; in ConstructEffectChainManagerParam() 583 key = sceneType + "_&_" + sceneMode + "_&_" + device.type; in ConstructEffectChainManagerParam() 597 std::string sceneType; in ConstructEnhanceChainManagerParam() local 602 sceneType = scene.scene; in ConstructEnhanceChainManagerParam() 604 enhanceChainMgrParam.priorSceneList.push_back(sceneType); in ConstructEnhanceChainManagerParam() 607 enhanceChainMgrParam.defaultSceneName = sceneType; in ConstructEnhanceChainManagerParam() [all …]
|
/ohos5.0/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_collector/src/ |
H A D | frame_msg_mgr.cpp | 30 : sceneType(SceneEvent::SLIDE), rmeScene(nullptr) in FrameMsgMgr() 104 if (sceneType == SceneEvent::SCENE_INVALID) { in GetSceneHandler() 105 … RME_LOGE("[GetSceneHandler]:get nullptr sceneType %{public}d,", static_cast<int>(sceneType)); in GetSceneHandler() 116 sceneType = scene; in UpdateScene()
|
/ohos5.0/foundation/ability/form_fwk/services/form_render_service/src/ |
H A D | form_render_event_report.cpp | 42 void FormRenderEventReport::SendPerformanceEvent(SceneType sceneType, PerformanceEventInfo &eventIn… in SendPerformanceEvent() argument 44 switch (sceneType) { in SendPerformanceEvent()
|
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_info.h | 371 std::string sceneType = ""; member 388 && parcel.WriteString(sceneType) in Marshalling() 404 sceneType = parcel.ReadString(); in Unmarshalling() 424 std::string sceneType = ""; variable 442 && parcel.WriteString(sceneType) in Marshalling() 453 sceneType = parcel.ReadString(); in Unmarshalling()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/av_sender/src/ |
H A D | av_sender_engine.cpp | 635 std::string sceneType = ""; in NotifyStreamChange() local 637 sceneType = SCENE_TYPE_D_MIC; in NotifyStreamChange() 639 sceneType = SCENE_TYPE_D_SPEAKER; in NotifyStreamChange() 641 sceneType = SCENE_TYPE_D_SCREEN; in NotifyStreamChange() 647 …sceneType = (videoFormat == VIDEO_FORMAT_JEPG) ? SCENE_TYPE_D_CAMERA_PIC : SCENE_TYPE_D_CAMERA_STR; in NotifyStreamChange() 654 dhFwkKit_->NotifyAVCenter(engineId_, { type, sceneType, peerDevId_ }); in NotifyStreamChange()
|
/ohos5.0/foundation/ability/form_fwk/services/form_render_service/include/ |
H A D | form_render_event_report.h | 42 static void SendPerformanceEvent(SceneType sceneType, PerformanceEventInfo &eventInfo);
|
/ohos5.0/foundation/resourceschedule/frame_aware_sched/frameworks/core/frame_aware_collector/include/ |
H A D | frame_msg_mgr.h | 63 SceneEvent sceneType; variable
|