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/ |
D | compatible_bind_sub_session_common.c | 167 (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()
|
D | compatible_bind_sub_session_util.c | 51 if (GetIntFromJson(returnData, FIELD_USER_TYPE, &userType) == HC_SUCCESS) { in AddUserTypeIfExistAndValid() 56 if (AddIntToJson(jsonParams, FIELD_USER_TYPE, userType) != HC_SUCCESS) { in AddUserTypeIfExistAndValid()
|
D | compatible_bind_sub_session.c | 433 (void)GetIntFromJson(session->params, FIELD_USER_TYPE, &userType); in AddGroupAndLocalDevIfNotExist()
|
/base/security/device_auth/interfaces/inner_api/ |
D | device_auth.h | 55 #define FIELD_USER_TYPE "userType" macro
|
/base/security/device_auth/services/group_manager/src/group_operation/ |
D | group_operation_common.c | 436 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/ |
D | device_auth.c | 196 (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/ |
D | account_unrelated_group_auth.c | 124 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/ |
D | peer_to_peer_group.c | 292 if (AddIntToJson(jsonParams, FIELD_USER_TYPE, deviceInfo->devType) != HC_SUCCESS) { in AddAuthIdAndUserTypeToParams()
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
D | dev_session_v2.c | 87 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()
|