Home
last modified time | relevance | path

Searched refs:FIELD_OS_ACCOUNT_ID (Results 1 – 20 of 20) sorted by relevance

/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
Dcreds_manager_test.cpp129 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/
Dcompatible_auth_sub_session_util.c71 (void)GetIntFromJson(confirmationJson, FIELD_OS_ACCOUNT_ID, &osAccountId); in CombineAuthConfirmData()
77 if (AddIntToJson(dataFromClient, FIELD_OS_ACCOUNT_ID, osAccountId) != HC_SUCCESS) { in CombineAuthConfirmData()
Dcompatible_auth_sub_session.c291 if (GetIntFromJson(jsonParams, FIELD_OS_ACCOUNT_ID, &osAccountId) != HC_SUCCESS) { in CreateClientAuthSubSession()
/base/security/device_auth/services/
Ddevice_auth.c222 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/
Dcreds_manager.c216 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/
Dpake_v2_auth_task_test.cpp218 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);
Daccount_related_group_auth_dir_test.cpp258 (void)AddIntToJson(authParam, FIELD_OS_ACCOUNT_ID, 0);
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_util.c51 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()
Ddev_session_v2.c133 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/
Dpeer_to_peer_group.c337 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/
Ddevice_auth.h67 #define FIELD_OS_ACCOUNT_ID "osAccountId" macro
/base/security/device_auth/services/session_manager/src/session/
Ddev_session_fwk.c315 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/
Dmk_agree.c244 if (AddIntToJson(json, FIELD_OS_ACCOUNT_ID, params->osAccountId) != HC_SUCCESS) { in InitMkAgreeTask()
/base/security/device_auth/services/creds_manager/src/account_related/
Daccount_related_creds_manager.c375 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/
Daccount_related_group_auth.c466 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/
Daccount_unrelated_group_auth.c401 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/
Dcompatible_bind_sub_session.c43 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/
Dpake_v2_auth_task_common.c405 GOTO_IF_ERR(GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &params->osAccountId)); in InitPakeAuthParams()
/base/security/device_auth/services/mk_agree/src/
Dmk_agree_task.c599 if (GetIntFromJson(in, FIELD_OS_ACCOUNT_ID, &task->osAccountId) != HC_SUCCESS) { in InitTaskParams()
/base/security/device_auth/test/unittest/deviceauth/source/
Ddeviceauth_standard_test.cpp178 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()