Searched refs:jsonDeviceList (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/distributedhardware/device_manager/test/commonfuzztest/hichainconnector_fuzzer/ |
H A D | hichain_connector_fuzzer.cpp | 74 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 D | dm_credential_manager.cpp | 384 …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 D | UTTest_hichain_connector.cpp | 854 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 D | hichain_connector.h | 212 const nlohmann::json &jsonDeviceList); 219 const nlohmann::json &jsonDeviceList); 255 const nlohmann::json &jsonDeviceList, std::string ¶ms, int32_t &osAccountUserId);
|
/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/ |
H A D | hichain_connector.cpp | 888 const nlohmann::json &jsonDeviceList, std::string ¶ms, 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 D | dm_credential_manager.h | 117 int32_t GetAddDeviceList(const nlohmann::json &jsonObject, nlohmann::json &jsonDeviceList);
|