Home
last modified time | relevance | path

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

/base/account/os_account/test/fuzztest/osaccount/getmaxallowcreateidfromdatabase_fuzzer/
H A Dgetmaxallowcreateidfromdatabase_fuzzer.cpp37 result = OsAccountManager::GetMaxAllowCreateIdFromDatabase(testName, id); in GetMaxAllowCreateIdFromDatabaseFuzzTest()
/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_database_operator.h38 ErrCode GetMaxAllowCreateIdFromDatabase(const std::string &storeID, int &id);
H A Dios_account_control.h53 virtual ErrCode GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) = 0;
H A Diinner_os_account.h83 virtual ErrCode GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) = 0;
H A Dos_account_manager_service.h107 ErrCode GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) override;
H A Dos_account_control_file_manager.h65 ErrCode GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) override;
H A Diinner_os_account_manager.h88 ErrCode GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) override;
/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/
H A Dmock_os_account_control_file_manager.h71 ErrCode GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) { return ERR_OK; } in GetMaxAllowCreateIdFromDatabase() function in OHOS::AccountSA::MockOsAccountControlFileManager
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp398 ret = g_controlManager->GetMaxAllowCreateIdFromDatabase(storeID_, id); in HWTEST_F()
447 ret = g_controlManager->GetMaxAllowCreateIdFromDatabase(storeID_, id); in HWTEST_F()
452 ret = g_controlManager->GetMaxAllowCreateIdFromDatabase(std::string(""), idByDefault); in HWTEST_F()
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h479 static ErrCode GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id);
/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account.h78 ErrCode GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id);
H A Dios_account.h89 virtual ErrCode GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) = 0;
H A Dos_account_proxy.h83 ErrCode GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) override;
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp282 ErrCode OsAccountManager::GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) in GetMaxAllowCreateIdFromDatabase() function in OHOS::AccountSA::OsAccountManager
284 return OsAccount::GetInstance().GetMaxAllowCreateIdFromDatabase(storeID, id); in GetMaxAllowCreateIdFromDatabase()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_database_operator.cpp207 ErrCode OsAccountDatabaseOperator::GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) in GetMaxAllowCreateIdFromDatabase() function in OHOS::AccountSA::OsAccountDatabaseOperator
H A Dos_account_manager_service.cpp879 ErrCode OsAccountManagerService::GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) in GetMaxAllowCreateIdFromDatabase() function in OHOS::AccountSA::OsAccountManagerService
881 return innerManager_.GetMaxAllowCreateIdFromDatabase(storeID, id); in GetMaxAllowCreateIdFromDatabase()
H A Dos_account_control_file_manager.cpp1635 ErrCode OsAccountControlFileManager::GetMaxAllowCreateIdFromDatabase(const std::string& storeID, in GetMaxAllowCreateIdFromDatabase() function in OHOS::OsAccountControlFileManager
1639 return osAccountDataBaseOperator_->GetMaxAllowCreateIdFromDatabase(storeID, id); in GetMaxAllowCreateIdFromDatabase()
H A Dinner_os_account_manager.cpp2125 ErrCode IInnerOsAccountManager::GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) in RetryToGetAccount() function in OHOS::AccountSA::IInnerOsAccountManager
2128 return osAccountControl_->GetMaxAllowCreateIdFromDatabase(storeID, id); in RetryToGetAccount()
H A Dos_account_stub.cpp1443 ErrCode result = GetMaxAllowCreateIdFromDatabase(storeID, id); in ProcGetMaxAllowCreateIdFromDatabase()
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp786 ErrCode OsAccount::GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) in GetMaxAllowCreateIdFromDatabase() function in OHOS::AccountSA::OsAccount
792 return proxy->GetMaxAllowCreateIdFromDatabase(storeID, id); in GetMaxAllowCreateIdFromDatabase()
H A Dos_account_proxy.cpp1140 ErrCode OsAccountProxy::GetMaxAllowCreateIdFromDatabase(const std::string& storeID, int &id) in GetMaxAllowCreateIdFromDatabase() function in OHOS::AccountSA::OsAccountProxy
/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp568 ErrCode errCode = OsAccountManager::GetMaxAllowCreateIdFromDatabase("", maxAllowCreateId); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_mock_test.cpp553 * @tc.desc: Test GetMaxAllowCreateIdFromDatabase getosaccountproxy faild
561 g_osAccount->GetMaxAllowCreateIdFromDatabase(storeID, id)); in HWTEST_F()
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_module_test.cpp1419 * @tc.desc: Test GetMaxAllowCreateIdFromDatabase with invalid store id.
1427 EXPECT_NE(osAccountManagerService_->GetMaxAllowCreateIdFromDatabase(STORE_ID, id), ERR_OK); in HWTEST_F()
1429 EXPECT_EQ(osAccountManagerService_->GetMaxAllowCreateIdFromDatabase(STORE_ID, id), ERR_OK); in HWTEST_F()
1436 * @tc.desc: Test GetMaxAllowCreateIdFromDatabase normal case.
1443 EXPECT_EQ(osAccountManagerService_->GetMaxAllowCreateIdFromDatabase(EMPTY_STORE_ID, id), ERR_OK); in HWTEST_F()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp1873 * @tc.desc: Test GetMaxAllowCreateIdFromDatabase.
1882 EXPECT_NE(OsAccountManager::GetMaxAllowCreateIdFromDatabase("", maxAllowCreateId), ERR_OK); in HWTEST_F()
1884 EXPECT_EQ(OsAccountManager::GetMaxAllowCreateIdFromDatabase("", maxAllowCreateId), ERR_OK); in HWTEST_F()
1891 * @tc.desc: Test GetMaxAllowCreateIdFromDatabase.
1898 EXPECT_NE(OsAccountManager::GetMaxAllowCreateIdFromDatabase("ERROR_STORE_ID", maxAllowCreateId), ERR_OK); in HWTEST_F()

Completed in 37 milliseconds