Home
last modified time | relevance | path

Searched refs:cancel (Results 1 – 25 of 471) sorted by relevance

12345678910>>...19

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Djoin_handle.rs68 pub fn cancel(&self) { in cancel() method
70 self.raw.cancel(); in cancel()
154 pub fn cancel(&self) { in cancel() method
155 unsafe { self.raw.cancel() } in cancel()
198 handle2.cancel(); in ut_test_join_handle_is_finished()
209 let cancel = handle.get_cancel_handle(); in ut_test_cancel_handle() localVariable
210 while !cancel.is_finished() { in ut_test_cancel_handle()
213 handle.cancel(); in ut_test_cancel_handle()
H A Draw.rs50 pub(crate) cancel: unsafe fn(NonNull<Header>),
88 cancel: default_cancel,
133 pub(crate) unsafe fn cancel(self) { in cancel() method
135 (vir_table.cancel)(self.ptr) in cancel()
360 unsafe fn cancel<T, S>(ptr: NonNull<Header>)
383 cancel: cancel::<T, S>,
432 cancel: ffrt_cancel::<T, S>,
H A Djoin_set.rs173 let cancel = handle.get_cancel_handle(); in spawn_inner() localVariable
187 cancel in spawn_inner()
245 unsafe { (*item.handle.get()).cancel() } in cancel_all()
248 unsafe { (*item.handle.get()).cancel() } in cancel_all()
429 (*item.handle.get()).cancel(); in drop()
435 (*item.handle.get()).cancel(); in drop()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.18/
H A Dchangelogs-arkweb.md3 ## cl.arkweb.1 下载的cancel、pause、resume接口支持场景变更
11 使用Webview.WebDownloadDelegate.onBeforeDownload回调事件中接收到的WebDownloadItem对象调用cancel或pause接口无效。
17 变更前:使用WebView.WebDownloadDelegate.onBeforeDownload回调事件中接收到的WebDownloadItem对象调用cancel、pause、resume接口…
19 变更后:使用WebView.WebDownloadDelegate.onBeforeDownload回调事件中接收到的WebDownloadItem对象调用cancel、pause、resume接口…
31 1. 在使用WebView.WebDownloadDelegate.onBeforeDownload回调事件中接收到的WebDownloadItem对象调用cancel前,需要先调用start;
/ohos5.0/docs/en/application-dev/notification/
H A Dnotification-cancel.md3 …cation and starts the application in the foreground, the application can cancel one or all notific…
5 … a friend and taps a notification to view the message, the application can cancel the notification.
13 | cancel(id:&nbsp;number,&nbsp;callback:&nbsp;AsyncCallback&lt;void&gt;):&nbsp;void | Cancels a not…
19 The following describes how to cancel a text notification. This procedure is applicable for canceli…
39 …n is started in the foreground and the message is viewed, call this API to cancel the notification.
40 notificationManager.cancel(1, (err: BusinessError) => {
42 …hilog.error(DOMAIN_NUMBER, TAG, `Failed to cancel notification. Code is ${err.code}, message is ${…
H A Dtext-notification.md19 | cancel(id:&nbsp;number,&nbsp;label:&nbsp;string,&nbsp;callback:&nbsp;AsyncCallback&lt;void&gt;):&…
89 notificationManager.cancel(1, (err: BusinessError) => {
91 …hilog.error(DOMAIN_NUMBER, TAG, `Failed to cancel notification. Code is ${err.code}, message is ${…
94 hilog.info(DOMAIN_NUMBER, TAG, 'Succeeded in cancel notification.');
/ohos5.0/docs/en/application-dev/security/UserAuthenticationKit/
H A Dcancel-authentication.md9 For details about the parameters, return value, and error codes, see [cancel](../../reference/apis-…
15 | cancel(): void | Cancels this user authentication.|
25cancel](../../reference/apis-user-authentication-kit/js-apis-useriam-userauth.md#cancel10) with th…
27 …ord authentication with the authentication trust level greater than or equal to ATL3 and cancel it.
55 userAuthInstance.cancel();
56 console.info('auth cancel success');
/ohos5.0/base/powermgr/power_manager/power_dialog/entry/src/main/ets/pages/
H A DinputDialog.ets34 cancel: () => void = () => {
77 this.cancel();
103 cancel: () => { this.onCancel() },
107 cancel: this.existApp,
130 console.log('cancel input');
134 console.log('cancel terminateSelf session end');
137 console.log('cancel end');
139 console.error('cancel failed:%{public}s', JSON.stringify(err));
H A DpowerDialog.ets33 cancel: () => void = () => {
61 this.cancel();
93 cancel: this.onCancel,
97 cancel: this.existApp,
121 console.log('power dialog cancel failed: ' + JSON.stringify(err));
H A DthermalHighDialog.ets32 cancel: () => void = () => {
56 this.cancel();
72 cancel: this.onCancel,
74 cancel: this.existApp,
H A DthermalLowDialog.ets31 cancel: () => void = () => {
55 this.cancel();
71 cancel: this.onCancel,
73 cancel: this.existApp,
/ohos5.0/docs/zh-cn/application-dev/security/UserAuthenticationKit/
H A Dcancel-authentication.md4 统一用户认证框架提供了cancel接口,当应用在认证过程中,需要取消认证时可调用该接口。
15 | cancel(): void | 取消本次认证操作。 |
25 3. 通过使用已经成功发起认证的UserAuthInstance对象调用[UserAuthInstance.cancel](../../reference/apis-user-authenticat…
55 userAuthInstance.cancel();
56 console.info('auth cancel success');
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/Component/
H A DcontentTable.ets40 cancel!: () => void
65 this.cancel()
112 cancel!: () => void
148 this.cancel()
188 cancel!: () => void
207 this.cancel()
249 cancel!: () => void
274 this.cancel()
324 cancel : this.onCancel ,
338 cancel : this.onCancel ,
[all …]
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-common-components-custom-dialog.md73 cancel?: () => void
81 Button('cancel')
84 if (this.cancel) {
85 this.cancel()
108 cancel: ()=> { this.onCancel() },
142 cancel: () => void = () => {
157 Button('cancel')
161 this.cancel()
186 cancel: () => {
440 cancel: this.exitApp,
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dohos-arkui-advanced-ExceptionPrompt.md136 cancel: () => void = () => {
155 Button('cancel')
158 this.cancel();
180 cancel: () => void = () => {
196 cancel: this.onCancel,
201 cancel: this.existApp,
H A Dts-methods-custom-dialog-box.md183 cancel: () => void = () => {
197 Button('cancel')
201 this.cancel()
232 cancel: ()=> { this.onCancel() },
237 cancel: this.exitApp,
296 cancel: () => void = () => {
323 cancel: this.existApp,
382 cancel: () => void = () => {
409 cancel: this.existApp,
486 Button('cancel')
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/
H A Djs-apis-notification.md107 ## Notification.cancel
128 // cancel回调
133 console.info("cancel success");
141 ## Notification.cancel
167 Notification.cancel(0).then(() => {
168 console.info("cancel success");
176 ## Notification.cancel
196 // cancel回调
201 console.info("cancel success");
204 Notification.cancel(0, cancelCallback);
[all …]
/ohos5.0/docs/zh-cn/application-dev/notification/
H A Dnotification-cancel.md13 | cancel(id:&nbsp;number,&nbsp;callback:&nbsp;AsyncCallback&lt;void&gt;):&nbsp;void | 取消指定的通知。 …
40 notificationManager.cancel(1, (err: BusinessError) => {
42 …hilog.error(DOMAIN_NUMBER, TAG, `Failed to cancel notification. Code is ${err.code}, message is ${…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-common-methods.md83 | cancel | - | 组件取消动画。 |
91 | cancel | 动画被强制取消。 |
104 <button @click="cancel">
105 cancel
174 cancel() {
175 this.animation.cancel();
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_prefetcher/src/prefetcher/
H A DFetchingDriver.ts177 this.cancel(this.fetches.getAllIndexes());
221 this.cancel(toCancel);
286 private cancel(toCancel: ReadonlySet<number>): void {
294 if (this.dataSource!.cancel) {
296 this.dataSource.cancel(itemIndex);
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dtask_cancel.rs39 task.cancel(); in sdv_task_cancel_simple()
59 task.cancel(); in sdv_task_cancel_failed()
100 handle.cancel(); in sdv_task_cancel_multiple()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-system-router.md314 cancel: ()=> {
315 console.log('cancel');
347 cancel: ()=> {
348 console.log('cancel');
401 | cancel | (errMsg: string) => void | 否 | 用户选择对话框取消按钮时触发,errMsg表示返回信息。 |
413 | cancel | (errMsg: string) => void | 否 | 关闭询问对话框能力失败时触发,errMsg表示返回信息。 |
/ohos5.0/docs/en/application-dev/reference/apis-telephony-kit/
H A Djs-apis-observer.md106 …on** function if you want to cancel listening for a certain type of event. If you do not pass the …
136 …allback of the on method to cancel listening for a certain type of callback. If you do not pass th…
229 …on** function if you want to cancel listening for a certain type of event. If you do not pass the …
261 …allback of the on method to cancel listening for a certain type of callback. If you do not pass th…
359 …on** function if you want to cancel listening for a certain type of event. If you do not pass the …
389 …allback of the on method to cancel listening for a certain type of callback. If you do not pass th…
479 …on** function if you want to cancel listening for a certain type of event. If you do not pass the …
509 …allback of the on method to cancel listening for a certain type of callback. If you do not pass th…
635 …allback of the on method to cancel listening for a certain type of callback. If you do not pass th…
755 …allback of the on method to cancel listening for a certain type of callback. If you do not pass th…
[all …]
/ohos5.0/base/msdp/device_status/rust/modules/scheduler/sys/src/
H A Dtask.rs37 pub fn cancel(&mut self) in cancel() method
40 join_handle.cancel(); in cancel()
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/buffer/
H A Davbuffer_queue_producer_proxy.h34 Status PushBuffer(const std::shared_ptr<AVBuffer>& inBuffer, bool cancel) override = 0;
35 Status ReturnBuffer(const std::shared_ptr<AVBuffer>& inBuffer, bool cancel) override = 0;

12345678910>>...19