Home
last modified time | relevance | path

Searched refs:allowedOwners (Results 1 - 13 of 13) sorted by relevance

/base/account/os_account/test/fuzztest/appaccount/selectaccountsbyoptions_fuzzer/
H A Dselectaccountsbyoptions_fuzzer.cpp62 options.allowedOwners.emplace_back(testValue); in SelectAccountsByOptionsFuzzTest()
/base/account/os_account/test/fuzztest/appaccount_stub/selectaccountsbyoptionsstub_fuzzer/
H A Dselectaccountsbyoptionsstub_fuzzer.cpp49 options.allowedOwners.emplace_back(testValue); in SelectAccountsByOptionsStubFuzzTest()
/base/account/os_account/frameworks/appaccount/cj/include/
H A Dappaccount_defination.h66 CArrString allowedOwners; member
/base/account/os_account/frameworks/appaccount/native/test/unittest/
H A Dapp_account_common_test.cpp69 option1.allowedOwners.emplace_back("test1"); in HWTEST_F()
79 EXPECT_EQ(option2->allowedOwners[0], "test1"); in HWTEST_F()
H A Dapp_account_manager_test.cpp1838 // check options.allowedOwners array size in HWTEST_F()
1842 options.allowedOwners.emplace_back(testOwner); in HWTEST_F()
1846 options.allowedOwners.emplace_back("test_owner_oversize"); in HWTEST_F()
1851 options.allowedOwners.clear(); in HWTEST_F()
/base/account/os_account/frameworks/appaccount/native/src/
H A Dapp_account_common.cpp42 return parcel.WriteStringVector(allowedOwners) && parcel.WriteStringVector(requiredLabels); in Marshalling()
77 return parcel.ReadStringVector(&allowedOwners) && parcel.ReadStringVector(&requiredLabels); in ReadFromParcel()
H A Dapp_account.cpp502 options.allowedOwners, Constants::MAX_ALLOWED_ARRAY_SIZE_INPUT, "allowedOwners array is oversize"); in SelectAccountsByOptions()
/base/account/os_account/frameworks/appaccount/native/include/
H A Dapp_account_common.h44 std::vector<std::string> allowedOwners; member
/base/account/os_account/frameworks/appaccount/cj/src/
H A Dappaccount_impl.cpp453 if (options.allowedOwners.size() != 0) { in ParseContextForSelectAccount()
775 out.allowedOwners = Convert2VecString(in.allowedOwners); in Convert2SelectAccountsOptions()
/base/account/os_account/services/accountmgr/src/appaccount/
H A Dapp_account_control_manager.cpp985 std::set<std::string> allowedOwners(options.allowedOwners.begin(), options.allowedOwners.end()); in SelectAccountsByOptions()
995 if (options.hasOwners && allowedOwners.count(owner) == 0) { in SelectAccountsByOptions()
H A Dapp_account_stub.cpp927 RETURN_IF_STRING_IS_OVERSIZE(options->allowedOwners, in ProcSelectAccountsByOptions()
928 Constants::MAX_ALLOWED_ARRAY_SIZE_INPUT, "allowedOwners array is oversize", reply); in ProcSelectAccountsByOptions()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
H A Dnapi_app_account_common.cpp1038 if (!ParseOptionalStringVectorByKey(env, object, "allowedOwners", options.hasOwners, options.allowedOwners)) { in ParseSelectAccountsOptions()
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
H A Dapp_account_manager_service_module_test.cpp2427 options.allowedOwners = TEST_LABELS; in HWTEST_F()

Completed in 19 milliseconds