Home
last modified time | relevance | path

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

12345678910>>...80

/foundation/filemanagement/storage_service/services/storage_manager/crypto/
Dfilesystem_crypto.cpp38 int32_t FileSystemCrypto::CheckUserIdRange(int32_t userId) in CheckUserIdRange() argument
40 if (userId < StorageService::START_USER_ID || userId > StorageService::MAX_USER_ID) { in CheckUserIdRange()
41 LOGE("FileSystemCrypto: userId:%{public}d is out of range", userId); in CheckUserIdRange()
47 int32_t FileSystemCrypto::GenerateUserKeys(uint32_t userId, uint32_t flags) in GenerateUserKeys() argument
49 LOGI("UserId: %{public}u, flags: %{public}u", userId, flags); in GenerateUserKeys()
50 int32_t err = CheckUserIdRange(userId); in GenerateUserKeys()
57 err = sdCommunication->GenerateUserKeys(userId, flags); in GenerateUserKeys()
61 int32_t FileSystemCrypto::DeleteUserKeys(uint32_t userId) in DeleteUserKeys() argument
63 LOGI("UserId: %{public}u", userId); in DeleteUserKeys()
64 int32_t err = CheckUserIdRange(userId); in DeleteUserKeys()
[all …]
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/
Duser_manager.cpp63 int32_t UserManager::StartUser(int32_t userId) in StartUser() argument
65 LOGI("start user %{public}d", userId); in StartUser()
67 int32_t err = CheckUserIdRange(userId); in StartUser()
69 LOGE("UserManager::StartUser userId %{public}d out of range", userId); in StartUser()
72 return MountManager::GetInstance()->MountByUser(userId); in StartUser()
75 int32_t UserManager::StopUser(int32_t userId) in StopUser() argument
77 LOGI("stop user %{public}d", userId); in StopUser()
79 int32_t err = CheckUserIdRange(userId); in StopUser()
81 LOGE("UserManager::StopUser userId %{public}d out of range", userId); in StopUser()
84 return MountManager::GetInstance()->UmountByUser(userId); in StopUser()
[all …]
/foundation/filemanagement/storage_service/services/storage_manager/user/src/
Dmulti_user_manager_service.cpp35 int32_t MultiUserManagerService::CheckUserIdRange(int32_t userId) in CheckUserIdRange() argument
37 if (userId < StorageService::START_USER_ID || userId > StorageService::MAX_USER_ID) { in CheckUserIdRange()
38 LOGE("MultiUserManagerService: userId:%{public}d is out of range", userId); in CheckUserIdRange()
44 int32_t MultiUserManagerService::PrepareAddUser(int32_t userId, uint32_t flags) in PrepareAddUser() argument
46 LOGI("MultiUserManagerService::PrepareAddUser, userId:%{public}d", userId); in PrepareAddUser()
47 int32_t err = CheckUserIdRange(userId); in PrepareAddUser()
49 LOGE("MultiUserManagerService::PrepareAddUser userId %{public}d out of range", userId); in PrepareAddUser()
54 err = sdCommunication->PrepareAddUser(userId, flags); in PrepareAddUser()
58 int32_t MultiUserManagerService::RemoveUser(int32_t userId, uint32_t flags) in RemoveUser() argument
60 LOGI("MultiUserManagerService::RemoveUser, userId:%{public}d", userId); in RemoveUser()
[all …]
/foundation/arkui/ui_appearance/services/src/
Ddark_mode_manager.cpp41 ErrCode DarkModeManager::LoadUserSettingData(const int32_t userId, const bool needUpdateCallback, b… in LoadUserSettingData() argument
45 manager.GetInt32ValueStrictly(SETTING_DARK_MODE_MODE, darkMode, userId); in LoadUserSettingData()
47 LOGE("dark mode out of range: %{public}d, userId: %{public}d", darkMode, userId); in LoadUserSettingData()
51 manager.GetInt32ValueStrictly(SETTING_DARK_MODE_START_TIME, startTime, userId); in LoadUserSettingData()
53 manager.GetInt32ValueStrictly(SETTING_DARK_MODE_END_TIME, endTime, userId); in LoadUserSettingData()
56 DarkModeState& state = darkModeStates_[userId]; in LoadUserSettingData()
60 …LOGI("load user setting data, userId: %{public}d, mode: %{public}d, start: %{public}d, end : %{pub… in LoadUserSettingData()
61 userId, darkMode, startTime, endTime); in LoadUserSettingData()
62 return OnStateChangeLocked(userId, needUpdateCallback, isDarkMode); in LoadUserSettingData()
65 void DarkModeManager::NotifyDarkModeUpdate(const int32_t userId, const bool isDarkMode) in NotifyDarkModeUpdate() argument
[all …]
/foundation/ability/ability_runtime/services/abilitymgr/src/
Duser_controller.cpp77 void UserController::ClearAbilityUserItems(int32_t userId) in ClearAbilityUserItems() argument
80 if (userItems_.count(userId)) { in ClearAbilityUserItems()
81 userItems_.erase(userId); in ClearAbilityUserItems()
85 void UserController::StartUser(int32_t userId, sptr<IUserCallback> callback) in StartUser() argument
87 if (userId < 0 || userId == USER_ID_NO_HEAD) { in StartUser()
88 TAG_LOGE(AAFwkTag::ABILITYMGR, "StartUser userId is invalid:%{public}d", userId); in StartUser()
89 callback->OnStartUserDone(userId, INVALID_USERID_VALUE); in StartUser()
93 if (IsCurrentUser(userId)) { in StartUser()
94 TAG_LOGW(AAFwkTag::ABILITYMGR, "StartUser user is already current:%{public}d", userId); in StartUser()
95 callback->OnStartUserDone(userId, ERR_OK); in StartUser()
[all …]
Dsub_managers_helper.cpp43 void SubManagersHelper::InitSubManagers(int userId, bool switchUser) in InitSubManagers() argument
45 InitConnectManager(userId, switchUser); in InitSubManagers()
46 InitDataAbilityManager(userId, switchUser); in InitSubManagers()
47 InitPendWantManager(userId, switchUser); in InitSubManagers()
48 if (userId != U0_USER_ID) { in InitSubManagers()
50 InitUIAbilityManager(userId, switchUser); in InitSubManagers()
52 InitMissionListManager(userId, switchUser); in InitSubManagers()
57 void SubManagersHelper::InitConnectManager(int32_t userId, bool switchUser) in InitConnectManager() argument
60 auto it = connectManagers_.find(userId); in InitConnectManager()
67 auto manager = std::make_shared<AbilityConnectManager>(userId); in InitConnectManager()
[all …]
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
Dstorage_daemon.cpp195 std::string StorageDaemon::GetNeedRestoreFilePath(int32_t userId, const std::string &user_dir) in GetNeedRestoreFilePath() argument
197 std::string path = user_dir + "/" + std::to_string(userId) + "/latest/need_restore"; in GetNeedRestoreFilePath()
201 std::string StorageDaemon::GetNeedRestoreFilePathByType(int32_t userId, KeyType type) in GetNeedRestoreFilePathByType() argument
205 return GetNeedRestoreFilePath(userId, USER_EL1_DIR); in GetNeedRestoreFilePathByType()
207 return GetNeedRestoreFilePath(userId, USER_EL2_DIR); in GetNeedRestoreFilePathByType()
209 return GetNeedRestoreFilePath(userId, USER_EL3_DIR); in GetNeedRestoreFilePathByType()
211 return GetNeedRestoreFilePath(userId, USER_EL4_DIR); in GetNeedRestoreFilePathByType()
213 return GetNeedRestoreFilePath(userId, USER_EL5_DIR); in GetNeedRestoreFilePathByType()
220 int32_t StorageDaemon::RestoreOneUserKey(int32_t userId, KeyType type) in RestoreOneUserKey() argument
228 std::string elNeedRestorePath = GetNeedRestoreFilePathByType(userId, type); in RestoreOneUserKey()
[all …]
/foundation/filemanagement/storage_service/services/storage_daemon/include/user/
Dmount_manager.h77 int32_t MountByUser(int32_t userId);
78 int32_t UmountByUser(int32_t userId);
79 int32_t PrepareHmdfsDirs(int32_t userId);
80 int32_t PrepareFileManagerDirs(int32_t userId);
81 int32_t PrepareAppdataDir(int32_t userId);
82 int32_t DestroyHmdfsDirs(int32_t userId);
83 int32_t DestroyFileManagerDirs(int32_t userId);
84 int32_t DestroySystemServiceDirs(int32_t userId);
85 int32_t CloudMount(int32_t userId, const std::string& path);
86 int32_t CloudTwiceMount(int32_t userId);
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_app_test/
Dbms_bundle_clone_app_bundle_logic_test.cpp225 int32_t userId = 1001; variable
230 auto res = innerBundleInfo.GetInnerBundleUserInfo(userId, tmpUserInfo);
234 innerBundleUserInfo.bundleUserInfo.userId = userId;
237 res = innerBundleInfo.GetInnerBundleUserInfo(userId, tmpUserInfo);
241 .userId = userId,
266 int32_t userId = 1001; variable
271 auto res = innerBundleInfo.GetInnerBundleUserInfo(userId, tmpUserInfo);
275 innerBundleUserInfo.bundleUserInfo.userId = userId;
278 res = innerBundleInfo.GetInnerBundleUserInfo(userId, tmpUserInfo);
283 .userId = userId,
[all …]
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_strategy_manager/
Dmemcg_mgr.cpp67 UserMemcg* MemcgMgr::GetUserMemcg(unsigned int userId) in GetUserMemcg() argument
69 std::map<int, UserMemcg*>::iterator it = userMemcgsMap_.find(userId); in GetUserMemcg()
76 UserMemcg* MemcgMgr::AddUserMemcg(unsigned int userId) in AddUserMemcg() argument
78 HILOGI("userId=%{public}u", userId); in AddUserMemcg()
79 UserMemcg* memcg = new (std::nothrow) UserMemcg(userId); in AddUserMemcg()
84 userMemcgsMap_.insert(std::make_pair(userId, memcg)); in AddUserMemcg()
89 bool MemcgMgr::RemoveUserMemcg(unsigned int userId) in RemoveUserMemcg() argument
91 HILOGI("userId=%{public}u", userId); in RemoveUserMemcg()
92 UserMemcg* memcg = GetUserMemcg(userId); in RemoveUserMemcg()
94 HILOGI("account %{public}u not exist. cannot remove", userId); in RemoveUserMemcg()
[all …]
/foundation/arkui/ui_appearance/services/utils/src/
Dalarm_timer_manager.cpp37 …const uint32_t userId, const std::function<void()>& startCallback, const std::function<void()>& en… in SetScheduleTime() argument
41 …LOGE("userId:%{public}d, start %{public}" PRIu64 ", end %{public}" PRIu64, userId, startTime, endT… in SetScheduleTime()
44 RecordInitialSetupTime(startTime, endTime, userId); in SetScheduleTime()
47 …LOGI("userId: %{public}d, in %{public}" PRIu64 " %{public}" PRIu64 ", trigger %{public}" PRIu64 " … in SetScheduleTime()
48userId, startTime, endTime, triggerTimeInterval[START_INDEX], triggerTimeInterval[END_INDEX]); in SetScheduleTime()
49 SetTimer(0, userId, triggerTimeInterval[START_INDEX], startCallback); in SetScheduleTime()
50 SetTimer(1, userId, triggerTimeInterval[END_INDEX], endCallback); in SetScheduleTime()
51 if (timerIdMap_[userId][START_INDEX] == 0 || timerIdMap_[userId][END_INDEX] == 0) { in SetScheduleTime()
53 timerIdMap_[userId][START_INDEX], timerIdMap_[userId][END_INDEX]); in SetScheduleTime()
57 timerIdMap_[userId][START_INDEX], timerIdMap_[userId][END_INDEX]); in SetScheduleTime()
[all …]
Dsetting_data_manager.cpp73 const int32_t userId) in RegisterObserver() argument
81 const std::string observerName = GenerateObserverName(key, userId); in RegisterObserver()
88 sptr<SettingDataObserver> observer = CreateObserver(key, updateFunc, userId); in RegisterObserver()
97 ErrCode SettingDataManager::UnregisterObserver(const std::string& key, const int32_t userId) in UnregisterObserver() argument
99 const std::string observerName = GenerateObserverName(key, userId); in UnregisterObserver()
117 …DataManager::GetStringValue(const std::string& key, std::string& value, const int32_t userId) const in GetStringValue()
122 CreateDataShareHelperAndUri(userId, key, uriString, helper); in GetStringValue()
124 LOGE("helper is null, userId: %{public}d", userId); in GetStringValue()
135 LOGE("query return null, key: %{public}s, userId: %{public}d", key.c_str(), userId); in GetStringValue()
141 LOGI("not found, key: %{public}s, userId: %{public}d", key.c_str(), userId); in GetStringValue()
[all …]
/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/
Dstorage_manager.cpp74 void StorageManager::ResetUserEventRecord(int32_t userId) in ResetUserEventRecord() argument
77 AccountSubscriber::ResetUserEventRecord(userId); in ResetUserEventRecord()
81 int32_t StorageManager::PrepareAddUser(int32_t userId, uint32_t flags) in PrepareAddUser() argument
83 LOGI("StorageManager::PrepareAddUser start, userId: %{public}d", userId); in PrepareAddUser()
85 int32_t err = userManager->PrepareAddUser(userId, flags); in PrepareAddUser()
89 int32_t StorageManager::RemoveUser(int32_t userId, uint32_t flags) in RemoveUser() argument
91 LOGI("StorageManger::RemoveUser start, userId: %{public}d", userId); in RemoveUser()
93 int32_t err = userManager->RemoveUser(userId, flags); in RemoveUser()
97 int32_t StorageManager::PrepareStartUser(int32_t userId) in PrepareStartUser() argument
99 LOGI("StorageManger::PrepareStartUser start, userId: %{public}d", userId); in PrepareStartUser()
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_control/
Dapp_control_manager_host_impl.h31 const AppInstallControlRuleType controlRuleType, int32_t userId) override;
34 const std::vector<std::string> &appIds, int32_t userId) override;
37 const AppInstallControlRuleType controlRuleType, int32_t userId) override;
39 …l ErrCode GetAppInstallControlRule(const AppInstallControlRuleType controlRuleType, int32_t userId,
44 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) override;
46 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) override;
47 virtual ErrCode DeleteAppRunningControlRule(int32_t userId) override;
48 …virtual ErrCode GetAppRunningControlRule(int32_t userId, std::vector<std::string> &appIds) overrid…
50 … const std::string &bundleName, int32_t userId, AppRunningControlRuleResult &controlRule) override;
54 int32_t userId) override;
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
Dbundle_user_mgr_host_impl.cpp94 ErrCode BundleUserMgrHostImpl::CreateNewUser(int32_t userId, const std::vector<std::string> &disall… in CreateNewUser() argument
98 APP_LOGI("CreateNewUser user(%{public}d) start", userId); in CreateNewUser()
103 EventReport::SendUserSysEvent(UserEventType::CREATE_WITH_SKIP_PRE_INSTALL_START, userId); in CreateNewUser()
105 EventReport::SendUserSysEvent(UserEventType::CREATE_START, userId); in CreateNewUser()
112 BeforeCreateNewUser(userId); in CreateNewUser()
113 OnCreateNewUser(userId, needToSkipPreBundleInstall, disallowList); in CreateNewUser()
114 UninstallBackupUninstallList(userId, needToSkipPreBundleInstall); in CreateNewUser()
115 AfterCreateNewUser(userId); in CreateNewUser()
117 EventReport::SendUserSysEvent(UserEventType::CREATE_WITH_SKIP_PRE_INSTALL_END, userId); in CreateNewUser()
119 EventReport::SendUserSysEvent(UserEventType::CREATE_END, userId); in CreateNewUser()
[all …]
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/
Ddeferred_processing_service.cpp61 void DeferredProcessingService::NotifyLowQualityImage(const int32_t userId, const std::string& imag… in NotifyLowQualityImage() argument
66 if (sessionManager != nullptr && sessionManager->GetCallback(userId) != nullptr) { in NotifyLowQualityImage()
67 sessionManager->GetCallback(userId)->OnDeliveryLowQualityImage(imageId, picture); in NotifyLowQualityImage()
74 const int32_t userId, const sptr<IDeferredPhotoProcessingSessionCallback> callbacks) in CreateDeferredPhotoProcessingSession() argument
76 …eferredProcessingService::CreateDeferredPhotoProcessingSession create session, userId: %{public}d", in CreateDeferredPhotoProcessingSession()
77 userId); in CreateDeferredPhotoProcessingSession()
78 TaskManager* taskManager = GetPhotoTaskManager(userId); in CreateDeferredPhotoProcessingSession()
86 …auto processor = schedulerManager->GetPhotoProcessor(userId, taskManager, sessionImageProcCallback… in CreateDeferredPhotoProcessingSession()
87 …erredPhotoProcessingSession> session = sessionManager->CreateDeferredPhotoProcessingSession(userId, in CreateDeferredPhotoProcessingSession()
93 const int32_t userId, const sptr<IDeferredVideoProcessingSessionCallback> callbacks) in CreateDeferredVideoProcessingSession() argument
[all …]
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/schedule/
Dscheduler_manager.cpp46 std::shared_ptr<DeferredPhotoProcessor> SchedulerManager::GetPhotoProcessor(const int32_t userId, in GetPhotoProcessor() argument
50 DP_CHECK_EXECUTE(photoProcessors_.find(userId) == photoProcessors_.end(), in GetPhotoProcessor()
51 CreatePhotoProcessor(userId, taskManager, callbacks)); in GetPhotoProcessor()
52 return photoProcessors_[userId]; in GetPhotoProcessor()
56 void SchedulerManager::CreatePhotoProcessor(const int32_t userId, TaskManager* taskManager, in CreatePhotoProcessor() argument
60 auto photoRepository = std::make_shared<PhotoJobRepository>(userId); in CreatePhotoProcessor()
61 …auto photoProcessor = std::make_shared<DeferredPhotoProcessor>(userId, taskManager, photoRepositor… in CreatePhotoProcessor()
62 …auto photoController = std::make_shared<DeferredPhotoController>(userId, photoRepository, photoPro… in CreatePhotoProcessor()
65 photoProcessors_[userId] = photoProcessor; in CreatePhotoProcessor()
66 photoController_[userId] = photoController; in CreatePhotoProcessor()
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/
Dbundle_overlay_manager_host_impl.cpp49 std::vector<OverlayModuleInfo> &overlayModuleInfo, int32_t userId) in GetAllOverlayModuleInfo() argument
58 if (userId == Constants::UNSPECIFIED_USERID) { in GetAllOverlayModuleInfo()
59 userId = BundleUtil::GetUserIdByCallingUid(); in GetAllOverlayModuleInfo()
61 APP_LOGD("calling userId is %{public}d", userId); in GetAllOverlayModuleInfo()
67 …undleOverlayManager::GetInstance()->GetAllOverlayModuleInfo(bundleName, overlayModuleInfo, userId); in GetAllOverlayModuleInfo()
71 OverlayModuleInfo &overlayModuleInfo, int32_t userId) in GetOverlayModuleInfo() argument
81 if (userId == Constants::UNSPECIFIED_USERID) { in GetOverlayModuleInfo()
82 userId = BundleUtil::GetUserIdByCallingUid(); in GetOverlayModuleInfo()
84 APP_LOGD("calling userId is %{public}d", userId); in GetOverlayModuleInfo()
91 userId); in GetOverlayModuleInfo()
[all …]
/foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/include/
Dbundle_active_client.h43 * @param userId .
46 ErrCode ReportEvent(BundleActiveEvent event, const int32_t userId);
53 …* @param userId default userId is -1 for JS API, if other SAs call this API, they should explicit …
56 ErrCode IsBundleIdle(bool& isBundleIdle, const std::string& bundleName, int32_t userId = -1);
63 …* @param userId default userId is -1 for JS API, if other SAs call this API, they should explicit …
66 … ErrCode IsBundleUsePeriod(bool& IsUsePeriod, const std::string& bundleName, int32_t userId = -1);
75 …* @param userId default userId is -1 for JS API, if other SAs call this API, they should explicit …
79 … const int32_t intervalType, const int64_t beginTime, const int64_t endTime, int32_t userId = -1);
87 …* @param userId default userId is -1 for JS API, if other SAs call this API, they should explicit …
91 const int64_t endTime, int32_t userId = -1);
[all …]
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/
Dstorage_daemon.h47 virtual int32_t StartUser(int32_t userId) override;
48 virtual int32_t StopUser(int32_t userId) override;
49 virtual int32_t PrepareUserDirs(int32_t userId, uint32_t flags) override;
50 virtual int32_t DestroyUserDirs(int32_t userId, uint32_t flags) override;
51 virtual int32_t CompleteAddUser(int32_t userId) override;
56 virtual int32_t GenerateUserKeys(uint32_t userId, uint32_t flags) override;
57 virtual int32_t DeleteUserKeys(uint32_t userId) override;
58 virtual int32_t UpdateUserAuth(uint32_t userId, uint64_t secureUid,
62 virtual int32_t ActiveUserKey(uint32_t userId,
65 virtual int32_t InactiveUserKey(uint32_t userId) override;
[all …]
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/
Dbundle_mgr_helper.h33 …Info(const std::string &bundleName, const BundleFlag flag, BundleInfo &bundleInfo, int32_t userId);
34 …ErrCode InstallSandboxApp(const std::string &bundleName, int32_t dlpType, int32_t userId, int32_t …
35 ErrCode UninstallSandboxApp(const std::string &bundleName, int32_t appIndex, int32_t userId);
37 …ErrCode GetSandboxBundleInfo(const std::string &bundleName, int32_t appIndex, int32_t userId, Bund…
38 ErrCode GetSandboxAbilityInfo(const Want &want, int32_t appIndex, int32_t flags, int32_t userId,
40 …rrCode GetSandboxExtAbilityInfos(const Want &want, int32_t appIndex, int32_t flags, int32_t userId,
42 … ErrCode GetSandboxHapModuleInfo(const AbilityInfo &abilityInfo, int32_t appIndex, int32_t userId,
44 …etBundleInfo(const std::string &bundleName, int32_t flags, BundleInfo &bundleInfo, int32_t userId);
45 std::string GetAppIdByBundleName(const std::string &bundleName, const int32_t userId);
58 … bool QueryAbilityInfo(const Want &want, int32_t flags, int32_t userId, AbilityInfo &abilityInfo);
[all …]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/app_control/
Dapp_control_interface.h51 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule() argument
56 const std::vector<std::string> &appIds, int32_t userId) in DeleteAppInstallControlRule() argument
60 …rrCode DeleteAppInstallControlRule(const AppInstallControlRuleType controlRuleType, int32_t userId) in DeleteAppInstallControlRule() argument
65 … const AppInstallControlRuleType controlRuleType, int32_t userId, std::vector<std::string> &appIds) in GetAppInstallControlRule() argument
70 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in AddAppRunningControlRule() argument
75 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in DeleteAppRunningControlRule() argument
79 virtual ErrCode DeleteAppRunningControlRule(int32_t userId) in DeleteAppRunningControlRule() argument
83 virtual ErrCode GetAppRunningControlRule(int32_t userId, std::vector<std::string> &appIds) in GetAppRunningControlRule() argument
88 … const std::string &bundleName, int32_t userId, AppRunningControlRuleResult &controlRuleResult) in GetAppRunningControlRule() argument
93 int32_t userId) in ConfirmAppJumpControlRule() argument
[all …]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/
Dapp_control_manager_host_impl.cpp53 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule() argument
66 auto ret = appControlManager_->AddAppInstallControlRule(callingName, appIds, ruleType, userId); in AddAppInstallControlRule()
72 UpdateAppControlledInfo(userId, appIds); in AddAppInstallControlRule()
78 const std::vector<std::string> &appIds, int32_t userId) in DeleteAppInstallControlRule() argument
91 … auto ret = appControlManager_->DeleteAppInstallControlRule(callingName, ruleType, appIds, userId); in DeleteAppInstallControlRule()
97 UpdateAppControlledInfo(userId, appIds); in DeleteAppInstallControlRule()
103 int32_t userId) in DeleteAppInstallControlRule() argument
119 ruleType, userId, modifyAppIds); in DeleteAppInstallControlRule()
124 auto ret = appControlManager_->DeleteAppInstallControlRule(callingName, ruleType, userId); in DeleteAppInstallControlRule()
130 UpdateAppControlledInfo(userId, modifyAppIds); in DeleteAppInstallControlRule()
[all …]
/foundation/filemanagement/storage_service/services/storage_daemon/mock/
Duser_idm_client_impl_mock.cpp33 int32_t UserIdmClientImpl::GetSecUserInfo(int32_t userId, const std::shared_ptr<GetSecUserInfoCallb… in GetSecUserInfo() argument
35 return IUserIdmClientMoc::userIdmClientMoc->GetSecUserInfo(userId, callback); in GetSecUserInfo()
38 std::vector<uint8_t> UserIdmClientImpl::OpenSession(int32_t userId) in OpenSession() argument
40 return IUserIdmClientMoc::userIdmClientMoc->OpenSession(userId); in OpenSession()
43 void UserIdmClientImpl::CloseSession(int32_t userId) in CloseSession() argument
45 return IUserIdmClientMoc::userIdmClientMoc->CloseSession(userId); in CloseSession()
48 void UserIdmClientImpl::AddCredential(int32_t userId, const CredentialParameters &para, in AddCredential() argument
51 return IUserIdmClientMoc::userIdmClientMoc->AddCredential(userId, para, callback); in AddCredential()
54 void UserIdmClientImpl::UpdateCredential(int32_t userId, const CredentialParameters &para, in UpdateCredential() argument
57 return IUserIdmClientMoc::userIdmClientMoc->UpdateCredential(userId, para, callback); in UpdateCredential()
[all …]
/foundation/filemanagement/storage_service/services/storage_daemon/client/include/
Dstorage_daemon_client.h33 static int32_t PrepareUserDirs(int32_t userId, uint32_t flags);
34 static int32_t DestroyUserDirs(int32_t userId, uint32_t flags);
35 static int32_t StartUser(int32_t userId);
36 static int32_t StopUser(int32_t userId);
37 static int32_t PrepareUserSpace(uint32_t userId, const std::string &volumId, uint32_t flags);
38 static int32_t DestroyUserSpace(uint32_t userId, const std::string &volumId, uint32_t flags);
41 static int32_t GenerateUserKeys(uint32_t userId, uint32_t flags);
42 static int32_t DeleteUserKeys(uint32_t userId);
43 static int32_t UpdateUserAuth(uint32_t userId, uint64_t secureUid,
47 static int32_t ActiveUserKey(uint32_t userId,
[all …]

12345678910>>...80