Searched refs:syncContext (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/ |
H A D | distributed_mission_manager.cpp | 249 syncContext->env = env; in ProcessSyncInput() 277 syncContext->fixConflict, syncContext->tag); in StartSyncRemoteMissionsAsyncWork() 305 delete syncContext; in StartSyncRemoteMissionsAsyncWork() 306 syncContext = nullptr; in StartSyncRemoteMissionsAsyncWork() 309 &syncContext->work); in StartSyncRemoteMissionsAsyncWork() 320 delete syncContext; in NAPI_StartSyncRemoteMissions() 321 syncContext = nullptr; in NAPI_StartSyncRemoteMissions() 377 delete syncContext; in StopSyncRemoteMissionsAsyncWork() 381 &syncContext->work); in StopSyncRemoteMissionsAsyncWork() 392 delete syncContext; in NAPI_StopSyncRemoteMissions() [all …]
|
H A D | distributed_mission_manager.h | 209 SyncRemoteMissionsContext* syncContext, std::string &errInfo);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_source_napi.cpp | 1671 … std::unique_ptr<ImageSourceSyncContext> syncContext = std::make_unique<ImageSourceSyncContext>(); in CreatePixelMapSync() local 1672 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&syncContext->constructor_)); in CreatePixelMapSync() 1673 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, syncContext->constructor_), in CreatePixelMapSync() 1675 IMG_NAPI_CHECK_RET_D(IMG_IS_READY(status, syncContext->constructor_->nativeImgSrc), in CreatePixelMapSync() 1682 if (!ParseDecodeOptions(env, argValue[NUM_0], &(syncContext->decodeOpts), in CreatePixelMapSync() 1683 &(syncContext->index), syncContext->errMsg)) { in CreatePixelMapSync() 1685 syncContext->errMsg = "DecodeOptions mismatch"; in CreatePixelMapSync() 1691 …syncContext->rPixelMap = CreatePixelMapInner(syncContext->constructor_, syncContext->constructor_-… in CreatePixelMapSync() 1692 syncContext->index, syncContext->decodeOpts, syncContext->status); in CreatePixelMapSync() 1694 if (syncContext->status != SUCCESS) { in CreatePixelMapSync() [all …]
|
/ohos5.0/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/src/ |
H A D | napi_dlp_permission.cpp | 1183 OpenDlpFileSubscriberContext* syncContext = new (std::nothrow) OpenDlpFileSubscriberContext(); in SubscribeOpenDlpFile() local 1184 if (syncContext == nullptr) { in SubscribeOpenDlpFile() 1188 std::unique_ptr<OpenDlpFileSubscriberContext> syncContextPtr { syncContext }; in SubscribeOpenDlpFile() 1202 if (IsSubscribeExist(env, syncContext)) { in SubscribeOpenDlpFile() 1226 g_openDlpFileSubscribers.emplace(syncContext); in SubscribeOpenDlpFile() 1266 …OpenDlpFileUnSubscriberContext* syncContext = new (std::nothrow) OpenDlpFileUnSubscriberContext(en… in UnSubscribeOpenDlpFile() local 1267 if (syncContext == nullptr) { in UnSubscribeOpenDlpFile() 1271 std::unique_ptr<OpenDlpFileUnSubscriberContext> syncContextPtr { syncContext }; in UnSubscribeOpenDlpFile()
|