/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
H A D | hks_client_service_passthrough.c | 26 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_ERROR,
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_ERROR,
in HksClientImportKey() 86 { strlen(userId), (uint8_t *)userId },
in HksClientImportKey() 99 char *userId = NULL; HksClientImportWrappedKey() local 118 char *userId = NULL; HksClientExportPublicKey() local 135 char *userId = NULL; HksClientDeleteKey() local 153 char *userId = NULL; HksClientGetKeyParamSet() local 170 char *userId = NULL; HksClientKeyExist() local 188 char *userId = NULL; HksClientSign() local 206 char *userId = NULL; HksClientVerify() local 224 char *userId = NULL; HksClientEncrypt() local 242 char *userId = NULL; HksClientDecrypt() local 260 char *userId = NULL; HksClientAgreeKey() local 278 char *userId = NULL; HksClientDeriveKey() local 296 char *userId = NULL; HksClientMac() local 314 char *userId = NULL; HksClientGetKeyInfoList() local 342 char *userId = NULL; HksClientInit() local 372 char *userId = NULL; HksClientUpdate() local 390 char *userId = NULL; HksClientFinish() local 407 char *userId = NULL; HksClientAbort() local 426 char *userId = NULL; HksClientGenerateRandom() local [all...] |
/base/account/os_account/services/accountmgr/src/account_iam/ |
H A D | account_iam_service.cpp | 32 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() 97 AddCredential( int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback) AddCredential() argument 114 UpdateCredential(int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback) UpdateCredential() argument 126 Cancel(int32_t userId) Cancel() argument 135 DelCred( int32_t userId, uint64_t credentialId, const std::vector<uint8_t> &authToken, const sptr<IIDMCallback> &callback) DelCred() argument 147 DelUser( int32_t userId, const std::vector<uint8_t> &authToken, const sptr<IIDMCallback> &callback) DelUser() argument 159 GetCredentialInfo( int32_t userId, AuthType authType, const sptr<IGetCredInfoCallback> &callback) GetCredentialInfo() argument 209 GetProperty( int32_t userId, const GetPropertyRequest &request, const sptr<IGetSetPropCallback> &callback) GetProperty() argument 221 SetProperty( int32_t userId, const SetPropertyRequest &request, const sptr<IGetSetPropCallback> &callback) SetProperty() argument 233 GetAccountState(int32_t userId) GetAccountState() argument [all...] |
H A D | inner_account_iam_manager.cpp | 62 const std::vector<uint8_t> &newSecret, uint64_t secureUid, uint32_t userId); 87 void InnerAccountIAMManager::OpenSession(int32_t userId, std::vector<uint8_t> &challenge) in OpenSession() argument 89 challenge = UserIDMClient::GetInstance().OpenSession(userId); in OpenSession() 91 userStateMap_[userId] = AFTER_OPEN_SESSION; in OpenSession() 94 void InnerAccountIAMManager::CloseSession(int32_t userId) in CloseSession() argument 96 UserIDMClient::GetInstance().CloseSession(userId); in CloseSession() 98 if (userId == 0) { in CloseSession() 101 userStateMap_.erase(userId); in CloseSession() 106 int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback) in AddCredential() 113 std::lock_guard<std::mutex> userLock(*GetOperatingUserLock(userId)); in AddCredential() 105 AddCredential( int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback) AddCredential() argument 139 UpdateCredential( int32_t userId, const CredentialParameters &credInfo, const sptr<IIDMCallback> &callback) UpdateCredential() argument 170 DelCred( int32_t userId, uint64_t credentialId, const std::vector<uint8_t> &authToken, const sptr<IIDMCallback> &callback) DelCred() argument 192 OnDelUserDone(int32_t userId) OnDelUserDone() argument 206 DelUser( int32_t userId, const std::vector<uint8_t> &authToken, const sptr<IIDMCallback> &callback) DelUser() argument 256 GetCredentialInfo( int32_t userId, AuthType authType, const sptr<IGetCredInfoCallback> &callback) GetCredentialInfo() argument 273 Cancel(int32_t userId) Cancel() argument 371 GetDomainAuthStatusInfo( int32_t userId, const GetPropertyRequest &request, const sptr<IGetSetPropCallback> &callback) GetDomainAuthStatusInfo() argument 395 CheckDomainAuthAvailable(int32_t userId) CheckDomainAuthAvailable() argument 408 GetProperty( int32_t userId, const GetPropertyRequest &request, const sptr<IGetSetPropCallback> &callback) GetProperty() argument 427 SetProperty( int32_t userId, const SetPropertyRequest &request, const sptr<IGetSetPropCallback> &callback) SetProperty() argument 452 HandleFileKeyException(int32_t userId, const std::vector<uint8_t> &secret, const std::vector<uint8_t> &token) HandleFileKeyException() argument 501 GetState(int32_t userId) GetState() argument 511 SetState(int32_t userId, IAMState state) SetState() argument 517 UpdateStorageKey( int32_t userId, uint64_t secureUid, const std::vector<uint8_t> &token, const std::vector<uint8_t> &oldSecret, const std::vector<uint8_t> &newSecret) UpdateStorageKey() argument 535 InnerUpdateStorageKey( int32_t userId, uint64_t secureUid, const std::vector<uint8_t> &token, const std::vector<uint8_t> &oldSecret, const std::vector<uint8_t> &newSecret) InnerUpdateStorageKey() argument 561 UpdateStorageKeyContext(const int32_t userId) UpdateStorageKeyContext() argument 577 InnerUpdateStorageKeyContext(const int32_t userId) InnerUpdateStorageKeyContext() argument 595 UpdateStorageUserAuth(int32_t userId, uint64_t secureUid, const std::vector<uint8_t> &token, const std::vector<uint8_t> &oldSecret, const std::vector<uint8_t> &newSecret) UpdateStorageUserAuth() argument 612 InnerUpdateStorageUserAuth(int32_t userId, uint64_t secureUid, const std::vector<uint8_t> &token, const std::vector<uint8_t> &oldSecret, const std::vector<uint8_t> &newSecret) InnerUpdateStorageUserAuth() argument 632 UpdateUserAuthWithRecoveryKey(const std::vector<uint8_t> &authToken, const std::vector<uint8_t> &newSecret, uint64_t secureUid, uint32_t userId) UpdateUserAuthWithRecoveryKey() argument 655 GetLockScreenStatus(uint32_t userId, bool &lockScreenStatus) GetLockScreenStatus() argument 671 InnerGetLockScreenStatus(uint32_t userId, bool &lockScreenStatus) InnerGetLockScreenStatus() argument 688 UnlockUserScreen( int32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) UnlockUserScreen() argument 705 InnerUnlockUserScreen( int32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) InnerUnlockUserScreen() argument 723 ActivateUserKey( int32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) ActivateUserKey() argument 740 InnerActivateUserKey( int32_t userId, const std::vector<uint8_t> &token, const std::vector<uint8_t> &secret) InnerActivateUserKey() argument [all...] |
/base/inputmethod/imf/services/src/ |
H A D | input_method_system_ability.cpp | 129 IMSA_HILOGD("userId: %{public}d the IME properties is empty.", id); in DumpAllMethod() 151 void InputMethodSystemAbility::UpdateUserInfo(int32_t userId) in UpdateUserInfo() argument 153 IMSA_HILOGI("%{public}d switch to %{public}d.", userId_, userId); in UpdateUserInfo() 154 userId_ = userId; in UpdateUserInfo() 219 int32_t InputMethodSystemAbility::PrepareInput(int32_t userId, InputClientInfo &clientInfo) in PrepareInput() argument 221 auto ret = GenerateClientInfo(userId, clientInfo); in PrepareInput() 225 auto session = UserSessionManager::GetInstance().GetUserSession(userId); in PrepareInput() 227 IMSA_HILOGE("%{public}d session is nullptr!", userId); in PrepareInput() 233 int32_t InputMethodSystemAbility::GenerateClientInfo(int32_t userId, InputClientInfo &clientInfo) in GenerateClientInfo() argument 246 clientInfo.userID = userId; in GenerateClientInfo() 261 auto userId = GetCallingUserId(); ReleaseInput() local 276 auto userId = GetCallingUserId(); StartInput() local 306 CheckInputTypeOption(int32_t userId, InputClientInfo &inputClientInfo) CheckInputTypeOption() argument 350 auto userId = GetCallingUserId(); ShowInput() local 371 auto userId = GetCallingUserId(); HideInput() local 392 auto userId = GetCallingUserId(); StopInputSession() local 413 auto userId = GetCallingUserId(); RequestShowInput() local 429 auto userId = GetCallingUserId(); RequestHideInput() local 441 auto userId = GetCallingUserId(); SetCoreAndAgent() local 460 auto userId = GetCallingUserId(); InitConnect() local 475 auto userId = GetCallingUserId(); HideCurrentInput() local 493 auto userId = GetCallingUserId(); ShowCurrentInput() local 510 auto userId = GetCallingUserId(); PanelStatusChange() local 538 auto userId = GetCallingUserId(); UpdateListenEventFlag() local 568 auto userId = GetCallingUserId(); ExitCurrentInputType() local 595 IsDefaultImeFromTokenId(int32_t userId, uint32_t tokenId) IsDefaultImeFromTokenId() argument 616 auto userId = GetCallingUserId(); IsCurrentImeByPid() local 631 auto userId = GetCallingUserId(); IsPanelShown() local 655 int32_t userId = GetCallingUserId(); SwitchInputMethod() local 682 int32_t userId = GetCallingUserId(); EnableIme() local 686 OnSwitchInputMethod(int32_t userId, const SwitchInfo &switchInfo, SwitchTrigger trigger) OnSwitchInputMethod() argument 747 OnStartInputType(int32_t userId, const SwitchInfo &switchInfo, bool isCheckPermission) OnStartInputType() argument 775 IsNeedSwitch(int32_t userId, const std::string &bundleName, const std::string &subName) IsNeedSwitch() argument 793 Switch(int32_t userId, const std::string &bundleName, const std::shared_ptr<ImeInfo> &info) Switch() argument 811 SwitchExtension(int32_t userId, const std::shared_ptr<ImeInfo> &info) SwitchExtension() argument 832 SwitchSubType(int32_t userId, const std::shared_ptr<ImeInfo> &info) SwitchSubType() argument 850 SwitchInputType(int32_t userId, const SwitchInfo &switchInfo) SwitchInputType() argument 883 int32_t userId = GetCallingUserId(); HideCurrentInputDeprecated() local 900 int32_t userId = GetCallingUserId(); ShowCurrentInputDeprecated() local 1041 auto userId = msg->msgContent_->ReadInt32(); OnUserRemoved() local 1059 auto userId = msg->msgContent_->ReadInt32(); OnUserStop() local 1075 auto userId = msg->msgContent_->ReadInt32(); OnHideKeyboardSelf() local 1092 int32_t userId = 0; HandlePackageEvent() local 1118 OnPackageRemoved(int32_t userId, const std::string &packageName) OnPackageRemoved() argument [all...] |
H A D | ime_info_inquirer.cpp | 79 bool ImeInfoInquirer::QueryImeExtInfos(const int32_t userId, std::vector<ExtensionAbilityInfo> &infos) in QueryImeExtInfos() argument 81 IMSA_HILOGD("userId: %{public}d.", userId); in QueryImeExtInfos() 87 if (!bundleMgr->QueryExtensionAbilityInfos(ExtensionAbilityType::INPUTMETHOD, userId, infos)) { in QueryImeExtInfos() 94 int32_t ImeInfoInquirer::GetExtInfosByBundleName(const int32_t userId, const std::string &bundleName, in GetExtInfosByBundleName() argument 97 IMSA_HILOGD("userId: %{public}d, bundleName: %{public}s.", userId, bundleName.c_str()); in GetExtInfosByBundleName() 99 if (!QueryImeExtInfos(userId, tempExtInfos)) { in GetExtInfosByBundleName() 115 std::shared_ptr<ImeInfo> ImeInfoInquirer::GetImeInfo(int32_t userId, const std::string &bundleName, in GetImeInfo() argument 118 IMSA_HILOGD("userId in GetImeInfo() 124 GetImeInfoFromCache(const int32_t userId, const std::string &bundleName, const std::string &subName) GetImeInfoFromCache() argument 157 GetImeInfoFromBundleMgr( const int32_t userId, const std::string &bundleName, const std::string &subName) GetImeInfoFromBundleMgr() argument 203 GetDumpInfo(int32_t userId) GetDumpInfo() argument 229 ListInputMethodInfo(const int32_t userId) ListInputMethodInfo() argument 254 ListInputMethod(int32_t userId, InputMethodStatus status, std::vector<Property> &props, bool enableOn) ListInputMethod() argument 270 ListInputMethod(const int32_t userId, std::vector<Property> &props) ListInputMethod() argument 305 ListEnabledInputMethod(const int32_t userId, std::vector<Property> &props, bool enableOn) ListEnabledInputMethod() argument 332 ListDisabledInputMethod(const int32_t userId, std::vector<Property> &props, bool enableOn) ListDisabledInputMethod() argument 362 GetSwitchInfoBySwitchCount(SwitchInfo &switchInfo, int32_t userId, bool enableOn, uint32_t cacheCount) GetSwitchInfoBySwitchCount() argument 390 ListInputMethodSubtype(int32_t userId, const std::string &bundleName, std::vector<SubProperty> &subProps) ListInputMethodSubtype() argument 413 ListCurrentInputMethodSubtype(int32_t userId, std::vector<SubProperty> &subProps) ListCurrentInputMethodSubtype() argument 431 GetSubProperty(int32_t userId, const std::string &subName, const std::vector<OHOS::AppExecFwk::ExtensionAbilityInfo> &extInfos, SubProperty &subProp) GetSubProperty() argument 459 ListInputMethodSubtype(const int32_t userId, const std::vector<ExtensionAbilityInfo> &extInfos, std::vector<SubProperty> &subProps) ListInputMethodSubtype() argument 481 GetSubProperty(int32_t userId, const std::string &subName, const OHOS::AppExecFwk::ExtensionAbilityInfo &extInfo, SubProperty &subProp) GetSubProperty() argument 526 ListInputMethodSubtype(const int32_t userId, const ExtensionAbilityInfo &extInfo, std::vector<SubProperty> &subProps) ListInputMethodSubtype() argument 627 GetStringById(const std::string &bundleName, const std::string &moduleName, uint32_t labelId, int32_t userId) GetStringById() argument 657 GetImeProperty( int32_t userId, const std::string &bundleName, const std::string &extName) GetImeProperty() argument 675 GetCurrentInputMethod(int32_t userId) GetCurrentInputMethod() argument 692 GetCurrentSubtype(int32_t userId) GetCurrentSubtype() argument 729 IsImeInstalled(const int32_t userId, const std::string &bundleName, const std::string &extName) IsImeInstalled() argument 747 GetImeToStart(int32_t userId) GetImeToStart() argument 768 GetInputMethodConfig(const int32_t userId, AppExecFwk::ElementName &inputMethodConfig) GetInputMethodConfig() argument 794 GetDefaultInputMethod(const int32_t userId, std::shared_ptr<Property> &prop, bool isBrief) GetDefaultInputMethod() argument 825 GetDefaultImeInfo(int32_t userId) GetDefaultImeInfo() argument 987 QueryFullImeInfo(int32_t userId, std::vector<FullImeInfo> &imeInfo) QueryFullImeInfo() argument 1019 GetFullImeInfo(int32_t userId, const std::string &bundleName, FullImeInfo &imeInfo) GetFullImeInfo() argument 1038 GetFullImeInfo( int32_t userId, const std::vector<OHOS::AppExecFwk::ExtensionAbilityInfo> &extInfos, FullImeInfo &imeInfo) GetFullImeInfo() argument 1065 IsInputMethod(int32_t userId, const std::string &bundleName) IsInputMethod() argument 1093 GetRunningIme(int32_t userId) GetRunningIme() argument 1111 IsDefaultImeSet(int32_t userId) IsDefaultImeSet() argument 1116 IsRunningIme(int32_t userId, const std::string &bundleName) IsRunningIme() argument 1124 GetImeAppId(int32_t userId, const std::string &bundleName, std::string &appId) GetImeAppId() argument 1139 GetImeVersionCode(int32_t userId, const std::string &bundleName, uint32_t &versionCode) GetImeVersionCode() argument 1154 GetBundleInfoByBundleName( int32_t userId, const std::string &bundleName, AppExecFwk::BundleInfo &bundleInfo) GetBundleInfoByBundleName() argument 1171 GetTargetString( const AppExecFwk::ExtensionAbilityInfo &extension, ImeTargetString target, int32_t userId) GetTargetString() argument [all...] |
/base/inputmethod/imf/test/fuzztest/enableimedataparse_fuzzer/ |
H A D | enableimedataparse_fuzzer.cpp | 26 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 void FuzzGetEnableData(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, st argument 52 FuzzParseEnableKeyboard(const std::string &valueStr, int32_t userId, std::vector<std::string> &enableVec) FuzzParseEnableKeyboard() argument 57 FuzzCheckTargetEnableName(const std::string &key, const std::string &targetName, std::string &nextIme, const int32_t userId) FuzzCheckTargetEnableName() argument 70 const int32_t userId = static_cast<int32_t>(size); LLVMFuzzerTestOneInput() local [all...] |
/base/customization/enterprise_device_management/services/edm/src/ |
H A D | policy_manager.cpp | 28 int32_t userId) in GetAdminByPolicyName() 30 auto userPolicyMgr = GetUserPolicyMgr(userId); in GetAdminByPolicyName() 35 int32_t userId) in GetPolicy() 37 auto userPolicyMgr = GetUserPolicyMgr(userId); in GetPolicy() 43 for (auto userId : userIds) { in Init() 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() 27 GetAdminByPolicyName(const std::string &policyName, AdminValueItemsMap &adminValueItems, int32_t userId) GetAdminByPolicyName() argument 34 GetPolicy(const std::string &adminName, const std::string &policyName, std::string &policyValue, int32_t userId) GetPolicy() argument 57 SetPolicy(const std::string &adminName, const std::string &policyName, const std::string &adminPolicyValue, const std::string &mergedPolicyValue, int32_t userId) SetPolicy() argument 65 GetAllPolicyByAdmin(const std::string &adminName, PolicyItemsMap &allAdminPolicy, int32_t userId) GetAllPolicyByAdmin() argument 72 GetUserPolicyMgr(int32_t userId) GetUserPolicyMgr() argument [all...] |
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/ |
H A D | sm2_openssl.c | 37 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 in SetUserIdFromBlob() 150 SetSM2Id(EVP_MD_CTX *mdCtx, EVP_PKEY *pKey, HcfBlob userId) SetSM2Id() argument 434 EngineSetSignSpecUint8Array(HcfSignSpi *self, SignSpecItem item, HcfBlob userId) EngineSetSignSpecUint8Array() argument 510 EngineSetVerifySpecUint8Array(HcfVerifySpi *self, SignSpecItem item, HcfBlob userId) EngineSetVerifySpecUint8Array() argument [all...] |
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/ |
H A D | hks_event_observer.cpp | 43 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() 54 if (userId == 0) { in GetProcessInfo() 57 (void)memcpy_s(userData, userSize, &userId, userSize); in GetProcessInfo() 59 processInfo->userId.size = userSize; in GetProcessInfo() 60 processInfo->userId.data = userData; in GetProcessInfo() 61 processInfo->userIdInt = userId; in GetProcessInfo() 68 processInfo->userId.data = nullptr; in GetProcessInfo() 76 static void GetUserId(int userId, struc argument 115 int userId = -1; OnReceiveEvent() local 126 int userId = data.GetCode(); OnReceiveEvent() local 133 int userId = data.GetCode(); OnReceiveEvent() local [all...] |
/base/inputmethod/imf/services/include/ |
H A D | ime_info_inquirer.h | 77 std::string GetDumpInfo(int32_t userId); 78 std::shared_ptr<ImeNativeCfg> GetImeToStart(int32_t userId); 80 int32_t userId, const std::string &bundleName, const std::string &extName = ""); 81 std::shared_ptr<Property> GetCurrentInputMethod(int32_t userId); 82 std::shared_ptr<SubProperty> GetCurrentSubtype(int32_t userId); 83 std::shared_ptr<ImeInfo> GetImeInfo(int32_t userId, const std::string &bundleName, const std::string &subName); 84 std::shared_ptr<ImeInfo> GetDefaultImeInfo(int32_t userId); 88 bool GetImeAppId(int32_t userId, const std::string &bundleName, std::string &appId); 89 bool GetImeVersionCode(int32_t userId, const std::string &bundleName, uint32_t &versionCode); 90 int32_t GetDefaultInputMethod(const int32_t userId, st [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | os_account_manager_helper_test.cpp | 41 int32_t userId = -1; in HWTEST_F() local 42 ASSERT_EQ(ERR_OK, OsAccountManagerHelper::GetInstance().GetCurrentCallingUserId(userId)); in HWTEST_F() 52 int32_t userId = -1; in HWTEST_F() local 54 ASSERT_EQ(ERR_OK, OsAccountManagerHelper::GetInstance().GetOsAccountLocalIdFromUid(uid, userId)); in HWTEST_F() 64 int32_t userId = -1; in HWTEST_F() local 65 ASSERT_EQ(ERR_OK, OsAccountManagerHelper::GetInstance().GetCurrentActiveUserId(userId)); in HWTEST_F() 75 int32_t userId = 100; in HWTEST_F() local 76 ASSERT_EQ(true, OsAccountManagerHelper::GetInstance().CheckUserExists(userId)); in HWTEST_F() 86 int32_t userId = 1099; in HWTEST_F() local 87 ASSERT_EQ(false, OsAccountManagerHelper::GetInstance().CheckUserExists(userId)); in HWTEST_F() 97 int32_t userId = 100; HWTEST_F() local 108 int32_t userId = 10737; HWTEST_F() local 119 int32_t userId = 0; HWTEST_F() local 130 int32_t userId = 10736; HWTEST_F() local [all...] |
/base/account/os_account/services/accountmgr/include/account_iam/ |
H A D | inner_account_iam_manager.h | 37 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); 58 int32_t userId, cons [all...] |
/base/theme/screenlock_mgr/test/fuzztest/screenlockservice_fuzzer/screenlockutils_fuzzer/ |
H A D | screenlockutils_fuzzer.cpp | 40 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/theme/screenlock_mgr/test/unittest/ |
H A D | screenlock_preferences_test.cpp | 63 int userId = 0; in HWTEST_F() local 65 int result = preferencesUtil->SaveString(std::to_string(userId), defaulVal); in HWTEST_F() 66 std::string val = preferencesUtil->ObtainString(std::to_string(userId), defaulVal); in HWTEST_F() 68 preferencesUtil->RemoveKey(std::to_string(userId)); in HWTEST_F() 88 int userId = 0; in HWTEST_F() local 90 int result = preferencesUtil->SaveInt(std::to_string(userId), defaulVal); in HWTEST_F() 91 int val = preferencesUtil->ObtainInt(std::to_string(userId), defaulVal); in HWTEST_F() 93 preferencesUtil->RemoveKey(std::to_string(userId)); in HWTEST_F() 113 int userId = 0; in HWTEST_F() local 115 int result = preferencesUtil->SaveBool(std::to_string(userId), defaulVa in HWTEST_F() 138 int userId = 0; HWTEST_F() local 162 int userId = 0; HWTEST_F() local [all...] |
/base/account/os_account/services/accountmgr/src/ |
H A D | ohos_account_manager.cpp | 184 std::int32_t userId = AccountMgrService::GetInstance().GetCallingUserID(); in OhosAccountStateChange() local 185 return (itFunc->second)(userId, ohosAccountInfo, eventStr); in OhosAccountStateChange() 189 const int32_t userId, const OhosAccountInfo &ohosAccountInfo, const std::string &eventStr) in OhosAccountStateChange() 196 return (itFunc->second)(userId, ohosAccountInfo, eventStr); in OhosAccountStateChange() 247 ErrCode OhosAccountManager::GetAccountInfoByUserId(std::int32_t userId, AccountInfo &info) in GetAccountInfoByUserId() argument 249 if (userId == 0) { in GetAccountInfoByUserId() 250 userId = AccountMgrService::GetInstance().GetCallingUserID(); in GetAccountInfoByUserId() 254 ErrCode ret = dataDealer_->AccountInfoFromJson(info, userId); in GetAccountInfoByUserId() 256 ACCOUNT_LOGE("get ohos account info failed, userId %{public}d.", userId); in GetAccountInfoByUserId() 188 OhosAccountStateChange( const int32_t userId, const OhosAccountInfo &ohosAccountInfo, const std::string &eventStr) OhosAccountStateChange() argument 322 LoginOhosAccount(const int32_t userId, const OhosAccountInfo &ohosAccountInfo, const std::string &eventStr) LoginOhosAccount() argument 392 LogoutOhosAccount( const int32_t userId, const OhosAccountInfo &ohosAccountInfo, const std::string &eventStr) LogoutOhosAccount() argument 437 LogoffOhosAccount( const int32_t userId, const OhosAccountInfo &ohosAccountInfo, const std::string &eventStr) LogoffOhosAccount() argument 481 HandleOhosAccountTokenInvalidEvent( const int32_t userId, const OhosAccountInfo &ohosAccountInfo, const std::string &eventStr) HandleOhosAccountTokenInvalidEvent() argument 681 std::int32_t userId = -1; CheckOhosAccountCanBind() local 682 sstream >> userId; CheckOhosAccountCanBind() local [all...] |
/base/theme/wallpaper_mgr/services/src/ |
H A D | wallpaper_service.cpp | 258 int32_t userId = DEFAULT_USER_ID; in InitData() local 268 currentUserId_ = userId; in InitData() 271 InitUserDir(userId); in InitData() 272 UpdataWallpaperMap(userId, WALLPAPER_SYSTEM); in InitData() 273 UpdataWallpaperMap(userId, WALLPAPER_LOCKSCREEN); in InitData() 275 ClearRedundantFile(userId, WALLPAPER_SYSTEM, WALLPAPER_SYSTEM_ORIG); in InitData() 276 ClearRedundantFile(userId, WALLPAPER_LOCKSCREEN, WALLPAPER_LOCK_ORIG); in InitData() 343 int32_t userId = osAccountInfo.GetLocalId(); in InitUsersOnBoot() local 344 HILOG_INFO("InitUsersOnBoot Current userId: %{public}d", userId); in InitUsersOnBoot() 354 ClearRedundantFile(int32_t userId, WallpaperType wallpaperType, std::string fileName) ClearRedundantFile() argument 361 OnInitUser(int32_t userId) OnInitUser() argument 383 InitUserDir(int32_t userId) InitUserDir() argument 405 RestoreUserResources(int32_t userId, WallpaperData &wallpaperData, WallpaperType wallpaperType) RestoreUserResources() argument 433 OnRemovedUser(int32_t userId) OnRemovedUser() argument 449 OnSwitchedUser(int32_t userId) OnSwitchedUser() argument 479 GetWallpaperDir(int32_t userId, WallpaperType wallpaperType) GetWallpaperDir() argument 491 GetFileNameFromMap(int32_t userId, WallpaperType wallpaperType, std::string &filePathName) GetFileNameFromMap() argument 520 GetPictureFileName(int32_t userId, WallpaperType wallpaperType, std::string &filePathName) GetPictureFileName() argument 544 UpdataWallpaperMap(int32_t userId, WallpaperType wallpaperType) UpdataWallpaperMap() argument 608 int32_t userId = QueryActiveUserId(); GetFile() local 620 SaveColor(int32_t userId, WallpaperType wallpaperType) SaveColor() argument 700 SetWallpaperBackupData( int32_t userId, WallpaperResourceType resourceType, const std::string &uriOrPixelMap, WallpaperType wallpaperType) SetWallpaperBackupData() argument 770 GetResType(int32_t userId, WallpaperType wallpaperType) GetResType() argument 794 int32_t userId = QueryActiveUserId(); SendEvent() local 816 SendWallpaperChangeEvent(int32_t userId, WallpaperType wallpaperType) SendWallpaperChangeEvent() argument 866 int32_t userId = QueryActiveUserId(); SetCustomWallpaper() local 913 int32_t userId = QueryActiveUserId(); GetPixelMap() local 945 int32_t userId = QueryActiveUserId(); GetWallpaperId() local 990 int32_t userId = QueryActiveUserId(); ResetWallpaper() local 1009 SetDefaultDataForWallpaper(int32_t userId, WallpaperType wallpaperType) SetDefaultDataForWallpaper() argument 1082 GetWallpaperSafeLocked(int32_t userId, WallpaperType wallpaperType, WallpaperData &wallpaperData) GetWallpaperSafeLocked() argument 1101 ClearWallpaperLocked(int32_t userId, WallpaperType wallpaperType) ClearWallpaperLocked() argument 1192 GetImageFd(int32_t userId, WallpaperType wallpaperType, int32_t &fd) GetImageFd() argument 1216 GetImageSize(int32_t userId, WallpaperType wallpaperType, int32_t &size) GetImageSize() argument 1258 CheckUserPermissionById(int32_t userId) CheckUserPermissionById() argument 1277 int32_t userId = QueryActiveUserId(); SetWallpaper() local 1330 int32_t userId = QueryActiveUserId(); SetWallpaperByPixelMap() local 1491 SaveWallpaperState( int32_t userId, WallpaperType wallpaperType, WallpaperResourceType resourceType) SaveWallpaperState() argument 1533 int32_t userId = QueryActiveUserId(); LoadWallpaperState() local [all...] |
/base/useriam/user_auth_framework/test/unittest/services/src/ |
H A D | user_idm_session_controller_test.cpp | 48 int32_t userId = 100; in HWTEST_F() local 52 EXPECT_CALL(*mock, OpenSession(userId, _)).WillRepeatedly(Return(SUCCESS)); in HWTEST_F() 54 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId, challenge)); in HWTEST_F() 74 int32_t userId = 100; in HWTEST_F() local 78 EXPECT_CALL(*mock, OpenSession(userId, _)).WillRepeatedly(Return(GENERAL_ERROR)); in HWTEST_F() 80 EXPECT_EQ(false, UserIdmSessionController::Instance().OpenSession(userId, challenge)); in HWTEST_F() 85 int32_t userId = 100; in HWTEST_F() local 93 EXPECT_CALL(*mock, OpenSession(userId, _)).WillRepeatedly(DoAll(WithArg<1>(fillUpChallenge), Return(SUCCESS))); in HWTEST_F() 95 EXPECT_EQ(false, UserIdmSessionController::Instance().IsSessionOpened(userId)); in HWTEST_F() 97 EXPECT_EQ(true, UserIdmSessionController::Instance().OpenSession(userId, challeng in HWTEST_F() 105 int32_t userId = 100; HWTEST_F() local 126 int32_t userId = 100; HWTEST_F() local [all...] |
/base/inputmethod/imf/test/fuzztest/securitymodeparser_fuzzer/ |
H A D | securitymodeparser_fuzzer.cpp | 24 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/inputmethod/imf/services/adapter/wms_connection_monitor/src/ |
H A D | wms_connection_observer.cpp | 23 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, screenI in OnDisconnected() 41 Add(int32_t userId) Add() argument 47 Remove(int32_t userId) Remove() argument 57 IsWmsConnected(int32_t userId) IsWmsConnected() argument [all...] |
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | full_ime_info_manager_test.cpp | 85 int32_t userId = 100; in HWTEST_F() local 94 fullImeInfos.emplace_back(std::make_pair(userId, imeInfos)); in HWTEST_F() 99 auto it = FullImeInfoManager::GetInstance().fullImeInfos_.find(userId); in HWTEST_F() 112 * @tc.desc: test Add in user added that the userId exists 118 int32_t userId = 100; in HWTEST_F() local 120 FullImeInfoManager::GetInstance().fullImeInfos_.insert_or_assign(userId, imeInfos); in HWTEST_F() 121 auto ret = FullImeInfoManager::GetInstance().Add(userId); in HWTEST_F() 133 int32_t userId = 100; in HWTEST_F() local 136 auto ret = FullImeInfoManager::GetInstance().Add(userId); in HWTEST_F() 148 int32_t userId in HWTEST_F() local 195 int32_t userId = 100; HWTEST_F() local 211 int32_t userId = 100; HWTEST_F() local 229 int32_t userId = 100; HWTEST_F() local 259 int32_t userId = 100; HWTEST_F() local 290 int32_t userId = 100; HWTEST_F() local 309 int32_t userId = 100; HWTEST_F() local 341 int32_t userId = 100; HWTEST_F() local 361 int32_t userId = 100; HWTEST_F() local 390 int32_t userId = 100; HWTEST_F() local 411 int32_t userId = 100; HWTEST_F() local 436 int32_t userId = 100; HWTEST_F() local 469 int32_t userId = 100; HWTEST_F() local 488 int32_t userId = 100; HWTEST_F() local 506 int32_t userId = 100; HWTEST_F() local 525 int32_t userId = 100; HWTEST_F() local 547 int32_t userId = 100; HWTEST_F() local [all...] |
/base/notification/common_event_service/services/src/ |
H A D | static_subscriber_manager.cpp | 146 const sptr<IRemoteObject> &service, const int32_t &userId, in PublishCommonEventConnecAbility() 153 DelayedSingleton<AbilityManagerHelper>::GetInstance()->ConnectAbility(want, data, service, userId); in PublishCommonEventConnecAbility() 154 SendStaticSubscriberStartHiSysEvent(userId, abilityName, bundleName, data.GetWant().GetAction()); in PublishCommonEventConnecAbility() 159 const int32_t &userId, const sptr<IRemoteObject> &service, const std::string &bundleName) in PublishCommonEventInner() 166 SendStaticEventProcErrHiSysEvent(userId, bundleName, subscriber.bundleName, data.GetWant().GetAction()); in PublishCommonEventInner() 169 if (subscriber.userId < SUBSCRIBE_USER_SYSTEM_BEGIN) { in PublishCommonEventInner() 170 EVENT_LOGW("subscriber %{public}s userId is invalid, subscriber.userId = %{public}d", in PublishCommonEventInner() 171 subscriber.bundleName.c_str(), subscriber.userId); in PublishCommonEventInner() 172 SendStaticEventProcErrHiSysEvent(userId, bundleNam in PublishCommonEventInner() 145 PublishCommonEventConnecAbility(const CommonEventData &data, const sptr<IRemoteObject> &service, const int32_t &userId, const std::string &bundleName, const std::string &abilityName) PublishCommonEventConnecAbility() argument 157 PublishCommonEventInner(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, const Security::AccessToken::AccessTokenID &callerToken, const int32_t &userId, const sptr<IRemoteObject> &service, const std::string &bundleName) PublishCommonEventInner() argument 210 PublishCommonEvent(const CommonEventData &data, const CommonEventPublishInfo &publishInfo, const Security::AccessToken::AccessTokenID &callerToken, const int32_t &userId, const sptr<IRemoteObject> &service, const std::string &bundleName) PublishCommonEvent() argument 250 VerifySubscriberPermission(const std::string &bundleName, const int32_t &userId, const std::vector<std::string> &permissions) VerifySubscriberPermission() argument 341 int32_t userId = -1; AddSubscriber() local 371 AddSubscriberWithBundleName(const std::string &bundleName, const int32_t &userId) AddSubscriberWithBundleName() argument 389 RemoveSubscriberWithBundleName(const std::string &bundleName, const int32_t &userId) RemoveSubscriberWithBundleName() argument 438 int32_t userId = -1; UpdateSubscriber() local 466 SendStaticEventProcErrHiSysEvent(int32_t userId, const std::string &publisherName, const std::string &subscriberName, const std::string &eventName) SendStaticEventProcErrHiSysEvent() argument 477 SendStaticSubscriberStartHiSysEvent(int32_t userId, const std::string &publisherName, const std::string &subscriberName, const std::string &eventName) SendStaticSubscriberStartHiSysEvent() argument [all...] |
/base/location/frameworks/location_common/common/source/ |
H A D | location_data_rdb_manager.cpp | 33 int userId = 0; in GetLocationDataUriByCurrentUserId() local 34 if (!CommonUtils::GetCurrentUserId(userId)) { in GetLocationDataUriByCurrentUserId() 35 userId = DEFAULT_USERID; in GetLocationDataUriByCurrentUserId() 38 std::to_string(userId) + in GetLocationDataUriByCurrentUserId() 43 std::string LocationDataRdbManager::GetLocationDataUriForUser(std::string key, int32_t userId) in GetLocationDataUriForUser() argument 46 std::to_string(userId) + in GetLocationDataUriForUser() 53 int userId = 0; in GetLocationDataSecureUri() local 54 if (!CommonUtils::GetCurrentUserId(userId)) { in GetLocationDataSecureUri() 55 userId = DEFAULT_USERID; in GetLocationDataSecureUri() 58 std::to_string(userId) in GetLocationDataSecureUri() 90 SetSwitchStateToDbForUser(int modeValue, int32_t userId) SetSwitchStateToDbForUser() argument 97 GetSwitchStateFromDbForUser(int32_t& state, int32_t userId) GetSwitchStateFromDbForUser() argument 145 int32_t userId = 0; GetSwitchStateFromSysparaForCurrentUser() local 154 int32_t userId = 0; SetSwitchStateToSysparaForCurrentUser() local 161 GetSwitchStateFromSysparaForUser(int32_t userId) GetSwitchStateFromSysparaForUser() argument 190 SetSwitchStateToSysparaForUser(int value, int32_t userId) SetSwitchStateToSysparaForUser() argument 277 IsUserIdInActiveIds(std::vector<int> activeIds, std::string userId) IsUserIdInActiveIds() argument [all...] |
/base/theme/screenlock_mgr/services/src/ |
H A D | strongauthmanager.cpp | 97 void StrongAuthManger::authTimer::SetUserId(int32_t userId) in SetUserId() argument 99 userId_ = userId; in SetUserId() 102 static void StrongAuthTimerCallback(int32_t userId) in StrongAuthTimerCallback() argument 105 uint64_t timerId = StrongAuthManger::GetInstance()->GetTimerId(userId); in StrongAuthTimerCallback() 107 StrongAuthManger::GetInstance()->ResetStrongAuthTimer(userId); in StrongAuthTimerCallback() 108 StrongAuthManger::GetInstance()->SetStrongAuthStat(userId, reasonFlag); in StrongAuthTimerCallback() 109 ScreenLockSystemAbility::GetInstance()->StrongAuthChanged(userId, reasonFlag); in StrongAuthTimerCallback() 137 uint64_t StrongAuthManger::GetTimerId(int32_t userId) in GetTimerId() argument 140 auto iter = strongAuthTimerInfo.find(userId); in GetTimerId() 170 void StrongAuthManger::AuthEventListenerService::OnNotifyAuthSuccessEvent(int32_t userId, in OnNotifyAuthSuccessEvent() argument 191 StartStrongAuthTimer(int32_t userId) StartStrongAuthTimer() argument 210 ResetStrongAuthTimer(int32_t userId) ResetStrongAuthTimer() argument 231 DestroyStrongAuthTimer(int32_t userId) DestroyStrongAuthTimer() argument 244 SetStrongAuthStat(int32_t userId, int32_t reasonFlag) SetStrongAuthStat() argument 257 GetStrongAuthStat(int32_t userId) GetStrongAuthStat() argument [all...] |
/base/useriam/user_auth_framework/frameworks/native/ipc/src/ |
H A D | user_idm_stub.cpp | 75 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() 144 int32_t userId; GetSecInfoStub() local 166 int32_t userId; AddCredentialStub() local 212 int32_t userId; UpdateCredentialStub() local 254 int32_t userId; CancelStub() local 270 int32_t userId; EnforceDelUserStub() local 292 int32_t userId; DelUserStub() local 319 int32_t userId; DelCredentialStub() local [all...] |
/base/useriam/user_auth_framework/frameworks/native/client/src/ |
H A D | user_idm_client_impl.cpp | 30 std::vector<uint8_t> UserIdmClientImpl::OpenSession(int32_t userId) in OpenSession() argument 32 IAM_LOGI("start, userId:%{public}d", userId); in OpenSession() 40 auto success = proxy->OpenSession(userId, challenge); in OpenSession() 48 void UserIdmClientImpl::CloseSession(int32_t userId) in CloseSession() argument 50 IAM_LOGI("start, userId:%{public}d", userId); in CloseSession() 57 proxy->CloseSession(userId); in CloseSession() 60 void UserIdmClientImpl::AddCredential(int32_t userId, const CredentialParameters ¶, in AddCredential() argument 63 IAM_LOGI("start, userId in AddCredential() 90 UpdateCredential(int32_t userId, const CredentialParameters ¶, const std::shared_ptr<UserIdmClientCallback> &callback) UpdateCredential() argument 120 Cancel(int32_t userId) Cancel() argument 132 DeleteCredential(int32_t userId, uint64_t credentialId, const std::vector<uint8_t> &authToken, const std::shared_ptr<UserIdmClientCallback> &callback) DeleteCredential() argument 158 DeleteUser(int32_t userId, const std::vector<uint8_t> &authToken, const std::shared_ptr<UserIdmClientCallback> &callback) DeleteUser() argument 184 EraseUser(int32_t userId, const std::shared_ptr<UserIdmClientCallback> &callback) EraseUser() argument 208 GetCredentialInfo(int32_t userId, AuthType authType, const std::shared_ptr<GetCredentialInfoCallback> &callback) GetCredentialInfo() argument 235 GetSecUserInfo(int32_t userId, const std::shared_ptr<GetSecUserInfoCallback> &callback) GetSecUserInfo() argument [all...] |