Searched refs:COMP_SINK_VERSION (Results 1 - 2 of 2) sorted by relevance
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentloader/ |
H A D | component_loader.cpp | 55 const std::string COMP_SINK_VERSION = "comp_sink_version"; member 162 if (!IsString(json, COMP_SINK_VERSION)) { in ParseSink() 163 DHLOGE("COMP_SINK_VERSION is invalid!"); in ParseSink() 166 cfg.compSinkVersion = cJSON_GetObjectItem(json, COMP_SINK_VERSION.c_str())->valuestring; in ParseSink() 311 if (IsString(component, COMP_SINK_VERSION.c_str())) { in ParseCompConfigFromJson() 312 config.compSinkVersion = cJSON_GetObjectItem(component, COMP_SINK_VERSION.c_str())->valuestring; in ParseCompConfigFromJson()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentloader/src/ |
H A D | component_loader_test.cpp | 659 cJSON_AddNumberToObject(json, COMP_SINK_VERSION.c_str(), 4802); in HWTEST_F() 687 cJSON_AddStringToObject(json, COMP_SINK_VERSION.c_str(), "comp_sink_version"); in HWTEST_F() 716 cJSON_AddStringToObject(json, COMP_SINK_VERSION.c_str(), "comp_sink_version"); in HWTEST_F() 745 cJSON_AddNumberToObject(json, COMP_SINK_VERSION.c_str(), 100); in HWTEST_F() 759 cJSON_AddStringToObject(json, COMP_SINK_VERSION.c_str(), "1.0"); in HWTEST_F() 774 cJSON_AddStringToObject(json, COMP_SINK_VERSION.c_str(), "1.0"); in HWTEST_F() 818 cJSON_AddNumberToObject(component, COMP_SINK_VERSION.c_str(), 1.0); in HWTEST_F() 851 cJSON_AddStringToObject(component1, COMP_SINK_VERSION.c_str(), "com_sink_version_test"); in HWTEST_F()
|
Completed in 3 milliseconds