Home
last modified time | relevance | path

Searched refs:option (Results 1 - 25 of 1190) sorted by relevance

12345678910>>...48

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/waterFlower/
H A DwaterFlower.cpp22 auto option = OH_ArkUI_WaterFlowSectionOption_Create(); in testWaterFlower_001() local
23 OH_ArkUI_WaterFlowSectionOption_SetItemCount(option,0,5); in testWaterFlower_001()
24 auto result = OH_ArkUI_WaterFlowSectionOption_GetItemCount(option,0); in testWaterFlower_001()
30 auto option = OH_ArkUI_WaterFlowSectionOption_Create(); in testWaterFlower_002() local
31 OH_ArkUI_WaterFlowSectionOption_SetCrossCount(option,0,1); in testWaterFlower_002()
32 auto result = OH_ArkUI_WaterFlowSectionOption_GetCrossCount(option,0); in testWaterFlower_002()
39 auto option = OH_ArkUI_WaterFlowSectionOption_Create(); in testWaterFlower_003() local
40 OH_ArkUI_WaterFlowSectionOption_SetColumnGap(option,0,10); in testWaterFlower_003()
41 auto result = OH_ArkUI_WaterFlowSectionOption_GetColumnGap(option,0); in testWaterFlower_003()
47 auto option in testWaterFlower_004() local
59 auto option = OH_ArkUI_WaterFlowSectionOption_Create(); testWaterFlower_005() local
[all...]
/test/xts/acts/distributeddatamgr/preferencesNdktestHvigor/entry/src/main/cpp/
H A Dnapi_init.cpp117 OH_PreferencesOption *option = OH_PreferencesOption_Create(); in OH_PreferencesOption_Create_0100() local
118 NAPI_ASSERT(env, option != nullptr, "OH_PreferencesOption_Create is fail."); in OH_PreferencesOption_Create_0100()
119 int errcode = OH_PreferencesOption_Destroy(option); in OH_PreferencesOption_Create_0100()
131 OH_PreferencesOption *option = OH_PreferencesOption_Create(); in OH_PreferencesOption_SetFilePath_0100() local
132 int errcode = OH_PreferencesOption_SetFileName(option, "test.db"); in OH_PreferencesOption_SetFilePath_0100()
135 errcode = OH_PreferencesOption_Destroy(option); in OH_PreferencesOption_SetFilePath_0100()
148 OH_PreferencesOption *option = OH_PreferencesOption_Create(); in OH_PreferencesOption_SetFilePath_0200() local
149 int errcode = OH_PreferencesOption_SetFileName(option, ""); in OH_PreferencesOption_SetFilePath_0200()
150 OH_LOG_Print(LOG_APP, LOG_ERROR, 0, TAG, "OH_PreferencesOption_SetFileName(option, "") errcode= %{public}d", errcode); in OH_PreferencesOption_SetFilePath_0200()
151 NAPI_ASSERT(env, errcode == PREFERENCES_ERROR_INVALID_PARAM, "OH_PreferencesOption_SetFileName(option, "") i in OH_PreferencesOption_SetFilePath_0200()
181 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_PreferencesOption_SetBundleName_0100() local
213 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_PreferencesOption_SetBundleName_0200() local
243 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_PreferencesOption_SetDataGroupId_0100() local
273 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_PreferencesOption_SetDataGroupId_0200() local
303 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_PreferencesOption_Destroy_0100() local
319 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_PreferencesOption_Destroy_0200() local
336 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_Open_0100() local
363 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_Open_0200() local
390 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_Close_0100() local
422 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_SetInt_0100() local
477 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_SetGetInt_0100() local
548 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_SetGetString_0100() local
652 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_SetGetBool_0100() local
699 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_SetString_0100() local
745 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_SetBool_0100() local
791 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_GetInt_0100() local
847 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_GetString_0100() local
906 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_GetBool_0100() local
963 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_FreeString() local
998 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_Delete() local
1022 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_RegisterDataObserver_0100() local
1070 OH_PreferencesOption *option = OH_PreferencesOption_Create(); OH_Preferences_UnregisterDataObserver_0100() local
[all...]
/test/ostest/wukong/test_flow/src/
H A Dfocus_test_flow.cpp59 const struct option LONG_OPTIONS[] = {
224 ErrCode FocusTestFlow::SetInputPercent(const int option) in SetInputPercent() argument
227 auto it = OPTION_INPUT_PERCENT.find(option); in SetInputPercent()
240 // try the option argument string convert float. in SetInputPercent()
241 shellcommand_.ResultReceiverAppend("error: option '"); in SetInputPercent()
242 shellcommand_.ResultReceiverAppend(string((char *)(&option))); in SetInputPercent()
247 // check valid of the option argument in SetInputPercent()
259 ErrCode FocusTestFlow::SetBlackWhiteSheet(const int option) in SetBlackWhiteSheet() argument
262 if (option == 'b') { in SetBlackWhiteSheet()
265 } else if (option in SetBlackWhiteSheet()
287 SetRunningParam(const int option) SetRunningParam() argument
306 SetRunningIndicator(const int option) SetRunningIndicator() argument
420 HandleNormalOption(const int option) HandleNormalOption() argument
441 CheckArgument(const int option) CheckArgument() argument
[all...]
H A Dspecial_test_flow.cpp34 " -S, --swap[option] swap event\n"
35 " option is -s| -e| -b\n"
48 const struct option LONG_OPTIONS[] = {
264 const struct option *SpecialTestFlow::GetOptionArguments(std::string &shortOpts) in GetOptionArguments()
280 shellcommand_.ResultReceiverAppend("error: option '-"); in HandleUnknownOption()
290 // 'wukong special' with a unknown option: wukong special -x in HandleUnknownOption()
292 "'wukong special' with an unknown option, please reference help information:\n"); in HandleUnknownOption()
301 ErrCode SpecialTestFlow::HandleNormalOption(const int option) in HandleNormalOption() argument
304 if (option == 'c' || option in HandleNormalOption()
316 CheckArgument(const int option) CheckArgument() argument
336 SetRunningParam(const int option) SetRunningParam() argument
363 SetRunningIndicator(const int option) SetRunningIndicator() argument
[all...]
H A Drandom_test_flow.cpp59 const struct option LONG_OPTIONS[] = {
235 ErrCode RandomTestFlow::SetInputPercent(const int option) in SetInputPercent() argument
238 auto it = OPTION_INPUT_PERCENT.find(option); in SetInputPercent()
251 // try the option argument string convert float. in SetInputPercent()
252 shellcommand_.ResultReceiverAppend("error: option '"); in SetInputPercent()
253 shellcommand_.ResultReceiverAppend(string((char *)(&option))); in SetInputPercent()
258 // check valid of the option argument in SetInputPercent()
270 ErrCode RandomTestFlow::SetBlackWhiteSheet(const int option) in SetBlackWhiteSheet() argument
273 if (option == 'b') { in SetBlackWhiteSheet()
276 } else if (option in SetBlackWhiteSheet()
304 SetRunningParam(const int option) SetRunningParam() argument
325 SetRunningIndicator(const int option) SetRunningIndicator() argument
487 HandleNormalOption(const int option) HandleNormalOption() argument
509 CheckArgument(const int option) CheckArgument() argument
[all...]
H A Dtest_flow.cpp37 // get command option and arguments from child class. in CheckVaildityCmd()
49 int option = -1; in CheckVaildityCmd() local
51 option = getopt_long(argc_, argv_, shortOpts.c_str(), longOpts, nullptr); in CheckVaildityCmd()
57 if (option == -1) { in CheckVaildityCmd()
59 ERROR_LOG(" you must specify an option at least."); in CheckVaildityCmd()
65 if (option == '?') { in CheckVaildityCmd()
70 result = HandleNormalOption(option); in CheckVaildityCmd()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/Dialog/
H A Dnative_type.h1535 /** This option has the same effect as <b>BREAK_ALL</b> for non-CJK text, except that if it preferentially wraps
2248 * @param option Indicates the pointer to a water flow section configuration.
2251 void OH_ArkUI_WaterFlowSectionOption_Dispose(ArkUI_WaterFlowSectionOption* option);
2256 * @param option FlowItem Indicates the packet configuration.
2260 void OH_ArkUI_WaterFlowSectionOption_SetSize(ArkUI_WaterFlowSectionOption* option,
2266 * @param option Indicates the pointer to a water flow section configuration.
2271 void OH_ArkUI_WaterFlowSectionOption_SetItemCount(ArkUI_WaterFlowSectionOption* option,
2277 * @param option FlowItem Indicates the packet configuration.
2281 int32_t OH_ArkUI_WaterFlowSectionOption_GetSize(ArkUI_WaterFlowSectionOption* option);
2286 * @param option Indicate
[all...]
/test/xts/acts/communication/dsoftbus/rpc/entry/src/ohosTest/js/test/
H A DRpcClientJsunit.test.js162 onRemoteRequest(code, data, reply, option) {
177 return super.onRemoteRequest(code, data, reply, option);
184 onRemoteMessageRequest(code, data, reply, option) {
647 this.onRemoteRequest(code, data, reply, option);
661 onRemoteRequest(code, data, reply, option) {
708 onRemoteMessageRequest(code, data, reply, option) {
756 onRemoteRequest(code, data, reply, option) {
804 let option = new rpc.MessageOption();
808 await gIRemoteObject.sendMessageRequest(CODE_INTERFACETOKEN, data, reply, option).then((result) => {
838 let option
[all...]
/test/xts/hats/hdf/manager/managerServiceTest/
H A Dservice_manager_hdi_test.cpp107 uint32_t code, OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option) override
154 OHOS::MessageOption option; in HWTEST_F() local
155 int status = sampleService->SendRequest(SAMPLE_SERVICE_PING, data, reply, option); in HWTEST_F()
182 OHOS::MessageOption option; in HWTEST_F() local
183 int status = sampleService->SendRequest(SAMPLE_SERVICE_CALLBACK, data, reply, option); in HWTEST_F()
209 OHOS::MessageOption option; in HWTEST_F() local
210 int status = sampleService->SendRequest(SAMPLE_SERVICE_SUM, data, reply, option); in HWTEST_F()
244 OHOS::MessageOption option; in HWTEST_F() local
245 int status = sampleService->SendRequest(SAMPLE_BUFFER_TRANS, data, reply, option); in HWTEST_F()
282 OHOS::MessageOption option; in HWTEST_F() local
450 OHOS::MessageOption option; TestSampleService() local
587 OHOS::MessageOption option; HWTEST_F() local
628 OHOS::MessageOption option; HWTEST_F() local
671 OHOS::MessageOption option; HWTEST_F() local
922 OHOS::MessageOption option; HWTEST_F() local
977 OHOS::MessageOption option; HWTEST_F() local
1012 MessageOption option; HWTEST_F() local
1039 MessageOption option; HWTEST_F() local
1063 MessageOption option; HWTEST_F() local
1090 MessageOption option; HWTEST_F() local
1117 MessageOption option; HWTEST_F() local
1147 MessageOption option; HWTEST_F() local
1180 MessageOption option; HWTEST_F() local
1202 MessageOption option; HWTEST_F() local
[all...]
/test/ostest/wukong/test_flow/include/
H A Drandom_test_flow.h46 virtual const struct option* GetOptionArguments(std::string &shortOpts) override;
48 ErrCode HandleNormalOption(const int option) override;
56 * @param option command letter.
59 ErrCode CheckArgument(const int option);
83 * @param option the param of test
85 ErrCode SetInputPercent(const int option);
89 * @param option the param of test
91 ErrCode SetBlackWhiteSheet(const int option);
95 * @param option the param of test
97 ErrCode SetRunningParam(const int option);
[all...]
H A Dfocus_test_flow.h46 virtual const struct option* GetOptionArguments(std::string &shortOpts) override;
48 ErrCode HandleNormalOption(const int option) override;
56 * @param option command letter.
59 ErrCode CheckArgument(const int option);
83 * @param option the param of test
85 ErrCode SetInputPercent(const int option);
89 * @param option the param of test
91 ErrCode SetBlackWhiteSheet(const int option);
95 * @param option the param of test
97 ErrCode SetRunningParam(const int option);
[all...]
H A Dspecial_test_flow.h45 virtual const struct option *GetOptionArguments(std::string &shortOpts) override;
47 virtual ErrCode HandleNormalOption(const int option) override;
52 * @param option command letter.
55 ErrCode CheckArgument(const int option);
59 * @param option the param of test
61 ErrCode SetRunningParam(const int option);
65 * @param option the param of test
67 ErrCode SetRunningIndicator(const int option);
H A Dtest_flow.h74 virtual const struct option* GetOptionArguments(std::string &shortOpts) = 0;
77 * @brief parse command unknown option, and print invalid information.
79 * @param optopt option.
85 * @brief Check an option value from the getopt.
86 * @param option Option val.
89 virtual ErrCode HandleNormalOption(const int option) = 0;
/test/xts/acts/security/huks/security_huks_reformed_test/huks_hmac_promise_BasicTest/entry/src/ohosTest/js/test/HMAC/
H A DSecurityHuksFaceFingerNormalJsunit.test.js198 let option = usePinNormal(inData);
203 option.properties.splice(5, 1, err);
207 await huks.generateKeyItem(alias, option)
231 let option = usePinNormal(inData);
236 option.properties.splice(6, 1, err);
240 await huks.generateKeyItem(alias, option)
264 let option = usePinNormal(inData);
269 option.properties.splice(7, 1, err);
273 await huks.generateKeyItem(alias, option)
297 let option
[all...]
/test/xts/hats/hdf/manager/managerBenchmarkTest/
H A Dhdf_manager_benchmark_test.cpp88 uint32_t code, OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option) override
121 OHOS::MessageOption option; in BENCHMARK_F() local
124 status = sampleService->SendRequest(SAMPLE_SERVICE_PING, data, reply, option); in BENCHMARK_F()
155 OHOS::MessageOption option; in BENCHMARK_F() local
157 status = sampleService->SendRequest(SAMPLE_SERVICE_CALLBACK, data, reply, option); in BENCHMARK_F()
192 OHOS::MessageOption option; in BENCHMARK_F() local
199 int status = sampleService->SendRequest(SAMPLE_REGISTER_DEVICE, data, reply, option); in BENCHMARK_F()
212 status = sampleService2->SendRequest(SAMPLE_SERVICE_SUM, data, reply, option); in BENCHMARK_F()
226 status = sampleService->SendRequest(SAMPLE_UNREGISTER_DEVICE, data, reply, option); in BENCHMARK_F()
267 OHOS::MessageOption option; in BENCHMARK_F() local
347 OHOS::MessageOption option; BENCHMARK_F() local
390 OHOS::MessageOption option; BENCHMARK_F() local
[all...]
/test/xts/acts/communication/dsoftbus/rpc_request/entry/src/ohosTest/js/test/
H A DActsRpcRequestJsTest.test.js94 onRemoteRequest(code, data, reply, option) {
122 onRemoteRequest(code, data, reply, option) {
132 return super.onRemoteRequest(code, data, reply, option);
139 async onRemoteMessageRequest(code, data, reply, option) {
156 return super.onRemoteMessageRequest(code, data, reply, option);
183 let option = new rpc.MessageOption();
187 await gIRemoteObject.sendMessageRequest(CODE_ASYNC_ONREMOTEMESSAGE, data, reply, option).then((result) => {
214 var option = new rpc.MessageOption(1);
218 await gIRemoteObject.sendMessageRequest(CODE_ASYNC_ONREMOTEMESSAGE, data, reply, option).then(function(result){
246 let option
[all...]
/test/xts/device_attest/interfaces/innerkits/native_cpp/test/unittest/src/
H A Ddevattest_client_proxy_test.cpp35 void ActionAttestResultInfo(int option, AttestResultInfo &attestResultInfo) in ActionAttestResultInfo() argument
38 if (option == ATTEST_SET_OPTION) { in ActionAttestResultInfo()
66 int ActionReturnResult(int type, int option, int value) in ActionReturnResult() argument
73 if (option == ATTEST_SET_OPTION) { in ActionReturnResult()
94 int SendRequest(uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override
/test/xts/device_attest/services/devattest_ability/src/
H A Ddevattest_service_stub.cpp35 MessageParcel& data, MessageParcel& reply, MessageOption& option) in OnRemoteRequest()
37 HILOGD("[OnRemoteRequest] cmd = %{public}d, flags = %{public}d", code, option.GetFlags()); in OnRemoteRequest()
51 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
34 OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, MessageOption& option) OnRemoteRequest() argument
/test/testfwk/arkxtest/uitest/connection/
H A Dipc_transactor.cpp77 int ApiCaller::OnRemoteRequest(uint32_t code, Message data, Message reply, MessageOption &option) in OnRemoteRequest() argument
104 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
138 MessageOption option; in Call() local
154 if (!ret || Remote()->SendRequest(TRANS_ID_CALL, data, reply, option) != 0) { in Call()
167 MessageOption option; in SetBackCaller() local
171 if (!writeStat || (Remote()->SendRequest(TRANS_ID_SET_BACKCALLER, data, reply, option) != 0)) { in SetBackCaller()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/animation/
H A Danimation.cpp51 auto option = OH_ArkUI_AnimateOption_Create (); in testAnimation_005() local
54 OH_ArkUI_AnimateOption_Dispose(option); in testAnimation_005()
/test/xts/device_attest/interfaces/innerkits/native_cpp/src/
H A Ddevattest_service_proxy.cpp28 MessageOption option; in GetAttestStatus() local
40 int ret = remote->SendRequest(GET_AUTH_RESULT, data, reply, option); in GetAttestStatus()
/test/testfwk/arkxtest/testserver/test/fuzztest/setpastedata_fuzzer/
H A Dsetpastedata_fuzzer.cpp38 MessageOption option; in DoFuzzTestServerSetPasteData() local
42 int32_t result = testServerService->OnRemoteRequest(code, dataParcel, replyParcel, option); in DoFuzzTestServerSetPasteData()
/test/xts/device_attest/test/fuzztest/devattestservicestub_fuzzer/
H A Ddevattestservicestub_fuzzer.cpp69 MessageOption option; in OnRemoteRequest() local
71 (void)devattestservicestub->OnRemoteRequest(code, datas, reply, option); in OnRemoteRequest()
/test/xts/acts/multimodalinput/multimodalinput_ndk_hvigor/InputNdkSystem/entry/src/main/cpp/
H A Dinputndksys.cpp948 Input_InterceptorOptions *option = nullptr; in AddInputEventInterceptor() local
949 Input_Result retResult = OH_Input_AddInputEventInterceptor(nullptr, option); in AddInputEventInterceptor()
961 Input_InterceptorOptions *option = nullptr; in AddInputEventInterceptor2() local
962 Input_Result retResult = OH_Input_AddInputEventInterceptor(&callback, option); in AddInputEventInterceptor2()
975 Input_InterceptorOptions *option = nullptr; in AddInputEventInterceptor3() local
976 Input_Result retResult = OH_Input_AddInputEventInterceptor(&callback, option); in AddInputEventInterceptor3()
977 retResult = OH_Input_AddInputEventInterceptor(&callback, option); in AddInputEventInterceptor3()
990 Input_InterceptorOptions *option = nullptr; in RemoveInputEventInterceptor() local
991 Input_Result retResult = OH_Input_AddInputEventInterceptor(&callback, option); in RemoveInputEventInterceptor()
992 retResult = OH_Input_AddInputEventInterceptor(&callback, option); in RemoveInputEventInterceptor()
1014 Input_InterceptorOptions *option = nullptr; AddInputEventInterceptor4() local
1029 Input_InterceptorOptions *option = nullptr; RemoveInputEventInterceptor3() local
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dgetopt1ndk.cpp50 struct option longOptions[] = { in GetoptLong()
87 struct option longOptions[] = { in GetoptLongOnly()

Completed in 20 milliseconds

12345678910>>...48