Home
last modified time | relevance | path

Searched refs:requiredLabels (Results 1 - 15 of 15) sorted by relevance

/base/account/os_account/frameworks/appaccount/native/test/unittest/
H A Dapp_account_common_test.cpp70 option1.requiredLabels.emplace_back("test2"); in HWTEST_F()
80 EXPECT_EQ(option2->requiredLabels[0], "test2"); in HWTEST_F()
139 option1.requiredLabels.emplace_back("test2"); in HWTEST_F()
148 EXPECT_EQ(option2->requiredLabels[0], "test2"); in HWTEST_F()
209 option1.requiredLabels.emplace_back("test2"); in HWTEST_F()
H A Dapp_account_manager_test.cpp346 // check options.requiredLabels in HWTEST_F()
349 options.requiredLabels.emplace_back(testLabel); in HWTEST_F()
353 options.requiredLabels.emplace_back("test_label_oversize"); in HWTEST_F()
1850 // check SelectAccountsOptions.requiredLabels array size in HWTEST_F()
1854 options.requiredLabels.emplace_back(testLabel); in HWTEST_F()
1858 options.requiredLabels.emplace_back("test_label_oversize"); 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()
209 parcel.WriteStringVector(requiredLabels) && parcel.WriteParcelable(&parameters); in Marshalling()
226 parcel.ReadStringVector(&requiredLabels); in ReadFromParcel()
H A Dapp_account.cpp103 options.requiredLabels, Constants::MAX_ALLOWED_ARRAY_SIZE_INPUT, "requiredLabels array is oversize"); in CreateAccountImplicitly()
504 options.requiredLabels, Constants::MAX_ALLOWED_ARRAY_SIZE_INPUT, "requiredLabels array is oversize"); in SelectAccountsByOptions()
/base/account/os_account/test/fuzztest/appaccount/createaccountimplicitly_fuzzer/
H A Dcreateaccountimplicitly_fuzzer.cpp58 options.requiredLabels.emplace_back(testValue); in CreateAccountImplicitlyFuzzTest()
/base/account/os_account/test/fuzztest/appaccount/selectaccountsbyoptions_fuzzer/
H A Dselectaccountsbyoptions_fuzzer.cpp63 options.requiredLabels.emplace_back(testValue); in SelectAccountsByOptionsFuzzTest()
/base/account/os_account/frameworks/appaccount/native/include/
H A Dapp_account_common.h45 std::vector<std::string> requiredLabels; member
79 std::vector<std::string> requiredLabels; member
/base/account/os_account/test/fuzztest/appaccount_stub/selectaccountsbyoptionsstub_fuzzer/
H A Dselectaccountsbyoptionsstub_fuzzer.cpp50 options.requiredLabels.emplace_back(testValue); in SelectAccountsByOptionsStubFuzzTest()
/base/account/os_account/frameworks/appaccount/cj/include/
H A Dappaccount_defination.h67 CArrString requiredLabels; member
/base/account/os_account/frameworks/appaccount/cj/src/
H A Dappaccount_impl.cpp458 if (options.requiredLabels.size() != 0) { in ParseContextForSelectAccount()
776 out.requiredLabels = Convert2VecString(in.requiredLabels); in Convert2SelectAccountsOptions()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
H A Dnapi_app_account_authenticator.cpp447 napi_value jsRequiredLabels = CreateStringArray(param->env, param->createOptions.requiredLabels); in CreateAccountImplicitlyWork()
448 napi_set_named_property(param->env, jsObject, "requiredLabels", jsRequiredLabels); in CreateAccountImplicitlyWork()
H A Dnapi_app_account_common.cpp1041 if (!ParseOptionalStringVectorByKey(env, object, "requiredLabels", options.hasLabels, options.requiredLabels)) { in ParseSelectAccountsOptions()
1374 napi_has_named_property(env, object, "requiredLabels", &options.hasRequiredLabels); in ParseCreateAccountImplicitlyOptions()
1376 napi_get_named_property(env, object, "requiredLabels", &value); in ParseCreateAccountImplicitlyOptions()
1381 ACCOUNT_LOGI("the requiredLabels is undefined or null"); in ParseCreateAccountImplicitlyOptions()
1383 if (!ParseStringVector(env, value, options.requiredLabels)) { in ParseCreateAccountImplicitlyOptions()
/base/account/os_account/services/accountmgr/src/appaccount/
H A Dapp_account_control_manager.cpp1003 if (options.requiredLabels.size() == 0) { in SelectAccountsByOptions()
1018 request.labels = options.requiredLabels; in SelectAccountsByOptions()
H A Dapp_account_stub.cpp426 RETURN_IF_STRING_IS_OVERSIZE(options->requiredLabels, in ProcCreateAccountImplicitly()
427 Constants::MAX_ALLOWED_ARRAY_SIZE_INPUT, "requiredLabels array is oversize", reply); in ProcCreateAccountImplicitly()
929 RETURN_IF_STRING_IS_OVERSIZE(options->requiredLabels, in ProcSelectAccountsByOptions()
930 Constants::MAX_ALLOWED_ARRAY_SIZE_INPUT, "requiredLabels array is oversize", reply); in ProcSelectAccountsByOptions()
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
H A Dapp_account_manager_service_module_test.cpp2428 options.requiredLabels = TEST_LABELS; in HWTEST_F()

Completed in 20 milliseconds