Home
last modified time | relevance | path

Searched refs:complete (Results 1 – 25 of 1169) sorted by relevance

12345678910>>...47

/ohos5.0/base/powermgr/battery_lite/interfaces/kits/js/
H A D@system.battery.d.ts35 complete?: () => void;
52 complete?: () => void;
74 complete?: () => void;
96 complete?: () => void;
118 complete?: () => void;
140 complete?: () => void;
162 complete?: () => void;
/ohos5.0/commonlibrary/utils_lite/js/builtin/common/src/
H A Dnativeapi_common.cpp46 JSIValue complete = JSI::GetNamedProperty(args, CB_COMPLETE); in FailCallBack() local
51 if (!JSI::ValueIsUndefined(complete)) { in FailCallBack()
52 JSI::CallFunction(complete, thisVal, nullptr, 0); in FailCallBack()
54 JSI::ReleaseValueList(fail, complete, errInfo, errCode, ARGS_END); in FailCallBack()
63 JSIValue complete = JSI::GetNamedProperty(args, CB_COMPLETE); in SuccessCallBack() local
71 if (!JSI::ValueIsUndefined(complete)) { in SuccessCallBack()
72 JSI::CallFunction(complete, thisVal, nullptr, 0); in SuccessCallBack()
74 JSI::ReleaseValueList(success, complete, ARGS_END); in SuccessCallBack()
/ohos5.0/base/time/time_service/framework/js/napi/system_date_time/src/
H A Dnapi_system_date_time.cpp97 return NapiWork::AsyncEnqueue(env, setTimeContext, "SetTime", executor, complete); in SetTime()
179 auto complete = [env, getRealActiveTimeContext](napi_value &output) { in GetRealActiveTime() local
220 auto complete = [getCurrentTimeContext, env](napi_value &output) { in GetCurrentTime() local
255 auto complete = [getTimeContext](napi_value &output) { in GetTime() local
295 auto complete = [getRealTimeContext](napi_value &output) { in GetRealTime() local
345 auto complete = [getUpTimeContext](napi_value &output) { in GetUptime() local
368 auto complete = [env, getDateContext](napi_value &output) { in GetDate() local
421 auto complete = [env, getTimezoneContext](napi_value &output) { in GetTimezone() local
447 auto complete = [env, getTimezoneContext](napi_value &output) { in GetTimezoneSync() local
474 auto complete = [env](napi_value &output) { in UpdateNtpTime() local
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-crypto-architecture-kit/
H A Djs-apis-system-cipher.md41 | complete | () => void | 否 | 接口调用结束的回调函数。 …
60 | complete | () => void | 否 | 接口调用结束的回调函数。 …
98 complete: function() {
99 console.log(`operation complete!`);
131 complete: function() {
132 console.log(`operation complete!`);
175 complete: function() {
176 console.log(`operation complete!`);
195 complete: function() {
196 console.log(`operation complete!`);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/src/
H A Dprogram.cpp58 GLint complete = 0; in CheckShaderCompileErrors() local
60 glGetShaderiv(shader, GL_COMPILE_STATUS, &complete); in CheckShaderCompileErrors()
61 if (!complete) { in CheckShaderCompileErrors()
69 GLint complete = 0; in CheckProgramLinkErrors() local
71 glGetProgramiv(program, GL_LINK_STATUS, &complete); in CheckProgramLinkErrors()
72 if (!complete) { in CheckProgramLinkErrors()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Djs_ans_dialog_callback.cpp32 JsAnsDialogCallbackComplete complete) in Init() argument
35 if (env == nullptr || callbackInfo == nullptr || complete == nullptr) { in Init()
41 complete_ = complete; in Init()
85 decltype(complete_) complete = nullptr; in ProcessDialogStatusChanged()
90 workData->complete = complete_; in ProcessDialogStatusChanged()
105 data->complete == nullptr) { in ProcessDialogStatusChanged()
109 data->complete(data->env, static_cast<void*>(callbackInfoPtr)); in ProcessDialogStatusChanged()
/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/test/benchmarktest/accessibility_config_test/
H A Daccessibility_config_test.cpp88 ffrt::promise<void> complete; in BenchmarkTestForSetScreenMagnificationState() local
89 ffrt::future syncFuture = complete.get_future(); in BenchmarkTestForSetScreenMagnificationState()
90 configObserver->SetCompletePromise(complete); in BenchmarkTestForSetScreenMagnificationState()
135 ffrt::promise<void> complete; in BenchmarkTestForSetShortkeyTarget() local
136 ffrt::future syncFuture = complete.get_future(); in BenchmarkTestForSetShortkeyTarget()
137 configObserver->SetCompletePromise(complete); in BenchmarkTestForSetShortkeyTarget()
186 ffrt::promise<void> complete; in BenchmarkTestForSetContentTimeout() local
187 ffrt::future syncFuture = complete.get_future(); in BenchmarkTestForSetContentTimeout()
188 configObserver->SetCompletePromise(complete); in BenchmarkTestForSetContentTimeout()
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_window_listener.cpp140 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnSystemBarPropertyChange()
277 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnSizeChange()
297 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnTouchOutside()
317 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnScreenshot()
336 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnDialogTargetTouch()
355 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnDialogDeathRecipient()
375 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnGestureNavigationEnabledUpdate()
395 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnWaterMarkFlagUpdate()
414 std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnWindowVisibilityChangedCallback()
443 std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnWindowNoInteractionCallback()
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/app_manager/
H A Djs_app_state_observer.cpp32 …std::unique_ptr<NapiAsyncTask::CompleteCallback> complete = std::make_unique<NapiAsyncTask::Comple… in OnForegroundApplicationChanged() local
44 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnForegroundApplicationChanged()
62 …std::unique_ptr<NapiAsyncTask::CompleteCallback> complete = std::make_unique<NapiAsyncTask::Comple… in OnAbilityStateChanged() local
74 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnAbilityStateChanged()
91 …std::unique_ptr<NapiAsyncTask::CompleteCallback> complete = std::make_unique<NapiAsyncTask::Comple… in OnExtensionStateChanged() local
103 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnExtensionStateChanged()
120 …std::unique_ptr<NapiAsyncTask::CompleteCallback> complete = std::make_unique<NapiAsyncTask::Comple… in OnProcessCreated() local
132 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnProcessCreated()
149 …std::unique_ptr<NapiAsyncTask::CompleteCallback> complete = std::make_unique<NapiAsyncTask::Comple… in OnProcessStateChanged() local
161 env_, std::make_unique<NapiAsyncTask>(callback, std::move(execute), std::move(complete))); in OnProcessStateChanged()
[all …]
H A Djs_app_manager.cpp179 NapiAsyncTask::CompleteCallback complete = in OnUnregisterApplicationStateObserver() local
204 … env, CreateAsyncTaskWithLastParam(env, lastParam, nullptr, std::move(complete), &result)); in OnUnregisterApplicationStateObserver()
218 NapiAsyncTask::CompleteCallback complete = in OnGetForegroundApplications() local
243 … env, CreateAsyncTaskWithLastParam(env, lastParam, nullptr, std::move(complete), &result)); in OnGetForegroundApplications()
257 NapiAsyncTask::CompleteCallback complete = in OnGetProcessRunningInfos() local
289 NapiAsyncTask::CompleteCallback complete = in OnIsRunningInStabilityTest() local
328 NapiAsyncTask::CompleteCallback complete = in OnkillProcessByBundleName() local
374 NapiAsyncTask::CompleteCallback complete = in OnClearUpApplicationData() local
423 NapiAsyncTask::CompleteCallback complete = in OnKillProcessWithAccount() local
455 NapiAsyncTask::CompleteCallback complete = in OnGetAppMemorySize() local
[all …]
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta4/
H A Djs-apidiff-battery.md26 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:6|@system.battery.d.ts|
34 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:7|@system.brightness.d.ts|
39 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:7|@system.brightness.d.ts|
45 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:7|@system.brightness.d.ts|
50 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:7|@system.brightness.d.ts|
55 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:7|@system.brightness.d.ts|
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-battery.md27 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:6|@system.battery.d.ts|
35 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:7|@system.brightness.d.ts|
40 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:7|@system.brightness.d.ts|
46 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:7|@system.brightness.d.ts|
51 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:7|@system.brightness.d.ts|
56 |废弃版本有变化|方法名 or 属性名:complete<br>废弃版本:9|方法名 or 属性名:complete<br>废弃版本:7|@system.brightness.d.ts|
/ohos5.0/foundation/distributeddatamgr/preferences/test/js/unittest/system_storage/src/
H A DSystemStorageJsunit.test.js54 complete: async function () {
90 complete: async function () {
121 complete: async function () {
153 complete: async function () {
186 complete: async function () {
212 complete: async function () {
245 complete: async function () {
276 complete: async function () {
310 complete: async function () {
358 complete: async function () {
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/storage/storage03/
H A Dindex.js35 complete: function() {
51 complete: function() {
65 complete: function() {
81 complete: function() {
97 complete: function() {
/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/
H A Djs-apis-system-bluetooth.md32 | complete | Function | 否 | 接口调用结束的回调函数。 |
45 complete() {
46 console.log('call bluetooth.startBLEScan complete.');
65 | complete | Function | 否 | 接口调用结束的回调函数。 |
77 complete() {
78 console.log('call bluethooth.stopBLEScan complete.');
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-system-request.md56 complete: () => {
57 console.info(' upload complete');
84 | complete | Function | 否 | 接口调用结束的回调函数。 |
163 complete: () => {
164 console.info(' download complete');
189 | complete | Function | 否 | 接口调用结束的回调函数。 |
238 complete: () => {
239 console.info(' download complete');
256 | complete | Function | 否 | 接口调用结束的回调函数。 |
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta3/
H A Djs-apidiff-battery.md10 | system.battery | GetStatusOptions | complete?: () => void; …
20 | system.brightness | SetKeepScreenOnOptions | complete?: () => void …
24 | system.brightness | SetBrightnessModeOptions | complete?: () => void …
28 | system.brightness | GetBrightnessModeOptions | complete?: () => void; …
32 | system.brightness | SetBrightnessOptions | complete?: () => void …
36 | system.brightness | GetBrightnessOptions | complete?: () => void; …
/ohos5.0/base/time/time_service/framework/js/napi/common/src/
H A Dnapi_work.cpp75 NapiExecute execute, NapiComplete complete) in AsyncEnqueue() argument
84 ctxt->complete = std::move(complete); in AsyncEnqueue()
111 if ((ctxt->complete) && (status == napi_ok) && (ctxt->status == napi_ok)) { in AsyncEnqueue()
112 ctxt->complete(ctxt->output); in AsyncEnqueue()
167 NapiExecute execute, NapiComplete complete) in SyncEnqueue() argument
177 ctxt->complete = std::move(complete); in SyncEnqueue()
183 if (ctxt->complete != nullptr && (ctxt->status == napi_ok)) { in SyncEnqueue()
184 ctxt->complete(ctxt->output); in SyncEnqueue()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/
H A Dmission_manager.cpp160 NapiAsyncTask::CompleteCallback complete = in OnUnregisterMissionListener() local
185 … env, CreateAsyncTaskWithLastParam(env, lastParam, nullptr, std::move(complete), &result)); in OnUnregisterMissionListener()
210 NapiAsyncTask::CompleteCallback complete = in OnGetMissionInfos() local
225 … env, CreateAsyncTaskWithLastParam(env, lastParam, nullptr, std::move(complete), &result)); in OnGetMissionInfos()
250 NapiAsyncTask::CompleteCallback complete = in OnGetMissionInfo() local
301 auto complete = [snapshotWrap](napi_env env, NapiAsyncTask &task, int32_t status) { in GetMissionSnapShot() local
368 NapiAsyncTask::CompleteCallback complete = in OnLockMission() local
401 NapiAsyncTask::CompleteCallback complete = in OnUnlockMission() local
434 NapiAsyncTask::CompleteCallback complete = in OnClearMission() local
455 NapiAsyncTask::CompleteCallback complete = in OnClearAllMissions() local
[all …]
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
H A Djs_display_listener.cpp135 …std::unique_ptr<NapiAsyncTask::CompleteCallback> complete = std::make_unique<NapiAsyncTask::Comple… in OnCreate() local
145 callback, std::move(execute), std::move(complete))); in OnCreate()
161 …std::unique_ptr<NapiAsyncTask::CompleteCallback> complete = std::make_unique<NapiAsyncTask::Comple… in OnDestroy() local
171 callback, std::move(execute), std::move(complete))); in OnDestroy()
216 …std::unique_ptr<NapiAsyncTask::CompleteCallback> complete = std::make_unique<NapiAsyncTask::Comple… in OnPrivateWindow() local
226 callback, std::move(execute), std::move(complete))); in OnPrivateWindow()
270 …std::unique_ptr<NapiAsyncTask::CompleteCallback> complete = std::make_unique<NapiAsyncTask::Comple… in OnFoldAngleChanged() local
280 callback, std::move(execute), std::move(complete))); in OnFoldAngleChanged()
295 …std::unique_ptr<NapiAsyncTask::CompleteCallback> complete = std::make_unique<NapiAsyncTask::Comple… in OnCaptureStatusChanged() local
305 callback, std::move(execute), std::move(complete))); in OnCaptureStatusChanged()
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/ability_manager/
H A Djs_ability_manager.cpp261 NapiAsyncTask::CompleteCallback complete = in OnNotifyDebugAssertResult() local
311 NapiAsyncTask::CompleteCallback complete = in OnGetAbilityRunningInfos() local
353 NapiAsyncTask::CompleteCallback complete = in OnGetExtensionRunningInfos() local
374 lastParam, nullptr, std::move(complete), &result)); in OnGetExtensionRunningInfos()
381 NapiAsyncTask::CompleteCallback complete; in OnUpdateConfiguration() local
389 complete = [](napi_env env, NapiAsyncTask& task, int32_t status) { in OnUpdateConfiguration()
401 complete = [](napi_env env, NapiAsyncTask& task, int32_t status) { in OnUpdateConfiguration()
428 lastParam, nullptr, std::move(complete), &result)); in OnUpdateConfiguration()
443 NapiAsyncTask::CompleteCallback complete = in OnGetTopAbility() local
504 NapiAsyncTask::CompleteCallback complete; in OnNotifySaveAsResult() local
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/
H A Dnapi_audio_manager.cpp369 auto complete = [env](napi_value &output) { in SetVolume() local
404 auto complete = [env, context](napi_value &output) { in GetVolume() local
439 auto complete = [env, context](napi_value &output) { in GetMaxVolume() local
549 auto complete = [env](napi_value &output) { in SetStreamMute() local
657 auto complete = [env](napi_value &output) { in SetRingerMode() local
718 auto complete = [env](napi_value &output) { in SetAudioScene() local
810 auto complete = [env](napi_value &output) { in SetDeviceActive() local
882 auto complete = [env](napi_value &output) { in SetAudioParameter() local
974 auto complete = [env](napi_value &output) { in SetExtraParameters() local
1068 auto complete = [env](napi_value &output) { in SetMicrophoneMute() local
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-crypto-architecture-kit/
H A Djs-apis-system-cipher.md41 | complete | () => void | No | Called when the execution is comple…
60 | complete | () => void | No | Called when the execution is comple…
98 complete: function() {
99 console.log(`operation complete!`);
131 complete: function() {
132 console.log(`operation complete!`);
175 complete: function() {
176 console.log(`operation complete!`);
195 complete: function() {
196 console.log(`operation complete!`);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Djs-apis-system-storage.md44 complete: function() {
45 console.log('call complete');
158 | complete | () => void | 否 | 接口调用结束的回调函数。 …
171 | complete | () => void | 否 | 接口调用结束的回调函数。 …
182 | complete | () => void | 否 | 接口调用结束的回调函数。 …
194 | complete | () => void | 否 | 接口调用结束的回调函数。 …
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta3/
H A Djs-apidiff-battery.md10 | system.battery | GetStatusOptions | complete?: () => void; …
20 | system.brightness | SetKeepScreenOnOptions | complete?: () => void …
24 | system.brightness | SetBrightnessModeOptions | complete?: () => void …
28 | system.brightness | GetBrightnessModeOptions | complete?: () => void; …
32 | system.brightness | SetBrightnessOptions | complete?: () => void …
36 | system.brightness | GetBrightnessOptions | complete?: () => void; …

12345678910>>...47