Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 81) sorted by relevance

1234

/test/xts/acts/graphic/graphicnapidrawingtest/
DOH_Drawing_TypographyTest.cpp479 OH_Drawing_TypographyCreate* handler = OH_Drawing_CreateTypographyHandler(typoStyle, variable
481 EXPECT_TRUE(handler != nullptr);
492 OH_Drawing_TypographyHandlerPushTextStyle(handler, txtStyle);
495 OH_Drawing_TypographyHandlerAddText(handler, text);
498 OH_Drawing_TypographyHandlerAddPlaceholder(handler, &placeholderSpan);
499 OH_Drawing_TypographyHandlerPopTextStyle(handler);
501 OH_Drawing_Typography* typography = OH_Drawing_CreateTypography(handler);
527 OH_Drawing_DestroyTypographyHandler(handler);
540 OH_Drawing_TypographyCreate* handler = OH_Drawing_CreateTypographyHandler(typoStyle, variable
542 EXPECT_TRUE(handler != nullptr);
[all …]
/test/testfwk/arkxtest/uitest/connection/
Dipc_transactor.cpp37 … explicit CommonEventForwarder(const CommonEventSubscribeInfo &info, CommonEventHandler handler) in CommonEventForwarder() argument
38 : CommonEventSubscriber(info), handler_(handler) in CommonEventForwarder()
44 void UpdateHandler(CommonEventHandler handler) in UpdateHandler() argument
46 handler_ = handler; in UpdateHandler()
63 explicit DeathRecipientForwarder(RemoteDiedHandler handler) : handler_(handler) {}; in DeathRecipientForwarder() argument
123 void ApiCaller::SetCallHandler(ApiCallHandler handler) in SetCallHandler() argument
125 handler_ = handler; in SetCallHandler()
128 void ApiCaller::SetBackCallerHandler(function<void(sptr<IRemoteObject>)> handler) in SetBackCallerHandler() argument
130 backcallerHandler_ = handler; in SetBackCallerHandler()
289 bool ApiTransactor::InitAndConnectPeer(string_view token, ApiCallHandler handler) in InitAndConnectPeer() argument
[all …]
Dipc_transactor.h51 void SetCallHandler(ApiCallHandler handler);
52 void SetBackCallerHandler(std::function<void(OHOS::sptr<OHOS::IRemoteObject>)> handler);
80 bool InitAndConnectPeer(std::string_view token, ApiCallHandler handler);
87 static void SetBroadcastCommandHandler(BroadcastCommandHandler handler);
/test/testfwk/xdevice/src/xdevice/_core/
Dlogger.py91 for handler in self.handlers:
92 log.platform_log.addHandler(handler)
154 def add_task_log(self, handler): argument
161 self.task_log.addHandler(handler)
163 def remove_task_log(self, handler): argument
166 self.task_log.removeHandler(handler)
169 def add_encrypt_log(self, handler): argument
176 self.encrypt_log.addHandler(handler)
178 def remove_encrypt_log(self, handler): argument
181 self.encrypt_log.removeHandler(handler)
[all …]
/test/xts/acts/arkui/ace_ets_web_dev_webController/entry/src/main/ets/MainAbility/pages/
DwebOnFullScreenExit.ets26 handler: FullScreenExitHandler = null
78 … Utils.emitEvent(JSON.stringify(this.handler).length + this.checkEleResult, 444)
95 console.log("this.handler: " + JSON.stringify(this.handler))
96 this.handler.exitFullScreen()
99 this.handler = event.handler
DwebOnFullScreenEnter.ets26 handler: FullScreenExitHandler = null
74 … Utils.emitEvent(JSON.stringify(this.handler).length + this.checkEleResult, 442)
91 this.handler = event.handler
92 console.log("this.handler: " + JSON.stringify(this.handler))
/test/xts/acts/arkui/ace_ets_web_dev_webviewController/entry/src/main/ets/MainAbility/pages/
DwebViewOnFullScreenExit.ets27 handler: FullScreenExitHandler = null
79 … Utils.emitEvent(JSON.stringify(this.handler).length + this.checkEleResult, 344)
97 console.log("this.handler: " + JSON.stringify(this.handler))
98 this.handler.exitFullScreen()
101 this.handler = event.handler
DwebViewOnFullScreenEnter.ets27 handler: FullScreenExitHandler = null
75 … Utils.emitEvent(JSON.stringify(this.handler).length + this.checkEleResult, 342)
93 this.handler = event.handler
94 console.log("this.handler: " + JSON.stringify(this.handler))
/test/xts/acts/graphic/nativedrawing/entry/src/main/cpp/
DnativeDrawingndk.cpp471 OH_Drawing_TypographyCreate *handler = in OHDrawingCreateTypographyHandler() local
473 if (handler != nullptr) { in OHDrawingCreateTypographyHandler()
478 OH_Drawing_DestroyTypographyHandler(handler); in OHDrawingCreateTypographyHandler()
486 OH_Drawing_TypographyCreate *handler = in OHDrawingCreateTypography() local
488 OH_Drawing_Typography *typography = OH_Drawing_CreateTypography(handler); in OHDrawingCreateTypography()
495 OH_Drawing_DestroyTypographyHandler(handler); in OHDrawingCreateTypography()
503 OH_Drawing_TypographyCreate *handler = in OHDrawingTypographyLayout() local
505 OH_Drawing_Typography *typography = OH_Drawing_CreateTypography(handler); in OHDrawingTypographyLayout()
514 OH_Drawing_DestroyTypographyHandler(handler); in OHDrawingTypographyLayout()
541 OH_Drawing_TypographyCreate *handler = in OHDrawingTypographyGetMinIntrinsicWidth() local
[all …]
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/ets/test/MediaAssetManager/
DrequestImage.ets54 const handler = new MediaHandler;
55 …lper.MediaAssetManager.requestImage(globalThis.abilityContext, photoAsset, requestOptions, handler)
88 const handler = new MediaHandler;
89 …lper.MediaAssetManager.requestImage(globalThis.abilityContext, photoAsset, requestOptions, handler)
122 const handler = new MediaHandler;
123 …lper.MediaAssetManager.requestImage(globalThis.abilityContext, photoAsset, requestOptions, handler)
156 const handler = new MediaHandler;
157 …lper.MediaAssetManager.requestImage(globalThis.abilityContext, photoAsset, requestOptions, handler)
190 const handler = new MediaHandler;
191 …lper.MediaAssetManager.requestImage(globalThis.abilityContext, photoAsset, requestOptions, handler)
[all …]
DrequestImageData.ets53 const handler = new MediaHandler;
54 ….MediaAssetManager.requestImageData(globalThis.abilityContext, photoAsset, requestOptions, handler)
87 const handler = new MediaHandler;
88 ….MediaAssetManager.requestImageData(globalThis.abilityContext, photoAsset, requestOptions, handler)
121 const handler = new MediaHandler;
122 ….MediaAssetManager.requestImageData(globalThis.abilityContext, photoAsset, requestOptions, handler)
155 const handler = new MediaHandler;
156 ….MediaAssetManager.requestImageData(globalThis.abilityContext, photoAsset, requestOptions, handler)
189 const handler = new MediaHandler;
190 ….MediaAssetManager.requestImageData(globalThis.abilityContext, photoAsset, requestOptions, handler)
[all …]
/test/xts/acts/arkui/ace_ets_web_dev_four/entry/src/main/ets/MainAbility/pages/
Dweb.ets93 title: 'title: ' + event.handler.getOrigin(),
98 event.handler.deny()
104 event.handler.grant({ captureMode: WebCaptureMode.HOME_SCREEN })
108 event.handler.deny()
135 event.handler.confirm("/system/etc/user.pk8", "/system/etc/chain-user.pem")
141 event.handler.cancel()
145 event.handler.ignore()
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_two/entry/src/main/ets/MainAbility/pages/
DWebOnFullScreenEnter.ets24 handler?: FullScreenExitHandler
95 this.handler = event.handler
96 console.log("this.handler: " + JSON.stringify(this.handler))
DWebOnFullScreenExit.ets24 handler?: FullScreenExitHandler
87 if (this.handler) {
88 this.handler.exitFullScreen();
121 this.handler = event.handler
DWebViewEnumAndSetWebController.ets60 handler: FullScreenExitHandler | null = null
241 event.handler.setWebController(popController)
253 event.handler.resend();
256 this.handler = event.handler
259 if (this.handler) {
260 this.handler.exitFullScreen()
/test/xts/acts/arkui/ace_ets_web_enhanced_stress/ace_ets_web_enhanced_stress_one/entry/src/main/ets/MainAbility/pages/
DWebAttributeOnFullScreenEnterTest.ets35 handler?: FullScreenExitHandler
68 if (this.handler) {
69 this.handler.exitFullScreen();
94 this.handler = event.handler
DWebAttributeOnFullScreenExitTest.ets35 handler?: FullScreenExitHandler
68 if (this.handler) {
69 this.handler.exitFullScreen();
93 this.handler = event.handler
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Ddrivers.py467 handler = ShellHandler(parser_instances)
474 command, timeout=self.config.timeout, receiver=handler, retry=0)
478 handler = self._get_shell_handler(listener)
488 command, timeout=self.config.timeout, receiver=handler, retry=0)
495 handler = self._get_shell_handler(listener_copy)
506 command, timeout=self.config.timeout, receiver=handler,
515 handler.parsers[0].mark_test_as_blocked(test)
518 handler = self._get_shell_handler(listener)
519 handler.parsers[0].mark_test_as_blocked(test)
551 handler = ShellHandler(parser_instances)
[all …]
Ddrivers_lite.py292 handler = ShellHandler(parser_instances)
298 timeout=15, receiver=handler)
368 handler = ShellHandler(parser_instances)
370 handler = None
373 timeout=timeout, receiver=handler)
385 return error, result, handler
426 _, _, handler = self.run("{} {}=*{} --gtest_output=xml:{}".format(
431 handler = None
437 _, _, handler = self.run("{} {}=*{}".format(
444 handler.parsers[0].mark_test_as_failed(test)
[all …]
/test/testfwk/arkxtest/uitest/core/
Dfrontend_api_handler.h46 void AddHandler(std::string_view apiId, ApiInvokeHandler handler);
78 void SetCallbackHandler(ApiInvokeHandler handler);
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/
Dwebapi9.ets30 handler: FullScreenExitHandler = null;
108 event.handler.setWebController(popController);
115 this.handler = event.handler;
121 this.handler.exitFullScreen();
143 event.handler.handleConfirm();
149 event.handler.handleCancel();
153 event.handler.handleCancel();
186 event.handler.resend
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DSendShareRequestTest.cpp38 Handler handler);
40 uint32 **ref, Handler handler);
63 Handler handler) in SAMGR_SendSharedRequestProxy() argument
65 return SAMGR_SendSharedRequest(identity, request, token, handler); in SAMGR_SendSharedRequestProxy()
69 uint32 **ref, Handler handler) in SAMGR_SendSharedDirectRequestProxy() argument
71 return SAMGR_SendSharedDirectRequest(id, req, resp, ref, handler); in SAMGR_SendSharedDirectRequestProxy()
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/
Dweb.ets41 handler: FullScreenExitHandler = null
113 this.handler.constructor();
114 this.handler.exitFullScreen();
117 this.handler = event.handler;
126 event.handler.handleConfirm();
132 event.handler.handleCancel();
136 event.handler.handleCancel();
142 this.handler = event.handler;
537 this.handler.constructor()
544 // this.handler.exitfullscreen()
/test/testfwk/arkxtest/uitest/record/
Dui_record.h74 void SetAbcCallBack(std::function<void(nlohmann::json)> handler) in SetAbcCallBack() argument
76 abcCallBack = handler; in SetAbcCallBack()
147 int32_t UiDriverRecordStart(std::function<void(nlohmann::json)> handler, std::string modeOpt);
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
Dsendsharerequest_func_test.c41 Handler handler);
43 uint32 **ref, Handler handler);
66 Handler handler) in SAMGR_SendSharedRequestProxy() argument
68 return SAMGR_SendSharedRequest(identity, request, token, handler); in SAMGR_SendSharedRequestProxy()
72 uint32 **ref, Handler handler) in SAMGR_SendSharedDirectRequestProxy() argument
74 return SAMGR_SendSharedDirectRequest(id, req, resp, ref, handler); in SAMGR_SendSharedDirectRequestProxy()

1234