Searched refs:isDeviceLevel (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/ |
H A D | compatible_auth_sub_session_common.c | 38 if (!isDeviceLevel || !isClient) { 71 static void GetAccountUnrelatedCandidateGroups(int32_t osAccountId, bool isDeviceLevel, bool isClie… in GetAccountUnrelatedCandidateGroups() argument 75 if (!isDeviceLevel || !isClient) { in GetAccountUnrelatedCandidateGroups() 90 bool isDeviceLevel = false; in GetCandidateGroups() local 92 (void)GetBoolFromJson(param, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in GetCandidateGroups() 97 if (isDeviceLevel && isClient) { in GetCandidateGroups() 100 GetAccountRelatedCandidateGroups(osAccountId, param, isDeviceLevel, isClient, vec); in GetCandidateGroups() 101 GetAccountUnrelatedCandidateGroups(osAccountId, isDeviceLevel, isClient, vec); in GetCandidateGroups() 677 bool isDeviceLevel = false; in AddGroupAuthTransmitData() local 679 (void)GetBoolFromJson(authParam, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in AddGroupAuthTransmitData() [all …]
|
/ohos5.0/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_group.c | 27 int32_t osAccountId, const CJson *in, bool isDeviceLevel, GroupEntryVec *vec) in GetAccountRelatedCandidateGroups() argument 34 if (!isDeviceLevel) { in GetAccountRelatedCandidateGroups() 59 static int32_t GetAccountUnrelatedCandidateGroups(int32_t osAccountId, bool isDeviceLevel, GroupEnt… 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() [all …]
|
/ohos5.0/base/security/device_auth/services/creds_manager/src/ |
H A D | creds_manager.c | 29 bool isDeviceLevel = false; in IsDeviceLevelAuth() local 30 (void)GetBoolFromJson(context, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in IsDeviceLevelAuth() 31 return isDeviceLevel; in IsDeviceLevelAuth()
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/ |
H A D | dev_session_fwk.c | 44 bool isDeviceLevel = false; in StartV1Session() local 46 (void)GetBoolFromJson(impl->context, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in StartV1Session() 51 if (isDeviceLevel && res == HC_ERR_NO_CANDIDATE_GROUP) { in StartV1Session() 306 bool isDeviceLevel = false; in StartSession() local 309 (void)GetBoolFromJson(impl->context, FIELD_IS_DEVICE_LEVEL, &isDeviceLevel); in StartSession() 312 && (res != HC_ERR_NO_CANDIDATE_GROUP || !isDeviceLevel)) { in StartSession()
|