Home
last modified time | relevance | path

Searched refs:localUdid (Results 1 – 25 of 25) sorted by relevance

/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetpkinfolist_fuzzer/
Ddevauthservgetpkinfolist_fuzzer.cpp72 char localUdid[INPUT_UDID_LEN] = { 0 }; in GenerateReqJson() local
73 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in GenerateReqJson()
74 AddStringToJson(json, FIELD_UDID, localUdid); in GenerateReqJson()
88 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoGetPkInfoList() local
89 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoGetPkInfoList()
90 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoGetPkInfoList()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservisdeviceingroup_fuzzer/
Ddevauthservisdeviceingroup_fuzzer.cpp80 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoIsDeviceInGroup() local
81 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoIsDeviceInGroup()
82 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoIsDeviceInGroup()
90 gmInstance->isDeviceInGroup(0, appId.c_str(), g_groupId, localUdid); in FuzzDoIsDeviceInGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetdeviceinfobyid_fuzzer/
Ddevauthservgetdeviceinfobyid_fuzzer.cpp80 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoGetDeviceInfoById() local
81 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoGetDeviceInfoById()
82 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoGetDeviceInfoById()
91 gmInstance->getDeviceInfoById(0, appId.c_str(), localUdid, g_groupId, &returnDeviceInfo); in FuzzDoGetDeviceInfoById()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetrelatedgroups_fuzzer/
Ddevauthservgetrelatedgroups_fuzzer.cpp80 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoGetRelatedGroups() local
81 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoGetRelatedGroups()
82 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoGetRelatedGroups()
92 gmInstance->getRelatedGroups(0, appId.c_str(), localUdid, &returnGroupVec, &groupNum); in FuzzDoGetRelatedGroups()
/base/security/device_auth/services/group_auth/src/group_auth_manager/
Dgroup_auth_data_operation.c240 char *localUdid = (char *)HcMalloc(INPUT_UDID_LEN, 0); in GaGetLocalDeviceInfo() local
241 if (localUdid == NULL) { in GaGetLocalDeviceInfo()
245 int32_t res = HcGetUdid((uint8_t *)localUdid, INPUT_UDID_LEN); in GaGetLocalDeviceInfo()
248 HcFree(localUdid); in GaGetLocalDeviceInfo()
251 PRINT_SENSITIVE_DATA("SelfUdid", localUdid); in GaGetLocalDeviceInfo()
252 res = GaGetTrustedDeviceEntryById(osAccountId, localUdid, true, groupId, localAuthInfo); in GaGetLocalDeviceInfo()
253 HcFree(localUdid); in GaGetLocalDeviceInfo()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcheckaccesstogroup_fuzzer/
Ddevauthservcheckaccesstogroup_fuzzer.cpp80 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoCheckAccessToGroup() local
81 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoCheckAccessToGroup()
82 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoCheckAccessToGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcreategroup_fuzzer/
Ddevauthservcreategroup_fuzzer.cpp80 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoCreateGroup() local
81 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoCreateGroup()
82 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoCreateGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetjoinedgroups_fuzzer/
Ddevauthservgetjoinedgroups_fuzzer.cpp80 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoGetJoinedGroups() local
81 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoGetJoinedGroups()
82 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoGetJoinedGroups()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgettrusteddevices_fuzzer/
Ddevauthservgettrusteddevices_fuzzer.cpp80 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoGetTrustedDevices() local
81 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoGetTrustedDevices()
82 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoGetTrustedDevices()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetgroupinfobyid_fuzzer/
Ddevauthservgetgroupinfobyid_fuzzer.cpp80 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoGetGroupInfoById() local
81 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoGetGroupInfoById()
82 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoGetGroupInfoById()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletegroup_fuzzer/
Ddevauthservdeletegroup_fuzzer.cpp80 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoDeleteGroup() local
81 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoDeleteGroup()
82 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoDeleteGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmultimemberstogroup_fuzzer/
Ddevauthservaddmultimemberstogroup_fuzzer.cpp87 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoAddMultiMembersToGroup() local
88 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoAddMultiMembersToGroup()
89 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoAddMultiMembersToGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservauthdevice_fuzzer/
Ddevauthservauthdevice_fuzzer.cpp90 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoAuthDevice() local
91 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoAuthDevice()
92 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoAuthDevice()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmembertogroup_fuzzer/
Ddevauthservaddmembertogroup_fuzzer.cpp89 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoAddMemberToGroup() local
90 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoAddMemberToGroup()
91 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoAddMemberToGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetgroupinfo_fuzzer/
Ddevauthservgetgroupinfo_fuzzer.cpp88 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoGetGroupInfo() local
89 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoGetGroupInfo()
90 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoGetGroupInfo()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletemultimembersfromgroup_fuzzer/
Ddevauthservdeletemultimembersfromgroup_fuzzer.cpp88 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoDeleteMultiMembersFromGroup() local
89 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoDeleteMultiMembersFromGroup()
90 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoDeleteMultiMembersFromGroup()
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletememberfromgroup_fuzzer/
Ddevauthservdeletememberfromgroup_fuzzer.cpp88 char localUdid[INPUT_UDID_LEN] = { 0 }; in FuzzDoDeleteMemberFromGroup() local
89 HcGetUdid(reinterpret_cast<uint8_t *>(localUdid), INPUT_UDID_LEN); in FuzzDoDeleteMemberFromGroup()
90 AddStringToJson(createJson, FIELD_DEVICE_ID, localUdid); in FuzzDoDeleteMemberFromGroup()
/base/security/access_token/services/tokensyncmanager/src/service/
Dtoken_sync_manager_service.cpp120 std::string localUdid = ConstantCommon::GetLocalDeviceId(); in DeleteRemoteHapTokenInfo() local
122 if (device.deviceId.uniqueDeviceId == localUdid) { in DeleteRemoteHapTokenInfo()
145 std::string localUdid = ConstantCommon::GetLocalDeviceId(); in UpdateRemoteHapTokenInfo() local
147 if (device.deviceId.uniqueDeviceId == localUdid) { in UpdateRemoteHapTokenInfo()
/base/security/access_token/services/tokensyncmanager/src/remote/
Dremote_command_executor.cpp76 std::string localUdid = ConstantCommon::GetLocalDeviceId(); in ProcessOneCommand() local
77 if (targetNodeId_ == localUdid) { in ProcessOneCommand()
Dsoft_bus_manager.cpp325 std::string localUdid = ConstantCommon::GetLocalDeviceId(); in GetUniqueDeviceIdByNodeId() local
326 if (udid == localUdid) { in GetUniqueDeviceIdByNodeId()
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/
Dpeer_to_peer_group.c273 char localUdid[INPUT_UDID_LEN] = { 0 }; in AddAuthIdAndUserTypeToParams() local
274 int32_t res = HcGetUdid((uint8_t *)localUdid, INPUT_UDID_LEN); in AddAuthIdAndUserTypeToParams()
281 if (GetTrustedDevInfoById(osAccountId, localUdid, true, groupId, deviceInfo) != HC_SUCCESS) { in AddAuthIdAndUserTypeToParams()
/base/security/device_auth/test/unittest/deviceauth/source/
Dgroup_operation_common_test.cpp233 char localUdid[INPUT_UDID_LEN] = { 0 }; variable
234 (void)HcGetUdid((uint8_t *)localUdid, INPUT_UDID_LEN);
235 int32_t ret = AssertPeerDeviceNotSelf(localUdid);
/base/security/device_auth/services/group_manager/src/group_operation/across_account_group/
Dacross_account_group.c96 char localUdid[INPUT_UDID_LEN] = { 0 }; in AddCredTypeToParamsFromIdenticalGroup() local
97 int32_t res = HcGetUdid((uint8_t *)localUdid, INPUT_UDID_LEN); in AddCredTypeToParamsFromIdenticalGroup()
106 params.udid = localUdid; in AddCredTypeToParamsFromIdenticalGroup()
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c152 char localUdid[INPUT_UDID_LEN] = { 0 }; in IsLocalDevice() local
153 int32_t res = HcGetUdid((uint8_t *)localUdid, INPUT_UDID_LEN); in IsLocalDevice()
158 return (strcmp(localUdid, udid) == 0); in IsLocalDevice()
/base/security/access_token/services/tokensyncmanager/test/unittest/token_sync_service/
Dtoken_sync_service_test.cpp1339 std::string localUdid = ConstantCommon::GetLocalDeviceId(); variable
1342 …DeviceInfoManager::GetInstance().AddDeviceInfo(networkId, universallyUniqueId, localUdid, deviceNa…