/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/bundlemgr/ |
D | mock_app_control_manager.cpp | 29 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule() 35 const std::vector<std::string>& appIds, int32_t userId) in DeleteAppInstallControlRule() 41 const AppInstallControlRuleType controlRuleType, int32_t userId) in DeleteAppInstallControlRule() 47 … const AppInstallControlRuleType controlRuleType, int32_t userId, std::vector<std::string>& appIds) in GetAppInstallControlRule() 53 const std::vector<AppRunningControlRule>& controlRules, int32_t userId) in AddAppRunningControlRule() 59 const std::vector<AppRunningControlRule>& controlRules, int32_t userId) in DeleteAppRunningControlRule() 64 ErrCode AppControlProxy::DeleteAppRunningControlRule(int32_t userId) in DeleteAppRunningControlRule() 69 ErrCode AppControlProxy::GetAppRunningControlRule(int32_t userId, std::vector<std::string>& appIds) in GetAppRunningControlRule() 75 const std::string& bundleName, int32_t userId, AppRunningControlRuleResult& controlRuleResult) in GetAppRunningControlRule() 94 const std::string &targetBundleName, int32_t userId) in ConfirmAppJumpControlRule() [all …]
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/app_control/ |
D | app_control_interface.h | 49 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule() 54 const std::vector<std::string> &appIds, int32_t userId) in DeleteAppInstallControlRule() 58 …rrCode DeleteAppInstallControlRule(const AppInstallControlRuleType controlRuleType, int32_t userId) in DeleteAppInstallControlRule() 63 … const AppInstallControlRuleType controlRuleType, int32_t userId, std::vector<std::string> &appIds) in GetAppInstallControlRule() 68 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in AddAppRunningControlRule() 73 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in DeleteAppRunningControlRule() 77 virtual ErrCode DeleteAppRunningControlRule(int32_t userId) in DeleteAppRunningControlRule() 81 virtual ErrCode GetAppRunningControlRule(int32_t userId, std::vector<std::string> &appIds) in GetAppRunningControlRule() 86 … const std::string &bundleName, int32_t userId, AppRunningControlRuleResult &controlRuleResult) in GetAppRunningControlRule() 91 int32_t userId) in ConfirmAppJumpControlRule() [all …]
|
/foundation/filemanagement/storage_service/services/storage_manager/crypto/test/ |
D | filesystem_crypto_test.cpp | 46 uint32_t userId = 108; variable 69 uint32_t userId = 9999; variable 91 uint32_t userId = 109; variable 115 uint32_t userId = 9999; variable 136 uint32_t userId = 110; variable 161 uint32_t userId = 9999; variable 182 uint32_t userId = 111; variable 207 uint32_t userId = 9999; variable 228 int32_t userId = 112; variable 257 uint32_t userId = 9999; variable [all …]
|
/foundation/filemanagement/storage_service/services/storage_manager/user/test/ |
D | multi_user_manager_service_test.cpp | 57 int32_t userId = 121; variable 81 int32_t userId = -1; variable 105 int32_t userId = 10000; variable 129 int32_t userId = 102; variable 158 int32_t userId = 103; variable 182 int32_t userId = 104; variable 209 int32_t userId = -2; variable 233 int32_t userId = 105; variable 259 int32_t userId = 106; variable 281 int32_t userId = -4; variable [all …]
|
/foundation/ability/ability_runtime/test/unittest/mission_list_manager_test/ |
D | mission_list_manager_test.cpp | 141 int userId = 0; variable 165 int userId = 0; variable 194 int userId = 0; variable 223 int userId = 0; variable 252 int userId = 0; variable 281 int userId = 0; variable 315 int userId = 0; variable 343 int userId = 0; variable 369 int userId = 0; variable 395 int userId = 0; variable [all …]
|
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/ |
D | user_manager.cpp | 51 int32_t UserManager::StartUser(int32_t userId) in StartUser() 58 int32_t UserManager::StopUser(int32_t userId) in StopUser() 65 int32_t UserManager::PrepareUserDirs(int32_t userId, uint32_t flags) in PrepareUserDirs() 110 int32_t UserManager::DestroyUserDirs(int32_t userId, uint32_t flags) in DestroyUserDirs() 142 inline bool PrepareDirsFromVec(int32_t userId, const std::string &level, const std::vector<DirInfo>… in PrepareDirsFromVec() 153 inline bool DestroyDirsFromVec(int32_t userId, const std::string &level, const std::vector<DirInfo>… in DestroyDirsFromVec() 166 int32_t UserManager::PrepareDirsFromIdAndLevel(int32_t userId, const std::string &level) in PrepareDirsFromIdAndLevel() 195 int32_t UserManager::DestroyDirsFromIdAndLevel(int32_t userId, const std::string &level) in DestroyDirsFromIdAndLevel() 205 int32_t UserManager::PrepareEl1BundleDir(int32_t userId) in PrepareEl1BundleDir() 226 int32_t UserManager::DestroyEl1BundleDir(int32_t userId) in DestroyEl1BundleDir() [all …]
|
D | mount_manager.cpp | 86 int32_t MountManager::HmdfsTwiceMount(int32_t userId, std::string relativePath) in HmdfsTwiceMount() 107 int32_t MountManager::SharefsMount(int32_t userId) in SharefsMount() 119 int32_t MountManager::SharefsUMount(int32_t userId) in SharefsUMount() 131 int32_t MountManager::HmdfsMount(int32_t userId, std::string relativePath) in HmdfsMount() 150 int32_t MountManager::CloudMount(int32_t userId) in CloudMount() 193 int32_t MountManager::HmdfsMount(int32_t userId) in HmdfsMount() 252 int32_t MountManager::HmdfsTwiceUMount(int32_t userId, std::string relativePath) in HmdfsTwiceUMount() 277 int32_t MountManager::HmdfsUMount(int32_t userId, std::string relativePath) in HmdfsUMount() 289 int32_t MountManager::CloudUMount(int32_t userId) in CloudUMount() 304 int32_t MountManager::HmdfsUMount(int32_t userId) in HmdfsUMount() [all …]
|
/foundation/ability/ability_runtime/test/unittest/mission_info_mgr_test/ |
D | mission_info_mgr_test.cpp | 95 int userId = 0; variable 118 int userId = 0; variable 141 int userId = 0; variable 165 int userId = 0; variable 209 int userId = 0; variable 238 int userId = 0; variable 304 int userId = 0; variable 328 int userId = 0; variable 353 int userId = 0; variable 384 int userId = 0; variable [all …]
|
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_strategy_manager/ |
D | memcg_mgr.cpp | 67 UserMemcg* MemcgMgr::GetUserMemcg(unsigned int userId) in GetUserMemcg() 76 UserMemcg* MemcgMgr::AddUserMemcg(unsigned int userId) in AddUserMemcg() 89 bool MemcgMgr::RemoveUserMemcg(unsigned int userId) in RemoveUserMemcg() 104 bool MemcgMgr::UpdateMemcgScoreAndReclaimRatios(unsigned int userId, int score, const ReclaimRatios… in UpdateMemcgScoreAndReclaimRatios() 117 bool MemcgMgr::AddProcToMemcg(unsigned int pid, unsigned int userId) in AddProcToMemcg() 132 bool MemcgMgr::SwapInMemcg(unsigned int userId) in SwapInMemcg() 141 SwapInfo* MemcgMgr::GetMemcgSwapInfo(unsigned int userId) in GetMemcgSwapInfo() 150 MemInfo* MemcgMgr::GetMemcgMemInfo(unsigned int userId) in GetMemcgMemInfo()
|
/foundation/filemanagement/storage_service/services/storage_manager/client/test/ |
D | storage_manager_client_test.cpp | 72 uint32_t userId = 121; variable 97 uint32_t userId = 102; variable 122 uint32_t userId = 103; variable 146 uint32_t userId = 104; variable 171 uint32_t userId = 105; variable 198 uint32_t userId = 106; variable 225 uint32_t userId = 107; variable 255 uint32_t userId = 108; variable
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/ |
D | app_control_manager.cpp | 58 const std::vector<std::string> &appIds, const std::string &controlRuleType, int32_t userId) in AddAppInstallControlRule() 69 const std::string &controlRuleType, const std::vector<std::string> &appIds, int32_t userId) in DeleteAppInstallControlRule() 80 const std::string &controlRuleType, int32_t userId) in DeleteAppInstallControlRule() 91 const std::string &controlRuleType, int32_t userId, std::vector<std::string> &appIds) in GetAppInstallControlRule() 98 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in AddAppRunningControlRule() 117 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in DeleteAppRunningControlRule() 133 …Code AppControlManager::DeleteAppRunningControlRule(const std::string &callingName, int32_t userId) in DeleteAppRunningControlRule() 139 const std::string &callingName, int32_t userId, std::vector<std::string> &appIds) in GetAppRunningControlRule() 145 const std::string &targetBundleName, int32_t userId) in ConfirmAppJumpControlRule() 154 …Manager::AddAppJumpControlRule(const std::vector<AppJumpControlRule> &controlRules, int32_t userId) in AddAppJumpControlRule() [all …]
|
D | app_control_manager_host_impl.cpp | 49 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule() 74 const std::vector<std::string> &appIds, int32_t userId) in DeleteAppInstallControlRule() 99 int32_t userId) in DeleteAppInstallControlRule() 124 … const AppInstallControlRuleType controlRuleType, int32_t userId, std::vector<std::string> &appIds) in GetAppInstallControlRule() 142 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in AddAppRunningControlRule() 153 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in DeleteAppRunningControlRule() 163 ErrCode AppControlManagerHostImpl::DeleteAppRunningControlRule(int32_t userId) in DeleteAppRunningControlRule() 173 ErrCode AppControlManagerHostImpl::GetAppRunningControlRule(int32_t userId, std::vector<std::string… in GetAppRunningControlRule() 184 const std::string &bundleName, int32_t userId, AppRunningControlRuleResult &controlRuleResult) in GetAppRunningControlRule() 195 const std::string &targetBundleName, int32_t userId) in ConfirmAppJumpControlRule() [all …]
|
/foundation/filemanagement/storage_service/services/storage_manager/client/ |
D | storage_manager_client.cpp | 42 int32_t StorageManagerClient::PrepareAddUser(uint32_t userId, uint32_t flags) in PrepareAddUser() 53 int32_t StorageManagerClient::RemoveUser(uint32_t userId, uint32_t flags) in RemoveUser() 64 int32_t StorageManagerClient::GenerateUserKeys(uint32_t userId, uint32_t flags) in GenerateUserKeys() 75 int32_t StorageManagerClient::DeleteUserKeys(uint32_t userId) in DeleteUserKeys() 86 int32_t StorageManagerClient::UpdateUserAuth(uint32_t userId, uint64_t secureUid, in UpdateUserAuth() 100 int32_t StorageManagerClient::ActiveUserKey(uint32_t userId, in ActiveUserKey() 113 int32_t StorageManagerClient::InactiveUserKey(uint32_t userId) in InactiveUserKey() 124 int32_t StorageManagerClient::UpdateKeyContext(uint32_t userId) in UpdateKeyContext()
|
/foundation/filemanagement/app_file_service/test/unittest/remote_file_share/ |
D | remote_file_share_test.cpp | 70 const int userId = 100; variable 90 const int userId = 90; variable 110 const int userId = 100; variable 132 const int userId = 100; variable 156 const int userId = 100; variable 191 const int userId = 100; variable 212 const int userId = 100; variable 233 const int userId = 100; variable 254 const int userId = 100; variable 275 const int userId = 100; variable [all …]
|
/foundation/ability/form_fwk/test/unittest/fms_form_info_storage_test/ |
D | fms_form_info_storage_test.cpp | 65 int32_t userId = 1; variable 82 int32_t userId = -1; variable 96 int32_t userId = 1; variable 110 int32_t userId = 1; variable 129 int32_t userId = 1; variable 144 int32_t userId = -1; variable 159 int32_t userId = 1; variable
|
/foundation/filemanagement/storage_service/services/storage_manager/crypto/ |
D | filesystem_crypto.cpp | 35 int32_t FileSystemCrypto::CheckUserIdRange(int32_t userId) in CheckUserIdRange() 44 int32_t FileSystemCrypto::GenerateUserKeys(uint32_t userId, uint32_t flags) in GenerateUserKeys() 58 int32_t FileSystemCrypto::DeleteUserKeys(uint32_t userId) in DeleteUserKeys() 72 int32_t FileSystemCrypto::UpdateUserAuth(uint32_t userId, uint64_t secureUid, in UpdateUserAuth() 89 int32_t FileSystemCrypto::ActiveUserKey(uint32_t userId, in ActiveUserKey() 105 int32_t FileSystemCrypto::InactiveUserKey(uint32_t userId) in InactiveUserKey() 119 int32_t FileSystemCrypto::UpdateKeyContext(uint32_t userId) in UpdateKeyContext()
|
/foundation/distributeddatamgr/distributedfile/interfaces/kits/native/storage_service/ |
D | ss_crypto_api.cpp | 81 int32_t SsCryptoCreateKey(int32_t userId) in SsCryptoCreateKey() 97 int32_t SsCryptoDeleteKey(int32_t userId) in SsCryptoDeleteKey() 113 int32_t SsCryptoAddAuthKey(int32_t userId, const std::string &token, const std::string &secret) in SsCryptoAddAuthKey() 129 int32_t SsCryptoDelAuthKey(int32_t userId, const std::string &token, const std::string &secret) in SsCryptoDelAuthKey() 145 int32_t SsCryptoUnlockKey(int32_t userId, const std::string &token, const std::string &secret) in SsCryptoUnlockKey() 161 int32_t SsCryptoLockKey(int32_t userId) in SsCryptoLockKey() 177 int32_t SsCryptoUpdateAuthKey(int32_t userId, const std::string &token, const std::string secret) in SsCryptoUpdateAuthKey()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_exception_handler_test/ |
D | bms_bundle_exception_handler_test.cpp | 75 int32_t userId = 100; variable 89 int32_t userId = 100; variable 103 int32_t userId = 0; variable 117 int32_t userId = 100; variable 133 int32_t userId = 100; variable 204 int32_t userId = 100; variable 224 int32_t userId = 100; variable 244 int32_t userId = 100; variable 263 int32_t userId = 100; variable 283 int32_t userId = 100; variable [all …]
|
/foundation/filemanagement/storage_service/services/storage_daemon/client/ |
D | storage_daemon_client.cpp | 97 int32_t StorageDaemonClient::PrepareUserDirs(int32_t userId, uint32_t flags) in PrepareUserDirs() 113 int32_t StorageDaemonClient::DestroyUserDirs(int32_t userId, uint32_t flags) in DestroyUserDirs() 129 int32_t StorageDaemonClient::StartUser(int32_t userId) in StartUser() 145 int32_t StorageDaemonClient::StopUser(int32_t userId) in StopUser() 161 int32_t StorageDaemonClient::PrepareUserSpace(uint32_t userId, const std::string &volumId, uint32_t… in PrepareUserSpace() 177 int32_t StorageDaemonClient::DestroyUserSpace(uint32_t userId, const std::string &volumId, uint32_t… in DestroyUserSpace() 225 int32_t StorageDaemonClient::GenerateUserKeys(uint32_t userId, uint32_t flags) in GenerateUserKeys() 241 int32_t StorageDaemonClient::DeleteUserKeys(uint32_t userId) in DeleteUserKeys() 257 int32_t StorageDaemonClient::UpdateUserAuth(uint32_t userId, uint64_t secureUid, in UpdateUserAuth() 276 int32_t StorageDaemonClient::ActiveUserKey(uint32_t userId, in ActiveUserKey() [all …]
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/ |
D | bundle_overlay_manager_host_impl.cpp | 39 std::vector<OverlayModuleInfo> &overlayModuleInfo, int32_t userId) in GetAllOverlayModuleInfo() 63 OverlayModuleInfo &overlayModuleInfo, int32_t userId) in GetOverlayModuleInfo() 89 OverlayModuleInfo &overlayModuleInfo, int32_t userId) in GetOverlayModuleInfo() 112 std::vector<OverlayModuleInfo> &overlayModuleInfos, int32_t userId) in GetTargetOverlayModuleInfo() 135 … const std::string &moduleName, std::vector<OverlayModuleInfo> &overlayModuleInfos, int32_t userId) in GetOverlayModuleInfoByBundleName() 172 std::vector<OverlayBundleInfo> &overlayBundleInfo, int32_t userId) in GetOverlayBundleInfoForTarget() 197 …t std::string &targetModuleName, std::vector<OverlayModuleInfo> &overlayModuleInfo, int32_t userId) in GetOverlayModuleInfoForTarget() 223 int32_t userId) in SetOverlayEnabledForSelf() 244 bool isEnabled, int32_t userId) in SetOverlayEnabled()
|
/foundation/filemanagement/storage_service/services/storage_manager/user/src/ |
D | multi_user_manager_service.cpp | 35 int32_t MultiUserManagerService::CheckUserIdRange(int32_t userId) in CheckUserIdRange() 44 int32_t MultiUserManagerService::PrepareAddUser(int32_t userId, uint32_t flags) in PrepareAddUser() 58 int32_t MultiUserManagerService::RemoveUser(int32_t userId, uint32_t flags) in RemoveUser() 72 int32_t MultiUserManagerService::PrepareStartUser(int32_t userId) in PrepareStartUser() 86 int32_t MultiUserManagerService::StopUser(int32_t userId) in StopUser()
|
/foundation/filemanagement/storage_service/services/storage_daemon/ |
D | sdc.cpp | 45 uint32_t userId; in GenerateUserKeys() local 61 uint32_t userId; in PrepareUserSpace() local 77 uint32_t userId; in DeleteUserKeys() local 91 uint32_t userId; in DestroyUserSpace() local 107 uint32_t userId; in UpdateUserAuth() local 128 uint32_t userId; in ActiveUserKey() local 147 uint32_t userId; in InactiveUserKey() local 171 uint32_t userId; in UpdateKeyContext() local
|
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/ |
D | storage_daemon_service_mock.h | 72 virtual int32_t StartUser(int32_t userId) override in StartUser() 77 virtual int32_t StopUser(int32_t userId) override in StopUser() 82 virtual int32_t PrepareUserDirs(int32_t userId, uint32_t flags) override in PrepareUserDirs() 87 virtual int32_t DestroyUserDirs(int32_t userId, uint32_t flags) override in DestroyUserDirs() 102 virtual int32_t GenerateUserKeys(uint32_t userId, uint32_t flags) override in GenerateUserKeys() 106 virtual int32_t DeleteUserKeys(uint32_t userId) override in DeleteUserKeys() 111 virtual int32_t UpdateUserAuth(uint32_t userId, uint64_t secureUid, in UpdateUserAuth() 119 virtual int32_t ActiveUserKey(uint32_t userId, in ActiveUserKey() 126 virtual int32_t InactiveUserKey(uint32_t userId) override in InactiveUserKey() 131 virtual int32_t UpdateKeyContext(uint32_t userId) override in UpdateKeyContext()
|
/foundation/ability/ability_runtime/test/unittest/ability_interceptor_test/ |
D | ability_interceptor_test.cpp | 99 int userId = 100; variable 117 int userId = 100; variable 136 int userId = 100; variable 154 int userId = 100; variable 172 int userId = 100; variable 190 int userId = 100; variable 208 int userId = 100; variable 229 int userId = 100; variable 253 int userId = 100; variable 275 int userId = 100; variable [all …]
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
D | user_controller.cpp | 78 int32_t UserController::StartUser(int32_t userId, bool isForeground) in StartUser() 138 int32_t UserController::StopUser(int32_t userId) in StopUser() 190 std::shared_ptr<UserItem> UserController::GetUserItem(int32_t userId) in GetUserItem() 201 bool UserController::IsCurrentUser(int32_t userId) in IsCurrentUser() 214 bool UserController::IsExistOsAccount(int32_t userId) in IsExistOsAccount() 221 std::shared_ptr<UserItem> UserController::GetOrCreateUserItem(int32_t userId) in GetOrCreateUserItem() 234 void UserController::SetCurrentUserId(int32_t userId) in SetCurrentUserId() 258 int32_t userId = item->GetUserId(); in UserBootDone() local 277 void UserController::BroadcastUserStarted(int32_t userId) in BroadcastUserStarted() 282 void UserController::BroadcastUserBackground(int32_t userId) in BroadcastUserBackground() [all …]
|