Home
last modified time | relevance | path

Searched full:userid (Results 1 – 25 of 1294) sorted by relevance

12345678910>>...52

/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_client_service_passthrough.c26 static int32_t GetProcessInfo(const struct HksParamSet *paramSet, char **processName, char **userId) in GetProcessInfo() argument
40 … HKS_IF_NOT_SUCC_LOGE_RETURN(HksGetUserId(userId), HKS_ERROR_INTERNAL_ERROR, "get user id failed") in GetProcessInfo()
63 char *userId = NULL; in HksClientGenerateKey() local
64 …HKS_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSetIn, &processName, &userId), HKS_ERROR_INTERNAL_… in HksClientGenerateKey()
68 { strlen(userId), (uint8_t *)userId }, in HksClientGenerateKey()
81 char *userId = NULL; in HksClientImportKey() local
82 …HKS_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ER… in HksClientImportKey()
86 { strlen(userId), (uint8_t *)userId }, in HksClientImportKey()
99 char *userId = NULL; in HksClientImportWrappedKey() local
100 …HKS_IF_NOT_SUCC_LOGE_RETURN(GetProcessInfo(paramSet, &processName, &userId), HKS_ERROR_INTERNAL_ER… in HksClientImportWrappedKey()
[all …]
/base/inputmethod/imf/test/fuzztest/enableimedataparse_fuzzer/
Denableimedataparse_fuzzer.cpp26 void FuzzInitialize(const int32_t userId) in FuzzInitialize() argument
28 EnableImeDataParser::GetInstance()->Initialize(userId); in FuzzInitialize()
31 void FuzzOnUserChanged(const int32_t userId) in FuzzOnUserChanged() argument
33 EnableImeDataParser::GetInstance()->OnUserChanged(userId); in FuzzOnUserChanged()
36 void FuzzCheckNeedSwitch(const std::string &key, SwitchInfo &switchInfo, const int32_t userId) in FuzzCheckNeedSwitch() argument
38 EnableImeDataParser::GetInstance()->CheckNeedSwitch(key, switchInfo, userId); in FuzzCheckNeedSwitch()
39 EnableImeDataParser::GetInstance()->CheckNeedSwitch(switchInfo, userId); in FuzzCheckNeedSwitch()
42 …uzzGetEnableData(const std::string &key, std::vector<std::string> &enableVec, const int32_t userId) in FuzzGetEnableData() argument
44 EnableImeDataParser::GetInstance()->GetEnableData(key, enableVec, userId); in FuzzGetEnableData()
47 void FuzzParseEnableIme(const std::string &valueStr, int32_t userId, std::vector<std::string> &enab… in FuzzParseEnableIme() argument
[all …]
/base/customization/enterprise_device_management/services/edm/src/
Dpolicy_manager.cpp28 int32_t userId) in GetAdminByPolicyName() argument
30 auto userPolicyMgr = GetUserPolicyMgr(userId); in GetAdminByPolicyName()
35 int32_t userId) in GetPolicy() argument
37 auto userPolicyMgr = GetUserPolicyMgr(userId); in GetPolicy()
43 for (auto userId : userIds) { in Init() local
44 EDMLOGI("PolicyManager::Init userId %{public}d", userId); in Init()
45 if (userId == EdmConstants::DEFAULT_USER_ID) { in Init()
46 defaultPolicyMgr_ = std::make_shared<UserPolicyManager>(userId); in Init()
49 … std::shared_ptr<UserPolicyManager> userPolicyMgr = std::make_shared<UserPolicyManager>(userId); in Init()
51 policyMgrMap_.insert(std::make_pair(userId, userPolicyMgr)); in Init()
[all …]
/base/account/os_account/services/accountmgr/src/account_iam/
Dinner_account_iam_manager.cpp64 const std::vector<uint8_t> &newSecret, uint64_t secureUid, uint32_t userId);
89 void InnerAccountIAMManager::OpenSession(int32_t userId, std::vector<uint8_t> &challenge) in OpenSession() argument
91 ACCOUNT_LOGI("Start open session, userId:%{public}d", userId); in OpenSession()
92 challenge = UserIDMClient::GetInstance().OpenSession(userId); in OpenSession()
94 ACCOUNT_LOGE("Failed to open session, userId:%{public}d", userId); in OpenSession()
95 REPORT_OS_ACCOUNT_FAIL(userId, "openSession", -1, "Failed to open session"); in OpenSession()
98 userStateMap_[userId] = AFTER_OPEN_SESSION; in OpenSession()
101 void InnerAccountIAMManager::CloseSession(int32_t userId) in CloseSession() argument
103 UserIDMClient::GetInstance().CloseSession(userId); in CloseSession()
105 if (userId == 0) { in CloseSession()
[all …]
Daccount_iam_service.cpp32 static bool GetCurrentUserId(int32_t &userId) in GetCurrentUserId() argument
40 userId = userIds[0]; in GetCurrentUserId()
69 int32_t AccountIAMService::OpenSession(int32_t userId, std::vector<uint8_t> &challenge) in OpenSession() argument
71 int32_t ret = NormalizeAccountId(userId); in OpenSession()
75 if (IsRestrictedAccountId(userId)) { in OpenSession()
76 ACCOUNT_LOGE("The id = %{public}d is restricted", userId); in OpenSession()
79 InnerAccountIAMManager::GetInstance().OpenSession(userId, challenge); in OpenSession()
83 int32_t AccountIAMService::CloseSession(int32_t userId) in CloseSession() argument
85 int32_t ret = NormalizeAccountId(userId); in CloseSession()
89 if (IsRestrictedAccountId(userId)) { in CloseSession()
[all …]
/base/account/os_account/services/accountmgr/include/account_iam/
Dinner_account_iam_manager.h37 void OpenSession(int32_t userId, std::vector<uint8_t> &challenge);
38 void CloseSession(int32_t userId);
40 int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback);
42 int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback);
43 void DelCred(int32_t userId, uint64_t credentialId, const std::vector<uint8_t> &authToken,
45 void DelUser(int32_t userId, const std::vector<uint8_t> &authToken,
48 int32_t userId, AuthType authType, const sptr<IGetCredInfoCallback> &callback);
49 int32_t Cancel(int32_t userId);
56 … int32_t userId, const GetPropertyRequest &request, const sptr<IGetSetPropCallback> &callback);
60 … int32_t userId, const SetPropertyRequest &request, const sptr<IGetSetPropCallback> &callback);
[all …]
/base/useriam/user_auth_framework/interfaces/inner_api/
Duser_idm_client.h57 * @param userId System userId, generated by account subsystem.
60 virtual std::vector<uint8_t> OpenSession(int32_t userId) = 0;
65 * @param userId System userId, generated by account subsystem.
67 virtual void CloseSession(int32_t userId) = 0;
72 * @param userId System userId, generated by account subsystem.
76 virtual void AddCredential(int32_t userId, const CredentialParameters &para,
82 * @param userId System userId, generated by account subsystem.
86 virtual void UpdateCredential(int32_t userId, const CredentialParameters &para,
92 * @param userId System userId, generated by account subsystem.
95 virtual int32_t Cancel(int32_t userId) = 0;
[all …]
/base/inputmethod/imf/services/include/
Dime_info_inquirer.h68 std::string GetDumpInfo(int32_t userId);
69 std::shared_ptr<ImeNativeCfg> GetImeToStart(int32_t userId);
71 int32_t userId, const std::string &bundleName, const std::string &extName = "");
72 std::shared_ptr<Property> GetCurrentInputMethod(int32_t userId);
73 std::shared_ptr<SubProperty> GetCurrentSubtype(int32_t userId);
74 …std::shared_ptr<ImeInfo> GetImeInfo(int32_t userId, const std::string &bundleName, const std::stri…
75 std::shared_ptr<ImeInfo> GetDefaultImeInfo(int32_t userId);
80 bool GetImeAppId(int32_t userId, const std::string &bundleName, std::string &appId);
81 bool GetImeVersionCode(int32_t userId, const std::string &bundleName, uint32_t &versionCode);
82 …int32_t GetDefaultInputMethod(const int32_t userId, std::shared_ptr<Property> &prop, bool isBrief …
[all …]
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Dsm2_openssl.c37 HcfBlob userId; member
49 HcfBlob userId; member
96 HcfFree(impl->userId.data); in DestroySm2Sign()
97 impl->userId.data = NULL; in DestroySm2Sign()
118 HcfFree(impl->userId.data); in DestroySm2Verify()
119 impl->userId.data = NULL; in DestroySm2Verify()
122 static HcfResult SetUserIdFromBlob(HcfBlob userId, EVP_MD_CTX *mdCtx) in SetUserIdFromBlob() argument
130 // If userId is NULL or len is 0, the userId will be cleared. in SetUserIdFromBlob()
131 if (userId.data == NULL || userId.len == 0) { in SetUserIdFromBlob()
133 LOGD("[error] Openssl Set userId fail"); in SetUserIdFromBlob()
[all …]
/base/inputmethod/imf/services/adapter/wms_connection_monitor/src/
Dwms_connection_observer.cpp23 void WmsConnectionObserver::OnConnected(int32_t userId, int32_t screenId) in OnConnected() argument
25 IMSA_HILOGI("WMS connect, userId: %{public}d, screenId: %{public}d.", userId, screenId); in OnConnected()
26 Add(userId); in OnConnected()
28 changeHandler_(true, userId, screenId); in OnConnected()
32 void WmsConnectionObserver::OnDisconnected(int32_t userId, int32_t screenId) in OnDisconnected() argument
34 IMSA_HILOGI("WMS disconnect, userId: %{public}d, screenId: %{public}d.", userId, screenId); in OnDisconnected()
35 Remove(userId); in OnDisconnected()
37 changeHandler_(false, userId, screenId); in OnDisconnected()
41 void WmsConnectionObserver::Add(int32_t userId) in Add() argument
44 connectedUserId_.insert(userId); in Add()
[all …]
/base/inputmethod/imf/services/adapter/os_account_adapter/src/
Dos_account_adapter.cpp23 bool OsAccountAdapter::IsOsAccountForeground(int32_t userId) in IsOsAccountForeground() argument
26 auto errCode = OsAccountManager::IsOsAccountForeground(userId, isForeground); in IsOsAccountForeground()
28 IMSA_HILOGE("IsOsAccountForeground failed, userId:%{public}d.", userId); in IsOsAccountForeground()
45 int32_t userId = MAIN_USER_ID; in GetForegroundOsAccountLocalId() local
47 …[&userId]() -> bool { return OsAccountManager::GetForegroundOsAccountLocalId(userId) == ERR_OK; })… in GetForegroundOsAccountLocalId()
48 IMSA_HILOGE("get foreground userId failed!"); in GetForegroundOsAccountLocalId()
50 return userId; in GetForegroundOsAccountLocalId()
55 int32_t userId = INVALID_USER_ID; in GetOsAccountLocalIdFromUid() local
56 auto errCode = OsAccountManager::GetOsAccountLocalIdFromUid(uid, userId); in GetOsAccountLocalIdFromUid()
60 return userId; in GetOsAccountLocalIdFromUid()
[all …]
/base/inputmethod/imf/services/adapter/settings_data_provider/src/
Denable_ime_data_parser.cpp46 int32_t EnableImeDataParser::Initialize(const int32_t userId) in Initialize() argument
48 currentUserId_ = userId; in Initialize()
54 UpdateEnableData(userId, ENABLE_IME); in Initialize()
55 UpdateEnableData(userId, ENABLE_KEYBOARD); in Initialize()
69 …meDataParser::CheckNeedSwitch(const std::string &key, SwitchInfo &switchInfo, const int32_t userId) in CheckNeedSwitch() argument
72 auto currentIme = ImeInfoInquirer::GetInstance().GetCurrentInputMethod(userId); in CheckNeedSwitch()
87 GetEnableData(key, enableList_[key], userId); in CheckNeedSwitch()
91 return CheckTargetEnableName(key, currentIme->name, switchInfo.bundleName, userId); in CheckNeedSwitch()
96 GetEnableData(key, enableList_[key], userId); in CheckNeedSwitch()
100 return CheckTargetEnableName(key, currentIme->id, switchInfo.subName, userId); in CheckNeedSwitch()
[all …]
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dos_account_manager_helper_test.cpp41 int32_t userId = -1; variable
42 ASSERT_EQ(ERR_OK, OsAccountManagerHelper::GetInstance().GetCurrentCallingUserId(userId));
52 int32_t userId = -1; variable
54 … ASSERT_EQ(ERR_OK, OsAccountManagerHelper::GetInstance().GetOsAccountLocalIdFromUid(uid, userId));
64 int32_t userId = -1; variable
65 ASSERT_EQ(ERR_OK, OsAccountManagerHelper::GetInstance().GetCurrentActiveUserId(userId));
75 int32_t userId = 100; variable
76 ASSERT_EQ(true, OsAccountManagerHelper::GetInstance().CheckUserExists(userId));
86 int32_t userId = 1099; variable
87 ASSERT_EQ(false, OsAccountManagerHelper::GetInstance().CheckUserExists(userId));
[all …]
/base/theme/screenlock_mgr/interfaces/inner_api/include/
Dscreenlock_inner_listener.h27 explicit InnerListener(int32_t userId) : userId_(userId) {}; in InnerListener() argument
30 virtual void OnStateChanged(int32_t userId, int32_t state) = 0;
38 explicit StrongAuthListener(int32_t userId) : InnerListener(userId) {}; in StrongAuthListener() argument
40 virtual void OnStrongAuthChanged(int32_t userId, int32_t authenticated) = 0;
41 void OnStateChanged(int32_t userId, int32_t state) override in OnStateChanged() argument
43 OnStrongAuthChanged(userId, state); in OnStateChanged()
49 explicit DeviceLockedListener(int userId): InnerListener(userId) {}; in DeviceLockedListener() argument
51 virtual void OnDeviceLockStateChanged(int userId, bool isDeviceLocked) = 0;
52 void OnStateChanged(int32_t userId, int32_t state) override in OnStateChanged() argument
55 OnDeviceLockStateChanged(userId, false); in OnStateChanged()
[all …]
/base/theme/screenlock_mgr/test/fuzztest/screenlockservice_fuzzer/screenlockutils_fuzzer/
Dscreenlockutils_fuzzer.cpp40 int userId = 100; in FuzzScreenlockUtils() local
44 preferencesUtil->SaveString(std::to_string(userId), stringlVal); in FuzzScreenlockUtils()
45 preferencesUtil->ObtainString(std::to_string(userId), stringlVal); in FuzzScreenlockUtils()
46 preferencesUtil->RemoveKey(std::to_string(userId)); in FuzzScreenlockUtils()
51 preferencesUtil->SaveInt(std::to_string(userId), defaulVal); in FuzzScreenlockUtils()
52 preferencesUtil->ObtainInt(std::to_string(userId), defaulVal); in FuzzScreenlockUtils()
53 preferencesUtil->RemoveKey(std::to_string(userId)); in FuzzScreenlockUtils()
58 preferencesUtil->SaveBool(std::to_string(userId), boolVal); in FuzzScreenlockUtils()
59 preferencesUtil->ObtainBool(std::to_string(userId), boolVal); in FuzzScreenlockUtils()
60 preferencesUtil->RemoveKey(std::to_string(userId)); in FuzzScreenlockUtils()
[all …]
/base/useriam/user_auth_framework/frameworks/native/ipc/src/
Duser_idm_stub.cpp75 int32_t userId; in OpenSessionStub() local
76 if (!data.ReadInt32(userId)) { in OpenSessionStub()
77 IAM_LOGE("failed to read userId"); in OpenSessionStub()
82 int32_t ret = OpenSession(userId, challenge); in OpenSessionStub()
100 int32_t userId; in CloseSessionStub() local
102 if (!data.ReadInt32(userId)) { in CloseSessionStub()
103 IAM_LOGE("failed to read userId"); in CloseSessionStub()
107 CloseSession(userId); in CloseSessionStub()
116 int32_t userId; in GetCredentialInfoStub() local
117 if (!data.ReadInt32(userId)) { in GetCredentialInfoStub()
[all …]
/base/inputmethod/imf/services/src/
Dime_info_inquirer.cpp70 bool ImeInfoInquirer::QueryImeExtInfos(const int32_t userId, std::vector<ExtensionAbilityInfo> &inf… in QueryImeExtInfos() argument
72 IMSA_HILOGD("userId: %{public}d.", userId); in QueryImeExtInfos()
78 if (!bundleMgr->QueryExtensionAbilityInfos(ExtensionAbilityType::INPUTMETHOD, userId, infos)) { in QueryImeExtInfos()
85 int32_t ImeInfoInquirer::GetExtInfosByBundleName(const int32_t userId, const std::string &bundleNam… in GetExtInfosByBundleName() argument
88 IMSA_HILOGD("userId: %{public}d, bundleName: %{public}s.", userId, bundleName.c_str()); in GetExtInfosByBundleName()
90 if (!QueryImeExtInfos(userId, tempExtInfos)) { in GetExtInfosByBundleName()
106 std::shared_ptr<ImeInfo> ImeInfoInquirer::GetImeInfo(int32_t userId, const std::string &bundleName, in GetImeInfo() argument
109 …IMSA_HILOGD("userId: %{public}d, bundleName: %{public}s, subName: %{public}s.", userId, bundleName… in GetImeInfo()
111 auto info = GetImeInfoFromCache(userId, bundleName, subName); in GetImeInfo()
112 return info == nullptr ? GetImeInfoFromBundleMgr(userId, bundleName, subName) : info; in GetImeInfo()
[all …]
/base/inputmethod/imf/test/fuzztest/securitymodeparser_fuzzer/
Dsecuritymodeparser_fuzzer.cpp24 void FuzzInitialize(const int32_t userId) in FuzzInitialize() argument
26 SecurityModeParser::GetInstance()->Initialize(userId); in FuzzInitialize()
29 void FuzzGetSecurityMode(const std::string &bundleName, const int32_t userId) in FuzzGetSecurityMode() argument
31 SecurityModeParser::GetInstance()->GetSecurityMode(bundleName, userId); in FuzzGetSecurityMode()
34 void FuzzUpdateFullModeList(const int32_t userId) in FuzzUpdateFullModeList() argument
36 SecurityModeParser::GetInstance()->UpdateFullModeList(userId); in FuzzUpdateFullModeList()
39 void FuzzParseSecurityMode(const std::string &bundleName, const int32_t userId) in FuzzParseSecurityMode() argument
41 SecurityModeParser::GetInstance()->ParseSecurityMode(bundleName, userId); in FuzzParseSecurityMode()
57 const int32_t userId = static_cast<int32_t>(size); in LLVMFuzzerTestOneInput() local
60 OHOS::FuzzInitialize(userId); in LLVMFuzzerTestOneInput()
[all …]
/base/useriam/user_auth_framework/frameworks/native/client/src/
Duser_idm_client_impl.cpp31 std::vector<uint8_t> UserIdmClientImpl::OpenSession(int32_t userId) in OpenSession() argument
33 IAM_LOGI("start, userId:%{public}d", userId); in OpenSession()
41 auto success = proxy->OpenSession(userId, challenge); in OpenSession()
49 void UserIdmClientImpl::CloseSession(int32_t userId) in CloseSession() argument
51 IAM_LOGI("start, userId:%{public}d", userId); in CloseSession()
58 proxy->CloseSession(userId); in CloseSession()
61 void UserIdmClientImpl::AddCredential(int32_t userId, const CredentialParameters &para, in AddCredential() argument
64 IAM_LOGI("start, userId:%{public}d, authType:%{public}d, authSubType:%{public}d", in AddCredential()
65 userId, para.authType, para.pinType.value_or(PIN_SIX)); in AddCredential()
89 proxy->AddCredential(userId, credPara, wrapper, false); in AddCredential()
[all …]
/base/inputmethod/imf/services/adapter/settings_data_provider/include/
Denable_ime_data_parser.h69 int32_t Initialize(const int32_t userId);
70 …t GetEnableData(const std::string &key, std::vector<std::string> &enableVec, const int32_t userId);
71 int32_t GetEnableIme(int32_t userId, std::vector<std::string> &enableVec);
73 bool CheckNeedSwitch(const std::string &key, SwitchInfo &switchInfo, const int32_t userId);
75 bool CheckNeedSwitch(const SwitchInfo &info, const int32_t userId);
76 void OnUserChanged(const int32_t userId);
77 void OnConfigChanged(int32_t userId, const std::string &key);
78 void OnPackageAdded(int32_t userId, const std::string &bundleName);
79 … int32_t GetImeEnablePattern(int32_t userId, const std::string &bundleName, EnabledStatus &status);
87 int32_t UpdateEnableData(int32_t userId, const std::string &key);
[all …]
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/
Dhks_event_observer.cpp43 static void GetProcessInfo(int userId, int uid, struct HksProcessInfo *processInfo) in GetProcessInfo() argument
45 uint32_t userSize = sizeof(userId); in GetProcessInfo()
46 if (userId == 0) { in GetProcessInfo()
51 …(void)memcpy_s(userData, userSize, userId == 0 ? USER_ID_ROOT : reinterpret_cast<const char *>(&us… in GetProcessInfo()
52 processInfo->userId.size = userSize; in GetProcessInfo()
53 processInfo->userId.data = userData; in GetProcessInfo()
54 processInfo->userIdInt = userId; in GetProcessInfo()
61 processInfo->userId.data = nullptr; in GetProcessInfo()
69 static void GetUserId(int userId, struct HksBlob *userIdBlob) in GetUserId() argument
71 uint32_t userIdSize = sizeof(userId); in GetUserId()
[all …]
/base/account/os_account/services/accountmgr/src/
Dohos_account_manager.cpp164 …OhosAccountManager *ptr, const std::int32_t userId, const OhosAccountInfo &info, const std::string… in ProcDistributedAccountStateChange() argument
169 … [ptr] (const std::int32_t userId, const OhosAccountInfo &info, const std::string &eventStr) { in ProcDistributedAccountStateChange()
170 return ptr->LoginOhosAccount(userId, info, eventStr); in ProcDistributedAccountStateChange()
175 … [ptr] (const std::int32_t userId, const OhosAccountInfo &info, const std::string &eventStr) { in ProcDistributedAccountStateChange()
176 return ptr->LogoutOhosAccount(userId, info, eventStr); in ProcDistributedAccountStateChange()
181 … [ptr] (const std::int32_t userId, const OhosAccountInfo &info, const std::string &eventStr) { in ProcDistributedAccountStateChange()
182 return ptr->LogoffOhosAccount(userId, info, eventStr); in ProcDistributedAccountStateChange()
187 … [ptr] (const std::int32_t userId, const OhosAccountInfo &info, const std::string &eventStr) { in ProcDistributedAccountStateChange()
188 return ptr->HandleOhosAccountTokenInvalidEvent(userId, info, eventStr); in ProcDistributedAccountStateChange()
197 return (itFunc->second)(userId, info, eventStr); in ProcDistributedAccountStateChange()
[all …]
/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service.cpp269 int32_t userId = DEFAULT_USER_ID; in InitData() local
279 currentUserId_ = userId; in InitData()
282 InitUserDir(userId); in InitData()
283 UpdataWallpaperMap(userId, WALLPAPER_SYSTEM); in InitData()
284 UpdataWallpaperMap(userId, WALLPAPER_LOCKSCREEN); in InitData()
286 ClearRedundantFile(userId, WALLPAPER_SYSTEM, WALLPAPER_SYSTEM_ORIG); in InitData()
287 ClearRedundantFile(userId, WALLPAPER_LOCKSCREEN, WALLPAPER_LOCK_ORIG); in InitData()
354 int32_t userId = osAccountInfo.GetLocalId(); in InitUsersOnBoot() local
355 HILOG_INFO("InitUsersOnBoot Current userId: %{public}d", userId); in InitUsersOnBoot()
356 InitUserDir(userId); in InitUsersOnBoot()
[all …]
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dfull_ime_info_manager_test.cpp85 int32_t userId = 100; variable
94 fullImeInfos.emplace_back(std::make_pair(userId, imeInfos));
99 auto it = FullImeInfoManager::GetInstance().fullImeInfos_.find(userId);
112 * @tc.desc: test Add in user added that the userId exists
118 int32_t userId = 100; variable
120 FullImeInfoManager::GetInstance().fullImeInfos_.insert_or_assign(userId, imeInfos);
121 auto ret = FullImeInfoManager::GetInstance().Add(userId);
133 int32_t userId = 100; variable
136 auto ret = FullImeInfoManager::GetInstance().Add(userId);
148 int32_t userId = 100; variable
[all …]
/base/useriam/user_auth_framework/services/context/src/
Dcontext_appstate_observer.cpp122 void ContextAppStateObserverManager::SetScreenLockState(bool screenLockState, int32_t userId) in SetScreenLockState() argument
125 IAM_LOGI("setScreenLockState: %{public}d, userId: %{public}d", screenLockState, userId); in SetScreenLockState()
126 screenLockedMap_.insert_or_assign(userId, screenLockState); in SetScreenLockState()
129 bool ContextAppStateObserverManager::GetScreenLockState(int32_t userId) in GetScreenLockState() argument
133 auto iter = screenLockedMap_.find(userId); in GetScreenLockState()
137 IAM_LOGI("getScreenLockState: %{public}d, userId: %{public}d", screenLockState, userId); in GetScreenLockState()
141 void ContextAppStateObserverManager::RemoveScreenLockState(int32_t userId) in RemoveScreenLockState() argument
144 IAM_LOGI("RemoveScreenLockState userId: %{public}d", userId); in RemoveScreenLockState()
145 screenLockedMap_.erase(userId); in RemoveScreenLockState()
154 void ContextAppStateObserver::ProcAppStateChanged(int32_t userId) in ProcAppStateChanged() argument
[all …]

12345678910>>...52