Home
last modified time | relevance | path

Searched refs:cfgJsonStr (Results 1 - 5 of 5) sorted by relevance

/foundation/ability/dmsfwk/common/test/unittest/src/
H A Ddistributed_sched_utils_test.cpp101 std::string cfgJsonStr = R"({ in HWTEST_F() local
104 EXPECT_TRUE(UpdateAllowAppList(cfgJsonStr)); in HWTEST_F()
115 * @tc.desc: Update allow app list with invalid cfgJsonStr
121 std::string cfgJsonStr = ""; in HWTEST_F() local
122 EXPECT_FALSE(UpdateAllowAppList(cfgJsonStr)); in HWTEST_F()
124 cfgJsonStr = "12345"; in HWTEST_F()
125 EXPECT_FALSE(UpdateAllowAppList(cfgJsonStr)); in HWTEST_F()
127 cfgJsonStr = R"({ in HWTEST_F()
131 EXPECT_FALSE(UpdateAllowAppList(cfgJsonStr)); in HWTEST_F()
133 cfgJsonStr in HWTEST_F()
147 std::string cfgJsonStr = R"({ HWTEST_F() local
[all...]
/foundation/ability/dmsfwk/common/include/
H A Ddistributed_sched_utils.h31 bool UpdateAllowAppList(const std::string &cfgJsonStr);
/foundation/ability/dmsfwk/services/dtbschedmgr/include/mission/
H A Ddsched_sync_e2e.h55 bool UpdateWhiteList(const std::string &cfgJsonStr);
/foundation/ability/dmsfwk/common/src/
H A Ddistributed_sched_utils.cpp92 bool UpdateAllowAppList(const std::string &cfgJsonStr) in UpdateAllowAppList() argument
98 inJson = cJSON_Parse(cfgJsonStr.c_str()); in UpdateAllowAppList()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/
H A Ddsched_sync_e2e.cpp137 bool DmsKvSyncE2E::UpdateWhiteList(const std::string &cfgJsonStr) in UpdateWhiteList() argument
143 inJson = cJSON_Parse(cfgJsonStr.c_str()); in UpdateWhiteList()

Completed in 4 milliseconds