/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetpkinfolist_fuzzer/ |
D | devauthservgetpkinfolist_fuzzer.cpp | 72 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/ |
D | devauthservisdeviceingroup_fuzzer.cpp | 80 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/ |
D | devauthservgetdeviceinfobyid_fuzzer.cpp | 80 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/ |
D | devauthservgetrelatedgroups_fuzzer.cpp | 80 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/ |
D | group_auth_data_operation.c | 240 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/ |
D | devauthservcheckaccesstogroup_fuzzer.cpp | 80 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/ |
D | devauthservcreategroup_fuzzer.cpp | 80 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/ |
D | devauthservgetjoinedgroups_fuzzer.cpp | 80 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/ |
D | devauthservgettrusteddevices_fuzzer.cpp | 80 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/ |
D | devauthservgetgroupinfobyid_fuzzer.cpp | 80 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/ |
D | devauthservdeletegroup_fuzzer.cpp | 80 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/ |
D | devauthservaddmultimemberstogroup_fuzzer.cpp | 87 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/ |
D | devauthservauthdevice_fuzzer.cpp | 90 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/ |
D | devauthservaddmembertogroup_fuzzer.cpp | 89 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/ |
D | devauthservgetgroupinfo_fuzzer.cpp | 88 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/ |
D | devauthservdeletemultimembersfromgroup_fuzzer.cpp | 88 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/ |
D | devauthservdeletememberfromgroup_fuzzer.cpp | 88 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/ |
D | token_sync_manager_service.cpp | 120 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/ |
D | remote_command_executor.cpp | 76 std::string localUdid = ConstantCommon::GetLocalDeviceId(); in ProcessOneCommand() local 77 if (targetNodeId_ == localUdid) { in ProcessOneCommand()
|
D | soft_bus_manager.cpp | 325 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/ |
D | peer_to_peer_group.c | 273 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/ |
D | group_operation_common_test.cpp | 233 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/ |
D | across_account_group.c | 96 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/ |
D | group_operation_common.c | 152 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/ |
D | token_sync_service_test.cpp | 1339 std::string localUdid = ConstantCommon::GetLocalDeviceId(); variable 1342 …DeviceInfoManager::GetInstance().AddDeviceInfo(networkId, universallyUniqueId, localUdid, deviceNa…
|