Home
last modified time | relevance | path

Searched refs:strategyName (Results 1 - 18 of 18) sorted by relevance

/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_usage_strategy_parser.cpp83 char *strategyName = reinterpret_cast<char*>(xmlGetProp(strategyNode, in ParserStreamUsageList() local
88 ParserStreamUsageInfo(strategyName, streamUsages); in ParserStreamUsageList()
89 xmlFree(strategyName); in ParserStreamUsageList()
102 char *strategyName = reinterpret_cast<char*>(xmlGetProp(strategyNode, in ParserSourceTypeList() local
106 ParserSourceTypeInfo(strategyName, sourceTypes); in ParserSourceTypeList()
107 xmlFree(strategyName); in ParserSourceTypeList()
144 void AudioUsageStrategyParser::ParserStreamUsageInfo(const std::string &strategyName, in ParserStreamUsageInfo() argument
148 if (strategyName == "MEDIA_RENDER") { in ParserStreamUsageInfo()
150 } else if (strategyName == "CALL_RENDER") { in ParserStreamUsageInfo()
152 } else if (strategyName in ParserStreamUsageInfo()
172 ParserSourceTypeInfo(const std::string &strategyName, const std::string &sourceTypes) ParserSourceTypeInfo() argument
[all...]
/foundation/resourceschedule/device_standby/frameworks/src/
H A Dstandby_service_stub.cpp89 std::string strategyName = data.ReadString(); in HandleSubscribeStandbyCallback() local
92 STANDBYSERVICE_LOGD("HandleSubscribeStandbyCallback strategyName is %{public}s, moduleName is %{public}s.", in HandleSubscribeStandbyCallback()
93 strategyName.c_str(), moduleName.c_str()); in HandleSubscribeStandbyCallback()
94 subscriber->SetSubscriberName(strategyName); in HandleSubscribeStandbyCallback()
151 std::string strategyName {""}; in HandleIsStrategyEnabled()
152 if (!data.ReadString(strategyName)) { in HandleIsStrategyEnabled()
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/
H A Dhgm_multi_app_strategy.cpp263 const std::string& strategyName, PolicyConfigData::StrategyConfig& strategyRes) in GetStrategyConfig()
265 if (strategyConfigMapCache_.find(strategyName) != strategyConfigMapCache_.end()) { in GetStrategyConfig()
266 strategyRes = strategyConfigMapCache_.at(strategyName); in GetStrategyConfig()
280 auto &strategyName = screenSettingCache_.multiAppStrategyName; in UseStrategyNum() local
281 RS_TRACE_NAME_FMT("[UseStrategyNum] strategyName:%s", strategyName.c_str()); in UseStrategyNum()
282 if (strategyConfigMapCache_.find(strategyName) != strategyConfigMapCache_.end()) { in UseStrategyNum()
284 voteRes_.second = strategyConfigMapCache_.at(strategyName); in UseStrategyNum()
262 GetStrategyConfig( const std::string& strategyName, PolicyConfigData::StrategyConfig& strategyRes) GetStrategyConfig() argument
H A Dhgm_multi_app_strategy.h70 HgmErrCode GetStrategyConfig(const std::string& strategyName, PolicyConfigData::StrategyConfig& strategyRes);
/foundation/resourceschedule/device_standby/interfaces/innerkits/src/
H A Dstandby_service_client.cpp165 ErrCode StandbyServiceClient::IsStrategyEnabled(const std::string& strategyName, bool& isEnabled) in IsStrategyEnabled() argument
172 return standbyServiceProxy_->IsStrategyEnabled(strategyName, isEnabled); in IsStrategyEnabled()
H A Dstandby_service_proxy.cpp349 ErrCode StandbyServiceProxy::IsStrategyEnabled(const std::string& strategyName, bool& enabled) in IsStrategyEnabled() argument
358 if (!data.WriteString(strategyName)) { in IsStrategyEnabled()
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/config/
H A Daudio_usage_strategy_parser.h61 void ParserStreamUsageInfo(const std::string &strategyName, const std::string &streamUsage);
/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dstandby_service_client.h113 * @param strategyName the strategy name.
117 ErrCode IsStrategyEnabled(const std::string& strategyName, bool& isEnabled);
H A Dstandby_service_proxy.h116 * @param strategyName the strategy name.
119 ErrCode IsStrategyEnabled(const std::string& strategyName, bool& enabled) override;
/foundation/resourceschedule/device_standby/frameworks/include/
H A Distandby_service.h113 * @param strategyName the strategy name.
117 virtual ErrCode IsStrategyEnabled(const std::string& strategyName, bool& isEnabled) = 0;
/foundation/resourceschedule/device_standby/services/core/include/
H A Dstandby_service.h60 ErrCode IsStrategyEnabled(const std::string& strategyName, bool& isEnabled) override;
H A Dstandby_service_impl.h107 ErrCode GetEligiableRestrictSet(uint32_t allowType, const std::string& strategyName,
113 ErrCode IsStrategyEnabled(const std::string& strategyName, bool& isEnabled);
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service.cpp298 ErrCode StandbyService::IsStrategyEnabled(const std::string& strategyName, bool& isEnabled) in IsStrategyEnabled() argument
304 return StandbyServiceImpl::GetInstance()->IsStrategyEnabled(strategyName, isEnabled); in IsStrategyEnabled()
H A Dstandby_service_impl.cpp851 ErrCode StandbyServiceImpl::GetEligiableRestrictSet(uint32_t allowType, const std::string& strategyName, in GetEligiableRestrictSet() argument
856 strategyName, condition, false, resonCode == ReasonCodeEnum::REASON_APP_API); in GetEligiableRestrictSet()
917 ErrCode StandbyServiceImpl::IsStrategyEnabled(const std::string& strategyName, bool& isStandby) in IsStrategyEnabled() argument
925 auto item = std::find(strategyConfigList.begin(), strategyConfigList.end(), strategyName); in IsStrategyEnabled()
/foundation/resourceschedule/device_standby/interfaces/innerkits/test/unittest/
H A Dstandby_client_unit_test.cpp234 std::string strategyName; in HWTEST_F() local
236 EXPECT_EQ(StandbyServiceClient::GetInstance().IsStrategyEnabled(strategyName, isEnabled), ERR_OK); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/
H A Dhgm_multi_app_strategy_test.cpp62 void SetMultiAppStrategy(MultiAppStrategyType multiAppStrategyType, const std::string& strategyName = "");
106 MultiAppStrategyType multiAppStrategyType, const std::string& strategyName) in SetMultiAppStrategy()
110 screenSetting.multiAppStrategyName = strategyName; in SetMultiAppStrategy()
105 SetMultiAppStrategy( MultiAppStrategyType multiAppStrategyType, const std::string& strategyName) SetMultiAppStrategy() argument
/foundation/resourceschedule/device_standby/utils/policy/src/
H A Dstandby_config_manager.cpp850 for (const auto& [strategyName, strategyVal] : strategySwitchMap_) { in DumpStandbyConfigInfo()
851 stream << strategyName << ": " << (strategyVal ? "true" : "false") << "\n"; in DumpStandbyConfigInfo()
/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_service_unit_test.cpp1116 std::string strategyName; in HWTEST_F() local
1118 EXPECT_EQ(StandbyService::GetInstance()->IsStrategyEnabled(strategyName, isEnabled), ERR_OK); in HWTEST_F()
1121 EXPECT_EQ(StandbyService::GetInstance()->IsStrategyEnabled(strategyName, isEnabled), ERR_STANDBY_SYS_NOT_READY); in HWTEST_F()

Completed in 19 milliseconds