Home
last modified time | relevance | path

Searched refs:isDeviceLevel (Results 1 - 4 of 4) sorted by relevance

/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/
H A Dcompatible_auth_sub_session_common.c34 static void GetAccountRelatedCandidateGroups(int32_t osAccountId, const CJson *param, bool isDeviceLevel, bool isClient, in GetAccountRelatedCandidateGroups() argument
38 if (!isDeviceLevel || !isClient) { in GetAccountRelatedCandidateGroups()
71 static void GetAccountUnrelatedCandidateGroups(int32_t osAccountId, bool isDeviceLevel, bool isClient, in GetAccountUnrelatedCandidateGroups() argument
76 if (!isDeviceLevel || !isClient) { in GetAccountUnrelatedCandidateGroups()
91 bool isDeviceLevel = false; in GetCandidateGroups() local
93 (void)GetBoolFromJson(param, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in GetCandidateGroups()
98 if (isDeviceLevel && isClient) { in GetCandidateGroups()
101 GetAccountRelatedCandidateGroups(osAccountId, param, isDeviceLevel, isClient, vec); in GetCandidateGroups()
102 GetAccountUnrelatedCandidateGroups(osAccountId, isDeviceLevel, isClient, vec); in GetCandidateGroups()
678 bool isDeviceLevel in AddGroupAuthTransmitData() local
[all...]
/base/security/device_auth/services/creds_manager/src/
H A Dcreds_manager.c29 bool isDeviceLevel = false; in IsDeviceLevelAuth() local
30 (void)GetBoolFromJson(context, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in IsDeviceLevelAuth()
31 return isDeviceLevel; in IsDeviceLevelAuth()
/base/security/device_auth/services/session_manager/src/session/
H A Ddev_session_fwk.c43 bool isDeviceLevel = false; in StartV1Session() local
45 (void)GetBoolFromJson(impl->context, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in StartV1Session()
50 if (isDeviceLevel && res == HC_ERR_NO_CANDIDATE_GROUP) { in StartV1Session()
246 bool isDeviceLevel = false; in StartSession() local
249 (void)GetBoolFromJson(impl->context, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in StartSession()
252 && (res != HC_ERR_NO_CANDIDATE_GROUP || !isDeviceLevel)) { in StartSession()
/base/security/device_auth/services/identity_manager/src/
H A Didentity_group.c27 int32_t osAccountId, const CJson *in, bool isDeviceLevel, GroupEntryVec *vec) in GetAccountRelatedCandidateGroups()
34 if (!isDeviceLevel) { in GetAccountRelatedCandidateGroups()
59 static int32_t GetAccountUnrelatedCandidateGroups(int32_t osAccountId, bool isDeviceLevel, GroupEntryVec *vec) in GetAccountUnrelatedCandidateGroups() argument
63 if (!isDeviceLevel) { in GetAccountUnrelatedCandidateGroups()
81 bool isDeviceLevel = false; in GetCandidateGroups() local
82 (void)GetBoolFromJson(in, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in GetCandidateGroups()
84 int32_t ret = GetAccountRelatedCandidateGroups(osAccountId, in, isDeviceLevel, groupEntryVec); in GetCandidateGroups()
89 ret = GetAccountUnrelatedCandidateGroups(osAccountId, isDeviceLevel, groupEntryVec); in GetCandidateGroups()
318 bool isDeviceLevel = false; in GetCredInfosByPeerIdentity() local
319 (void)GetBoolFromJson(in, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in GetCredInfosByPeerIdentity()
26 GetAccountRelatedCandidateGroups( int32_t osAccountId, const CJson *in, bool isDeviceLevel, GroupEntryVec *vec) GetAccountRelatedCandidateGroups() argument
[all...]

Completed in 5 milliseconds