Searched refs:allowedAccounts (Results 1 - 11 of 11) sorted by relevance
/base/account/os_account/frameworks/appaccount/native/src/ |
H A D | app_account_common.cpp | 33 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()
|
H A D | app_account.cpp | 500 options.allowedAccounts, Constants::MAX_ALLOWED_ARRAY_SIZE_INPUT, "allowedAccounts array is oversize"); in SelectAccountsByOptions()
|
/base/account/os_account/frameworks/appaccount/cj/include/ |
H A D | appaccount_defination.h | 65 CArrAppAccountInfo allowedAccounts; member
|
/base/account/os_account/frameworks/appaccount/native/include/ |
H A D | app_account_common.h | 43 std::vector<std::pair<std::string, std::string>> allowedAccounts; member
|
/base/account/os_account/frameworks/appaccount/native/test/unittest/ |
H A D | app_account_common_test.cpp | 193 * @tc.desc: Func Marshalling allowedAccounts is oversize. 207 option1.allowedAccounts.emplace_back(std::pair<std::string, std::string>(key, value)); in HWTEST_F()
|
H A D | app_account_manager_test.cpp | 1825 // check options.allowedAccounts array size in HWTEST_F() 1826 options.allowedAccounts.clear(); in HWTEST_F() 1830 options.allowedAccounts.emplace_back(testAccountOwner, testAccountName); in HWTEST_F() 1834 options.allowedAccounts.emplace_back("test_name_oversize", "test_owner_oversize"); in HWTEST_F() 1839 options.allowedAccounts.clear(); in HWTEST_F()
|
/base/account/os_account/frameworks/appaccount/cj/src/ |
H A D | appaccount_impl.cpp | 448 if (options.allowedAccounts.size() != 0) { in ParseContextForSelectAccount() 774 out.allowedAccounts = Convert2VecAppAccountInfo(in.allowedAccounts); in Convert2SelectAccountsOptions()
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_control_manager.cpp | 981 std::set<std::string> allowedAccounts; in SelectAccountsByOptions() local 982 for (auto account : options.allowedAccounts) { in SelectAccountsByOptions() 983 allowedAccounts.emplace(account.first + "_" + account.second); in SelectAccountsByOptions() 998 if (options.hasAccounts && allowedAccounts.count(owner + "_" + account.GetName()) == 0) { in SelectAccountsByOptions()
|
H A D | app_account_stub.cpp | 925 RETURN_IF_STRING_IS_OVERSIZE(options->allowedAccounts, in ProcSelectAccountsByOptions() 926 Constants::MAX_ALLOWED_ARRAY_SIZE_INPUT, "allowedAccounts array is oversize", reply); in ProcSelectAccountsByOptions()
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
H A D | napi_app_account_common.cpp | 1024 napi_has_named_property(env, object, "allowedAccounts", &options.hasAccounts); in ParseSelectAccountsOptions() 1026 napi_get_named_property(env, object, "allowedAccounts", &value); in ParseSelectAccountsOptions() 1031 ACCOUNT_LOGI("the allowedAccounts is undefined or null"); in ParseSelectAccountsOptions() 1033 if (!ParseAccountVector(env, value, options.allowedAccounts)) { in ParseSelectAccountsOptions()
|
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
H A D | app_account_manager_service_module_test.cpp | 2426 options.allowedAccounts.emplace_back("test_key", "value"); in HWTEST_F()
|
Completed in 21 milliseconds