Home
last modified time | relevance | path

Searched refs:RemoveOsAccount (Results 1 – 25 of 45) sorted by relevance

12

/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp303 ASSERT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
345 ASSERT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
362 ASSERT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
407 EXPECT_NE(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
420 EXPECT_NE(OsAccountManager::RemoveOsAccount(Constants::START_USER_ID), ERR_OK);
431 EXPECT_NE(OsAccountManager::RemoveOsAccount(Constants::MAX_USER_ID + 1), ERR_OK);
487 ASSERT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
509 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
531 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
552 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
[all …]
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_manager_service_module_test.cpp217 errCode = osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
276 errCode = osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
291 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
334 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
347 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(Constants::START_USER_ID),
359 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(Constants::MAX_USER_ID + 1),
417 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
446 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
469 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
492 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
[all …]
Dos_account_manager_service_subscribe_module_test.cpp131 result = osAccountManagerService_->RemoveOsAccount(osAccountInfo.GetLocalId());
183 result = osAccountManagerService_->RemoveOsAccount(osAccountInfo.GetLocalId());
Dos_account_manager_service_create_os_account_test.cpp105 g_osAccountManagerService->RemoveOsAccount(i);
/base/account/os_account/test/fuzztest/osaccount/removeosaccount_fuzzer/
Dremoveosaccount_fuzzer.cpp34 result = OsAccountManager::RemoveOsAccount(testId); in RemoveOsAccountFuzzTest()
/base/account/os_account/frameworks/domain_account/test/moduletest/src/
Ddomain_account_client_module_test.cpp319 errCode = OsAccountManager::RemoveOsAccount(accountInfo.GetLocalId());
360 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
439 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfo.GetLocalId()), ERR_OK);
462 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfo.GetLocalId()), ERR_OK);
502 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
555 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
658 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
776 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
827 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
886 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
[all …]
Dmock_domain_auth_callback.cpp43 ErrCode errCode = OsAccountManager::RemoveOsAccount(localId); in OnResult()
Dmock_domain_create_domain_account_callback.cpp54 OsAccountManager::RemoveOsAccount(osAccountInfo->GetLocalId()); in OnResult()
/base/account/os_account/test/fuzztest/osaccount/createosaccount_fuzzer/
Dcreateosaccount_fuzzer.cpp40 OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()); in CreateOsAccountFuzzTest()
/base/account/os_account/test/fuzztest/osaccount/createosaccountfordomain_fuzzer/
Dcreateosaccountfordomain_fuzzer.cpp42 OsAccountManager::RemoveOsAccount(osAccountInfo.GetLocalId()); in CreateOsAccountForDomainFuzzTest()
/base/account/os_account/frameworks/ohosaccount/test/moduletests/account_mgr_test/
Daccount_mgr_inner_sdk_func_test.cpp177 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
231 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
276 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
331 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
367 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
404 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
474 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
531 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
577 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
634 EXPECT_EQ(OsAccountManager::RemoveOsAccount(localId), ERR_OK);
[all …]
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_inner_account_mgr_cov.cpp229 errCode = innerMgrService_->RemoveOsAccount(localID);
267 errCode = innerMgrService_->RemoveOsAccount(localID);
302 ASSERT_EQ(innerMgrService_->RemoveOsAccount(localID), ERR_OK);
Dos_account_inner_account_mgr_mock.cpp304 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
343 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
434 ret = innerMgrService_->RemoveOsAccount(id);
442 ret = innerMgrService_->RemoveOsAccount(id);
452 ret = innerMgrService_->RemoveOsAccount(id);
458 ret = innerMgrService_->RemoveOsAccount(id);
476 ret = innerMgrService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
1204 ret = innerMgrService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
1241 ret = innerMgrService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
/base/account/os_account/tools/test/unittest/acm/
Daccount_command_switch_test.cpp54 OsAccount::GetInstance().RemoveOsAccount(info.GetLocalId()); in SetUp()
264 EXPECT_EQ(ERR_OK, OsAccount::GetInstance().RemoveOsAccount(osAccountInfo.GetLocalId()));
Daccount_command_dump_test.cpp54 OsAccount::GetInstance().RemoveOsAccount(info.GetLocalId()); in SetUp()
283 EXPECT_EQ(ERR_OK, OsAccount::GetInstance().RemoveOsAccount(osAccountInfo.GetLocalId()));
Daccount_command_set_test.cpp58 OsAccount::GetInstance().RemoveOsAccount(info.GetLocalId()); in SetUp()
376 EXPECT_EQ(ERR_OK, OsAccount::GetInstance().RemoveOsAccount(osAccountInfo.GetLocalId()));
Daccount_command_delete_test.cpp54 OsAccount::GetInstance().RemoveOsAccount(info.GetLocalId()); in SetUp()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
Dos_account_test.cpp217 ErrCode errCode = g_osAccount->RemoveOsAccount(0);
219 errCode = g_osAccount->RemoveOsAccount(100);
221 errCode = g_osAccount->RemoveOsAccount(1100);
/base/account/os_account/frameworks/osaccount/core/
Dlibos_account_core.map20 "OHOS::AccountSA::OsAccount::RemoveOsAccount(int)";
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_manager.cpp36 ErrCode OsAccountManager::RemoveOsAccount(const int id) in RemoveOsAccount() function in OHOS::AccountSA::OsAccountManager
38 return OsAccount::GetInstance().RemoveOsAccount(id); in RemoveOsAccount()
/base/account/os_account/services/accountmgr/test/unittest/ohos_account/
Dohos_account_manager_test.cpp243 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
283 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_manager.h77 static ErrCode RemoveOsAccount(const int id);
/base/account/os_account/services/accountmgr/include/osaccount/
Diinner_os_account.h35 virtual ErrCode RemoveOsAccount(const int id) = 0;
/base/account/os_account/frameworks/osaccount/core/include/
Dos_account.h32 ErrCode RemoveOsAccount(const int id);
Dios_account.h39 virtual ErrCode RemoveOsAccount(const int id) = 0;

12