/foundation/window/window_manager/wmserver/src/zidl/ |
H A D | mock_session_manager_service_stub.cpp | 94 int32_t userId = data.ReadInt32(); in HandleSetSnapshotSkipByUserIdAndBundleNames() local 100 int32_t errCode = SetSnapshotSkipByUserIdAndBundleNames(userId, bundleNameList); in HandleSetSnapshotSkipByUserIdAndBundleNames() 114 int32_t userId = data.ReadInt32(); in HandleSetSnapshotSkipByIdNamesMap() local 120 idBundlesMap[userId] = bundleNameList; in HandleSetSnapshotSkipByIdNamesMap()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/ |
H A D | js_default_app.cpp | 389 ErrCode ret = defaultAppProxy->GetDefaultApplication(info->userId, info->type, info->bundleInfo); in InnerGetDefaultApplication() 433 asyncCallbackInfo->userId = IPCSkeleton::GetCallingUid() / Constants::BASE_USER_RANGE; in GetDefaultApplication() 454 if (!CommonFunc::ParseInt(env, args[i], asyncCallbackInfo->userId)) { in GetDefaultApplication() 455 APP_LOGW("Parse userId failed, set this parameter to the caller userId"); in GetDefaultApplication() 477 std::string& type, int32_t& userId) in ParamsProcessGetDefaultApplicationSync() 493 if (!CommonFunc::ParseInt(env, args[ARGS_POS_ONE], userId)) { in ParamsProcessGetDefaultApplicationSync() 510 int32_t userId = IPCSkeleton::GetCallingUid() / Constants::BASE_USER_RANGE; in GetDefaultApplicationSync() local 511 if (ParamsProcessGetDefaultApplicationSync(env, info, type, userId) != ERR_OK) { in GetDefaultApplicationSync() 524 ErrCode ret = defaultAppProxy->GetDefaultApplication(userId, typ in GetDefaultApplicationSync() 476 ParamsProcessGetDefaultApplicationSync(napi_env env, napi_callback_info info, std::string& type, int32_t& userId) ParamsProcessGetDefaultApplicationSync() argument 643 ParamsProcessSetDefaultApplicationSync(napi_env env, napi_callback_info info, std::string& type, OHOS::AAFwk::Want& want, int32_t& userId) ParamsProcessSetDefaultApplicationSync() argument 687 int32_t userId = IPCSkeleton::GetCallingUid() / Constants::BASE_USER_RANGE; SetDefaultApplicationSync() local 810 ParamsProcessResetDefaultApplicationSync(napi_env env, napi_callback_info info, std::string& type, int32_t& userId) ParamsProcessResetDefaultApplicationSync() argument 846 int32_t userId = IPCSkeleton::GetCallingUid() / Constants::BASE_USER_RANGE; ResetDefaultApplicationSync() local [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_test.cpp | 74 bool GetBundleStats(const std::string &bundleName, const int32_t userId, 128 createDirParam.userId = userid; in CreateBundleDataDir() 203 bool BmsInstallDaemonTest::GetBundleStats(const std::string &bundleName, const int32_t userId, in GetBundleStats() argument 209 if (InstalldClient::GetInstance()->GetBundleStats(bundleName, userId, bundleStats, uid) == ERR_OK) { in GetBundleStats() 540 createDirParam.userId = USERID; in HWTEST_F() 987 std::string userId = "100"; in HWTEST_F() local 992 ErrCode ret = hostImpl.ProcessBundleInstallNative(userId, hnpRootPath, hapPath, cpuAbi, packageName); in HWTEST_F() 1004 std::string userId = "100"; in HWTEST_F() local 1006 ErrCode ret = hostImpl.ProcessBundleUnInstallNative(userId, packageName); in HWTEST_F() 1059 int32_t userId in HWTEST_F() local 1074 int32_t userId = 100; HWTEST_F() local 1123 int32_t userId = -1; HWTEST_F() local 1137 int32_t userId = 100; HWTEST_F() local 1152 int32_t userId = 100; HWTEST_F() local 1167 int32_t userId = -1; HWTEST_F() local 1183 int32_t userId = 100; HWTEST_F() local [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialib_statistic_test/src/ |
H A D | media_space_statistics_test.cpp | 551 string userId; in HWTEST_F() local 552 int32_t ret = mediaLibraryManager->GetUriFromFilePath(realPath, fileUri, userId); in HWTEST_F() 580 string userId; in HWTEST_F() local 581 mediaLibraryManager->GetUriFromFilePath(realPath, fileUri, userId); in HWTEST_F() 611 string userId; in HWTEST_F() local 612 mediaLibraryManager->GetUriFromFilePath(realPath, fileUri, userId); in HWTEST_F() 638 string userId; in HWTEST_F() local 639 int32_t ret = mediaLibraryManager->GetUriFromFilePath(realPath, fileUri, userId); in HWTEST_F() 667 string userId; in HWTEST_F() local 668 mediaLibraryManager->GetUriFromFilePath(realPath, fileUri, userId); in HWTEST_F() 698 string userId; HWTEST_F() local 729 string userId; HWTEST_F() local 760 string userId; HWTEST_F() local 789 string userId; HWTEST_F() local 820 string userId; HWTEST_F() local 851 string userId; HWTEST_F() local 880 string userId; HWTEST_F() local [all...] |
/foundation/distributedhardware/device_manager/commondependency/src/ |
H A D | deviceprofile_connector.cpp | 33 int32_t userId = MultipleUserConnector::GetCurrentAccountUserID(); in GetAccessControlProfile() local 34 queryParams[USERID] = std::to_string(userId); in GetAccessControlProfile() 41 std::vector<AccessControlProfile> DeviceProfileConnector::GetAccessControlProfileByUserId(int32_t userId) in GetAccessControlProfileByUserId() argument 45 queryParams[USERID] = std::to_string(userId); in GetAccessControlProfileByUserId() 453 void DeviceProfileConnector::DeleteAclForAccountLogOut(const std::string &localUdid, int32_t userId, in DeleteAclForAccountLogOut() argument 456 LOGI("localUdid %{public}s, userId %{public}d, remoteUdid %{public}s.", GetAnonyString(localUdid).c_str(), userId, in DeleteAclForAccountLogOut() 458 std::vector<AccessControlProfile> profiles = GetAccessControlProfileByUserId(userId); in DeleteAclForAccountLogOut() 466 void DeviceProfileConnector::DeleteAclForUserRemoved(int32_t userId) in DeleteAclForUserRemoved() argument 468 LOGI("DeleteAclForUserRemoved userId in DeleteAclForUserRemoved() 631 UpdateAccessControlList(int32_t userId, std::string &oldAccountId, std::string &newAccountId) UpdateAccessControlList() argument 656 CheckIdenticalAccount(int32_t userId, const std::string &accountId) CheckIdenticalAccount() argument 861 GetDeviceIdAndBindType(int32_t userId, const std::string &accountId, const std::string &localUdid) GetDeviceIdAndBindType() argument [all...] |
/base/customization/enterprise_device_management/interfaces/kits/bundle_manager/src/ |
H A D | bundle_manager_addon.cpp | 125 asyncCallbackInfo->userId, asyncCallbackInfo->isKeepData, asyncCallbackInfo->errMessage); in NativeUninstall() 229 AccountSA::OsAccountManager::GetOsAccountLocalIdFromProcess(asyncCallbackInfo->userId); in CheckAndParseUninstallParamType() 243 ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_TWO]), in CheckAndParseUninstallParamType() 244 "Parameter userId error"); in CheckAndParseUninstallParamType() 253 ASSERT_AND_THROW_PARAM_ERROR(env, ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_TWO]), in CheckAndParseUninstallParamType() 254 "Parameter userId error"); in CheckAndParseUninstallParamType() 261 if (!ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_TWO])) { in CheckAndParseUninstallParamType() 262 AccountSA::OsAccountManager::GetOsAccountLocalIdFromProcess(asyncCallbackInfo->userId); in CheckAndParseUninstallParamType() 267 if (!ParseInt(env, asyncCallbackInfo->userId, argv[ARR_INDEX_TWO])) { in CheckAndParseUninstallParamType() 268 AccountSA::OsAccountManager::GetOsAccountLocalIdFromProcess(asyncCallbackInfo->userId); in CheckAndParseUninstallParamType() [all...] |
/foundation/filemanagement/dfs_service/utils/dentry/src/ |
H A D | meta_file_clouddisk.cpp | 117 static std::string GetCloudDiskDentryFileByPath(uint32_t userId, const std::string &bundleName, in GetCloudDiskDentryFileByPath() argument 121 "/data/service/el2/" + std::to_string(userId) + in GetCloudDiskDentryFileByPath() 129 CloudDiskMetaFile::CloudDiskMetaFile(uint32_t userId, const std::string &bundleName, const std::string &cloudId) in CloudDiskMetaFile() argument 131 userId_ = userId; in CloudDiskMetaFile() 667 void MetaFileMgr::Clear(uint32_t userId, const std::string &bundleName, in Clear() argument 671 MetaFileKey key(userId, cloudId + bundleName); in Clear() 683 std::shared_ptr<CloudDiskMetaFile> MetaFileMgr::GetCloudDiskMetaFile(uint32_t userId, const std::string &bundleName, in GetCloudDiskMetaFile() argument 688 MetaFileKey key(userId, cloudId + bundleName); in GetCloudDiskMetaFile() 699 mFile = std::make_shared<CloudDiskMetaFile>(userId, bundleName, cloudId); in GetCloudDiskMetaFile() 706 int32_t MetaFileMgr::CreateRecycleDentry(uint32_t userId, cons argument 723 MoveIntoRecycleDentryfile(uint32_t userId, const std::string &bundleName, const std::string &name, const std::string &parentCloudId, int64_t rowId) MoveIntoRecycleDentryfile() argument 752 RemoveFromRecycleDentryfile(uint32_t userId, const std::string &bundleName, const std::string &name, const std::string &parentCloudId, int64_t rowId) RemoveFromRecycleDentryfile() argument [all...] |
/base/account/os_account/services/accountmgr/include/ |
H A D | account_event_provider.h | 28 static bool EventPublish(const std::string& event, int32_t userId, const DomainAccountEventData *report); 29 static bool EventPublishAsUser(const std::string& event, int32_t userId);
|
/base/security/asset/services/os_dependency/inc/ |
H A D | os_account_wrapper.h | 25 bool GetUserIdByUid(uint64_t uid, uint32_t *userId); 26 bool IsUserIdExist(int32_t userId, bool *exist);
|
/base/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/useridm/inc/ |
H A D | hks_useridm_api_wrap.h | 25 int32_t HksUserIdmGetSecInfo(int32_t userId, struct SecInfoWrap **outSecInfo); 27 int32_t HksUserIdmGetAuthInfoNum(int32_t userId, enum HksUserAuthType hksAuthType, uint32_t *numOfAuthInfo);
|
/base/useriam/user_auth_framework/services/core/src/ |
H A D | user_info_impl.cpp | 21 UserInfoImpl::UserInfoImpl(const int32_t userId, const UserInfo &userInfo) : userId_(userId), userInfo_(userInfo) in UserInfoImpl() argument
|
H A D | enrolled_info_impl.cpp | 21 EnrolledInfoImpl::EnrolledInfoImpl(int32_t userId, const HdiEnrolledInfo &info) : userId_(userId), info_(info) in EnrolledInfoImpl() argument
|
/foundation/ability/form_fwk/test/unittest/fms_form_data_proxy_record_test/ |
H A D | mock_form_data_proxy_record_test.h | 33 void MockGetCurrentAccountIdRet(int32_t userId); 35 void MockGetCurrentAccountIdRet(int32_t userId);
|
/foundation/ability/form_fwk/test/unittest/fms_form_render_mgr_test/ |
H A D | mock_form_util.cpp | 29 void MockGetCurrentAccountIdRet(int32_t userId) in MockGetCurrentAccountIdRet() argument 31 getCurrentAccountId = userId; in MockGetCurrentAccountIdRet()
|
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/ |
H A D | user_callback.h | 31 virtual void OnStopUserDone(int userId, int errcode) = 0; 36 * @param userId userId. 39 virtual void OnStartUserDone(int userId, int errcode) = 0;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/connect_adapter/src/ |
H A D | connect_wrapper.cpp | 26 API_EXPORT OHOS::IRemoteObject *ConnectService(int userId) in ConnectService() argument 28 OHOS::sptr<OHOS::IRemoteObject> iRemoteObject = ConnectServiceInner(userId); in ConnectService()
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatasvc/src/ |
H A D | distributed_data_mgr.cpp | 22 int32_t DistributedKv::DistributedDataMgr::ClearAppStorage(const std::string &bundleName, int32_t userId, in ClearAppStorage() argument 25 return KvStoreDataServiceMgr::ClearAppStorage(bundleName, userId, appIndex, tokenId); in ClearAppStorage()
|
/foundation/filemanagement/dfs_service/test/mock/ |
H A D | cloud_file_kit_mock.cpp | 24 MOCK_METHOD2(GetCloudUserInfo, int32_t(const int32_t userId, CloudFile::CloudUserInfo &userInfo)); 25 MOCK_METHOD3(GetAppSwitchStatus, int32_t(const std::string &bundleName, const int32_t userId, bool &switchStatus));
|
/foundation/filemanagement/app_file_service/utils/include/b_process/ |
H A D | b_multiuser.h | 25 int userId; member 33 .userId = uid / BConstants::SPAN_USERID_UID, in ParseUid()
|
/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/src/ |
H A D | cloud_sync_helper_impl.cpp | 22 CloudSyncHelperImpl::CloudSyncHelperImpl(const int32_t userId, const string &bundleName) in CloudSyncHelperImpl() argument 23 : CloudSyncHelper(userId, bundleName) in CloudSyncHelperImpl()
|
/foundation/filemanagement/app_file_service/tests/mock/b_process/b_process/ |
H A D | b_multiuser.h | 27 int userId; member 35 .userId = BConstants::DEFAULT_USER_ID, in ParseUid()
|
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/ |
H A D | cloud_sync_helper.cpp | 22 CloudSyncHelper::CloudSyncHelper(const int32_t userId, const string &bundleName) in CloudSyncHelper() argument 23 : userId_(userId), bundleName_(bundleName) in CloudSyncHelper()
|
/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_hichain_connector.cpp | 114 std::string userId = "userIdTest"; in HWTEST_F() local 118 int32_t ret = hiChainConnector->CreateGroup(requestId, authType, userId, jsonOutObj); in HWTEST_F() 243 groupInfo.userId = "test"; in HWTEST_F() 251 jsonObject[FIELD_USER_ID] = "userId"; in HWTEST_F() 253 EXPECT_EQ(groupInfo.userId, "userId"); in HWTEST_F() 613 const std::string userId = "userIdTest"; in HWTEST_F() local 617 bool ret = hiChainConnector->IsRedundanceGroup(userId, authType, groupList); in HWTEST_F() 762 const int32_t userId = 1; in HWTEST_F() local 765 int32_t ret = hiChainConnector->DeleteGroup(userId, groupI in HWTEST_F() 778 std::string userId = "userIdTest"; HWTEST_F() local 853 std::string userId; HWTEST_F() local 871 std::string userId = "1321231"; HWTEST_F() local 889 std::string userId = "1321231"; HWTEST_F() local 908 std::string userId = ""; HWTEST_F() local 925 std::string userId = "userIdTest"; HWTEST_F() local 942 std::string userId = "userIdTest"; HWTEST_F() local 959 std::string userId = ""; HWTEST_F() local 1020 int32_t userId = 12; HWTEST_F() local 1076 std::string userId = "13245631"; HWTEST_F() local 1091 std::string userId = "13245631"; HWTEST_F() local 1169 std::string userId = "12"; HWTEST_F() local 1360 int32_t userId = 1; HWTEST_F() local [all...] |
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_database_test.cpp | 38 int32_t userId = 100; member in OHOS::Notification::NotificationPreferencesDatabaseTest 210 EXPECT_TRUE(preferncesDB_->PutNotificationsEnabled(userId, true)); in HWTEST_F() 211 EXPECT_TRUE(preferncesDB_->PutNotificationsEnabled(userId, false)); in HWTEST_F() 223 EXPECT_TRUE(preferncesDB_->PutDoNotDisturbDate(userId, date)); in HWTEST_F() 241 EXPECT_TRUE(preferncesDB_->PutDoNotDisturbDate(userId, date)); in HWTEST_F() 260 EXPECT_TRUE(preferncesDB_->PutDoNotDisturbDate(userId, date)); in HWTEST_F() 279 EXPECT_TRUE(preferncesDB_->PutDoNotDisturbDate(userId, date)); in HWTEST_F() 438 int32_t userId = 1; in HWTEST_F() local 439 ASSERT_EQ(preferncesDB_->RemoveNotificationEnable(userId), true); in HWTEST_F() 450 int32_t userId in HWTEST_F() local 847 int32_t userId = 0; HWTEST_F() local 1009 int32_t userId = 1; HWTEST_F() local 1033 int32_t userId = 1; HWTEST_F() local 1058 int32_t userId = 1; HWTEST_F() local 1076 int32_t userId = 1; HWTEST_F() local [all...] |
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/ipc/ |
H A D | hks_ipc_service.c | 117 HKS_FREE_BLOB(processInfo.userId);
in HksIpcServiceGenerateKey() 145 HKS_FREE_BLOB(processInfo.userId);
in HksIpcServiceImportKey() 174 HKS_FREE_BLOB(processInfo.userId);
in HksIpcServiceImportWrappedKey() 207 HKS_FREE_BLOB(processInfo.userId);
in HksIpcServiceExportPublicKey() 233 HKS_FREE_BLOB(processInfo.userId);
in HksIpcServiceDeleteKey() 267 HKS_FREE_BLOB(processInfo.userId);
in HksIpcServiceGetKeyParamSet() 294 HKS_FREE_BLOB(processInfo.userId);
in HksIpcServiceKeyExist() 338 HKS_FREE_BLOB(processInfo.userId);
in HksIpcServiceGenerateRandom() 372 HKS_FREE_BLOB(processInfo.userId);
in HksIpcServiceSign() 401 HKS_FREE_BLOB(processInfo.userId);
in HksIpcServiceVerify() [all...] |