Home
last modified time | relevance | path

Searched refs:AddAccount (Results 1 – 25 of 38) sorted by relevance

12

/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_manager_service_thread_module_test.cpp57 void AddAccount(const std::shared_ptr<AppAccountManagerService> &servicePtr);
81 void AppAccountManagerServiceThreadModuleTest::AddAccount(const std::shared_ptr<AppAccountManagerSe… in AddAccount() function in AppAccountManagerServiceThreadModuleTest
85 ErrCode result = servicePtr->AddAccount(STRING_NAME, STRING_EXTRA_INFO); in AddAccount()
134 Callback callbackAdd = std::bind(&AppAccountManagerServiceThreadModuleTest::AddAccount, this,
166 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
192 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
Dapp_account_manager_service_module_test.cpp171 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
189 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EMPTY);
206 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
223 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME_MAX_SIZE, STRING_EXTRA_INFO);
240 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
243 result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
279 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
321 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
359 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
384 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
[all …]
Dapp_account_manager_service_sync_module_test.cpp112 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
146 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
205 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
248 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
285 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
356 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
438 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
519 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
585 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
656 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
Dapp_account_manager_service_subscribe_module_test.cpp262 result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
386 …ErrCode result = controlManagerPtr_->AddAccount(name, STRING_EXTRA_INFO, UID, bundleName, appAccou…
438 ErrCode result = appAccountManagerServicePtr_->innerManager_->AddAccount(STRING_NAME,
530 …ErrCode result = accountInnerManager->AddAccount(STRING_NAME, STRING_EXTRA_INFO, UID, STRING_BUNDL…
532 …EXPECT_EQ(accountInnerManager->AddAccount(STRING_NAME_TWO, STRING_EXTRA_INFO, UID, STRING_BUNDLE_N…
621 ErrCode result = appAccountManagerServicePtr_->innerManager_->AddAccount(STRING_NAME,
624 result = appAccountManagerServicePtr_->innerManager_->AddAccount(STRING_NAME_TWO,
711 ErrCode result = appAccountManagerServicePtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
Dapp_account_control_manager_module_test.cpp103 …result = controlManagerPtr_->AddAccount(name, STRING_EXTRA_INFO, UID, STRING_OWNER, appAccountInfo…
110 …result = controlManagerPtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO, UID, STRING_OWNER, appAcco…
/base/account/os_account/services/accountmgr/test/unittest/app_account/
Dapp_account_test.cpp165 ErrCode result = appAccount_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
180 ErrCode result = appAccount_->AddAccount(STRING_NAME_EMPTY, STRING_EXTRA_INFO);
195 ErrCode result = appAccount_->AddAccount(STRING_NAME, STRING_EXTRA_INFO_EMPTY);
210 ErrCode result = appAccount_->AddAccount(STRING_NAME_OUT_OF_RANGE, STRING_EXTRA_INFO);
225 …ErrCode result = appAccount_->AddAccount(STRING_NAME_CONTAINS_SPECIAL_CHARACTERS, STRING_EXTRA_INF…
240 …ErrCode result = appAccount_->AddAccount(STRING_NAME_CONTAINS_SPECIAL_CHARACTERS_TWO, STRING_EXTRA…
255 …ErrCode result = appAccount_->AddAccount(STRING_NAME_CONTAINS_SPECIAL_CHARACTERS_THREE, STRING_EXT…
270 ErrCode result = appAccount_->AddAccount(STRING_NAME, STRING_EXTRA_INFO_OUT_OF_RANGE);
Dapp_account_manager_service_test.cpp79 ErrCode result = appAccountProxy_->AddAccount(STRING_NAME, STRING_EXTRA_INFO);
Dinner_app_account_manager_test.cpp113 …ErrCode result = innerManagerPtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO, UID, STRING_OWNER, 0…
128 …ErrCode result = innerManagerPtr_->AddAccount(STRING_NAME, STRING_EXTRA_INFO, UID, STRING_OWNER, 0…
/base/account/os_account/test/fuzztest/appaccount/addaccount_fuzzer/
Daddaccount_fuzzer.cpp34 result = AppAccountManager::AddAccount(testName, extraInfo); in AddAccountFuzzTest()
/base/account/os_account/services/accountmgr/test/mock/app_account/
Dmock_app_account_control_manager.h29 …ErrCode AddAccount(const std::string &name, const std::string &extraInfo, const std::string &bundl…
Dmock_inner_app_account_manager.h29 ErrCode AddAccount(
Dmock_app_account_control_manager.cpp37 ErrCode MockAppAccountControlManager::AddAccount(const std::string &name, const std::string &extraI… in AddAccount() function in OHOS::AccountSA::MockAppAccountControlManager
Dmock_inner_app_account_manager.cpp38 ErrCode MockInnerAppAccountManager::AddAccount( in AddAccount() function in OHOS::AccountSA::MockInnerAppAccountManager
Dmock_app_account_stub.h27 ErrCode AddAccount(const std::string &name, const std::string &extraInfo) override;
/base/account/os_account/frameworks/appaccount/native/test/moduletest/
Dapp_account_manager_module_test.cpp99 ErrCode result = AppAccountManager::AddAccount(STRING_NAME, STRING_EXTRA_INFO);
113 ErrCode result = AppAccountManager::AddAccount(STRING_NAME_MAX_SIZE, STRING_EXTRA_INFO);
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_manager.cpp24 ErrCode AppAccountManager::AddAccount(const std::string &name, const std::string &extraInfo) in AddAccount() function in OHOS::AccountSA::AppAccountManager
26 return DelayedSingleton<AppAccount>::GetInstance()->AddAccount(name, extraInfo); in AddAccount()
/base/account/os_account/services/accountmgr/include/appaccount/
Dinner_app_account_manager.h31 ErrCode AddAccount(const std::string &name, const std::string &extraInfo,
Dapp_account_manager_service.h31 ErrCode AddAccount(const std::string &name, const std::string &extraInfo) override;
Dapp_account_control_manager.h44 ErrCode AddAccount(const std::string &name, const std::string &extraInfo, const uid_t &uid,
/base/account/os_account/interfaces/innerkits/appaccount/native/include/
Dapp_account_manager.h29 static ErrCode AddAccount(const std::string &name, const std::string &extraInfo = "");
/base/account/os_account/frameworks/appaccount/native/include/
Dapp_account.h35 ErrCode AddAccount(const std::string &name, const std::string &extraInfo);
Diapp_account.h32 virtual ErrCode AddAccount(const std::string &name, const std::string &extraInfo) = 0;
Dapp_account_proxy.h29 ErrCode AddAccount(const std::string &name, const std::string &extraInfo) override;
/base/account/os_account/services/accountmgr/src/appaccount/
Dinner_app_account_manager.cpp36 ErrCode InnerAppAccountManager::AddAccount(const std::string &name, const std::string &extraInfo, in AddAccount() function in OHOS::AccountSA::InnerAppAccountManager
46 … ErrCode result = controlManagerPtr_->AddAccount(name, extraInfo, uid, bundleName, appAccountInfo); in AddAccount()
/base/account/os_account/interfaces/kits/napi/appaccount/include/
Dnapi_app_account.h30 static napi_value AddAccount(napi_env env, napi_callback_info cbInfo);

12