Home
last modified time | relevance | path

Searched refs:jsonDeviceList (Results 1 - 6 of 6) sorted by relevance

/foundation/distributedhardware/device_manager/test/commonfuzztest/hichainconnector_fuzzer/
H A Dhichain_connector_fuzzer.cpp74 nlohmann::json jsonDeviceList; in HiChainConnectorFuzzTest() local
93 hichainConnector->addMultiMembers(groupType, userId, jsonDeviceList); in HiChainConnectorFuzzTest()
110 nlohmann::json jsonDeviceList; in HiChainConnectorSecondFuzzTest() local
116 hichainConnector->GetJsonStr(jsonDeviceList, "key"); in HiChainConnectorSecondFuzzTest()
/foundation/distributedhardware/device_manager/services/implementation/src/credential/
H A Ddm_credential_manager.cpp384 int32_t DmCredentialManager::GetAddDeviceList(const nlohmann::json &jsonObject, nlohmann::json &jsonDeviceList) in GetAddDeviceList() argument
407 jsonDeviceList[FIELD_DEVICE_LIST][i] = credentialDataList.at(i); in GetAddDeviceList()
443 nlohmann::json jsonDeviceList; in ImportRemoteCredential() local
444 if (GetAddDeviceList(jsonObject, jsonDeviceList) != DM_OK) { in ImportRemoteCredential()
448 if (hiChainConnector_->addMultiMembers(groupType, userId, jsonDeviceList) != DM_OK) { in ImportRemoteCredential()
511 nlohmann::json jsonDeviceList; in DeleteRemoteCredential() local
512 if (GetDeleteDeviceList(jsonObject, jsonDeviceList) != DM_OK) { in DeleteRemoteCredential()
516 if (hiChainConnector_->deleteMultiMembers(groupType, userId, jsonDeviceList) != DM_OK) { in DeleteRemoteCredential()
/foundation/distributedhardware/device_manager/services/implementation/include/dependency/hichain/
H A Dhichain_connector.h216 const nlohmann::json &jsonDeviceList);
223 const nlohmann::json &jsonDeviceList);
263 const nlohmann::json &jsonDeviceList, std::string &params, int32_t &osAccountUserId);
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_hichain_connector.cpp854 nlohmann::json jsonDeviceList; in HWTEST_F() local
858 int32_t ret = hiChainConnector->ParseRemoteCredential(groupType, userId, jsonDeviceList, params, osAccountUserId); in HWTEST_F()
872 nlohmann::json jsonDeviceList; in HWTEST_F() local
876 int32_t ret = hiChainConnector->ParseRemoteCredential(groupType, userId, jsonDeviceList, params, osAccountUserId); in HWTEST_F()
890 nlohmann::json jsonDeviceList; in HWTEST_F() local
891 jsonDeviceList[FIELD_DEVICE_LIST] = "15264646"; in HWTEST_F()
895 int32_t ret = hiChainConnector->ParseRemoteCredential(groupType, userId, jsonDeviceList, params, osAccountUserId); in HWTEST_F()
909 nlohmann::json jsonDeviceList; in HWTEST_F() local
912 int32_t ret = hiChainConnector->addMultiMembers(groupType, userId, jsonDeviceList); in HWTEST_F()
926 nlohmann::json jsonDeviceList; in HWTEST_F() local
943 nlohmann::json jsonDeviceList; HWTEST_F() local
960 nlohmann::json jsonDeviceList; HWTEST_F() local
[all...]
/foundation/distributedhardware/device_manager/services/implementation/include/credential/
H A Ddm_credential_manager.h117 int32_t GetAddDeviceList(const nlohmann::json &jsonObject, nlohmann::json &jsonDeviceList);
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/
H A Dhichain_connector.cpp872 const nlohmann::json &jsonDeviceList, std::string &params, int32_t &osAccountUserId) in ParseRemoteCredential()
874 if (userId.empty() || !jsonDeviceList.contains(FIELD_DEVICE_LIST)) { in ParseRemoteCredential()
886 jsonObj[FIELD_DEVICE_LIST] = jsonDeviceList[FIELD_DEVICE_LIST]; in ParseRemoteCredential()
897 const nlohmann::json &jsonDeviceList) in addMultiMembers()
905 if (ParseRemoteCredential(groupType, userId, jsonDeviceList, addParams, osAccountUserId) != DM_OK) { in addMultiMembers()
1025 const nlohmann::json &jsonDeviceList) in deleteMultiMembers()
1034 if (ParseRemoteCredential(groupType, userId, jsonDeviceList, deleteParams, osAccountUserId) != DM_OK) { in deleteMultiMembers()
871 ParseRemoteCredential(const int32_t groupType, const std::string &userId, const nlohmann::json &jsonDeviceList, std::string &params, int32_t &osAccountUserId) ParseRemoteCredential() argument
896 addMultiMembers(const int32_t groupType, const std::string &userId, const nlohmann::json &jsonDeviceList) addMultiMembers() argument
1024 deleteMultiMembers(const int32_t groupType, const std::string &userId, const nlohmann::json &jsonDeviceList) deleteMultiMembers() argument

Completed in 7 milliseconds