Home
last modified time | relevance | path

Searched refs:StopUser (Results 1 - 25 of 76) sorted by relevance

1234

/foundation/ability/ability_runtime/test/unittest/user_controller_test/
H A Duser_controller_test.cpp115 * @tc.desc: StopUser Test
122 userController.StopUser(-1); in HWTEST_F()
123 userController.StopUser(0); in HWTEST_F()
124 EXPECT_TRUE(userController.StopUser(100) == -1); in HWTEST_F()
129 * @tc.desc: StopUser Test
136 EXPECT_TRUE(userController.StopUser(666) == -1); in HWTEST_F()
141 * @tc.desc: StopUser Test
149 auto result = userController.StopUser(1000); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_manager/user/test/
H A Dmulti_user_manager_service_test.cpp233 service->StopUser(userId); in HWTEST_F()
287 * @tc.desc: Test function of StopUser interface for SUCCESS.
303 result = service->StopUser(userId); in HWTEST_F()
313 * @tc.desc: Test function of StopUser interface for Logic ERROR which start userId not exist.
326 result = service->StopUser(userId); in HWTEST_F()
335 * @tc.desc: Test function of StopUser interface for Parameters ERROR which userId<0.
351 result = service->StopUser(userId); in HWTEST_F()
360 * @tc.desc: Test function of StopUser interface for Logic ERROR which stop userId not start.
375 result = service->StopUser(userId); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_manager/user/src/
H A Dmulti_user_manager_service.cpp86 int32_t MultiUserManagerService::StopUser(int32_t userId) in StopUser() function in OHOS::StorageManager::MultiUserManagerService
88 LOGI("MultiUserManagerService::StopUser, userId:%{public}d", userId); in StopUser()
91 LOGE("MultiUserManagerService::StopUser userId %{public}d out of range", userId); in StopUser()
96 err = sdCommunication->StopUser(userId); in StopUser()
/foundation/filemanagement/storage_service/services/storage_manager/include/user/
H A Dmulti_user_manager_service.h31 int32_t StopUser(int32_t userId);
/foundation/filemanagement/storage_service/services/storage_daemon/user/test/
H A Duser_manager_test.cpp219 userManager->StopUser(StorageTest::USER_ID3); in HWTEST_F()
229 userManager->StopUser(StorageTest::USER_ID3); in HWTEST_F()
280 * @tc.desc: check the StopUser function when dir does not exist.
291 auto ret = userManager->StopUser(StorageTest::USER_ID2); in HWTEST_F()
299 * @tc.desc: check the StopUser function when dir is not mount.
316 ret = userManager->StopUser(StorageTest::USER_ID4); in HWTEST_F()
326 * @tc.desc: check the StopUser function when args are normal.
344 ret = userManager->StopUser(StorageTest::USER_ID3); in HWTEST_F()
/foundation/ability/ability_runtime/test/fuzztest/stopuser_fuzzer/
H A Dstopuser_fuzzer.cpp47 abilitymgr->StopUser(accountId, callback); in DoSomethingInterestingWithMyAPI()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/
H A Dstorage_daemon_test.cpp190 storageDaemon_->StopUser(StorageTest::USER_ID5); in HWTEST_F()
219 * @tc.desc: check the StopUser function when dir does not exist.
229 auto ret = storageDaemon_->StopUser(StorageTest::USER_ID1); in HWTEST_F()
237 * @tc.desc: check the StopUser function when dir is not mount.
251 ret = storageDaemon_->StopUser(StorageTest::USER_ID4); in HWTEST_F()
260 * @tc.desc: check the StopUser function normal
276 ret = storageDaemon_->StopUser(StorageTest::USER_ID3); in HWTEST_F()
277 EXPECT_TRUE(ret == E_OK) << "check StopUser error"; in HWTEST_F()
285 * @tc.desc: check the StopUser function normal
302 * @tc.desc: check the StopUser functio
[all...]
H A Dstorage_daemon_stub_mock.h36 MOCK_METHOD1(StopUser, int32_t(int32_t));
H A Dstorage_daemon_service_mock.h77 virtual int32_t StopUser(int32_t userId) override
/foundation/ability/ability_runtime/test/fuzztest/abilitymanagerservicefourth_fuzzer/
H A Dabilitymanagerservicefourth_fuzzer.cpp71 abilityms->StopUser(intParam, callback); in DoSomethingInterestingWithMyAPI()
/foundation/filemanagement/storage_service/services/storage_daemon/include/user/
H A Duser_manager.h38 int32_t StopUser(int32_t userId);
/foundation/filemanagement/storage_service/services/storage_daemon/
H A Dsdc.cpp323 static int32_t StopUser(const std::vector<std::string> &args) in StopUser() function
334 return OHOS::StorageDaemon::StorageDaemonClient::StopUser(userId); in StopUser()
373 {"stop_user", StopUser},
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Duser_controller.h85 int32_t StopUser(int32_t userId);
/foundation/filemanagement/storage_service/services/storage_daemon/client/include/
H A Dstorage_daemon_client.h36 static int32_t StopUser(int32_t userId);
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/ability_delegator/
H A Dmock_ability_delegator_stub.cpp68 int MockAbilityDelegatorStub::StopUser(int userId, const sptr<IUserCallback>& callback) in StopUser() function in OHOS::AAFwk::MockAbilityDelegatorStub
261 int MockAbilityDelegatorStub2::StopUser(int userId, const sptr<IUserCallback>& callback) in StopUser() function in OHOS::AAFwk::MockAbilityDelegatorStub2
/foundation/filemanagement/storage_service/services/storage_daemon/client/test/
H A Dstorage_daemon_client_test.cpp95 storageDaemonClient_->StopUser(userid); in HWTEST_F()
220 storageDaemonClient_->StopUser(userid); in HWTEST_F()
/foundation/filemanagement/storage_service/test/fuzztest/storagemanagerproxy_fuzzer/
H A Dstoragemanagerproxy_fuzzer.cpp49 proxy->StopUser(metaData2); in StorageManagerProxyFuzzTest()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_ability_runtime_test/AMS/
H A Dmock_ability_manager_client.cpp319 ErrCode AbilityManagerClient::StopUser(int accountId, sptr<IUserCallback> callback) in StopUser() function in OHOS::AAFwk::AbilityManagerClient
326 return abms->StopUser(accountId, callback); in StopUser()
/foundation/filemanagement/storage_service/services/storage_daemon/client/
H A Dstorage_daemon_client.cpp143 int32_t StorageDaemonClient::StopUser(int32_t userId) in StopUser() function in OHOS::StorageDaemon::StorageDaemonClient
156 return client->StopUser(userId); in StopUser()
/foundation/filemanagement/storage_service/services/storage_manager/include/mock/
H A Dstorage_daemon_proxy_mock.h37 virtual int32_t StopUser(int32_t userId) override;
/foundation/filemanagement/storage_service/services/storage_manager/include/storage_daemon_communication/
H A Dstorage_daemon_communication.h35 int32_t StopUser(int32_t userId);
/foundation/filemanagement/storage_service/services/storage_manager/ipc/test/
H A Dstorage_manager_stub_mock.h29 MOCK_METHOD1(StopUser, int32_t(int32_t));
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/
H A Dstorage_daemon_proxy.h37 virtual int32_t StopUser(int32_t userId) override;
H A Distorage_daemon.h44 virtual int32_t StopUser(int32_t userId) = 0;
/foundation/filemanagement/storage_service/services/storage_manager/mock/
H A Dstorage_daemon_proxy_mock.cpp74 int32_t StorageDaemonProxy::StopUser(int32_t userId) in StopUser() function in OHOS::StorageDaemon::StorageDaemonProxy

Completed in 11 milliseconds

1234