Home
last modified time | relevance | path

Searched refs:AddScript (Results 1 – 8 of 8) sorted by relevance

/base/update/updater/test/unittest/script/script_instruction/
Dscript_instructionhelper_unittest.cpp174 EXPECT_EQ(helper->AddScript("", 0), USCRIPT_INVALID_PARAM); in TestAddScript()
182 EXPECT_EQ(helper->AddScript("", -1), USCRIPT_INVALID_PRIORITY); in TestAddScript()
183 EXPECT_EQ(helper->AddScript("", 4), USCRIPT_INVALID_PRIORITY); in TestAddScript()
190 EXPECT_EQ(helper->AddScript("script0", 0), USCRIPT_INVALID_SCRIPT); in TestAddScript()
191 EXPECT_EQ(helper->AddScript("script1", 1), USCRIPT_SUCCESS); in TestAddScript()
192 EXPECT_EQ(helper->AddScript("", 1), USCRIPT_INVALID_SCRIPT); in TestAddScript()
/base/update/updater/services/script/script_instruction/
Dscript_loadscript.cpp49 return helper->AddScript(scriptName, priority); in Execute()
Dscript_instructionhelper.h35 int32_t AddScript(const std::string &scriptName, int32_t priority) const;
Dscript_instructionhelper.cpp92 int32_t ScriptInstructionHelper::AddScript(const std::string &scriptName, int32_t priority) const in AddScript() function in Uscript::ScriptInstructionHelper
94 return scriptManager_->AddScript(scriptName, priority); in AddScript()
/base/update/updater/services/script/script_manager/
Dscript_manager_impl.h42 int32_t AddScript(const std::string &scriptName, int32_t priority);
Dscript_managerImpl.cpp249 int32_t ScriptManagerImpl::AddScript(const std::string &scriptName, int32_t priority) in AddScript() function in Uscript::ScriptManagerImpl
/base/global/resource_management_lite/frameworks/resmgr_lite/src/
Dlocale_matcher.cpp47 uint64_t AddScript(uint64_t encodedLocale, uint32_t encodedScript) in AddScript() function
63 tempEncodedLocale = AddScript(encodedLocale, LocaleMatcher::HANT_ENCODE); in SearchParentLocale()
/base/global/resource_management/frameworks/resmgr/src/
Dlocale_matcher.cpp47 uint64_t AddScript(uint64_t encodedLocale, uint32_t encodedScript) in AddScript() function
63 tempEncodedLocale = AddScript(encodedLocale, LocaleMatcher::HANT_ENCODE); in SearchParentLocale()