Home
last modified time | relevance | path

Searched refs:CHECK_AND_RETURN_LOG (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/ohos5.0/foundation/multimedia/av_session/services/session/ipc/proxy/
H A Davsession_callback_proxy.cpp32 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnAVCallAnswer()
45 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnAVCallHangUp()
58 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnAVCallToggleCallMute()
71 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPlay()
84 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPause()
97 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnStop()
110 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPlayNext()
134 CHECK_AND_RETURN_LOG(data.WriteInt64(time), "write time failed"); in OnFastForward()
147 CHECK_AND_RETURN_LOG(data.WriteInt64(time), "write time failed"); in OnRewind()
160 CHECK_AND_RETURN_LOG(data.WriteInt64(time), "write time failed"); in OnSeek()
[all …]
H A Davcontroller_callback_proxy.cpp35 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnSessionDestroy()
49 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnAVCallMetaDataChange()
64 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnAVCallStateChange()
82 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPlaybackStateChange()
150 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnMetaDataChange()
177 CHECK_AND_RETURN_LOG(parcel.WriteBool(isActive), "write bool failed"); in OnActiveStateChange()
182 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnActiveStateChange()
199 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnValidCommandChange()
239 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnOutputDeviceChange()
253 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnSessionEventChange()
[all …]
H A Davcast_controller_callback_proxy.cpp36 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnCastPlaybackStateChange()
55 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnMediaItemChange()
70 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPlayNext()
83 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPlayPrevious()
97 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnSeekDone()
106 CHECK_AND_RETURN_LOG(parcel.WriteInt32(width), "write width failed"); in OnVideoSizeChange()
112 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnVideoSizeChange()
127 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPlayerError()
141 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnEndOfStream()
156 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnPlayRequest()
[all …]
H A Dsession_listener_proxy.cpp30 CHECK_AND_RETURN_LOG(descriptor.WriteToParcel(data), "write descriptor failed"); in OnSessionCreate()
33 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnSessionCreate()
46 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnSessionRelease()
59 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnTopSessionChange()
69 CHECK_AND_RETURN_LOG(data.WriteInt32(uid), "write uid failed"); in OnAudioSessionChecked()
72 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnAudioSessionChecked()
86 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnDeviceAvailable()
98 CHECK_AND_RETURN_LOG(data.WriteInt64(param), "write param failed"); in OnDeviceLogEvent()
101 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnDeviceLogEvent()
112 CHECK_AND_RETURN_LOG(data.WriteString(deviceId), "write deviceId failed"); in OnDeviceOffline()
[all …]
/ohos5.0/foundation/multimedia/av_session/frameworks/native/session/src/
H A Davsession_callback_client.cpp28 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnAVCallAnswer()
38 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnAVCallHangUp()
48 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnAVCallToggleCallMute()
58 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnPlay()
68 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnPause()
78 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnStop()
88 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnPlayNext()
98 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnPlayPrevious()
108 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnFastForward()
118 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnRewind()
[all …]
H A Davcontroller_callback_client.cpp29 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnSessionDestroy()
39 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnAVCallMetaDataChange()
49 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnAVCallStateChange()
59 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnPlaybackStateChange()
69 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnMetaDataChange()
76 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnActiveStateChange()
86 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnValidCommandChange()
94 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnOutputDeviceChange()
106 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnSessionEventChange()
116 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnQueueItemsChange()
[all …]
H A Davcast_controller_callback_client.cpp29 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnCastPlaybackStateChange()
43 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnMediaItemChange()
54 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnPlayNext()
64 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnPlayPrevious()
74 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnSeekDone()
84 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnVideoSizeChange()
95 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnPlayerError()
106 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnEndOfStream()
117 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnPlayRequest()
129 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnKeyRequest()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp45 CHECK_AND_RETURN_LOG(ref != nullptr, in UvWork()
50 CHECK_AND_RETURN_LOG(scope != nullptr, in UvWork()
64 CHECK_AND_RETURN_LOG(status == napi_ok, in UvWork()
85 CHECK_AND_RETURN_LOG(scope != nullptr, in UvWork()
112 CHECK_AND_RETURN_LOG(intRef != nullptr, in UvWork()
117 CHECK_AND_RETURN_LOG(scope != nullptr, in UvWork()
133 CHECK_AND_RETURN_LOG(status == napi_ok, in UvWork()
148 CHECK_AND_RETURN_LOG(scope != nullptr, in UvWork()
181 CHECK_AND_RETURN_LOG(scope != nullptr, in UvWork()
219 CHECK_AND_RETURN_LOG(scope != nullptr, in UvWork()
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_event.cpp30 CHECK_AND_RETURN_LOG(context != nullptr, "MtpEvent failed, context is nullptr"); in MtpEvent()
43CHECK_AND_RETURN_LOG(mtpContextPtr_ != nullptr, "SendObjectAdded failed, mtpContextPtr_ is nullptr… in SendObjectAdded()
46 CHECK_AND_RETURN_LOG(handleptr_ != nullptr, "SendObjectAdded failed, handleptr_ is nullptr"); in SendObjectAdded()
67 CHECK_AND_RETURN_LOG(handleptr_ != nullptr, "SendObjectRemoved failed, handleptr_ is nullptr"); in SendObjectRemoved()
96CHECK_AND_RETURN_LOG(handleptr_ != nullptr, "SendObjectInfoChanged failed, handleptr_ is nullptr"); in SendObjectInfoChanged()
122 CHECK_AND_RETURN_LOG(mtpContextPtr_ != nullptr, "SendStoreAdded mtpContextPtr_ is nullptr"); in SendStoreAdded()
124 CHECK_AND_RETURN_LOG(handleptr_ != nullptr, "SendStoreAdded handleptr_ is nullptr"); in SendStoreAdded()
138 CHECK_AND_RETURN_LOG(mtpContextPtr_ != nullptr, "SendStoreRemoved mtpContextPtr_ is nullptr"); in SendStoreRemoved()
140 CHECK_AND_RETURN_LOG(handleptr_ != nullptr, "SendStoreRemoved handleptr_ is nullptr"); in SendStoreRemoved()
154 CHECK_AND_RETURN_LOG(mtpContextPtr_ != nullptr, "SendEvent failed, mtpContextPtr_ is nullptr"); in SendEvent()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/callback/
H A Dnapi_audio_renderer_device_change_callback.cpp46 CHECK_AND_RETURN_LOG(!isEquals, "js Callback already exist"); in AddCallbackReference()
50 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in AddCallbackReference()
75 CHECK_AND_RETURN_LOG(copyValue != nullptr, "copyValue is nullptr"); in RemoveCallbackReference()
96 CHECK_AND_RETURN_LOG(napi_ok == ret, "delete callback reference failed"); in RemoveAllCallbacks()
127 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback_ != nullptr), in WorkCallbackCompleted()
134 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackCompleted()
207 CHECK_AND_RETURN_LOG(!isEquals, "js Callback already exist"); in AddCallbackReference()
211 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in AddCallbackReference()
236 CHECK_AND_RETURN_LOG(copyValue != nullptr, "copyValue is nullptr"); in RemoveCallbackReference()
289 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback_ != nullptr), in WorkCallbackCompleted()
[all …]
H A Dnapi_audio_renderer_callback.cpp46 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnInterrupt()
61 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnStateChange()
74 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference()
109 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackInterruptDone()
111 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
120 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackInterruptDone()
147 CHECK_AND_RETURN_LOG(loop != nullptr, "loop is nullptr fail"); in OnJsCallbackInterrupt()
176 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackStateChangeDone()
178 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackStateChangeDone()
187 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackStateChangeDone()
[all …]
H A Dnapi_audio_renderer_write_data_callback.cpp78 CHECK_AND_RETURN_LOG(napi_ok == ret, "delete callback reference failed"); in RemoveCallbackReference()
85 CHECK_AND_RETURN_LOG(copyValue != nullptr, "copyValue is nullptr"); in RemoveCallbackReference()
86 CHECK_AND_RETURN_LOG(napi_strict_equals(env, callback, copyValue, &isEquals) == napi_ok, in RemoveCallbackReference()
91 CHECK_AND_RETURN_LOG(status == napi_ok, "deleting reference for callback failed"); in RemoveCallbackReference()
129 CHECK_AND_RETURN_LOG(loop != nullptr, "loop is nullptr"); in OnJsRendererWriteDataCallback()
132 CHECK_AND_RETURN_LOG(work != nullptr, "writeData Js Callback: No memory"); in OnJsRendererWriteDataCallback()
191 CHECK_AND_RETURN_LOG(work != nullptr, "renderer write data work is nullptr"); in WorkCallbackRendererWriteData()
193 CHECK_AND_RETURN_LOG(event != nullptr, "renderer write data event is nullptr"); in WorkCallbackRendererWriteData()
202 CHECK_AND_RETURN_LOG(work != nullptr, "renderer write data work is nullptr"); in WorkCallbackRendererWriteDataInner()
204 CHECK_AND_RETURN_LOG(event != nullptr, "renderer write data event is nullptr"); in WorkCallbackRendererWriteDataInner()
[all …]
H A Dnapi_renderer_period_position_callback.cpp43 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference()
58CHECK_AND_RETURN_LOG(renderPeriodPositionCallback_ != nullptr, "Cannot find the reference of posit… in OnPeriodReached()
61 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnPeriodReached()
77 CHECK_AND_RETURN_LOG(work != nullptr, "WorkCallbackRendererPeriodPosition work is nullptr"); in WorkCallbackRendererPeriodPosition()
79 CHECK_AND_RETURN_LOG(event != nullptr, "WorkCallbackRendererPeriodPosition event is nullptr"); in WorkCallbackRendererPeriodPosition()
82 CHECK_AND_RETURN_LOG(event->callback != nullptr, "event->callback is nullptr"); in WorkCallbackRendererPeriodPosition()
88 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackRendererPeriodPosition()
114 CHECK_AND_RETURN_LOG(env_ != nullptr, "OnJsRendererPeriodPositionCallback: env_ is null"); in OnJsRendererPeriodPositionCallback()
116 CHECK_AND_RETURN_LOG(loop != nullptr, "loop is null: No memory"); in OnJsRendererPeriodPositionCallback()
119 CHECK_AND_RETURN_LOG(work != nullptr, "OnJsRendererPeriodPositionCallback: No memory"); in OnJsRendererPeriodPositionCallback()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/callback/
H A Dnapi_audio_capturer_read_data_callback.cpp67 CHECK_AND_RETURN_LOG(napi_ok == ret, "delete callback reference failed"); in RemoveCallbackReference()
74 CHECK_AND_RETURN_LOG(copyValue != nullptr, "copyValue is nullptr"); in RemoveCallbackReference()
75 CHECK_AND_RETURN_LOG(napi_strict_equals(env, callback, copyValue, &isEquals) == napi_ok, in RemoveCallbackReference()
80 CHECK_AND_RETURN_LOG(status == napi_ok, "deleting reference for callback failed"); in RemoveCallbackReference()
115 CHECK_AND_RETURN_LOG(loop != nullptr, "loop is nullptr"); in OnJsCapturerReadDataCallback()
118 CHECK_AND_RETURN_LOG(work != nullptr, "readData Js Callback: No memory"); in OnJsCapturerReadDataCallback()
162 CHECK_AND_RETURN_LOG(work != nullptr, "capturer read data work is nullptr"); in WorkCallbackCapturerReadData()
164 CHECK_AND_RETURN_LOG(event != nullptr, "capturer read data event is nullptr"); in WorkCallbackCapturerReadData()
173 CHECK_AND_RETURN_LOG(work != nullptr, "capture read data work is nullptr"); in WorkCallbackCapturerReadDataInner()
175 CHECK_AND_RETURN_LOG(event != nullptr, "capture read data event is nullptr"); in WorkCallbackCapturerReadDataInner()
[all …]
H A Dnapi_audio_capturer_callbacks.cpp43 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference()
76 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnInterrupt()
87 CHECK_AND_RETURN_LOG(loop != nullptr, "loop nullptr, No memory"); in OnJsCallbackInterrupt()
90 CHECK_AND_RETURN_LOG(work != nullptr, "work nullptr, No memory"); in OnJsCallbackInterrupt()
115 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnStateChange()
156 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackStateChangeDone()
158 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackStateChangeDone()
166 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackStateChangeDone()
199 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackInterruptDone()
201 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
[all …]
H A Dnapi_capturer_period_position_callback.cpp45 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference()
49 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in SaveCallbackReference()
61CHECK_AND_RETURN_LOG(capturerPeriodPositionCallback_ != nullptr, "Cannot find the reference of pos… in OnPeriodReached()
64 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnPeriodReached()
76 CHECK_AND_RETURN_LOG(loop != nullptr, "loop nullptr, No memory"); in OnJsCapturerPeriodPositionCallback()
79 CHECK_AND_RETURN_LOG(work != nullptr, "work nullptr, No memory"); in OnJsCapturerPeriodPositionCallback()
107 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCapturerPeriodPositionCallbackDone()
109 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCapturerPeriodPositionCallbackDone()
112 CHECK_AND_RETURN_LOG(event->callback != nullptr, "event is nullptr"); in WorkCapturerPeriodPositionCallbackDone()
118 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCapturerPeriodPositionCallbackDone()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/callback/
H A Dnapi_audio_routing_manager_callbacks.cpp54 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference()
99 CHECK_AND_RETURN_LOG(preferredOutputDeviceCbList_.size() > 0, in OnPreferredOutputDeviceUpdated()
107 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnPreferredOutputDeviceUpdated()
125 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackInterruptDone()
128 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
135 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackInterruptDone()
164 CHECK_AND_RETURN_LOG(loop != nullptr, "loop is nullptr"); in OnJsCallbackActiveOutputDeviceChange()
260 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnPreferredInputDeviceUpdated()
278 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackInterruptDone()
281 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
[all …]
H A Dnapi_audio_spatialization_manager_callback.cpp150 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnSpatializationEnabledChange()
168 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnSpatializationEnabledChangeForAnyDevice()
178 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnSpatializationEnabledChangeForAnyDevice()
197 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackInterruptDone()
199 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
236 CHECK_AND_RETURN_LOG(loop != nullptr, "loop is nullptr"); in OnJsCallbackSpatializationEnabled()
368 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnHeadTrackingEnabledChange()
387 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnHeadTrackingEnabledChangeForAnyDevice()
397 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnHeadTrackingEnabledChangeForAnyDevice()
416 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackInterruptDone()
[all …]
H A Dnapi_audio_manager_interrupt_callback.cpp42 CHECK_AND_RETURN_LOG(!callbackName.compare(INTERRUPT_CALLBACK_NAME), in SaveCallbackReference()
54 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference()
63 CHECK_AND_RETURN_LOG(!callbackName.compare(INTERRUPT_CALLBACK_NAME), in RemoveCallbackReference()
84 CHECK_AND_RETURN_LOG(!callbackName.compare(INTERRUPT_CALLBACK_NAME), in RemoveAllCallbackReferences()
111 CHECK_AND_RETURN_LOG(audioManagerInterruptCallbackList_.size() != 0, in OnInterrupt()
115 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnInterrupt()
131 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackInterruptDone()
133 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
135 CHECK_AND_RETURN_LOG(event->callback != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
140 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackInterruptDone()
[all …]
H A Dnapi_audio_renderer_state_callback.cpp52 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference()
56 CHECK_AND_RETURN_LOG(cb != nullptr, "NapiAudioRendererStateCallback: creating callback failed"); in SaveCallbackReference()
68 CHECK_AND_RETURN_LOG(rendererStateCallback_ != nullptr, "rendererStateCallback_ is nullptr!"); in OnRendererStateChange()
71 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnRendererStateChange()
92 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackInterruptDone()
94 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
95 CHECK_AND_RETURN_LOG(event->callback != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
100 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackInterruptDone()
122 CHECK_AND_RETURN_LOG(loop != nullptr, "loop is nullptr"); in OnJsCallbackRendererState()
125 CHECK_AND_RETURN_LOG(work != nullptr, "OnJsCallbackRendererState: No memory"); in OnJsCallbackRendererState()
H A Dnapi_audio_capturer_state_callback.cpp46 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference()
50 CHECK_AND_RETURN_LOG(cb != nullptr, "NapiAudioCapturerStateCallback: creating callback failed"); in SaveCallbackReference()
62 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnCapturerStateChange()
83 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackInterruptDone()
85 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
86 CHECK_AND_RETURN_LOG(event->callback != nullptr, "event is nullptr"); in WorkCallbackInterruptDone()
91 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackInterruptDone()
113 CHECK_AND_RETURN_LOG(loop != nullptr, "loop is nullptr"); in OnJsCallbackCapturerState()
116 CHECK_AND_RETURN_LOG(work != nullptr, "OnJsCallbackCapturerState: No memory"); in OnJsCallbackCapturerState()
/ohos5.0/docs/zh-cn/application-dev/media/image/
H A Dimage-effect-guidelines.md56 CHECK_AND_RETURN_LOG(filter != nullptr, "OH_ImageEffect_AddFilter fail!");
98CHECK_AND_RETURN_LOG(errorCode == ImageEffect_ErrorCode::EFFECT_SUCCESS, "OH_ImageEffect_SetInputU…
102CHECK_AND_RETURN_LOG(errorCode == ImageEffect_ErrorCode::EFFECT_SUCCESS, "OH_ImageEffect_SetOutput…
144 CHECK_AND_RETURN_LOG(res == 0, "OH_NativeWindow_CreateNativeWindowFromSurfaceId fail!");
158 CHECK_AND_RETURN_LOG(res == 0, "OH_NativeWindow_GetSurfaceId fail!");
169CHECK_AND_RETURN_LOG(errorCode == ImageEffect_ErrorCode::EFFECT_SUCCESS, "OH_ImageEffect_Start fai…
177CHECK_AND_RETURN_LOG(errorCode == ImageEffect_ErrorCode::EFFECT_SUCCESS, "OH_ImageEffect_Stop fail…
185CHECK_AND_RETURN_LOG(errorCode == ImageEffect_ErrorCode::EFFECT_SUCCESS, "OH_ImageEffect_Save fail…
324 CHECK_AND_RETURN_LOG(customFilterInfo != nullptr, "OH_EffectFilter_GetValue fail!");
343CHECK_AND_RETURN_LOG(errorCode == ImageEffect_ErrorCode::EFFECT_SUCCESS, "OH_EffectFilter_Register…
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_hfp_ag_proxy.cpp227 CHECK_AND_RETURN_LOG(data.WriteInt32(index), "write index error"); in ClccResponse()
228 CHECK_AND_RETURN_LOG(data.WriteInt32(direction), "write direction error"); in ClccResponse()
229 CHECK_AND_RETURN_LOG(data.WriteInt32(status), "write status error"); in ClccResponse()
230 CHECK_AND_RETURN_LOG(data.WriteInt32(mode), "write mode error"); in ClccResponse()
231 CHECK_AND_RETURN_LOG(data.WriteBool(mpty), "write mpty error"); in ClccResponse()
232 CHECK_AND_RETURN_LOG(data.WriteString(number), "write number error"); in ClccResponse()
233 CHECK_AND_RETURN_LOG(data.WriteInt32(type), "write type error"); in ClccResponse()
393 CHECK_AND_RETURN_LOG(data.WriteInt32(callId), "write callId error"); in CallDetailsChanged()
451 CHECK_AND_RETURN_LOG(data.WriteBool(state), "Write state error"); in EnableBtCallLog()
484 CHECK_AND_RETURN_LOG(data.WriteInt32(action), "write action error"); in UpdateVirtualDevice()
[all …]
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/
H A Drender_program.cpp27CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{… in SetUniform()
30CHECK_AND_RETURN_LOG(location != -1, "glGetUniformLocation failed!, name=%{public}s", name.c_str()… in SetUniform()
36CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{… in SetUniform()
39CHECK_AND_RETURN_LOG(location != -1, "glGetUniformLocation failed!, name=%{public}s", name.c_str()… in SetUniform()
45CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{… in SetUniform()
48CHECK_AND_RETURN_LOG(location != -1, "glGetUniformLocation failed!, name=%{public}s", name.c_str()… in SetUniform()
54CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{… in SetUniform()
57CHECK_AND_RETURN_LOG(location != -1, "glGetUniformLocation failed!, name=%{public}s", name.c_str()… in SetUniform()
/ohos5.0/foundation/multimedia/camera_framework/test/fuzztest/photooutput_fuzzer/
H A Dphoto_output_fuzzer.cpp64 CHECK_AND_RETURN_LOG(manager, "PhotoOutputFuzzer: Get CameraManager instance Error"); in Test()
66 CHECK_AND_RETURN_LOG(cameras.size() >= NUM_2, "PhotoOutputFuzzer: GetSupportedCameras Error"); in Test()
70 CHECK_AND_RETURN_LOG(camera, "PhotoOutputFuzzer: camera is null"); in Test()
73 CHECK_AND_RETURN_LOG(capability, "PhotoOutputFuzzer: GetSupportedOutputCapability Error"); in Test()
75 CHECK_AND_RETURN_LOG(!profiles.empty(), "PhotoOutputFuzzer: GetPhotoProfiles empty"); in Test()
78 CHECK_AND_RETURN_LOG(photoSurface, "PhotoOutputFuzzer: create photoSurface Error"); in Test()
80 CHECK_AND_RETURN_LOG(producer, "PhotoOutputFuzzer: GetProducer Error"); in Test()
82 CHECK_AND_RETURN_LOG(output, "PhotoOutputFuzzer: CreatePhotoOutput Error"); in Test()
97 CHECK_AND_RETURN_LOG(photoSurface, "PhotoOutputFuzzer: Create photoSurface Error"); in TestOutput()
99 CHECK_AND_RETURN_LOG(producer, "PhotoOutputFuzzer: GetProducer Error"); in TestOutput()

12345678910>>...15