Searched refs:AddScript (Results 1 – 8 of 8) sorted by relevance
/base/update/updater/test/unittest/script/script_instruction/ |
D | script_instructionhelper_unittest.cpp | 174 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/ |
D | script_loadscript.cpp | 49 return helper->AddScript(scriptName, priority); in Execute()
|
D | script_instructionhelper.h | 35 int32_t AddScript(const std::string &scriptName, int32_t priority) const;
|
D | script_instructionhelper.cpp | 92 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/ |
D | script_manager_impl.h | 42 int32_t AddScript(const std::string &scriptName, int32_t priority);
|
D | script_managerImpl.cpp | 249 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/ |
D | locale_matcher.cpp | 47 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/ |
D | locale_matcher.cpp | 47 uint64_t AddScript(uint64_t encodedLocale, uint32_t encodedScript) in AddScript() function 63 tempEncodedLocale = AddScript(encodedLocale, LocaleMatcher::HANT_ENCODE); in SearchParentLocale()
|