Home
last modified time | relevance | path

Searched refs:oauthList (Results 1 – 23 of 23) sorted by relevance

/base/account/os_account/test/fuzztest/appaccount/getauthlist_fuzzer/
Dgetauthlist_fuzzer.cpp35 std::set<std::string> oauthList; in GetAuthListFuzzTest() local
36 oauthList.insert(testValue); in GetAuthListFuzzTest()
37 result = AppAccountManager::GetAuthList(testName, testAuthType, oauthList); in GetAuthListFuzzTest()
/base/account/os_account/test/fuzztest/appaccount/getoauthlist_fuzzer/
Dgetoauthlist_fuzzer.cpp35 std::set<std::string> oauthList; in GetOAuthListFuzzTest() local
36 oauthList.insert(testValue); in GetOAuthListFuzzTest()
37 result = AppAccountManager::GetOAuthList(testName, testAuthType, oauthList); in GetOAuthListFuzzTest()
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_manager.cpp184 const std::string &name, const std::string &authType, std::set<std::string> &oauthList) in GetOAuthList() argument
186 return AppAccount::GetInstance().GetOAuthList(name, authType, oauthList); in GetOAuthList()
190 const std::string &name, const std::string &authType, std::set<std::string> &oauthList) in GetAuthList() argument
192 return AppAccount::GetInstance().GetAuthList(name, authType, oauthList); in GetAuthList()
Dapp_account.cpp351 const std::string &name, const std::string &authType, std::set<std::string> &oauthList) in GetOAuthList() argument
357 return appAccountProxy_->GetOAuthList(name, authType, oauthList); in GetOAuthList()
361 const std::string &name, const std::string &authType, std::set<std::string> &oauthList) in GetAuthList() argument
366 return appAccountProxy_->GetAuthList(name, authType, oauthList); in GetAuthList()
Dapp_account_info.cpp414 const std::string &authType, std::set<std::string> &oauthList, const uint32_t apiVersion) const in GetOAuthList() argument
416 oauthList.clear(); in GetOAuthList()
425 oauthList = it->second.authList; in GetOAuthList()
Dapp_account_proxy.cpp785 const std::string &name, const std::string &authType, std::set<std::string> &oauthList) in GetOAuthList() argument
803 oauthList.emplace(reply.ReadString()); in GetOAuthList()
809 const std::string &name, const std::string &authType, std::set<std::string> &oauthList) in GetAuthList() argument
827 oauthList.emplace(reply.ReadString()); in GetAuthList()
/base/account/os_account/frameworks/appaccount/native/test/unittest/
Dapp_account_manager_test.cpp1785 std::set<std::string> oauthList; variable
1786 …ErrCode result = AppAccountManager::GetOAuthList(STRING_OUT_OF_RANGE, STRING_AUTH_TYPE, oauthList);
1788 EXPECT_TRUE(oauthList.empty());
1789 result = AppAccountManager::GetOAuthList(STRING_EMPTY, STRING_AUTH_TYPE, oauthList);
1791 EXPECT_TRUE(oauthList.empty());
1792 result = AppAccountManager::GetOAuthList(STRING_OWNER, STRING_OUT_OF_RANGE, oauthList);
1794 EXPECT_TRUE(oauthList.empty());
1796 result = AppAccountManager::GetOAuthList(STRING_OWNER, STRING_AUTH_TYPE, oauthList);
1798 EXPECT_TRUE(oauthList.empty());
1810 std::set<std::string> oauthList; variable
[all …]
/base/account/os_account/frameworks/test/unittest/
Daccount_appaccount_proxy_mock_test.cpp425 std::set<std::string> oauthList; variable
426 ErrCode result = AppAccountManager::GetOAuthList(STRING_OWNER, STRING_AUTH_TYPE, oauthList);
438 std::set<std::string> oauthList; variable
439 ErrCode result = AppAccountManager::GetAuthList(STRING_OWNER, STRING_AUTH_TYPE, oauthList);
/base/account/os_account/services/accountmgr/test/unittest/app_account/
Dapp_account_info_test.cpp522 std::set<std::string> oauthList; variable
523 ErrCode result = appAccountInfo.GetOAuthList(STRING_AUTH_TYPE, oauthList);
525 EXPECT_TRUE(oauthList.empty());
538 std::set<std::string> oauthList; variable
541 result = appAccountInfo.GetOAuthList(STRING_AUTH_TYPE, oauthList);
543 EXPECT_FALSE(oauthList.empty());
/base/account/os_account/interfaces/innerkits/appaccount/native/include/
Dapp_account_manager.h375 std::set<std::string> &oauthList);
388 std::set<std::string> &oauthList);
/base/account/os_account/services/accountmgr/test/mock/app_account/
Dmock_app_account_stub.h78 std::set<std::string> &oauthList) override;
80 std::set<std::string> &oauthList) override;
Dmock_app_account_stub.cpp274 std::set<std::string> &oauthList) in GetOAuthList() argument
282 std::set<std::string> &oauthList) in GetAuthList() argument
/base/account/os_account/frameworks/appaccount/native/include/
Diapp_account.h85 std::set<std::string> &oauthList) = 0;
87 std::set<std::string> &oauthList) = 0;
Dapp_account.h84 const std::string &name, const std::string &authType, std::set<std::string> &oauthList);
86 const std::string &name, const std::string &authType, std::set<std::string> &oauthList);
Dapp_account_proxy.h82 … const std::string &name, const std::string &authType, std::set<std::string> &oauthList) override;
84 … const std::string &name, const std::string &authType, std::set<std::string> &oauthList) override;
Dapp_account_info.h85 … std::set<std::string> &oauthList, const uint32_t apiVersion = Constants::API_VERSION8) const;
/base/account/os_account/services/accountmgr/include/appaccount/
Dapp_account_manager_service.h85 std::set<std::string> &oauthList) override;
87 std::set<std::string> &oauthList) override;
Dinner_app_account_manager.h82 std::set<std::string> &oauthList, const uint32_t apiVersion = Constants::API_VERSION8);
Dapp_account_control_manager.h85 std::set<std::string> &oauthList, const uint32_t apiVersion = Constants::API_VERSION8);
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_stub.cpp789 std::set<std::string> oauthList; in ProcGetAuthList() local
793 result = GetOAuthList(name, authType, oauthList); in ProcGetAuthList()
795 result = GetAuthList(name, authType, oauthList); in ProcGetAuthList()
800 if ((!reply.WriteInt32(result)) || (!reply.WriteUint32(oauthList.size()))) { in ProcGetAuthList()
804 for (auto bundleName : oauthList) { in ProcGetAuthList()
Dinner_app_account_manager.cpp334 …const AuthenticatorSessionRequest &request, std::set<std::string> &oauthList, const uint32_t apiVe… in GetOAuthList() argument
336 return controlManager_.GetOAuthList(request, oauthList, apiVersion); in GetOAuthList()
Dapp_account_manager_service.cpp511 const std::string &name, const std::string &authType, std::set<std::string> &oauthList) in GetOAuthList() argument
520 return innerManager_->GetOAuthList(request, oauthList); in GetOAuthList()
524 const std::string &name, const std::string &authType, std::set<std::string> &oauthList) in GetAuthList() argument
533 return innerManager_->GetOAuthList(request, oauthList, Constants::API_VERSION9); in GetAuthList()
Dapp_account_control_manager.cpp598 …const AuthenticatorSessionRequest &request, std::set<std::string> &oauthList, const uint32_t apiVe… in GetOAuthList() argument
608 return appAccountInfo.GetOAuthList(request.authType, oauthList, apiVersion); in GetOAuthList()