Home
last modified time | relevance | path

Searched refs:accountList (Results 1 – 7 of 7) sorted by relevance

/base/print/print_fwk/test/unittest/service_test/
Dprint_service_helper_test.cpp112 std::vector<int> accountList; variable
113 helper.QueryAccounts(accountList);
125 std::vector<int> accountList = {}; variable
126 helper.QueryAccounts(accountList);
Dprint_bms_helper_test.cpp179 [](std::vector<int> &accountList) { in __anon391dc48b0502() argument
180 accountList.emplace_back(1); in __anon391dc48b0502()
Dprint_service_ability_test.cpp211 [hasAccountMgr](std::vector<int> &accountList) { in CreatePrintServiceHelper() argument
212 accountList.emplace_back(TEST_VALUE_HUNDRED); in CreatePrintServiceHelper()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_database_operator.cpp47 Json accountList = Json { in InnerInit()
53 SaveAccountListToDatabase(accountList); in InnerInit()
231 std::string accountList; in GetAccountListFromStoreID() local
234 errCode = accountDataStorage_->GetValueFromKvStore(Constants::ACCOUNT_LIST, accountList); in GetAccountListFromStoreID()
242 errCode = storagePtr->GetValueFromKvStore(Constants::ACCOUNT_LIST, accountList); in GetAccountListFromStoreID()
249 accountListJson = Json::parse(accountList, nullptr, false); in GetAccountListFromStoreID()
Dos_account_control_file_manager.cpp101 Json accountList = Json { in BuildAndSaveAccountListJsonFile()
109 SaveAccountListToFile(accountList); in BuildAndSaveAccountListJsonFile()
775 std::string accountList; in GetAccountListFromFile() local
778 accountList); in GetAccountListFromFile()
783 accountListJson = Json::parse(accountList, nullptr, false); in GetAccountListFromFile()
/base/print/print_fwk/services/src/
Dprint_service_helper.cpp105 bool PrintServiceHelper::QueryAccounts(std::vector<int> &accountList) in QueryAccounts() argument
107 if (AccountSA::OsAccountManager::QueryActiveOsAccountIds(accountList) != ERR_OK) { in QueryAccounts()
111 if (accountList.size() == 0) { in QueryAccounts()
/base/print/print_fwk/services/include/
Dprint_service_helper.h33 virtual bool QueryAccounts(std::vector<int> &accountList);