/base/account/os_account/frameworks/appaccount/native/test/unittest/ |
H A D | app_account_common_test.cpp | 70 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 D | app_account_manager_test.cpp | 346 // 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 D | app_account_common.cpp | 42 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(¶meters); in Marshalling() 226 parcel.ReadStringVector(&requiredLabels); in ReadFromParcel()
|
H A D | app_account.cpp | 103 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 D | createaccountimplicitly_fuzzer.cpp | 58 options.requiredLabels.emplace_back(testValue); in CreateAccountImplicitlyFuzzTest()
|
/base/account/os_account/test/fuzztest/appaccount/selectaccountsbyoptions_fuzzer/ |
H A D | selectaccountsbyoptions_fuzzer.cpp | 63 options.requiredLabels.emplace_back(testValue); in SelectAccountsByOptionsFuzzTest()
|
/base/account/os_account/frameworks/appaccount/native/include/ |
H A D | app_account_common.h | 45 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 D | selectaccountsbyoptionsstub_fuzzer.cpp | 50 options.requiredLabels.emplace_back(testValue); in SelectAccountsByOptionsStubFuzzTest()
|
/base/account/os_account/frameworks/appaccount/cj/include/ |
H A D | appaccount_defination.h | 67 CArrString requiredLabels; member
|
/base/account/os_account/frameworks/appaccount/cj/src/ |
H A D | appaccount_impl.cpp | 458 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 D | napi_app_account_authenticator.cpp | 447 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 D | napi_app_account_common.cpp | 1041 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 D | app_account_control_manager.cpp | 1003 if (options.requiredLabels.size() == 0) { in SelectAccountsByOptions() 1018 request.labels = options.requiredLabels; in SelectAccountsByOptions()
|
H A D | app_account_stub.cpp | 426 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 D | app_account_manager_service_module_test.cpp | 2428 options.requiredLabels = TEST_LABELS; in HWTEST_F()
|