Home
last modified time | relevance | path

Searched refs:anoyDeviceId (Results 1 - 8 of 8) sorted by relevance

/foundation/distributedhardware/device_manager/utils/include/kvadapter/
H A Ddm_kv_info.h26 const std::string ANOY_DEVICE_ID_KEY = "anoyDeviceId";
33 std::string anoyDeviceId; member
36 explicit DmKVValue() : udidHash(""), appID(""), anoyDeviceId(""), salt(""), lastModifyTime(0) {} in DmKVValue()
/foundation/distributedhardware/device_manager/utils/src/kvadapter/
H A Ddm_kv_info.cpp28 jsonObj[ANOY_DEVICE_ID_KEY] = kvValue.anoyDeviceId; in ConvertDmKVValueToJson()
50 kvValue.anoyDeviceId = resultJson[ANOY_DEVICE_ID_KEY].get<std::string>(); in ConvertJsonToDmKVValue()
H A Dkv_adapter.cpp206 delKeys.emplace_back(prefix + kvValue.anoyDeviceId); in DeleteByAppId()
/foundation/distributedhardware/device_manager/utils/src/crypto/
H A Ddm_crypto.cpp231 KVAdapterManager::GetInstance().PutByAnoyDeviceId(kvValue.anoyDeviceId, kvValue); in ConvertUdidHashToAnoyAndSave()
239 KVAdapterManager::GetInstance().PutByAnoyDeviceId(kvValue.anoyDeviceId, kvValue); in ConvertUdidHashToAnoyAndSave()
270 char anoyDeviceId[DM_MAX_DEVICE_ID_LEN] = {0}; in ConvertUdidHashToAnoyGenerate() local
271 if (GetUdidHash(udidTemp, reinterpret_cast<uint8_t *>(anoyDeviceId)) != DM_OK) { in ConvertUdidHashToAnoyGenerate()
272 LOGE("get anoyDeviceId by udidTemp failed."); in ConvertUdidHashToAnoyGenerate()
276 kvValue.anoyDeviceId = std::string(anoyDeviceId); in ConvertUdidHashToAnoyGenerate()
/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service_listener.cpp455 if (memcpy_s(deviceInfo.deviceId, sizeof(deviceInfo.deviceId), kvValue.anoyDeviceId.c_str(), in ConvertUdidHashToAnoyAndSave()
456 std::min(sizeof(deviceInfo.deviceId), kvValue.anoyDeviceId.length())) != DM_OK) { in ConvertUdidHashToAnoyAndSave()
464 const std::string &udidHash, std::string &anoyDeviceId) in ConvertUdidHashToAnoyDeviceId()
475 anoyDeviceId = kvValue.anoyDeviceId; in ConvertUdidHashToAnoyDeviceId()
463 ConvertUdidHashToAnoyDeviceId(const std::string &pkgName, const std::string &udidHash, std::string &anoyDeviceId) ConvertUdidHashToAnoyDeviceId() argument
H A Ddevice_manager_service.cpp1822 result = kvValue.anoyDeviceId; in ConvertUdidHashToAnoyDeviceId()
1826 int32_t DeviceManagerService::GetUdidHashByAnoyDeviceId(const std::string &anoyDeviceId, std::string &udidHash) in GetUdidHashByAnoyDeviceId() argument
1828 LOGI("anoyDeviceId %{public}s.", GetAnonyString(anoyDeviceId).c_str()); in GetUdidHashByAnoyDeviceId()
1830 if (KVAdapterManager::GetInstance().Get(anoyDeviceId, kvValue) != DM_OK) { in GetUdidHashByAnoyDeviceId()
/foundation/distributedhardware/device_manager/services/service/include/
H A Ddevice_manager_service_listener.h96 std::string &anoyDeviceId);
H A Ddevice_manager_service.h225 int32_t ConvertUdidHashToAnoyDeviceId(const std::string &udidHash, std::string &anoyDeviceId);
226 int32_t GetUdidHashByAnoyDeviceId(const std::string &anoyDeviceId, std::string &udidHash);

Completed in 13 milliseconds