Home
last modified time | relevance | path

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

/ohos5.0/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()
111 nlohmann::json jsonDeviceList; in HiChainConnectorSecondFuzzTest() local
117 hichainConnector->GetJsonStr(jsonDeviceList, "key"); in HiChainConnectorSecondFuzzTest()
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/credential/
H A Ddm_credential_manager.cpp384 …edentialManager::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()
/ohos5.0/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_hichain_connector.cpp854 nlohmann::json jsonDeviceList; variable
872 nlohmann::json jsonDeviceList; variable
890 nlohmann::json jsonDeviceList; variable
891 jsonDeviceList[FIELD_DEVICE_LIST] = "15264646";
909 nlohmann::json jsonDeviceList; variable
912 int32_t ret = hiChainConnector->addMultiMembers(groupType, userId, jsonDeviceList);
926 nlohmann::json jsonDeviceList; variable
929 int32_t ret = hiChainConnector->addMultiMembers(groupType, userId, jsonDeviceList);
943 nlohmann::json jsonDeviceList; variable
946 int32_t ret = hiChainConnector->deleteMultiMembers(groupType, userId, jsonDeviceList);
[all …]
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/include/dependency/hichain/
H A Dhichain_connector.h212 const nlohmann::json &jsonDeviceList);
219 const nlohmann::json &jsonDeviceList);
255 const nlohmann::json &jsonDeviceList, std::string &params, int32_t &osAccountUserId);
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/
H A Dhichain_connector.cpp888 const nlohmann::json &jsonDeviceList, std::string &params, int32_t &osAccountUserId) in ParseRemoteCredential() argument
890 if (userId.empty() || !jsonDeviceList.contains(FIELD_DEVICE_LIST)) { in ParseRemoteCredential()
902 jsonObj[FIELD_DEVICE_LIST] = jsonDeviceList[FIELD_DEVICE_LIST]; in ParseRemoteCredential()
913 const nlohmann::json &jsonDeviceList) in addMultiMembers() argument
921 …if (ParseRemoteCredential(groupType, userId, jsonDeviceList, addParams, osAccountUserId) != DM_OK)… in addMultiMembers()
1041 const nlohmann::json &jsonDeviceList) in deleteMultiMembers() argument
1050 …if (ParseRemoteCredential(groupType, userId, jsonDeviceList, deleteParams, osAccountUserId) != DM_… in deleteMultiMembers()
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/include/credential/
H A Ddm_credential_manager.h117 int32_t GetAddDeviceList(const nlohmann::json &jsonObject, nlohmann::json &jsonDeviceList);