Home
last modified time | relevance | path

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

/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/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/services/accountmgr/test/moduletest/app_account/
Dapp_account_manager_service_module_not_mock_test.cpp189 std::set<std::string> oauthList; variable
190 ErrCode result = g_accountManagerService->GetOAuthList(STRING_NAME, AUTH_TYPE, oauthList);
193 result = g_accountManagerService->GetAuthList(STRING_NAME, AUTH_TYPE, oauthList);
196 result = g_accountManagerService->GetAuthList(STRING_NAME, AUTH_TYPE, oauthList);
/base/account/os_account/frameworks/appaccount/native/test/unittest/
Dapp_account_manager_test.cpp1697 std::set<std::string> oauthList; variable
1698 …ErrCode result = AppAccountManager::GetOAuthList(STRING_OUT_OF_RANGE, STRING_AUTH_TYPE, oauthList);
1700 EXPECT_TRUE(oauthList.empty());
1701 result = AppAccountManager::GetOAuthList(STRING_EMPTY, STRING_AUTH_TYPE, oauthList);
1703 EXPECT_TRUE(oauthList.empty());
1704 result = AppAccountManager::GetOAuthList(STRING_OWNER, STRING_OUT_OF_RANGE, oauthList);
1706 EXPECT_TRUE(oauthList.empty());
1708 result = AppAccountManager::GetOAuthList(STRING_OWNER, STRING_AUTH_TYPE, oauthList);
1710 EXPECT_TRUE(oauthList.empty());
1722 std::set<std::string> oauthList; variable
[all …]
/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.cpp427 const std::string &name, const std::string &authType, std::set<std::string> &oauthList) in GetOAuthList() argument
436 return proxy->GetOAuthList(name, authType, oauthList); in GetOAuthList()
440 const std::string &name, const std::string &authType, std::set<std::string> &oauthList) in GetAuthList() argument
448 return proxy->GetAuthList(name, authType, oauthList); in GetAuthList()
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()
Dapp_account_info.cpp483 const std::string &authType, std::set<std::string> &oauthList, const uint32_t apiVersion) const in GetOAuthList() argument
485 oauthList.clear(); in GetOAuthList()
494 oauthList = it->second.authList; in GetOAuthList()
/base/account/os_account/frameworks/test/unittest/
Daccount_appaccount_proxy_mock_test.cpp432 std::set<std::string> oauthList; variable
433 ErrCode result = AppAccountManager::GetOAuthList(STRING_OWNER, STRING_AUTH_TYPE, oauthList);
445 std::set<std::string> oauthList; variable
446 ErrCode result = AppAccountManager::GetAuthList(STRING_OWNER, STRING_AUTH_TYPE, oauthList);
/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/unittest/app_account/
Dapp_account_info_test.cpp529 std::set<std::string> oauthList; variable
530 ErrCode result = appAccountInfo.GetOAuthList(STRING_AUTH_TYPE, oauthList);
532 EXPECT_TRUE(oauthList.empty());
545 std::set<std::string> oauthList; variable
548 result = appAccountInfo.GetOAuthList(STRING_AUTH_TYPE, oauthList);
550 EXPECT_FALSE(oauthList.empty());
/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.h81 … const std::string &name, const std::string &authType, std::set<std::string> &oauthList) override;
83 … const std::string &name, const std::string &authType, std::set<std::string> &oauthList) override;
Dapp_account_info.h87 … std::set<std::string> &oauthList, const uint32_t apiVersion = Constants::API_VERSION8) const;
/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/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.h83 std::set<std::string> &oauthList, const uint32_t apiVersion = Constants::API_VERSION8);
Dapp_account_control_manager.h87 std::set<std::string> &oauthList, const uint32_t apiVersion = Constants::API_VERSION8);
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_stub.cpp764 std::set<std::string> oauthList; in ProcGetAuthList() local
768 result = GetOAuthList(name, authType, oauthList); in ProcGetAuthList()
770 result = GetAuthList(name, authType, oauthList); in ProcGetAuthList()
775 if ((!reply.WriteInt32(result)) || (!reply.WriteUint32(oauthList.size()))) { in ProcGetAuthList()
779 for (auto bundleName : oauthList) { in ProcGetAuthList()
Dinner_app_account_manager.cpp283 …const AuthenticatorSessionRequest &request, std::set<std::string> &oauthList, const uint32_t apiVe… in GetOAuthList() argument
285 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.cpp765 …const AuthenticatorSessionRequest &request, std::set<std::string> &oauthList, const uint32_t apiVe… in GetOAuthList() argument
775 return appAccountInfo.GetOAuthList(request.authType, oauthList, apiVersion); in GetOAuthList()