/foundation/distributedhardware/device_manager/test/commonfuzztest/generateencrypteduuid_fuzzer/ |
H A D | generate_encrypted_uuid_fuzzer.cpp | 32 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 D | device_manager_adapter.cpp | 661 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 D | preprocess_utils.cpp | 128 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 D | device_manager_impl_mock.cpp | 256 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 D | UTTest_device_manager_impl.cpp | 1617 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 D | UTTest_device_manager_service.cpp | 1591 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 D | device_manager.h | 322 std::string &encryptedUuid) = 0;
|
H A D | device_manager_impl.h | 313 const std::string &appId, std::string &encryptedUuid) override;
|
/foundation/distributedhardware/device_manager/services/service/include/ |
H A D | device_manager_service.h | 151 std::string &encryptedUuid);
|
/foundation/distributedhardware/device_manager/services/service/src/ |
H A D | device_manager_service.cpp | 1048 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 D | ipc_cmd_parser.cpp | 831 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 D | device_manager_impl.cpp | 1352 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
|