Home
last modified time | relevance | path

Searched refs:thisPtr (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/
H A Dgeneral_callbacks.h29 BackupRestoreCallback(napi_env env, LibN::NVal thisPtr, LibN::NVal cb);
48 GeneralCallbacks(const napi_env &env, const LibN::NVal &thisPtr, const LibN::NVal &jsCallbacks) in GeneralCallbacks() argument
49 : onFileReady(env, thisPtr, jsCallbacks.GetProp("onFileReady")), in GeneralCallbacks()
50 onBundleBegin(env, thisPtr, jsCallbacks.GetProp("onBundleBegin")), in GeneralCallbacks()
51 onBundleEnd(env, thisPtr, jsCallbacks.GetProp("onBundleEnd")), in GeneralCallbacks()
52 onAllBundlesEnd(env, thisPtr, jsCallbacks.GetProp("onAllBundlesEnd")), in GeneralCallbacks()
53 onBackupServiceDied(env, thisPtr, jsCallbacks.GetProp("onBackupServiceDied")), in GeneralCallbacks()
54 onResultReport(env, thisPtr, jsCallbacks.GetProp("onResultReport")), in GeneralCallbacks()
55 onProcess(env, thisPtr, jsCallbacks.GetProp("onProcess")) {}; in GeneralCallbacks()
H A Dgeneral_callbacks.cpp25 BackupRestoreCallback::BackupRestoreCallback(napi_env env, LibN::NVal thisPtr, LibN::NVal cb) : env… in BackupRestoreCallback() argument
27 ctx_ = new LibN::NAsyncContextCallback(thisPtr, cb); in BackupRestoreCallback()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dnapi_async_context.h38 explicit NapiAsyncContext(NapiValue thisPtr) in NapiAsyncContext() argument
39 …_(0), res_(NapiValue()), cbExec_(nullptr), cbComplete_(nullptr), awork_(nullptr), thisPtr_(thisPtr) in NapiAsyncContext()
47 explicit NAsyncContextPromise(NapiValue thisPtr) : NapiAsyncContext(thisPtr) in NAsyncContextPromise() argument
55 NAsyncContextCallback(NapiValue thisPtr, NapiValue cb) : NapiAsyncContext(thisPtr), cb_(cb) in NAsyncContextCallback() argument
65 NAsyncContextLegacy(NapiValue thisPtr, NapiValue cbSucc, NapiValue cbFail, NapiValue cbFinal) in NAsyncContextLegacy() argument
66 : NapiAsyncContext(thisPtr), cbSucc_(cbSucc), cbFail_(cbFail), cbFinal_(cbFinal) in NAsyncContextLegacy()
H A Dnapi_async_work_promise.cpp25 NapiAsyncWorkPromise::NapiAsyncWorkPromise(napi_env env, NapiValue thisPtr) : NapiAsyncWorkFactory(… in NapiAsyncWorkPromise() argument
27 ctx_ = new NAsyncContextPromise(thisPtr); in NapiAsyncWorkPromise()
H A Dnapi_async_work_callback.cpp25 NapiAsyncWorkCallback::NapiAsyncWorkCallback(napi_env env, NapiValue thisPtr, NapiValue cb) : NapiA… in NapiAsyncWorkCallback() argument
27 ctx_ = new NAsyncContextCallback(thisPtr, cb); in NapiAsyncWorkCallback()
H A Dnapi_async_work_promise.h28 NapiAsyncWorkPromise(napi_env env, NapiValue thisPtr);
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/n_async/
H A Dn_async_context.h37 explicit NAsyncContext(NVal thisPtr) : err_(0), res_(NVal()), cbExec_(nullptr), in NAsyncContext() argument
38 cbComplete_(nullptr), awork_(nullptr), thisPtr_(thisPtr) {} in NAsyncContext()
45 explicit NAsyncContextPromise(NVal thisPtr) : NAsyncContext(thisPtr) {} in NAsyncContextPromise() argument
52 NAsyncContextCallback(NVal thisPtr, NVal cb) : NAsyncContext(thisPtr), cb_(cb) {} in NAsyncContextCallback() argument
61 NAsyncContextLegacy(NVal thisPtr, NVal cbSucc, NVal cbFail, NVal cbFinal) in NAsyncContextLegacy() argument
62 : NAsyncContext(thisPtr), cbSucc_(cbSucc), cbFail_(cbFail), cbFinal_(cbFinal) in NAsyncContextLegacy()
H A Dn_async_work_promise.cpp23 NAsyncWorkPromise::NAsyncWorkPromise(napi_env env, NVal thisPtr) : NAsyncWorkFactory(env) in NAsyncWorkPromise() argument
25 ctx_ = new(std::nothrow) NAsyncContextPromise(thisPtr); in NAsyncWorkPromise()
H A Dn_async_work_callback.cpp23 NAsyncWorkCallback::NAsyncWorkCallback(napi_env env, NVal thisPtr, NVal cb) : NAsyncWorkFactory(env) in NAsyncWorkCallback() argument
25 ctx_ = new(std::nothrow) NAsyncContextCallback(thisPtr, cb); in NAsyncWorkCallback()
H A Dn_async_work_promise.h25 NAsyncWorkPromise(napi_env env, NVal thisPtr);
H A Dn_async_work_callback.h25 NAsyncWorkCallback(napi_env env, NVal thisPtr, NVal cb);
/ohos5.0/foundation/filemanagement/file_api/utils/filemgmt_libn/include/n_async/
H A Dn_async_context.h40 NAsyncContext(NVal thisPtr) in NAsyncContext() argument
41 …: err_(0), res_(NVal()), cbExec_(nullptr), cbComplete_(nullptr), awork_(nullptr), thisPtr_(thisPtr) in NAsyncContext()
50 explicit NAsyncContextPromise(NVal thisPtr) : NAsyncContext(thisPtr) {} in NAsyncContextPromise() argument
57 NAsyncContextCallback(NVal thisPtr, NVal cb) : NAsyncContext(thisPtr), cb_(cb) {} in NAsyncContextCallback() argument
H A Dn_async_work_promise.h26 NAsyncWorkPromise(napi_env env, NVal thisPtr);
H A Dn_async_work_callback.h26 NAsyncWorkCallback(napi_env env, NVal thisPtr, NVal cb);
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/
H A Davcodec_task_manager.cpp88 auto thisPtr = sptr<AvcodecTaskManager>(this); in EncodeVideoBuffer() local
93 encodeManager->SubmitTask([thisPtr, frameRecord, cacheCallback]() { in EncodeVideoBuffer()
96 if (!thisPtr->videoEncoder_ && !frameRecord) { in EncodeVideoBuffer()
99 isEncodeSuccess = thisPtr->videoEncoder_->EncodeSurfaceBuffer(frameRecord); in EncodeVideoBuffer()
101 thisPtr->videoEncoder_->ReleaseSurfaceBuffer(frameRecord); in EncodeVideoBuffer()
139 auto thisPtr = sptr<AvcodecTaskManager>(this); in CreateAVMuxer() local
143 [thisPtr] { return !thisPtr->videoFdMap_.empty(); }); in CreateAVMuxer()
207 auto thisPtr = sptr<AvcodecTaskManager>(this); in DoMuxerVideo() local
210 GetTaskManager()->SubmitTask([thisPtr, frameRecords, captureRotation, captureId]() { in DoMuxerVideo()
247 thisPtr->CollectAudioBuffer(processedAudioRecords, muxer); in DoMuxerVideo()
[all …]
H A Dmoving_photo_video_cache.cpp56 auto thisPtr = sptr<MovingPhotoVideoCache>(this); in CacheFrame() local
57 …taskManager_->EncodeVideoBuffer(frameRecord, [thisPtr](sptr<FrameRecord> frameRecord, bool encodeR… in CacheFrame()
58 thisPtr->OnImageEncoded(frameRecord, encodeResult); in CacheFrame()
75 auto thisPtr = sptr<MovingPhotoVideoCache>(this); in DoMuxerVideo() local
76 taskManager_->SubmitTask([thisPtr]() { in DoMuxerVideo()
77 thisPtr->ClearCallbackHandler(); in DoMuxerVideo()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/auto_fill_manager/
H A Djs_auto_save_request_callback.cpp68 auto thisPtr = shared_from_this(); in JSCallFunction() local
70 [thisPtr, methodName](napi_env env, NapiAsyncTask &task, int32_t status) { in JSCallFunction()
71 if (thisPtr) { in JSCallFunction()
72 thisPtr->JSCallFunctionWorker(methodName); in JSCallFunction()
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/avcodec/common/
H A Dframe_record.cpp49 auto thisPtr = sptr<FrameRecord>(this); in ReleaseSurfaceBuffer() local
51 [thisPtr] { return thisPtr->IsFinishCache(); }); in ReleaseSurfaceBuffer()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/
H A Ddrawing_sample.cpp77 auto* thisPtr = static_cast<DrawingSample*>(data); in OnScreenPlug() local
78 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
98 auto* thisPtr = static_cast<DrawingSample*>(data); in OnPrepareCompleted() local
99 thisPtr->DoPrepareCompleted(surface, param); in OnPrepareCompleted()
/ohos5.0/foundation/filemanagement/file_api/utils/filemgmt_libn/src/n_async/
H A Dn_async_work_promise.cpp24 NAsyncWorkPromise::NAsyncWorkPromise(napi_env env, NVal thisPtr) : NAsyncWork(env) in NAsyncWorkPromise() argument
26 ctx_ = new(std::nothrow) NAsyncContextPromise(thisPtr); in NAsyncWorkPromise()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_engine_sample.cpp106 auto* thisPtr = static_cast<DrawingEngineSample *>(data); in OnScreenPlug() local
107 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
127 auto* thisPtr = static_cast<DrawingEngineSample *>(data); in OnPrepareCompleted() local
128 thisPtr->DoPrepareCompleted(surface, param); in OnPrepareCompleted()
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/
H A Dsession_coordinator.cpp282 auto thisPtr = shared_from_this(); in NotifySessionCreated() local
283 taskManager->SubmitTask([thisPtr, callback]() { in NotifySessionCreated()
284 if (thisPtr != nullptr) { in NotifySessionCreated()
285 thisPtr->ProcessPendingResults(callback); in NotifySessionCreated()
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dservice.cpp1544 auto thisPtr = obj.promote(); in GetBackupInfoConnectDone() local
1545 if (!thisPtr) { in GetBackupInfoConnectDone()
1558 auto thisPtr = obj.promote(); in GetBackupInfoConnectDied() local
1559 if (!thisPtr) { in GetBackupInfoConnectDied()
1563 thisPtr->isConnectDied_.store(true); in GetBackupInfoConnectDied()
1989 auto thisPtr = ptr.promote(); in TimeOutCallback() local
1990 if (!thisPtr) { in TimeOutCallback()
1995 DoTimeout(thisPtr, bundleName); in TimeOutCallback()
2020 auto thisPtr = ptr.promote(); in DoTimeout() local
2021 if (!thisPtr) { in DoTimeout()
[all …]
H A Dservice_incremental.cpp187 auto thisPtr = ptr.promote(); in StartGetFdTask() local
188 if (!thisPtr) { in StartGetFdTask()
192 auto session = thisPtr->session_; in StartGetFdTask()
208 thisPtr->ClearSessionAndSchedInfo(bundleName); in StartGetFdTask()
209 thisPtr->NoticeClientFinish(bundleName, BError(BError::Codes::EXT_ABILITY_DIED)); in StartGetFdTask()
231 thisPtr->ClearSessionAndSchedInfo(bundleName); in StartGetFdTask()
232 thisPtr->NoticeClientFinish(bundleName, BError(BError::Codes::EXT_ABILITY_DIED)); in StartGetFdTask()
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/composer/
H A Dhello_composer.cpp103 auto* thisPtr = static_cast<HelloComposer *>(data); in OnScreenPlug() local
104 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
124 auto* thisPtr = static_cast<HelloComposer *>(data); in OnPrepareCompleted() local
125 thisPtr->DoPrepareCompleted(surface, param); in OnPrepareCompleted()

12