Home
last modified time | relevance | path

Searched refs:localIds (Results 1 - 15 of 15) sorted by relevance

/base/account/os_account/test/fuzztest/osaccount/createosaccount_fuzzer/
H A Dcreateosaccount_fuzzer.cpp165 std::vector<int32_t> localIds; in CovWithoutParamFunctionFuzzTest() local
169 OsAccountManager::GetBackgroundOsAccountLocalIds(localIds); in CovWithoutParamFunctionFuzzTest()
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp3149 * @tc.desc: Test GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) success.
3160 std::vector<int32_t> localIds; in HWTEST_F() local
3161 EXPECT_EQ(OsAccountManager::GetBackgroundOsAccountLocalIds(localIds), ERR_OK); in HWTEST_F()
3162 auto it = std::find_if(localIds.begin(), localIds.end(), in HWTEST_F()
3164 EXPECT_TRUE(it == localIds.end()); in HWTEST_F()
3169 EXPECT_EQ(OsAccountManager::GetBackgroundOsAccountLocalIds(localIds), ERR_OK); in HWTEST_F()
3170 it = std::find_if(localIds.begin(), localIds.end(), [&](int32_t localId) { return localId == MAIN_ACCOUNT_ID; }); in HWTEST_F()
3171 EXPECT_TRUE(it != localIds in HWTEST_F()
[all...]
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h625 * @param localIds - Indicates the foreground localId list.
628 static ErrCode GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds);
/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account.h102 ErrCode GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds);
H A Dios_account.h110 virtual ErrCode GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) = 0;
H A Dos_account_proxy.h103 ErrCode GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) override;
/base/account/os_account/services/accountmgr/include/osaccount/
H A Diinner_os_account.h105 virtual ErrCode GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) = 0;
H A Dos_account_manager_service.h130 ErrCode GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) override;
H A Diinner_os_account_manager.h109 ErrCode GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) override;
/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp381 ErrCode OsAccountManager::GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) in GetBackgroundOsAccountLocalIds() argument
383 return OsAccount::GetInstance().GetBackgroundOsAccountLocalIds(localIds); in GetBackgroundOsAccountLocalIds()
/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp976 ErrCode OsAccount::GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) in GetBackgroundOsAccountLocalIds() argument
982 return proxy->GetBackgroundOsAccountLocalIds(localIds); in GetBackgroundOsAccountLocalIds()
H A Dos_account_proxy.cpp1709 ErrCode OsAccountProxy::GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) in GetBackgroundOsAccountLocalIds() argument
1730 localIds.clear(); in GetBackgroundOsAccountLocalIds()
1731 if (!reply.ReadInt32Vector(&localIds)) { in GetBackgroundOsAccountLocalIds()
1732 ACCOUNT_LOGE("Read localIds failed."); in GetBackgroundOsAccountLocalIds()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp1151 ErrCode OsAccountManagerService::GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) in GetBackgroundOsAccountLocalIds() argument
1153 return innerManager_.GetBackgroundOsAccountLocalIds(localIds); in GetBackgroundOsAccountLocalIds()
H A Dinner_os_account_manager.cpp2080 ErrCode IInnerOsAccountManager::GetBackgroundOsAccountLocalIds(std::vector<int32_t> &localIds) in RetryToGetAccount() argument
2082 localIds.clear(); in RetryToGetAccount()
2094 localIds.emplace_back(id); in RetryToGetAccount()
2097 ACCOUNT_LOGI("Get background list successful, total=%{public}zu.", localIds.size()); in RetryToGetAccount()
H A Dos_account_stub.cpp1752 std::vector<int32_t> localIds; in ProcGetBackgroundOsAccountLocalIds() local
1753 ErrCode result = GetBackgroundOsAccountLocalIds(localIds); in ProcGetBackgroundOsAccountLocalIds()
1761 if (!reply.WriteInt32Vector(localIds)) { in ProcGetBackgroundOsAccountLocalIds()
1762 ACCOUNT_LOGE("Write localIds failed."); in ProcGetBackgroundOsAccountLocalIds()

Completed in 21 milliseconds