/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/ |
D | creds_manager_test.cpp | 129 AddIntToJson(json, FIELD_OS_ACCOUNT_ID, TEST_AUTH_OS_ACCOUNT_ID); in OnBindRequest() 141 AddIntToJson(json, FIELD_OS_ACCOUNT_ID, TEST_AUTH_OS_ACCOUNT_ID); in OnAuthRequest() 641 (void)AddIntToJson(json, FIELD_OS_ACCOUNT_ID, DEFAULT_OS_ACCOUNT); 653 (void)AddIntToJson(json, FIELD_OS_ACCOUNT_ID, DEFAULT_OS_ACCOUNT); 667 (void)AddIntToJson(json, FIELD_OS_ACCOUNT_ID, DEFAULT_OS_ACCOUNT); 680 (void)AddIntToJson(json, FIELD_OS_ACCOUNT_ID, DEFAULT_OS_ACCOUNT); 694 (void)AddIntToJson(json, FIELD_OS_ACCOUNT_ID, DEFAULT_OS_ACCOUNT); 709 (void)AddIntToJson(json, FIELD_OS_ACCOUNT_ID, DEFAULT_OS_ACCOUNT); 724 (void)AddIntToJson(json, FIELD_OS_ACCOUNT_ID, DEFAULT_OS_ACCOUNT); 740 (void)AddIntToJson(json, FIELD_OS_ACCOUNT_ID, DEFAULT_OS_ACCOUNT); [all …]
|
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/ |
D | compatible_auth_sub_session_util.c | 71 (void)GetIntFromJson(confirmationJson, FIELD_OS_ACCOUNT_ID, &osAccountId); in CombineAuthConfirmData() 77 if (AddIntToJson(dataFromClient, FIELD_OS_ACCOUNT_ID, osAccountId) != HC_SUCCESS) { in CombineAuthConfirmData()
|
D | compatible_auth_sub_session.c | 291 if (GetIntFromJson(jsonParams, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in CreateClientAuthSubSession()
|
/base/security/device_auth/services/ |
D | device_auth.c | 222 if (GetIntFromJson(context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in AddGroupInfoToContextByDb() 253 if (GetIntFromJson(context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in AddDevInfoToContextByDb() 309 if (AddIntToJson(context, FIELD_OS_ACCOUNT_ID, osAccountId) != HC_SUCCESS) { in AddClientReqInfoToContext() 527 (void)GetIntFromJson(context, FIELD_OS_ACCOUNT_ID, &osAccountId); in AddServerReqInfoToContext() 532 if (AddIntToJson(context, FIELD_OS_ACCOUNT_ID, osAccountId) != HC_SUCCESS) { in AddServerReqInfoToContext() 701 if (AddIntToJson(context, FIELD_OS_ACCOUNT_ID, osAccountId) != HC_SUCCESS) { in BuildClientAuthContext() 781 (void)GetIntFromJson(context, FIELD_OS_ACCOUNT_ID, &osAccountId); in BuildServerAuthContext() 804 if (AddIntToJson(context, FIELD_OS_ACCOUNT_ID, osAccountId) != HC_SUCCESS) { in BuildServerAuthContext()
|
/base/security/device_auth/services/creds_manager/src/ |
D | creds_manager.c | 216 if (GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in CheckAndGetP2pCredInfo() 312 if (GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in GenerateKeyAliasInIso() 526 if (GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in GeneratePskAliasAndCheckExist() 696 if (GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in GetCredInfosForGroups() 829 if (GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in GetCredInfoByPeerCert() 858 if (GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in GetSharedSecretByPeerCert()
|
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/ |
D | pake_v2_auth_task_test.cpp | 218 ret = AddIntToJson(in, FIELD_OS_ACCOUNT_ID, 0); 233 ret = AddIntToJson(in, FIELD_OS_ACCOUNT_ID, 0); 250 ret = AddIntToJson(in, FIELD_OS_ACCOUNT_ID, 0);
|
D | account_related_group_auth_dir_test.cpp | 258 (void)AddIntToJson(authParam, FIELD_OS_ACCOUNT_ID, 0);
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
D | dev_session_util.c | 51 if (GetIntFromJson(context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in GetPdidByContext() 221 if (GetIntFromJson(context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in SetPeerAuthIdByDb() 391 if (GetIntFromJson(context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in CheckPeerPkInfoForPdid()
|
D | dev_session_v2.c | 133 if (GetIntFromJson(impl->context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in CmdSaveTrustedInfoGenerator() 165 if (GetIntFromJson(impl->context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in CmdMkAgreeGenerator() 553 if (GetIntFromJson(context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in GetPeerCertInfo() 1020 if (GetIntFromJson(impl->context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in AddAuthInfoToContextByDb() 1109 if (GetIntFromJson(impl->context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in AddAuthInfoToContextByCert()
|
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/ |
D | peer_to_peer_group.c | 337 if (GetIntFromJson(jsonParams, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in HandleLocalUnbind() 397 if (GetIntFromJson(jsonParams, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in CheckDeletePeerStatus() 471 AddIntToJson(jsonParams, FIELD_OS_ACCOUNT_ID, osAccountId); in DeleteMemberFromGroup()
|
/base/security/device_auth/interfaces/inner_api/ |
D | device_auth.h | 67 #define FIELD_OS_ACCOUNT_ID "osAccountId" macro
|
/base/security/device_auth/services/session_manager/src/session/ |
D | dev_session_fwk.c | 315 if (GetIntFromJson(impl->context, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in CombindServerBindParams() 319 if (AddIntToJson(receviedMsg, FIELD_OS_ACCOUNT_ID, osAccountId) != HC_SUCCESS) { in CombindServerBindParams()
|
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
D | mk_agree.c | 244 if (AddIntToJson(json, FIELD_OS_ACCOUNT_ID, params->osAccountId) != HC_SUCCESS) { in InitMkAgreeTask()
|
/base/security/device_auth/services/creds_manager/src/account_related/ |
D | account_related_creds_manager.c | 375 if (GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in GenerateAuthTokenByDevType() 642 if (GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in GetAccountSymCredInfoByPeerUrl()
|
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/ |
D | account_related_group_auth.c | 466 if (GetIntFromJson(dataFromClient, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in AddSelfAccountInfoForServer() 589 if (GetIntFromJson(authParam, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in AddTrustedDeviceForAccount()
|
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/ |
D | account_unrelated_group_auth.c | 401 if (GetIntFromJson(dataFromClient, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in GetAuthParamsVecForServer()
|
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/ |
D | compatible_bind_sub_session.c | 43 if (GetIntFromJson(jsonParams, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in CheckInvitePeer() 115 if (GetIntFromJson(params, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in CreateBaseBindSubSession()
|
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/ |
D | pake_v2_auth_task_common.c | 405 GOTO_IF_ERR(GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, ¶ms->osAccountId)); in InitPakeAuthParams()
|
/base/security/device_auth/services/mk_agree/src/ |
D | mk_agree_task.c | 599 if (GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &task->osAccountId) != HC_SUCCESS) { in InitTaskParams()
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
D | deviceauth_standard_test.cpp | 178 AddIntToJson(json, FIELD_OS_ACCOUNT_ID, TEST_AUTH_OS_ACCOUNT_ID); in OnBindRequest() 190 AddIntToJson(json, FIELD_OS_ACCOUNT_ID, TEST_AUTH_OS_ACCOUNT_ID); in OnAuthRequest()
|