Home
last modified time | relevance | path

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

/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/
H A Ddistributed_hardware_service.cpp188 std::string targetKey = ""; in QueryLocalSysSpec() local
191 targetKey = KEY_HISTREAMER_AUDIO_ENCODER; in QueryLocalSysSpec()
195 targetKey = KEY_HISTREAMER_AUDIO_DECODER; in QueryLocalSysSpec()
199 targetKey = KEY_HISTREAMER_VIDEO_ENCODER; in QueryLocalSysSpec()
203 targetKey = KEY_HISTREAMER_VIDEO_DECODER; in QueryLocalSysSpec()
210 DHLOGE("QueryLocalSysSpec targetKey: %{public}s, targetDhType: %{public}" PRIu32, targetKey.c_str(), in QueryLocalSysSpec()
230 return QueryDhSysSpec(targetKey, attrs); in QueryLocalSysSpec()
233 std::string DistributedHardwareService::QueryDhSysSpec(const std::string &targetKey, std::string &attrs) in QueryDhSysSpec() argument
240 if (!IsString(attrJson, targetKey)) { in QueryDhSysSpec()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/distributedhardwareservice/src/
H A Ddistributed_hardware_service_test.cpp272 std::string targetKey = ""; in HWTEST_F() local
275 auto ret = service.QueryDhSysSpec(targetKey, attrs); in HWTEST_F()
281 std::string targetKey = "histmAudEnc"; in HWTEST_F() local
287 cJSON_AddNumberToObject(attrJson, targetKey.c_str(), target); in HWTEST_F()
295 auto ret = service.QueryDhSysSpec(targetKey, attrs); in HWTEST_F()
305 cJSON_AddStringToObject(attrJson1, targetKey.c_str(), targetKeyValue.c_str()); in HWTEST_F()
312 ret = service.QueryDhSysSpec(targetKey, attrs1); in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/distributedfwkservices_fuzzer/
H A Ddistributedfwkservices_fuzzer.cpp70 std::string targetKey(reinterpret_cast<const char*>(data), size); in FwkServicesQueryDhSysSpecFuzzTest()
73 service.QueryDhSysSpec(targetKey, attrs); in FwkServicesQueryDhSysSpecFuzzTest()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/
H A Ddistributed_hardware_service.h62 std::string QueryDhSysSpec(const std::string &targetKey, std::string &attrs);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_nb_delegate_rd_test.cpp1890 int targetKey = 2; // 2 is the initial key that is expected to be found in HWTEST_F() local
1893 EXPECT_EQ(to_string(targetKey), keyStr); in HWTEST_F()
1894 targetKey++; in HWTEST_F()
1904 targetKey = 0; // 0 is the initial key that is expected to be found in HWTEST_F()
1907 EXPECT_EQ(to_string(targetKey), keyStr); in HWTEST_F()
1908 targetKey++; in HWTEST_F()
1918 targetKey = 2; // 2 is the initial key that is expected to be found in HWTEST_F()
1921 EXPECT_EQ(to_string(targetKey), keyStr); in HWTEST_F()
1922 targetKey++; in HWTEST_F()

Completed in 6 milliseconds