Home
last modified time | relevance | path

Searched refs:userId_ (Results 1 – 25 of 45) sorted by relevance

12

/base/account/os_account/services/accountmgr/src/account_iam/
Daccount_iam_callback.cpp32 : userId_(userId), authType_(authType), innerCallback_(callback) in AuthCallback()
37 InnerAccountIAMManager::GetInstance().SetState(userId_, AFTER_OPEN_SESSION); in OnResult()
45 AccountInfoReport::ReportSecurityInfo("", userId_, ReportEvent::EVENT_LOGIN, -1); // -1:fail in OnResult()
51 InnerDomainAccountManager::GetInstance().AuthWithToken(userId_, token); in OnResult()
55 … AccountInfoReport::ReportSecurityInfo("", userId_, ReportEvent::EVENT_LOGIN, 0); // 0:success in OnResult()
61 InnerAccountIAMManager::GetInstance().ActivateUserKey(userId_, token, secret); in OnResult()
75 (void)IInnerOsAccountManager::GetInstance().SetOsAccountIsVerified(userId_, true); in OnResult()
77 AccountInfoReport::ReportSecurityInfo("", userId_, ReportEvent::EVENT_LOGIN, 0); // 0:success in OnResult()
91 : userId_(userId), credInfo_(credInfo), oldResult_(oldResult), idmCallback_(idmCallback) in IDMAuthCallback()
106 InnerAccountIAMManager::GetInstance().SetState(userId_, AFTER_OPEN_SESSION); in OnResult()
[all …]
/base/account/os_account/frameworks/account_iam/src/
Daccount_iam_callback_service.cpp26 : userId_(userId), callback_(callback) in IDMCallbackService()
45 AccountIAMClient::GetInstance().ClearCredential(userId_); in OnResult()
92 : userId_(userId), idmCallback_(callback) in DomainCredentialRecipient()
110 ErrCode errCode = DomainAccountClient::GetInstance().AuthUser(userId_, data, callback); in OnSetData()
118 : userId_(userId), innerInputerData_(inputerData) in IAMInputerData()
132 AccountIAMClient::GetInstance().SetCredential(userId_, data); in OnSetData()
136 : userId_(userId), innerInputer_(inputer) in IAMInputer()
148 IAMState state = AccountIAMClient::GetInstance().GetAccountState(userId_); in OnGetData()
150 authSubType = AccountIAMClient::GetInstance().GetAuthSubType(userId_); in OnGetData()
157 auto iamInputerData = std::make_shared<IAMInputerData>(userId_, inputerData); in OnGetData()
[all …]
/base/useriam/user_auth_framework/services/core/src/
Denrollment_impl.cpp31 EnrollmentImpl::EnrollmentImpl(int32_t userId, AuthType authType) : userId_(userId), authType_(auth… in EnrollmentImpl()
102 auto result = hdi->BeginEnrollmentV1_1(userId_, authToken_, param, info); in Start()
131 auto userInfo = UserIdmDatabase::Instance().GetSecUserInfo(userId_); in GetSecUserId()
142 IAM_LOGE("current user id %{public}d get fail", userId_); in GetSecUserId()
144 if (UserIdmDatabase::Instance().DeleteUserEnforce(userId_, credInfos) != SUCCESS) { in GetSecUserId()
161 auto result = hdi->UpdateEnrollmentResult(userId_, scheduleResult, resultInfo); in Update()
163 …OGE("hdi UpdateEnrollmentResult failed, err is %{public}d, userId is %{public}d", result, userId_); in Update()
167 IAM_LOGI("hdi UpdateEnrollmentResult success, userId is %{public}d", userId_); in Update()
183 info = Common::MakeShared<CredentialInfoImpl>(userId_, resultInfo.oldInfo); in Update()
204 auto result = hdi->CancelEnrollment(userId_); in Cancel()
Denrolled_info_impl.cpp21 EnrolledInfoImpl::EnrolledInfoImpl(int32_t userId, const HdiEnrolledInfo &info) : userId_(userId), … in EnrolledInfoImpl()
27 return userId_; in GetUserId()
Dsecure_user_info_impl.cpp23 : userId_(userId), subType_(subType), secUserId_(secUserId), enrolledInfos_(enrolledInfos) in SecureUserInfoImpl()
29 return userId_; in GetUserId()
Dcredential_info_impl.cpp21 CredentialInfoImpl::CredentialInfoImpl(int32_t userId, const HdiCredentialInfo &info) : userId_(use… in CredentialInfoImpl()
32 return userId_; in GetUserId()
Denrolled_info_impl.h36 int32_t userId_;
Dcredential_info_impl.h40 int32_t userId_;
Dsecure_user_info_impl.h37 int32_t userId_ {0};
Dauthentication_impl.cpp29 userId_(userId), in AuthenticationImpl()
86 .userId = userId_, in Start()
/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_subscribe_info.cpp25 : matchingSkills_(matchingSkills), priority_(0), userId_(UNDEFINED_USER), in CommonEventSubscribeInfo()
31 : priority_(0), userId_(UNDEFINED_USER), threadMode_(CommonEventSubscribeInfo::ASYNC) in CommonEventSubscribeInfo()
39 userId_ = commonEventSubscribeInfo.userId_; in CommonEventSubscribeInfo()
62 userId_ = userId; in SetUserId()
67 return userId_; in GetUserId()
120 if (!parcel.WriteInt32(userId_)) { in Marshalling()
155 userId_ = parcel.ReadInt32(); in ReadFromParcel()
/base/inputmethod/imf/services/src/
Dinput_method_system_ability.cpp143 userId_ = userIds[0]; in Init()
144 InputMethodSysEvent::GetInstance().SetUserId(userId_); in Init()
145 userSession_->UpdateCurrentUserId(userId_); in Init()
185 userId_ = MAIN_USER_ID; in Initialize()
240 clientInfo.userID = userId_; in GenerateClientInfo()
298 auto currentImeCfg = ImeCfgManager::GetInstance().GetCurrentImeCfg(userId_); in SetCoreAndAgent()
348 auto currentImeCfg = ImeCfgManager::GetInstance().GetCurrentImeCfg(userId_); in PanelStatusChange()
402 auto currentIme = ImeCfgManager::GetInstance().GetCurrentImeCfg(userId_)->bundleName; in OnSwitchInputMethod()
417 …int32_t ret = ImeInfoInquirer::GetInstance().GetImeInfo(userId_, switchInfo.bundleName, switchInfo… in OnSwitchInputMethod()
433 auto currentImeCfg = ImeCfgManager::GetInstance().GetCurrentImeCfg(userId_); in IsNeedSwitch()
[all …]
Dperuser_session.cpp44 PerUserSession::PerUserSession(int32_t userId) : userId_(userId), imsDeathRecipient_(new InputDeath… in PerUserSession()
207 IMSA_HILOGI("userId: %{public}d", userId_); in OnClientDied()
228 IMSA_HILOGI("user %{public}d ime died, restart!", userId_); in OnImsDied()
232 StartInputService(ImeInfoInquirer::GetInstance().GetStartedIme(userId_), true); in OnImsDied()
237 userId_ = userId; in UpdateCurrentUserId()
344 if (!StartInputService(ImeInfoInquirer::GetInstance().GetStartedIme(userId_), true)) { in OnStartInput()
401 sptr<IInputControlChannel> inputControlChannel = new InputControlChannelStub(userId_); in InitInputControlChannel()
408 inputControlChannel, ImeCfgManager::GetInstance().GetCurrentImeCfg(userId_)->imeId); in InitInputControlChannel()
Dinput_control_channel_stub.cpp29 userId_ = userId; in InputControlChannelStub()
/base/customization/enterprise_device_management/services/edm/include/connection/
Dienterprise_connection.h27 uint32_t userId) : want_(want), code_(code), userId_(userId) {}; in IEnterpriseConnection()
38 return userId_; in GetUserId()
43 uint32_t userId_; variable
/base/notification/distributed_notification_service/tools/test/mock/
Dmock_ans_manager_stub.cpp34 return userId_; in GetUserId()
44 userId_ = userId; in ShellDump()
Dmock_ans_manager_stub.h48 int32_t userId_; variable
/base/account/os_account/services/accountmgr/include/account_iam/
Daccount_iam_callback.h36 std::uint32_t userId_;
51 uint32_t userId_;
70 std::uint32_t userId_;
85 std::uint32_t userId_;
101 int32_t userId_;
116 int32_t userId_;
/base/account/os_account/services/accountmgr/src/
Dohos_account_data_deal.cpp110 {DATADEAL_JSON_KEY_USERID, accountInfo.userId_}, in SaveAccountInfo()
121 …std::string configFile = configFileDir_ + std::to_string(accountInfo.userId_) + ACCOUNT_CFG_FILE_N… in SaveAccountInfo()
125 …ReportOhosAccountOperationFail(accountInfo.userId_, OPERATION_OPEN_FILE_TO_WRITE, errno, configFil… in SaveAccountInfo()
131 …ReportOhosAccountOperationFail(accountInfo.userId_, OPERATION_OPEN_FILE_TO_WRITE, errno, configFil… in SaveAccountInfo()
137 …ReportOhosAccountOperationFail(accountInfo.userId_, OPERATION_OPEN_FILE_TO_WRITE, errno, configFil… in SaveAccountInfo()
143 …ReportOhosAccountOperationFail(accountInfo.userId_, OPERATION_OPEN_FILE_TO_WRITE, errno, configFil… in SaveAccountInfo()
152 …ReportOhosAccountOperationFail(accountInfo.userId_, OPERATION_CHANGE_MODE_FILE, errno, configFile); in SaveAccountInfo()
222 accountInfo.userId_ = userId; in GetAccountInfoFromJson()
247 accountInfo.userId_ = userId; in BuildJsonFileFromScratch()
/base/account/os_account/interfaces/innerkits/account_iam/native/include/
Daccount_iam_callback_service.h34 int32_t userId_;
75 int32_t userId_;
86 int32_t userId_;
99 int32_t userId_;
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_subscribe_info.cpp54 userId_ = userId; in AddAppUserId()
59 return userId_; in GetAppUserId()
/base/account/os_account/interfaces/innerkits/ohosaccount/native/include/
Daccount_info.h150 std::int32_t userId_; variable
155 userId_ = 0; in AccountInfo()
163 userId_ = 0; in AccountInfo()
/base/inputmethod/imf/services/include/
Dinput_control_channel_stub.h39 int32_t userId_;
/base/inputmethod/imf/services/dfx/src/
Dinputmethod_sysevent.cpp63 …HiSysEventNameSpace::EventType::FAULT, "USER_ID", userId_, "COMPONENT_ID", componentName, "ERROR_C… in ServiceFaultReporter()
74 …HiSysEventNameSpace::EventType::FAULT, "USER_ID", userId_, "APP_NAME", name, "ERROR_CODE", errCode… in InputmethodFaultReporter()
154 userId_ = userId; in SetUserId()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_subscribe_info.h103 int32_t userId_ {-1};

12