Home
last modified time | relevance | path

Searched refs:GetCallback (Results 1 – 25 of 174) sorted by relevance

1234567

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/deferred_proc_session/
H A Ddeferred_photo_proc_session.cpp38 … if (deferredPhotoProcSession_ != nullptr && deferredPhotoProcSession_->GetCallback() != nullptr) { in OnProcessImageDone()
41 deferredPhotoProcSession_->GetCallback()->OnError(imageId, ERROR_IMAGE_PROC_FAILED); in OnProcessImageDone()
44 …deferredPhotoProcSession_->GetCallback()->OnProcessImageDone(imageId, static_cast<uint8_t*>(addr),… in OnProcessImageDone()
58 … if (deferredPhotoProcSession_ != nullptr && deferredPhotoProcSession_->GetCallback() != nullptr) { in OnError()
59 deferredPhotoProcSession_->GetCallback()->OnError(imageId, DpsErrorCode(errorCode)); in OnError()
69 … if (deferredPhotoProcSession_ != nullptr && deferredPhotoProcSession_->GetCallback() != nullptr) { in OnStateChanged()
70 deferredPhotoProcSession_->GetCallback()->OnStateChanged(DpsStatusCode(status)); in OnStateChanged()
85 … if (deferredPhotoProcSession_ != nullptr && deferredPhotoProcSession_->GetCallback() != nullptr) { in OnProcessImageDone()
86 …deferredPhotoProcSession_->GetCallback()->OnProcessImageDone(imageId, picture, isCloudImageEnhance… in OnProcessImageDone()
100 deferredPhotoProcSession_->GetCallback()->OnDeliveryLowQualityImage(imageId, picture); in OnDeliveryLowQualityImage()
[all …]
H A Ddeferred_video_proc_session.cpp29 … if (deferredVideoProcSession_ != nullptr && deferredVideoProcSession_->GetCallback() != nullptr) { in OnProcessVideoDone()
30 deferredVideoProcSession_->GetCallback()->OnProcessVideoDone(videoId, ipcFileDescriptor); in OnProcessVideoDone()
41 … if (deferredVideoProcSession_ != nullptr && deferredVideoProcSession_->GetCallback() != nullptr) { in OnError()
42 deferredVideoProcSession_->GetCallback()->OnError(videoId, DpsErrorCode(errorCode)); in OnError()
52 … if (deferredVideoProcSession_ != nullptr && deferredVideoProcSession_->GetCallback() != nullptr) { in OnStateChanged()
53 deferredVideoProcSession_->GetCallback()->OnStateChanged(DpsStatusCode(status)); in OnStateChanged()
200 std::shared_ptr<IDeferredVideoProcSessionCallback> DeferredVideoProcSession::GetCallback() in GetCallback() function in OHOS::CameraStandard::DeferredVideoProcSession
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_gatt_client.cpp209 if (napiGattClient && napiGattClient->GetCallback()) { in On()
210 auto status = napiGattClient->GetCallback()->eventSubscribe_.Register(env, info); in On()
219 if (napiGattClient && napiGattClient->GetCallback()) { in Off()
220 auto status = napiGattClient->GetCallback()->eventSubscribe_.Deregister(env, info); in Off()
245 NAPI_BT_ASSERT_RETURN_UNDEF(env, gattClient->GetCallback() != nullptr, BT_ERR_INTERNAL_ERROR); in Connect()
250 int ret = client->Connect(gattClient->GetCallback(), false, GATT_TRANSPORT_TYPE_LE); in Connect()
302 NAPI_BT_ASSERT_RETURN_UNDEF(env, client->GetCallback() != nullptr, BT_ERR_INTERNAL_ERROR); in ReadCharacteristicValue()
355 NAPI_BT_ASSERT_RETURN_UNDEF(env, client->GetCallback() != nullptr, BT_ERR_INTERNAL_ERROR); in ReadDescriptorValue()
580 NAPI_BT_ASSERT_RETURN_UNDEF(env, client->GetCallback() != nullptr, BT_ERR_INTERNAL_ERROR); in WriteCharacteristicValueEx()
636 NAPI_BT_ASSERT_RETURN_UNDEF(env, client->GetCallback() != nullptr, BT_ERR_INTERNAL_ERROR); in WriteDescriptorValueEx()
[all …]
H A Dnapi_bluetooth_gatt_server.cpp124 if (napiGattServer && napiGattServer->GetCallback()) { in On()
125 auto status = napiGattServer->GetCallback()->eventSubscribe_.Register(env, info); in On()
134 if (napiGattServer && napiGattServer->GetCallback()) { in Off()
135 auto status = napiGattServer->GetCallback()->eventSubscribe_.Deregister(env, info); in Off()
355 …bool success = napiServer->GetCallback()->asyncWorkMap_.TryPush(NapiAsyncType::GATT_SERVER_NOTIFY_… in NotifyCharacteristicChangedEx()
/ohos5.0/foundation/multimedia/player_framework/test/unittest/screen_capture_test/capi/src/
H A Dscreen_capture_capi_mock.cpp32 std::shared_ptr<ScreenCaptureCallBackMock> mockCb = GetCallback(screenCapture); in OnError()
41 std::shared_ptr<ScreenCaptureCallBackMock> mockCb = GetCallback(screenCapture); in OnAudioBufferAvailable()
49 std::shared_ptr<ScreenCaptureCallBackMock> mockCb = GetCallback(screenCapture); in OnVideoBufferAvailable()
57 std::shared_ptr<ScreenCaptureCallBackMock> mockCb = GetCallback(screenCapture); in OnErrorNew()
67 std::shared_ptr<ScreenCaptureCallBackMock> mockCb = GetCallback(screenCapture); in OnBufferAvailable()
76 std::shared_ptr<ScreenCaptureCallBackMock> mockCb = GetCallback(screenCapture); in OnStateChange()
133 std::shared_ptr<ScreenCaptureCallBackMock> ScreenCaptureCapiMock::GetCallback(OH_AVScreenCapture *s… in GetCallback() function in ScreenCaptureCapiMock
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/capi/
H A Dvideodec_capi_mock.cpp31 std::shared_ptr<AVCodecCallbackMock> mockCb = GetCallback(codec); in OnError()
40 std::shared_ptr<AVCodecCallbackMock> mockCb = GetCallback(codec); in OnStreamChanged()
50 std::shared_ptr<AVCodecCallbackMock> mockCb = GetCallback(codec); in OnNeedInputData()
61 std::shared_ptr<AVCodecCallbackMock> mockCb = GetCallback(codec); in OnNewOutputData()
107 std::shared_ptr<AVCodecCallbackMock> VideoDecCapiMock::GetCallback(OH_AVCodec *codec) in GetCallback() function in OHOS::MediaAVCodec::VideoDecCapiMock
H A Dvideoenc_capi_mock.cpp34 std::shared_ptr<AVCodecCallbackMock> mockCb = GetCallback(codec); in OnError()
43 std::shared_ptr<AVCodecCallbackMock> mockCb = GetCallback(codec); in OnStreamChanged()
53 std::shared_ptr<AVCodecCallbackMock> mockCb = GetCallback(codec); in OnNeedInputData()
64 std::shared_ptr<AVCodecCallbackMock> mockCb = GetCallback(codec); in OnNewOutputData()
120 std::shared_ptr<AVCodecCallbackMock> VideoEncCapiMock::GetCallback(OH_AVCodec *codec) in GetCallback() function in OHOS::MediaAVCodec::VideoEncCapiMock
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_content_overlay/
H A Dselect_overlay_holder.h41 auto callback = GetCallback(); in OnBind()
92 virtual RefPtr<SelectOverlayCallback> GetCallback() in GetCallback() function
H A Dselect_content_overlay_manager.cpp185 auto callback = selectOverlayHolder_->GetCallback(); in RegisterHandleCallback()
221 auto callback = selectOverlayHolder_->GetCallback(); in RegisterTouchCallback()
256 auto callback = selectOverlayHolder_->GetCallback(); in MakeMenuCallback()
305 if (selectOverlayHolder_ && selectOverlayHolder_->GetCallback()) { in SwitchToHandleMode()
306 if (!forceChange && !selectOverlayHolder_->GetCallback()->CheckSwitchToMode(mode)) { in SwitchToHandleMode()
309 selectOverlayHolder_->GetCallback()->OnHandleLevelModeChanged(mode); in SwitchToHandleMode()
572 auto callback = selectOverlayHolder_->GetCallback(); in NotifySelectOverlayShow()
617 auto callback = selectOverlayHolder_->GetCallback(); in CloseInternal()
833 …if (selectOverlayHolder_ && selectOverlayHolder_->GetCallback() && selectOverlayHolder_->GetOwner(… in HandleGlobalEvent()
836 selectOverlayHolder_->GetCallback()->OnHandleGlobalEvent(point, localPoint, touchEvent); in HandleGlobalEvent()
/ohos5.0/foundation/ability/ability_lite/frameworks/abilitymgr_lite/src/
H A Dability_self_callback.cpp53 IAbilityStartCallback iAbilityStartCallback = GetInstance().GetCallback(); in Callback()
100 const IAbilityStartCallback AbilitySelfCallback::GetCallback() in GetCallback() function in OHOS::AbilitySelfCallback
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Dpanel_listener_impl.cpp70 std::shared_ptr<JSCallbackObject> callBack = GetCallback(windowId, type); in OnPanelStatus()
91 std::shared_ptr<JSCallbackObject> callBack = GetCallback(windowId, type); in OnSizeChange()
127 std::shared_ptr<JSCallbackObject> PanelListenerImpl::GetCallback(uint32_t windowId, const std::stri… in GetCallback() function in OHOS::MiscServices::PanelListenerImpl
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dbundle_self_callback.cpp53 InstallerCallback installerCallback = GetInstance().GetCallback(); in Callback()
102 const InstallerCallback BundleSelfCallback::GetCallback() in GetCallback() function in OHOS::BundleSelfCallback
/ohos5.0/foundation/communication/netstack/utils/napi_utils/include/
H A Dmodule_template.h85 …if (NapiUtils::GetValueType(env, context->GetCallback()) != napi_function && context->IsNeedPromis… in InterfaceWithManagerWrapper()
135 …if (NapiUtils::GetValueType(env, context->GetCallback()) != napi_function && context->IsNeedPromis… in InterfaceWithSharedManager()
172 …if (NapiUtils::GetValueType(env, context->GetCallback()) != napi_function && context->IsNeedPromis… in InterfaceWithOutAsyncWorkWithManagerWrapper()
221 …if (NapiUtils::GetValueType(env, context->GetCallback()) != napi_function && context->IsNeedPromis… in InterfaceWithOutAsyncWorkWithSharedManager()
280 …if (NapiUtils::GetValueType(env, context->GetCallback()) != napi_function && context->IsNeedPromis… in Interface()
313 …if (NapiUtils::GetValueType(env, context->GetCallback()) != napi_function && context->IsNeedPromis… in InterfaceWithOutAsyncWork()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/ohaudio/
H A DOHAudioRoutingManager.h38 OH_AudioRoutingManager_OnDeviceChangedCallback GetCallback() in GetCallback() function
62 OH_AudioRoutingManager_OnDeviceBlockStatusCallback GetCallback() in GetCallback() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dgesture_info.h150 (callback.second.GetCallback())(direction); in SetDirection()
163 (callback.second.GetCallback())(distance); in SetDistance()
176 (callback.second.GetCallback())(fingers); in SetFingers()
/ohos5.0/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/
H A Duser_auth_widget_mgr_v10.cpp82 std::shared_ptr<JsRefHolder> UserAuthWidgetMgr::GetCallback(napi_env env, napi_value value) in GetCallback() function in OHOS::UserIam::UserAuth::UserAuthWidgetMgr
125 auto callbackRef = GetCallback(env, argv[PARAM1]); in On()
175 auto callbackRef = GetCallback(env, argv[PARAM1]); in Off()
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/
H A Ddeferred_processing_service.cpp66 if (sessionManager != nullptr && sessionManager->GetCallback(userId) != nullptr) { in NotifyLowQualityImage()
67 sessionManager->GetCallback(userId)->OnDeliveryLowQualityImage(imageId, picture); in NotifyLowQualityImage()
/ohos5.0/foundation/communication/netmanager_base/utils/napi_utils/include/
H A Dmodule_template.h62 …if (NapiUtils::GetValueType(env, context->GetCallback()) != napi_function && context->IsNeedPromis… in InterfaceWithoutManager()
98 …if (NapiUtils::GetValueType(env, context->GetCallback()) != napi_function && context->IsNeedPromis… in Interface()
171 …if (NapiUtils::GetValueType(env, context->GetCallback()) != napi_function && context->IsNeedPromis… in InterfaceWithOutAsyncWork()
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_gatt_server_server.cpp179 sptr<IBluetoothGattServerCallback> GetCallback() in GetCallback() function in OHOS::Bluetooth::BluetoothGattServerServer::impl::GattServerCallbackImpl
211 sptr<IBluetoothGattServerCallback> GetCallback() const in GetCallback() function in OHOS::Bluetooth::BluetoothGattServerServer::impl::GattServerCallbackImpl::GattServerCallbackDeathRecipient
255 …if ((*it) != nullptr && (*it)->GetCallback() != nullptr && (*it)->GetCallback()->AsObject() == rem… in OnRemoteDied()
259 if (!dr->GetCallback()->AsObject()->RemoveDeathRecipient(dr)) { in OnRemoteDied()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/collaborate/
H A Ddsched_collaborate_callback_mgr.cpp73 std::vector<sptr<IRemoteObject>> DSchedCollaborationCallbackMgr::GetCallback() in GetCallback() function in OHOS::DistributedSchedule::DSchedCollaborationCallbackMgr
132 std::vector<sptr<IRemoteObject>> vecCallback = GetCallback(); in NotifyDSchedEventResult()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/
H A Dcloud_lock_event.cpp23 CloudLockEvent::Callback CloudLockEvent::GetCallback() const in GetCallback() function in OHOS::DistributedData::CloudLockEvent
H A Dcloud_share_event.cpp27 CloudShareEvent::Callback CloudShareEvent::GetCallback() const in GetCallback() function in OHOS::DistributedData::CloudShareEvent
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_common.cpp29 static bool GetCallback(napi_env env, napi_value object, napi_ref *callBack) in GetCallback() function
50 if (!GetCallback(env, arg, &async->callback)) { in GetCallbackAndPromise()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/
H A Dcloud_lock_event.h29 Callback GetCallback() const;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/
H A Djs_observer.h25 napi_ref GetCallback();

1234567