Home
last modified time | relevance | path

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

12

/base/account/os_account/frameworks/osaccount/native/test/unittest/
Dos_account_info_test.cpp502 OsAccountManager::RemoveOsAccount(CREATE_LOCAL_ID);
520 OsAccountManager::RemoveOsAccount(CREATE_LOCAL_ID);
541 OsAccountManager::RemoveOsAccount(CREATE_LOCAL_ID);
611 OsAccountManager::RemoveOsAccount(osAccountInfoTwo.GetLocalId());
613 OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId());
632 OsAccountManager::RemoveOsAccount(osAccountInfoTwo.GetLocalId());
637 OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId());
665 OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId());
679 OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId());
693 OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId());
[all …]
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_manager_service_module_test.cpp163 errCode = osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
215 errCode = osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
220 osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
234 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
254 osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
278 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
292 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(Constants::START_USER_ID),
304 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(Constants::MAX_USER_ID + 1),
362 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
390 EXPECT_EQ(osAccountManagerService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
[all …]
Dos_account_manager_service_subscribe_module_test.cpp226 result = osAccountManagerService_->RemoveOsAccount(osAccountInfo.GetLocalId());
257 result = OsAccount::GetInstance().RemoveOsAccount(id);
Dos_account_manager_service_create_os_account_test.cpp113 g_osAccountManagerService->RemoveOsAccount(i);
Dinner_os_account_manager_test.cpp169 innerMgrService_->RemoveOsAccount(osAccountInfo.GetLocalId());
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp296 OsAccountManager::RemoveOsAccount(info.GetLocalId()); in SetUp()
355 ASSERT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
401 ASSERT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
422 ASSERT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
435 EXPECT_NE(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
449 EXPECT_NE(OsAccountManager::RemoveOsAccount(Constants::START_USER_ID), ERR_OK);
460 EXPECT_NE(OsAccountManager::RemoveOsAccount(Constants::MAX_USER_ID + 1), ERR_OK);
517 ASSERT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
538 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
559 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
[all …]
Dos_account_manager_no_bms_mock_test.cpp131 OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId());
/base/account/os_account/test/fuzztest/osaccount/createosaccountwithshortname_fuzzer/
Dcreateosaccountwithshortname_fuzzer.cpp62 OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()); in CreateOsAccountWithShortNameFuzzTest()
77 OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()); in CreateOsAccountWithShortNameFuzzTest()
/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.cpp142 OsAccount::GetInstance().RemoveOsAccount(info.GetLocalId()); in SetUp()
372 errCode = OsAccountManager::RemoveOsAccount(accountInfo.GetLocalId());
413 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
494 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfo.GetLocalId()), ERR_OK);
517 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfo.GetLocalId()), ERR_OK);
698 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
818 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
871 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
932 EXPECT_EQ(OsAccountManager::RemoveOsAccount(userId), ERR_OK);
972 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.cpp231 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
286 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
318 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
351 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
423 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
480 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
526 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
583 EXPECT_EQ(OsAccountManager::RemoveOsAccount(localId), ERR_OK);
646 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
/base/account/os_account/tools/test/unittest/acm/
Daccount_command_switch_test.cpp67 OsAccount::GetInstance().RemoveOsAccount(info.GetLocalId()); in SetUp()
277 OsAccount::GetInstance().RemoveOsAccount(osAccountInfo.GetLocalId());
Daccount_command_dump_test.cpp67 OsAccount::GetInstance().RemoveOsAccount(info.GetLocalId()); in SetUp()
296 OsAccount::GetInstance().RemoveOsAccount(osAccountInfo.GetLocalId());
Daccount_command_set_test.cpp71 OsAccount::GetInstance().RemoveOsAccount(info.GetLocalId()); in SetUp()
389 OsAccount::GetInstance().RemoveOsAccount(osAccountInfo.GetLocalId());
/base/account/os_account/frameworks/osaccount/core/test/unittest/
Dos_account_test.cpp148 ErrCode errCode = g_osAccount->RemoveOsAccount(0);
150 errCode = g_osAccount->RemoveOsAccount(100);
152 errCode = g_osAccount->RemoveOsAccount(1100);
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_inner_account_mgr_cov.cpp250 errCode = innerMgrService_->RemoveOsAccount(localID);
287 ASSERT_EQ(innerMgrService_->RemoveOsAccount(localID), ERR_OK);
Dos_account_inner_account_mgr_mock.cpp275 innerMgrService_->RemoveOsAccount(accountInfo.GetLocalId());
328 EXPECT_NE(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
330 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
423 ret = innerMgrService_->RemoveOsAccount(id);
431 ret = innerMgrService_->RemoveOsAccount(id);
441 ret = innerMgrService_->RemoveOsAccount(id);
447 ret = innerMgrService_->RemoveOsAccount(id);
464 EXPECT_EQ(innerMgrService_->RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
1170 ret = innerMgrService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
1207 ret = innerMgrService_->RemoveOsAccount(osAccountInfoOne.GetLocalId());
/base/account/os_account/services/accountmgr/test/unittest/account_iam/
Daccount_iam_callback_test.cpp421 EXPECT_EQ(OsAccountManager::RemoveOsAccount(accountInfo.GetLocalId()), ERR_OK);
446 EXPECT_EQ(OsAccountManager::RemoveOsAccount(accountInfo.GetLocalId()), ERR_OK);
471 EXPECT_EQ(OsAccountManager::RemoveOsAccount(accountInfo.GetLocalId()), ERR_OK);
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_manager.cpp58 ErrCode OsAccountManager::RemoveOsAccount(const int id) in RemoveOsAccount() function in OHOS::AccountSA::OsAccountManager
60 return OsAccount::GetInstance().RemoveOsAccount(id); in RemoveOsAccount()
/base/account/os_account/services/accountmgr/test/unittest/ohos_account/
Dohos_account_manager_test.cpp229 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
266 EXPECT_EQ(OsAccountManager::RemoveOsAccount(osAccountInfoOne.GetLocalId()), ERR_OK);
/base/account/os_account/frameworks/osaccount/core/
Dlibos_account_core.map21 "OHOS::AccountSA::OsAccount::RemoveOsAccount(int)";

12