Home
last modified time | relevance | path

Searched refs:encryptedUuid (Results 1 - 12 of 12) sorted by relevance

/foundation/distributedhardware/device_manager/test/commonfuzztest/generateencrypteduuid_fuzzer/
H A Dgenerate_encrypted_uuid_fuzzer.cpp32 std::string encryptedUuid(reinterpret_cast<const char*>(data), size); in GenerateEncryptedUuidFuzzTest()
35 DeviceManagerImpl::GetInstance().GenerateEncryptedUuid(pkgName, uuid, appId, encryptedUuid); in GenerateEncryptedUuidFuzzTest()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Ddevice_manager_adapter.cpp661 std::string encryptedUuid;
662 auto ret = DeviceManager::GetInstance().GenerateEncryptedUuid(PKG_NAME, uuid, appId, encryptedUuid);
667 return encryptedUuid;
742 std::string encryptedUuid;
743 auto ret = DeviceManager::GetInstance().GetEncryptedUuidByNetworkId(PKG_NAME, networkId, encryptedUuid);
748 return encryptedUuid;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/preprocess/
H A Dpreprocess_utils.cpp128 std::string encryptedUuid = DistributedData::DeviceManagerAdapter::GetInstance().CalcClientUuid(" ", info.uuid); in GetLocalDeviceId() local
129 return encryptedUuid; in GetLocalDeviceId()
/foundation/filemanagement/dfs_service/test/mock/
H A Ddevice_manager_impl_mock.cpp256 std::string &encryptedUuid) in GenerateEncryptedUuid()
253 GenerateEncryptedUuid(const std::string &pkgName, const std::string &uuid, const std::string &appId, std::string &encryptedUuid) GenerateEncryptedUuid() argument
/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_device_manager_impl.cpp1617 std::string encryptedUuid = ""; in HWTEST_F() local
1618 int32_t ret = DeviceManager::GetInstance().GenerateEncryptedUuid(pkgName, uuid, appId, encryptedUuid); in HWTEST_F()
1621 ret = DeviceManager::GetInstance().GenerateEncryptedUuid(pkgName, uuid, appId, encryptedUuid); in HWTEST_F()
1625 ret = DeviceManager::GetInstance().GenerateEncryptedUuid(pkgName, uuid, appId, encryptedUuid); in HWTEST_F()
1628 ret = DeviceManager::GetInstance().GenerateEncryptedUuid(pkgName, uuid, appId, encryptedUuid); in HWTEST_F()
1633 ret = DeviceManager::GetInstance().GenerateEncryptedUuid(pkgName, uuid, appId, encryptedUuid); in HWTEST_F()
H A DUTTest_device_manager_service.cpp1591 std::string encryptedUuid; in HWTEST_F() local
1592 int32_t ret = DeviceManagerService::GetInstance().GenerateEncryptedUuid(pkgName, uuid, appId, encryptedUuid); in HWTEST_F()
1601 std::string encryptedUuid; in HWTEST_F() local
1602 int32_t ret = DeviceManagerService::GetInstance().GenerateEncryptedUuid(pkgName, uuid, appId, encryptedUuid); in HWTEST_F()
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/
H A Ddevice_manager.h322 std::string &encryptedUuid) = 0;
H A Ddevice_manager_impl.h313 const std::string &appId, std::string &encryptedUuid) override;
/foundation/distributedhardware/device_manager/services/service/include/
H A Ddevice_manager_service.h151 std::string &encryptedUuid);
/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service.cpp1048 LOGI("encryptedUuid = %{public}s.", GetAnonyString(uuid).c_str()); in GetEncryptedUuidByNetworkId()
1053 const std::string &appId, std::string &encryptedUuid) in GenerateEncryptedUuid()
1059 encryptedUuid = Crypto::Sha256(appId + "_" + uuid); in GenerateEncryptedUuid()
1060 LOGI("encryptedUuid = %{public}s.", GetAnonyString(encryptedUuid).c_str()); in GenerateEncryptedUuid()
1052 GenerateEncryptedUuid(const std::string &pkgName, const std::string &uuid, const std::string &appId, std::string &encryptedUuid) GenerateEncryptedUuid() argument
/foundation/distributedhardware/device_manager/services/service/src/ipc/standard/
H A Dipc_cmd_parser.cpp831 std::string encryptedUuid; in ON_IPC_CMD() local
833 int32_t result = DeviceManagerService::GetInstance().GenerateEncryptedUuid(pkgName, uuid, appId, encryptedUuid); in ON_IPC_CMD()
838 if (!reply.WriteString(encryptedUuid)) { in ON_IPC_CMD()
839 LOGE("write encryptedUuid failed"); in ON_IPC_CMD()
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/
H A Ddevice_manager_impl.cpp1352 const std::string &appId, std::string &encryptedUuid) in GenerateEncryptedUuid()
1377 encryptedUuid = rsp->GetUuid(); in GenerateEncryptedUuid()
1378 LOGI("Complete, encryptedUuid: %{public}s", GetAnonyString(encryptedUuid).c_str()); in GenerateEncryptedUuid()
1351 GenerateEncryptedUuid(const std::string &pkgName, const std::string &uuid, const std::string &appId, std::string &encryptedUuid) GenerateEncryptedUuid() argument

Completed in 23 milliseconds