Home
last modified time | relevance | path

Searched refs:FIELD_USER_TYPE (Results 1 – 9 of 9) sorted by relevance

/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_common.c167 (void)GetIntFromJson(jsonParams, FIELD_USER_TYPE, &userType); in AddAuthIdAndUserTypeIfValidOrDefault()
187 if (AddIntToJson(params, FIELD_USER_TYPE, userType) != HC_SUCCESS) { in AddAuthIdAndUserTypeIfValidOrDefault()
216 (void)GetIntFromJson(jsonParams, FIELD_USER_TYPE, &userType); in AddUserTypeIfValidOrDefault()
221 if (AddIntToJson(params, FIELD_USER_TYPE, userType) != HC_SUCCESS) { in AddUserTypeIfValidOrDefault()
292 if (AddIntToJson(params, FIELD_USER_TYPE, devAuthParams->devType) != HC_SUCCESS) { in AddDevInfoToParams()
379 if (GetIntFromJson(session->params, FIELD_USER_TYPE, &userType) != HC_SUCCESS) { in AddGroupAndDevInfoToParams()
Dcompatible_bind_sub_session_util.c51 if (GetIntFromJson(returnData, FIELD_USER_TYPE, &userType) == HC_SUCCESS) { in AddUserTypeIfExistAndValid()
56 if (AddIntToJson(jsonParams, FIELD_USER_TYPE, userType) != HC_SUCCESS) { in AddUserTypeIfExistAndValid()
Dcompatible_bind_sub_session.c433 (void)GetIntFromJson(session->params, FIELD_USER_TYPE, &userType); in AddGroupAndLocalDevIfNotExist()
/base/security/device_auth/interfaces/inner_api/
Ddevice_auth.h55 #define FIELD_USER_TYPE "userType" macro
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c436 if (AddIntToJson(json, FIELD_USER_TYPE, userType) != HC_SUCCESS) { in AddUserTypeToReturn()
585 (void)GetIntFromJson(jsonParams, FIELD_USER_TYPE, &userType); in CheckUserTypeIfExist()
787 (void)GetIntFromJson(jsonParams, FIELD_USER_TYPE, &userType); in AddUserTypeToParamsOrDefault()
1077 (void)GetIntFromJson(jsonParams, FIELD_USER_TYPE, &userType); in ProcessKeyPair()
/base/security/device_auth/services/
Ddevice_auth.c196 (void)GetIntFromJson(context, FIELD_USER_TYPE, &userType); in AddDevInfoToContextByInput()
212 if (AddIntToJson(context, FIELD_USER_TYPE, userType) != HC_SUCCESS) { in AddDevInfoToContextByInput()
278 if (AddIntToJson(context, FIELD_USER_TYPE, devAuthParams->devType) != HC_SUCCESS) { in AddDevInfoToContextByDb()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/
Daccount_unrelated_group_auth.c124 if (AddIntToJson(returnToSelf, FIELD_USER_TYPE, userType) != HC_SUCCESS) { in AddSelfTypeToSelfData()
/base/security/device_auth/services/group_manager/src/group_operation/peer_to_peer_group/
Dpeer_to_peer_group.c292 if (AddIntToJson(jsonParams, FIELD_USER_TYPE, deviceInfo->devType) != HC_SUCCESS) { in AddAuthIdAndUserTypeToParams()
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_v2.c87 if (GetIntFromJson(impl->context, FIELD_USER_TYPE, &userType) != HC_SUCCESS) { in CmdExchangePkGenerator()
110 if (GetIntFromJson(impl->context, FIELD_USER_TYPE, &userType) != HC_SUCCESS) { in CmdImportAuthCodeGenerator()
141 (void)GetIntFromJson(impl->context, FIELD_USER_TYPE, &userType); in CmdSaveTrustedInfoGenerator()