Home
last modified time | relevance | path

Searched refs:allowedAccounts (Results 1 – 9 of 9) sorted by relevance

/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_common.cpp33 if (!parcel.WriteUint32(allowedAccounts.size())) { in Marshalling()
36 for (auto item : allowedAccounts) { in Marshalling()
75 allowedAccounts.push_back(std::make_pair(name, type)); in ReadFromParcel()
Dapp_account.cpp413 …options.allowedAccounts, Constants::MAX_ALLOWED_ARRAY_SIZE_INPUT, "allowedAccounts array is oversi… in SelectAccountsByOptions()
/base/account/os_account/frameworks/appaccount/native/include/
Dapp_account_common.h46 std::vector<std::pair<std::string, std::string>> allowedAccounts; member
/base/account/os_account/frameworks/appaccount/native/test/unittest/
Dapp_account_common_test.cpp200 option1.allowedAccounts.emplace_back(std::pair<std::string, std::string>(key, value));
Dapp_account_manager_test.cpp1914 options.allowedAccounts.clear();
1918 options.allowedAccounts.emplace_back(testAccountOwner, testAccountName);
1922 options.allowedAccounts.emplace_back("test_name_oversize", "test_owner_oversize");
1927 options.allowedAccounts.clear();
/base/account/os_account/services/accountmgr/src/appaccount/
Dapp_account_control_manager.cpp717 std::set<std::string> allowedAccounts; in SelectAccountsByOptions() local
718 for (auto account : options.allowedAccounts) { in SelectAccountsByOptions()
719 allowedAccounts.emplace(account.first + "_" + account.second); in SelectAccountsByOptions()
734 if (options.hasAccounts && allowedAccounts.count(owner + "_" + account.GetName()) == 0) { in SelectAccountsByOptions()
Dapp_account_stub.cpp886 …options->allowedAccounts, Constants::MAX_ALLOWED_ARRAY_SIZE_INPUT, "allowedAccounts array is overs… in ProcSelectAccountsByOptions()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_common.cpp1260 if (!ParseAccountVector(env, value, options.allowedAccounts)) { in ParseSelectAccountsOptions()
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_manager_service_module_test.cpp2568 options.allowedAccounts.emplace_back("test_key", "value");