Searched refs:typesCfg (Results 1 - 3 of 3) sorted by relevance
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | custom_utd_store_test.cpp | 95 std::vector<TypeDescriptorCfg> typesCfg; in HWTEST_F() local 97 parser.ParseStoredCustomUtdJson(TEST_DATA2, typesCfg); in HWTEST_F() 98 auto status = CustomUtdStore::GetInstance().SaveTypeCfgs(typesCfg, USERID); in HWTEST_F() 101 typesCfg.clear(); in HWTEST_F() 102 typesCfg = CustomUtdStore::GetInstance().GetTypeCfgs(USERID); in HWTEST_F() 103 TypeDescriptorCfg type1 = *(typesCfg.begin()); in HWTEST_F()
|
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | custom_utd_json_parser.h | 33 bool ParseStoredCustomUtdJson(const std::string &jsonData, std::vector<TypeDescriptorCfg> &typesCfg); 36 bool ConvertUtdCfgsToJson(const std::vector<TypeDescriptorCfg> &typesCfg, std::string &jsonData); 41 std::vector<TypeDescriptorCfg> &typesCfg);
|
H A D | custom_utd_json_parser.cpp | 39 std::vector<TypeDescriptorCfg> &typesCfg) in ParseStoredCustomUtdJson() 47 GetTypeDescriptors(*jsonRoot, UTD_CUSTOM, typesCfg); in ParseStoredCustomUtdJson() 72 bool CustomUtdJsonParser::ConvertUtdCfgsToJson(const std::vector<TypeDescriptorCfg> &typesCfg, std::string &jsonData) in ConvertUtdCfgsToJson() argument 76 for (auto utdTypeCfg : typesCfg) { in ConvertUtdCfgsToJson() 114 std::vector<TypeDescriptorCfg> &typesCfg) in GetTypeDescriptors() 132 typesCfg.push_back(typeCfg); in GetTypeDescriptors() 38 ParseStoredCustomUtdJson(const std::string &jsonData, std::vector<TypeDescriptorCfg> &typesCfg) ParseStoredCustomUtdJson() argument 113 GetTypeDescriptors(const json &jsonRoot, const std::string &nodeName, std::vector<TypeDescriptorCfg> &typesCfg) GetTypeDescriptors() argument
|
Completed in 1 milliseconds