/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | os_account_manager_helper_test.cpp | 41 int32_t userId = -1; variable 52 int32_t userId = -1; variable 64 int32_t userId = -1; variable 75 int32_t userId = 100; variable 86 int32_t userId = 1099; variable 97 int32_t userId = 100; variable 108 int32_t userId = 10737; variable 119 int32_t userId = 0; variable 130 int32_t userId = 10736; variable
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/app_control/ |
H A D | app_control_interface.h | 51 const AppInstallControlRuleType controlRuleType, int32_t userId) in AddAppInstallControlRule() 56 const std::vector<std::string> &appIds, int32_t userId) in DeleteAppInstallControlRule() 70 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in AddAppRunningControlRule() 75 const std::vector<AppRunningControlRule> &controlRules, int32_t userId) in DeleteAppRunningControlRule() 79 virtual ErrCode DeleteAppRunningControlRule(int32_t userId) in DeleteAppRunningControlRule() 83 virtual ErrCode GetAppRunningControlRule(int32_t userId, std::vector<std::string> &appIds) in GetAppRunningControlRule() 88 … const std::string &bundleName, int32_t userId, AppRunningControlRuleResult &controlRuleResult) in GetAppRunningControlRule() 93 int32_t userId) in ConfirmAppJumpControlRule() 105 … virtual ErrCode DeleteRuleByCallerBundleName(const std::string &callerBundleName, int32_t userId) in DeleteRuleByCallerBundleName() 109 … virtual ErrCode DeleteRuleByTargetBundleName(const std::string &targetBundleName, int32_t userId) in DeleteRuleByTargetBundleName() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/bundlemgr/ |
H A 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() 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() 75 const std::string& bundleName, int32_t userId, AppRunningControlRuleResult& controlRuleResult) in GetAppRunningControlRule() 115 const std::string &targetBundleName, int32_t userId) in ConfirmAppJumpControlRule() 141 const std::string &targetBundleName, int32_t userId, AppJumpControlRule &controlRule) in GetAppJumpControlRule() 151 ErrCode AppControlProxy::DeleteDisposedStatus(const std::string& appId, int32_t userId) in DeleteDisposedStatus() [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/ |
H A D | wifi_asset_manager_test.cpp | 36 int32_t userId = USER_ID_DEFAULT; variable 43 int32_t userId = USER_ID_DEFAULT; variable 50 int32_t userId = USER_ID_DEFAULT; variable 57 int32_t userId = USER_ID_DEFAULT; variable 65 int32_t userId = USER_ID_DEFAULT; variable 73 int32_t userId = USER_ID_DEFAULT; variable 80 int32_t userId = USER_ID_DEFAULT; variable 88 int32_t userId = USER_ID_DEFAULT; variable
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/crypto/test/ |
H A D | filesystem_crypto_test.cpp | 46 uint32_t userId = 108; variable 69 uint32_t userId = 19999; variable 91 uint32_t userId = 109; variable 115 uint32_t userId = 19999; variable 136 uint32_t userId = 110; variable 182 uint32_t userId = 111; variable 228 int32_t userId = 112; variable 257 int32_t userId = 100; variable 279 int32_t userId = 100; variable 301 int32_t userId = 100; variable [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_app_control_proxy_test/ |
H A D | bms_app_control_proxy_test.cpp | 62 int32_t userId = 100; variable 80 int32_t userId = 100; variable 96 int32_t userId = 100; variable 114 int32_t userId = 100; variable 129 int32_t userId = 100; variable 144 int32_t userId = 100; variable 160 int32_t userId = 100; variable 177 int32_t userId = 100; variable 192 int32_t userId = 100; variable 209 int32_t userId = 100; variable [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/client/test/ |
H A D | storage_manager_client_test.cpp | 66 uint32_t userId = 121; variable 91 uint32_t userId = 102; variable 116 uint32_t userId = 103; variable 140 uint32_t userId = 104; variable 165 uint32_t userId = 105; variable 192 uint32_t userId = 106; variable 219 uint32_t userId = 107; variable 249 uint32_t userId = 108; variable 280 uint32_t userId = 100; variable 302 uint32_t userId = 104; variable [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/ |
H A D | user_idm_client_impl_mock.cpp | 33 int32_t UserIdmClientImpl::GetSecUserInfo(int32_t userId, const std::shared_ptr<GetSecUserInfoCallb… in GetSecUserInfo() 38 std::vector<uint8_t> UserIdmClientImpl::OpenSession(int32_t userId) in OpenSession() 43 void UserIdmClientImpl::CloseSession(int32_t userId) in CloseSession() 48 void UserIdmClientImpl::AddCredential(int32_t userId, const CredentialParameters ¶, in AddCredential() 54 void UserIdmClientImpl::UpdateCredential(int32_t userId, const CredentialParameters ¶, in UpdateCredential() 60 int32_t UserIdmClientImpl::Cancel(int32_t userId) in Cancel() 65 void UserIdmClientImpl::DeleteCredential(int32_t userId, uint64_t credentialId, in DeleteCredential() 71 void UserIdmClientImpl::DeleteUser(int32_t userId, const std::vector<uint8_t> &authToken, in DeleteUser() 77 int32_t UserIdmClientImpl::EraseUser(int32_t userId, const std::shared_ptr<UserIdmClientCallback> &… in EraseUser() 82 int32_t UserIdmClientImpl::GetCredentialInfo(int32_t userId, AuthType authType, in GetCredentialInfo()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/sync_rule/ |
H A D | network_set_manager_test.cpp | 78 int32_t userId = 100; variable 100 int32_t userId = 100; variable 122 int32_t userId = 100; variable 143 int32_t userId = 100; variable 164 int32_t userId = 100; variable 186 int32_t userId = 100; variable 208 int32_t userId = 100; variable 230 int32_t userId = 100; variable 251 int32_t userId = 100; variable 272 int32_t userId = 100; variable
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/mission_list_manager_test/ |
H A D | mission_list_manager_test.cpp | 143 int userId = 0; variable 167 int userId = 0; variable 205 int userId = 0; variable 234 int userId = 0; variable 263 int userId = 0; variable 292 int userId = 0; variable 321 int userId = 0; variable 355 int userId = 0; variable 383 int userId = 0; variable 409 int userId = 0; variable [all …]
|
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_info_storage_test/ |
H A 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 200 int32_t userId = 11; variable 217 int32_t userId = 10; variable 237 int32_t userId = 10; variable [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/user/src/ |
H A D | user_manager.cpp | 63 int32_t UserManager::StartUser(int32_t userId) in StartUser() 75 int32_t UserManager::StopUser(int32_t userId) in StopUser() 247 int32_t UserManager::PrepareEl1BundleDir(int32_t userId) in PrepareEl1BundleDir() 268 int32_t UserManager::DestroyEl1BundleDir(int32_t userId) in DestroyEl1BundleDir() 294 int32_t UserManager::PrepareEl2BackupDir(int32_t userId) in PrepareEl2BackupDir() 305 int32_t UserManager::DestroyEl2BackupDir(int32_t userId) in DestroyEl2BackupDir() 316 int32_t UserManager::PrepareEl1Dir(int32_t userId) in PrepareEl1Dir() 327 int32_t UserManager::DestroyEl1Dir(int32_t userId) in DestroyEl1Dir() 338 void UserManager::CreateBundleDataDir(uint32_t userId) in CreateBundleDataDir() 346 int32_t UserManager::CheckUserIdRange(int32_t userId) in CheckUserIdRange() [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/ |
H A D | cloud_file_kit.cpp | 36 int32_t CloudFileKit::GetCloudUserInfo(const int32_t userId, CloudUserInfo &userInfo) in GetCloudUserInfo() 42 uint64_t CloudFileKit::GetRemainSpace(const int32_t userId) in GetRemainSpace() 47 int32_t CloudFileKit::GetAppSwitchStatus(const std::string &bundleName, const int32_t userId, bool … in GetAppSwitchStatus() 53 int32_t CloudFileKit::ResolveNotificationEvent(const int32_t userId, in ResolveNotificationEvent() 62 int32_t CloudFileKit::GetAppConfigParams(const int32_t userId, in GetAppConfigParams() 71 int32_t CloudFileKit::CleanCloudUserInfo(const int32_t userId) in CleanCloudUserInfo() 81 int32_t CloudFileKit::OnUploadAsset(const int32_t userId, const std::string &request, std::string &… in OnUploadAsset() 86 std::shared_ptr<CloudAssetsDownloader> CloudFileKit::GetCloudAssetsDownloader(const int32_t userId, in GetCloudAssetsDownloader() 92 std::shared_ptr<CloudDatabase> CloudFileKit::GetCloudDatabase(const int32_t userId, const std::stri… in GetCloudDatabase() 97 std::shared_ptr<CloudSyncHelper> CloudFileKit::GetCloudSyncHelper(const int32_t userId, const std::… in GetCloudSyncHelper()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/iam_client_test/ |
H A D | iam_client_test.cpp | 71 uint32_t userId = 100; variable 93 uint32_t userId = 100; variable 113 uint32_t userId = 100; variable 133 uint32_t userId = 100; variable 153 uint32_t userId = 100; variable 173 uint32_t userId = 100; variable 190 uint32_t userId = 100; variable 206 uint32_t userId = 100; variable 224 uint32_t userId = 100; variable
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/user/test/ |
H A D | multi_user_manager_service_test.cpp | 57 int32_t userId = 121; variable 81 int32_t userId = -1; variable 129 int32_t userId = 102; variable 154 int32_t userId = 103; variable 178 int32_t userId = 104; variable 201 int32_t userId = -2; variable 225 int32_t userId = 105; variable 251 int32_t userId = 106; variable 273 int32_t userId = -4; variable 297 int32_t userId = 108; variable [all …]
|
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/ |
H A D | credential_info_test.cpp | 41 int32_t userId = 100; variable 58 int32_t userId = 100; variable 74 int32_t userId = 100; variable 90 int32_t userId = 100; variable 106 int32_t userId = 100; variable 122 int32_t userId = 100; variable 138 int32_t userId = 100; variable 154 int32_t userId = 100; variable
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/client/ |
H A 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() 135 int32_t StorageManagerClient::LockUserScreen(uint32_t userId) in LockUserScreen() 146 int32_t StorageManagerClient::UnlockUserScreen(uint32_t userId, in UnlockUserScreen() [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/ |
H A 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 CompleteAddUser(int32_t userId) override in CompleteAddUser() 123 virtual int32_t DeleteUserKeys(uint32_t userId) override in DeleteUserKeys() 128 virtual int32_t UpdateUserAuth(uint32_t userId, uint64_t secureUid, in UpdateUserAuth() 136 virtual int32_t ActiveUserKey(uint32_t userId, in ActiveUserKey() 143 virtual int32_t InactiveUserKey(uint32_t userId) override in InactiveUserKey() 148 virtual int32_t LockUserScreen(uint32_t userId) override in LockUserScreen() 153 virtual int32_t UnlockUserScreen(uint32_t userId, in UnlockUserScreen() 175 virtual int32_t UpdateKeyContext(uint32_t userId) override in UpdateKeyContext() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/mission_info_mgr_test/ |
H A 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 …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/mock/ |
H A D | storage_daemon_proxy_mock.cpp | 64 int32_t StorageDaemonProxy::PrepareUserDirs(int32_t userId, uint32_t flags) in PrepareUserDirs() 74 int32_t StorageDaemonProxy::StartUser(int32_t userId) in StartUser() 79 int32_t StorageDaemonProxy::StopUser(int32_t userId) in StopUser() 84 int32_t StorageDaemonProxy::CompleteAddUser(int32_t userId) in CompleteAddUser() 104 int32_t StorageDaemonProxy::DeleteUserKeys(uint32_t userId) in DeleteUserKeys() 117 int32_t StorageDaemonProxy::ActiveUserKey(uint32_t userId, in ActiveUserKey() 124 int32_t StorageDaemonProxy::InactiveUserKey(uint32_t userId) in InactiveUserKey() 129 int32_t StorageDaemonProxy::LockUserScreen(uint32_t userId) in LockUserScreen() 134 int32_t StorageDaemonProxy::UnlockUserScreen(uint32_t userId, in UnlockUserScreen() 156 int32_t StorageDaemonProxy::UpdateKeyContext(uint32_t userId) in UpdateKeyContext() [all …]
|
/ohos5.0/base/inputmethod/imf/test/fuzztest/enableimedataparse_fuzzer/ |
H A D | enableimedataparse_fuzzer.cpp | 26 void FuzzInitialize(const int32_t userId) in FuzzInitialize() 31 void FuzzOnUserChanged(const int32_t userId) in FuzzOnUserChanged() 36 void FuzzCheckNeedSwitch(const std::string &key, SwitchInfo &switchInfo, const int32_t userId) in FuzzCheckNeedSwitch() 42 …uzzGetEnableData(const std::string &key, std::vector<std::string> &enableVec, const int32_t userId) in FuzzGetEnableData() 47 void FuzzParseEnableIme(const std::string &valueStr, int32_t userId, std::vector<std::string> &enab… in FuzzParseEnableIme() 52 void FuzzParseEnableKeyboard(const std::string &valueStr, int32_t userId, std::vector<std::string> … in FuzzParseEnableKeyboard() 58 const int32_t userId) in FuzzCheckTargetEnableName() 70 const int32_t userId = static_cast<int32_t>(size); in LLVMFuzzerTestOneInput() local
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/client/ |
H A D | storage_daemon_client.cpp | 97 int32_t StorageDaemonClient::PrepareUserDirs(int32_t userId, uint32_t flags) in PrepareUserDirs() 112 int32_t StorageDaemonClient::DestroyUserDirs(int32_t userId, uint32_t flags) in DestroyUserDirs() 127 int32_t StorageDaemonClient::StartUser(int32_t userId) in StartUser() 143 int32_t StorageDaemonClient::StopUser(int32_t userId) in StopUser() 223 int32_t StorageDaemonClient::GenerateUserKeys(uint32_t userId, uint32_t flags) in GenerateUserKeys() 239 int32_t StorageDaemonClient::DeleteUserKeys(uint32_t userId) in DeleteUserKeys() 255 int32_t StorageDaemonClient::UpdateUserAuth(uint32_t userId, uint64_t secureUid, in UpdateUserAuth() 274 int32_t StorageDaemonClient::ActiveUserKey(uint32_t userId, in ActiveUserKey() 292 int32_t StorageDaemonClient::InactiveUserKey(uint32_t userId) in InactiveUserKey() 308 int32_t StorageDaemonClient::LockUserScreen(uint32_t userId) in LockUserScreen() [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/module_external/ |
H A D | bms_adapter_mock.cpp | 31 …ps::BundleInfo> BundleMgrAdapter::GetBundleInfos(const vector<string> &bundleNames, int32_t userId) in GetBundleInfos() 46 const vector<BIncrementalData> &incrementalDataList, int32_t userId) in GetBundleInfosForIncremental() 55 vector<BJsonEntityCaps::BundleInfo> BundleMgrAdapter::GetBundleInfosForIncremental(int32_t userId, in GetBundleInfosForIncremental() 66 vector<BJsonEntityCaps::BundleInfo> BundleMgrAdapter::GetFullBundleInfos(int32_t userId) in GetFullBundleInfos() 75 string BundleMgrAdapter::GetExtName(string bundleName, int32_t userId) in GetExtName() 80 bool BundleMgrAdapter::IsUser0BundleName(std::string bundleName, int32_t userId) in IsUser0BundleName() 86 const vector<BIncrementalData> &incrementalDataList, int32_t userId) in GetBundleInfosForAppend()
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/ |
H A D | clouddisk_rdbstore_test.cpp | 147 const int32_t userId = 100; variable 211 const int32_t userId = 100; variable 234 const int32_t userId = 100; variable 253 const int32_t userId = 100; variable 272 const int32_t userId = 100; variable 288 const int32_t userId = 100; variable 383 const int32_t userId = 100; variable 401 const int32_t userId = 100; variable 419 const int32_t userId = 100; variable 511 const int32_t userId = 100; variable [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/crypto/ |
H A D | filesystem_crypto.cpp | 38 int32_t FileSystemCrypto::CheckUserIdRange(int32_t userId) in CheckUserIdRange() 47 int32_t FileSystemCrypto::GenerateUserKeys(uint32_t userId, uint32_t flags) in GenerateUserKeys() 61 int32_t FileSystemCrypto::DeleteUserKeys(uint32_t userId) in DeleteUserKeys() 75 int32_t FileSystemCrypto::UpdateUserAuth(uint32_t userId, uint64_t secureUid, in UpdateUserAuth() 92 int32_t FileSystemCrypto::ActiveUserKey(uint32_t userId, in ActiveUserKey() 108 int32_t FileSystemCrypto::InactiveUserKey(uint32_t userId) in InactiveUserKey() 122 int32_t FileSystemCrypto::LockUserScreen(uint32_t userId) in LockUserScreen() 135 int32_t FileSystemCrypto::UnlockUserScreen(uint32_t userId, in UnlockUserScreen() 163 int32_t FileSystemCrypto::GetLockScreenStatus(uint32_t userId, bool &lockScreenStatus) in GetLockScreenStatus() 197 int32_t userId = ids[0]; in DeleteAppkey() local [all …]
|