/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetregisterinfo_fuzzer/ |
D | devauthservgetregisterinfo_fuzzer.cpp | 29 AddStringToJson(json, FIELD_USER_ID, "123"); in GenerateReqJson()
|
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/ |
D | account_related_group_auth.c | 80 const char *peerUserId = GetStringFromJson(sendToSelf, FIELD_USER_ID); in GetUserIdForAccount() 85 if (AddStringToJson(returnToSelf, FIELD_USER_ID, peerUserId) != HC_SUCCESS) { in GetUserIdForAccount() 172 const char *peerUserId = GetStringFromJson(param, FIELD_USER_ID); in GetAccountCandidateGroup() 338 const char *peerUserId = GetStringFromJson(receiveData, FIELD_USER_ID); in GetAccountReqParams() 344 if (AddStringToJson(reqParam, FIELD_USER_ID, peerUserId) != HC_SUCCESS) { in GetAccountReqParams() 381 const char *peerUserId = GetStringFromJson(data, FIELD_USER_ID); in QueryAuthGroupForServer() 595 const char *peerUserId = GetStringFromJson(sendToSelf, FIELD_USER_ID); in PrepareTrustedDeviceInfo()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/database/ |
D | token_field_const.h | 27 const static std::string FIELD_USER_ID; variable
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/ |
D | token_field_const.cpp | 21 const std::string TokenFiledConst::FIELD_USER_ID = "user_id"; member in OHOS::Security::AccessToken::TokenFiledConst
|
D | sqlite_storage.cpp | 59 TokenFiledConst::FIELD_TOKEN_ID, TokenFiledConst::FIELD_USER_ID, in SqliteStorage() 296 .append(TokenFiledConst::FIELD_USER_ID) in CreateHapTokenInfoTable()
|
/base/security/device_auth/services/authenticators/src/account_related/ |
D | account_module.c | 138 const char *userId = GetStringFromJson(in, FIELD_USER_ID); in ProcessAsyTokens() 170 const char *userId = GetStringFromJson(in, FIELD_USER_ID); in ProcessSymTokens()
|
/base/security/device_auth/services/group_manager/src/group_operation/identical_account_group/ |
D | identical_account_group.c | 146 const char *userId = GetStringFromJson(jsonParams, FIELD_USER_ID); in ImportSelfToken() 167 if (AddStringToJson(credJson, FIELD_USER_ID, userId) != HC_SUCCESS) { in ImportSelfToken() 190 const char *userId = GetStringFromJson(jsonParams, FIELD_USER_ID); in GenerateAddTokenParams() 204 if (AddStringToJson(addParams, FIELD_USER_ID, userId) != HC_SUCCESS) { in GenerateAddTokenParams() 217 if (AddStringToJson(delParams, FIELD_USER_ID, StringGet(&entry->userId)) != HC_SUCCESS) { in GenerateDelTokenParams() 480 const char *userId = GetStringFromJson(deviceInfo, FIELD_USER_ID); in CheckUserIdValid()
|
/base/security/access_token/services/common/database/test/unittest/ |
D | database_test.cpp | 206 genericValues.Put(TokenFiledConst::FIELD_USER_ID, 100); 258 genericValues.Put(TokenFiledConst::FIELD_USER_ID, 100); 278 conditions.Put(TokenFiledConst::FIELD_USER_ID, 100); 362 conditions.Put(TokenFiledConst::FIELD_USER_ID, 100); 391 modifyColumns.emplace_back(TokenFiledConst::FIELD_USER_ID);
|
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/ |
D | pake_v2_auth_client_task.c | 59 …GOTO_IF_ERR(AddStringToJson(sendToPeer, FIELD_USER_ID, (const char *)innerTask->params.userIdSelf)… in AsyAuthClientStepOne() 141 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in AsyAuthClientStepTwo() 193 GOTO_IF_ERR(AddStringToJson(sendToSelf, FIELD_USER_ID, (const char *)task->params.userIdPeer)); in SendFinalToOut()
|
D | pake_v2_auth_server_task.c | 90 GOTO_ERR_AND_SET_RET(AddStringToJson(sendToPeer, FIELD_USER_ID, in PrepareAsyServerStepOneData() 123 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in AsyAuthServerStepOne() 184 GOTO_IF_ERR(AddStringToJson(sendToSelf, FIELD_USER_ID, (const char *)task->params.userIdPeer)); in SendFinalToOut()
|
/base/security/device_auth/services/group_manager/src/group_operation/across_account_group/ |
D | across_account_group.c | 223 const char *userId = GetStringFromJson(jsonParams, FIELD_USER_ID); in AssertSharedUserIdValid() 261 const char *userId = GetStringFromJson(deviceInfo, FIELD_USER_ID); in GenerateAddTokenParams() 275 if (AddStringToJson(addParams, FIELD_USER_ID, userId) != HC_SUCCESS) { in GenerateAddTokenParams() 288 if (AddStringToJson(delParams, FIELD_USER_ID, StringGet(&entry->userId)) != HC_SUCCESS) { in GenerateDelTokenParams() 485 const char *userId = GetStringFromJson(deviceInfo, FIELD_USER_ID); in CheckUserIdValid()
|
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/ |
D | iso_auth_server_task.c | 41 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in ParseIsoAuthClientBeginMsg() 115 if (AddStringToJson(sendToPeer, FIELD_USER_ID, params->userIdSelf) != CLIB_SUCCESS) { in PackIsoAuthServerGetTokenMsg()
|
D | iso_auth_client_task.c | 94 if (AddStringToJson(sendToPeer, FIELD_USER_ID, params->userIdSelf) != CLIB_SUCCESS) { in PackIsoAuthClientBeginMsg() 168 const char *userIdPeer = GetStringFromJson(in, FIELD_USER_ID); in ParseIsoAuthServerGetTokenMsg()
|
D | iso_auth_task_common.c | 397 if (AddStringToJson(sendToSelf, FIELD_USER_ID, params->userIdPeer) != CLIB_SUCCESS) { in AuthIsoSendFinalToOut()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | hap_token_info_inner.cpp | 99 outGenericValues.Put(TokenFiledConst::FIELD_USER_ID, tokenInfoBasic_.userID); in TranslationIntoGenericValues() 113 tokenInfoBasic_.userID = inGenericValues.GetInt(TokenFiledConst::FIELD_USER_ID); in RestoreHapTokenBasicInfo()
|
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/ |
D | asy_token_manager.c | 76 const char *userId = GetStringFromJson(pkInfoJson, FIELD_USER_ID); in GeneratePkInfoFromJson() 395 const char *userId = GetStringFromJson(pkInfoJson, FIELD_USER_ID); in GenerateServerPkAlias() 850 const char *userId = GetStringFromJson(pkInfoJson, FIELD_USER_ID); in CheckDevicePk() 898 const char *userIdFromPk = GetStringFromJson(pkInfoJson, FIELD_USER_ID); in CheckUserId() 911 const char *userId = GetStringFromJson(in, FIELD_USER_ID); in CheckCredValidity() 1004 const char *userId = GetStringFromJson(in, FIELD_USER_ID); in GetRegisterProof() 1045 GOTO_ERR_AND_SET_RET(AddStringToJson(out, FIELD_USER_ID, userId), ret); in GetRegisterProof()
|
D | sym_token_manager.c | 80 const char *userId = GetStringFromJson(tokenJson, FIELD_USER_ID); in CreateSymTokenByJson() 228 if (AddStringToJson(tokenJson, FIELD_USER_ID, token->userId) != HC_SUCCESS) { in GenerateJsonFromToken()
|
/base/security/device_auth/interfaces/innerkits/ |
D | device_auth.h | 56 #define FIELD_USER_ID "userId" macro
|
/base/security/device_auth/services/group_manager/src/group_operation/ |
D | group_operation_common.c | 404 if (AddStringToJson(json, FIELD_USER_ID, userId) != HC_SUCCESS) { in AddUserIdToReturnIfAccountGroup() 845 const char *userId = GetStringFromJson(jsonParams, FIELD_USER_ID); in AssertUserIdExist() 1145 const char *oriUserId = GetStringFromJson(jsonParams, FIELD_USER_ID); in GetUserIdFromJson()
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | deviceauth_standard_test.cpp | 332 AddStringToJson(json, FIELD_USER_ID, TEST_USER_ID); in CreateDemoIdenticalAccountGroup() 363 AddStringToJson(json, FIELD_USER_ID, TEST_USER_ID_AUTH); in CreateDemoSymClientIdenticalAccountGroup() 392 AddStringToJson(json, FIELD_USER_ID, TEST_USER_ID_AUTH); in CreateDemoSymServerIdenticalAccountGroup()
|
/base/security/access_token/services/accesstokenmanager/ |
D | accesstoken_manager_service.map | 286 "OHOS::Security::AccessToken::TokenFiledConst::FIELD_USER_ID";
|