/foundation/multimedia/av_session/services/session/ipc/proxy/ |
H A D | avcontroller_callback_proxy.cpp | 30 CHECK_AND_RETURN_LOG(parcel.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnSessionDestroy() 35 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnSessionDestroy() 36 CHECK_AND_RETURN_LOG(remote->SendRequest(CONTROLLER_CMD_ON_SESSION_DESTROY, parcel, reply, option) == 0, in OnSessionDestroy() 43 CHECK_AND_RETURN_LOG(parcel.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnAVCallMetaDataChange() 44 CHECK_AND_RETURN_LOG(parcel.WriteParcelable(&data), "write AVCallMetaData failed"); in OnAVCallMetaDataChange() 49 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnAVCallMetaDataChange() 50 CHECK_AND_RETURN_LOG(remote->SendRequest(CONTROLLER_CMD_ON_AVCALL_METADATA_CHANGE, parcel, reply, option) == 0, in OnAVCallMetaDataChange() 58 CHECK_AND_RETURN_LOG(parcel.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnAVCallStateChange() 59 CHECK_AND_RETURN_LOG(parcel.WriteParcelable(&state), "write AVCallState failed"); in OnAVCallStateChange() 64 CHECK_AND_RETURN_LOG(remot in OnAVCallStateChange() [all...] |
H A D | avsession_callback_proxy.cpp | 29 CHECK_AND_RETURN_LOG(data.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnAVCallAnswer() 32 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnAVCallAnswer() 35 CHECK_AND_RETURN_LOG(remote->SendRequest(SESSION_CALLBACK_ON_AVCALL_ANSWER, data, reply, option) == 0, in OnAVCallAnswer() 42 CHECK_AND_RETURN_LOG(data.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnAVCallHangUp() 45 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnAVCallHangUp() 48 CHECK_AND_RETURN_LOG(remote->SendRequest(SESSION_CALLBACK_ON_AVCALL_HANGUP, data, reply, option) == 0, in OnAVCallHangUp() 55 CHECK_AND_RETURN_LOG(data.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnAVCallToggleCallMute() 58 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnAVCallToggleCallMute() 61 CHECK_AND_RETURN_LOG(remote->SendRequest(SESSION_CALLBACK_ON_AVCALL_TOGGLE_CALL_MUTE, data, reply, option) == 0, in OnAVCallToggleCallMute() 68 CHECK_AND_RETURN_LOG(dat in OnPlay() [all...] |
H A D | avcast_controller_callback_proxy.cpp | 30 CHECK_AND_RETURN_LOG(parcel.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnCastPlaybackStateChange() 31 CHECK_AND_RETURN_LOG(parcel.WriteParcelable(&state), "write PlaybackState failed"); in OnCastPlaybackStateChange() 36 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnCastPlaybackStateChange() 38 CHECK_AND_RETURN_LOG(remote->SendRequest(CAST_CONTROLLER_CMD_ON_CAST_PLAYBACK_STATE_CHANGE, in OnCastPlaybackStateChange() 49 CHECK_AND_RETURN_LOG(parcel.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnMediaItemChange() 50 CHECK_AND_RETURN_LOG(parcel.WriteParcelable(&avQueueItem), "Write avQueueItem failed"); in OnMediaItemChange() 55 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnMediaItemChange() 57 CHECK_AND_RETURN_LOG(remote->SendRequest(CAST_CONTROLLER_CMD_ON_MEDIA_ITEM_CHANGE, parcel, reply, option) == 0, in OnMediaItemChange() 65 CHECK_AND_RETURN_LOG(parcel.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnPlayNext() 70 CHECK_AND_RETURN_LOG(remot in OnPlayNext() [all...] |
H A D | session_listener_proxy.cpp | 29 CHECK_AND_RETURN_LOG(data.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnSessionCreate() 30 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() 36 CHECK_AND_RETURN_LOG(remote->SendRequest(LISTENER_CMD_ON_CREATE, data, reply, option) == 0, "send request fail"); in OnSessionCreate() 42 CHECK_AND_RETURN_LOG(data.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnSessionRelease() 43 CHECK_AND_RETURN_LOG(descriptor.WriteToParcel(data), "write descriptor failed"); in OnSessionRelease() 46 CHECK_AND_RETURN_LOG(remote != nullptr, "get remote service failed"); in OnSessionRelease() 49 CHECK_AND_RETURN_LOG(remote->SendRequest(LISTENER_CMD_ON_RELEASE, data, reply, option) == 0, "send request fail"); in OnSessionRelease() 55 CHECK_AND_RETURN_LOG(data.WriteInterfaceToken(GetDescriptor()), "write interface token failed"); in OnTopSessionChange() 56 CHECK_AND_RETURN_LOG(descripto in OnTopSessionChange() [all...] |
/foundation/multimedia/av_session/frameworks/native/session/src/ |
H A D | avsession_callback_client.cpp | 28 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 in OnRewind() [all...] |
H A D | avcontroller_callback_client.cpp | 29 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() 71 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnMetaDataChange() 79 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnActiveStateChange() 89 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnValidCommandChange() 97 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnOutputDeviceChange() 109 CHECK_AND_RETURN_LOG(callback_, "callback is null"); in OnSessionEventChange() 119 CHECK_AND_RETURN_LOG(callback in OnQueueItemsChange() [all...] |
H A D | avcast_controller_callback_client.cpp | 29 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 in OnKeyRequest() [all...] |
/foundation/multimedia/player_framework/frameworks/js/avplayer/ |
H A D | avplayer_callback.cpp | 90 CHECK_AND_RETURN_LOG(ref != nullptr, in UvWork() 95 CHECK_AND_RETURN_LOG(scope != nullptr, in UvWork() 103 CHECK_AND_RETURN_LOG(status == napi_ok && jsCallback != nullptr, in UvWork() 109 CHECK_AND_RETURN_LOG(status == napi_ok, in UvWork() 125 CHECK_AND_RETURN_LOG(errorRef != nullptr, 130 CHECK_AND_RETURN_LOG(scope != nullptr, 138 CHECK_AND_RETURN_LOG(napiStatus == napi_ok && jsCallback != nullptr, 147 CHECK_AND_RETURN_LOG(napiStatus == napi_ok, 157 CHECK_AND_RETURN_LOG(intRef != nullptr, 162 CHECK_AND_RETURN_LOG(scop [all...] |
/foundation/multimedia/image_effect/frameworks/native/render_environment/graphic/ |
H A D | render_program.cpp | 27 CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{public}d",
in SetUniform() 30 CHECK_AND_RETURN_LOG(location != -1, "glGetUniformLocation failed!, name=%{public}s", name.c_str());
in SetUniform() 36 CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{public}d",
in SetUniform() 39 CHECK_AND_RETURN_LOG(location != -1, "glGetUniformLocation failed!, name=%{public}s", name.c_str());
in SetUniform() 45 CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{public}d",
in SetUniform() 48 CHECK_AND_RETURN_LOG(location != -1, "glGetUniformLocation failed!, name=%{public}s", name.c_str());
in SetUniform() 54 CHECK_AND_RETURN_LOG(program_ != 0, "RenderProgram SetUniform failed!, name=%{public}s, program=%{public}d",
in SetUniform() 57 CHECK_AND_RETURN_LOG(location != -1, "glGetUniformLocation failed!, name=%{public}s", name.c_str());
in SetUniform()
|
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/callback/ |
H A D | napi_audio_session_callback.cpp | 39 CHECK_AND_RETURN_LOG(audioSessionJsCallback_ != nullptr, in OnAudioSessionDeactive() 42 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnAudioSessionDeactive() 56 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference() 70 CHECK_AND_RETURN_LOG(work != nullptr, "work is nullptr"); in WorkCallbackAudioSessionChangeDone() 72 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr"); in WorkCallbackAudioSessionChangeDone() 74 CHECK_AND_RETURN_LOG(event->callback != nullptr, "event is nullptr"); in WorkCallbackAudioSessionChangeDone() 79 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in WorkCallbackAudioSessionChangeDone() 107 CHECK_AND_RETURN_LOG(loop != nullptr, "loop is nullptr"); in OnJsCallbackAudioSession() 110 CHECK_AND_RETURN_LOG(work != nullptr, "OnJsCallbackDeviceChange: No memory"); in OnJsCallbackAudioSession()
|
H A D | napi_audio_manager_interrupt_callback.cpp | 44 CHECK_AND_RETURN_LOG(!callbackName.compare(INTERRUPT_CALLBACK_NAME), in SaveCallbackReference() 51 CHECK_AND_RETURN_LOG(!isSameCallback, "SaveCallbackReference: the callback already exists"); in SaveCallbackReference() 56 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference() 65 CHECK_AND_RETURN_LOG(!callbackName.compare(INTERRUPT_CALLBACK_NAME), in RemoveCallbackReference() 83 CHECK_AND_RETURN_LOG(!callbackName.compare(INTERRUPT_CALLBACK_NAME), in RemoveAllCallbackReferences() 103 CHECK_AND_RETURN_LOG(audioManagerInterruptCallbackList_.size() != 0, in OnInterrupt() 107 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnInterrupt() 119 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback != nullptr), in SafeJsCallbackAudioManagerInterruptWork() 131 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackAudioManagerInterruptWork() 167 CHECK_AND_RETURN_LOG((even in OnJsCallbackAudioManagerInterrupt() [all...] |
H A D | napi_audio_spatialization_manager_callback.cpp | 55 CHECK_AND_RETURN_LOG(!isSameCallback, "SaveCallbackReference: spatialization manager has same callback"); in SaveSpatializationEnabledChangeCallbackReference() 59 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveSpatializationEnabledChangeCallbackReference() 63 CHECK_AND_RETURN_LOG(cb != nullptr, "NapiAudioSpatializationEnabledChangeCallback: creating callback failed"); in SaveSpatializationEnabledChangeCallbackReference() 69 CHECK_AND_RETURN_LOG(!isSameCallback, "SaveCallbackReference: spatialization manager has same callback"); in SaveSpatializationEnabledChangeCallbackReference() 73 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveSpatializationEnabledChangeCallbackReference() 77 CHECK_AND_RETURN_LOG(cb != nullptr, "NapiAudioSpatializationEnabledChangeCallback: creating callback failed"); in SaveSpatializationEnabledChangeCallbackReference() 138 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnSpatializationEnabledChange() 156 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnSpatializationEnabledChangeForAnyDevice() 166 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnSpatializationEnabledChangeForAnyDevice() 181 CHECK_AND_RETURN_LOG((even in SafeJsCallbackSpatializationEnabledWork() [all...] |
H A D | napi_audio_micstatechange_callback.cpp | 44 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference() 47 CHECK_AND_RETURN_LOG(callbackName == MIC_STATE_CHANGE_CALLBACK_NAME, in SaveCallbackReference() 84 CHECK_AND_RETURN_LOG(micStateChangeCallback_ != nullptr, "callback not registered by JS client"); in OnMicStateUpdated() 87 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnMicStateUpdated() 99 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback != nullptr), in SafeJsCallbackMicStateChangeWork() 111 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackMicStateChangeWork() 145 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback != nullptr), "event is nullptr."); in OnJsCallbackMicStateChange()
|
H A D | napi_audio_renderer_state_callback.cpp | 54 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference() 58 CHECK_AND_RETURN_LOG(cb != nullptr, "NapiAudioRendererStateCallback: creating callback failed"); in SaveCallbackReference() 70 CHECK_AND_RETURN_LOG(rendererStateCallback_ != nullptr, "rendererStateCallback_ is nullptr!"); in OnRendererStateChange() 73 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory!!"); in OnRendererStateChange() 90 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback != nullptr), in SafeJsCallbackRendererStateWork() 101 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackRendererStateWork() 134 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback != nullptr), "event is nullptr."); in OnJsCallbackRendererState()
|
/foundation/multimedia/camera_framework/test/fuzztest/photooutput_fuzzer/ |
H A D | photo_output_fuzzer.cpp | 64 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(produce in TestOutput() [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_hfp_ag_proxy.cpp | 203 CHECK_AND_RETURN_LOG(data.WriteInterfaceToken(BluetoothHfpAgProxy::GetDescriptor()), "WriteInterfaceToken error"); in PhoneStateChanged() 204 CHECK_AND_RETURN_LOG(data.WriteParcelable(&phoneState), "write phoneState error"); in PhoneStateChanged() 215 CHECK_AND_RETURN_LOG(data.WriteInterfaceToken(BluetoothHfpAgProxy::GetDescriptor()), "WriteInterfaceToken error"); in ClccResponse() 216 CHECK_AND_RETURN_LOG(data.WriteInt32(index), "write index error"); in ClccResponse() 217 CHECK_AND_RETURN_LOG(data.WriteInt32(direction), "write direction error"); in ClccResponse() 218 CHECK_AND_RETURN_LOG(data.WriteInt32(status), "write status error"); in ClccResponse() 219 CHECK_AND_RETURN_LOG(data.WriteInt32(mode), "write mode error"); in ClccResponse() 220 CHECK_AND_RETURN_LOG(data.WriteBool(mpty), "write mpty error"); in ClccResponse() 221 CHECK_AND_RETURN_LOG(data.WriteString(number), "write number error"); in ClccResponse() 222 CHECK_AND_RETURN_LOG(dat in ClccResponse() [all...] |
/foundation/multimedia/player_framework/services/services/recorder/ipc/ |
H A D | recorder_listener_proxy.cpp | 44 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in OnError() 49 CHECK_AND_RETURN_LOG(error == MSERR_OK, "on error failed, error: %{public}d", error); in OnError() 59 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in OnInfo() 64 CHECK_AND_RETURN_LOG(error == MSERR_OK, "on info failed, error: %{public}d", error); in OnInfo() 74 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in OnAudioCaptureChange() 78 CHECK_AND_RETURN_LOG(error == MSERR_OK, "on audio capture change failed, error: %{public}d", error); in OnAudioCaptureChange() 88 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in OnPhotoAssertAvailable() 92 CHECK_AND_RETURN_LOG(error == MSERR_OK, "on audio capture change failed, error: %{public}d", error); in OnPhotoAssertAvailable()
|
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/ |
H A D | avmetadatahelper_callback.cpp | 39 CHECK_AND_RETURN_LOG(ref != nullptr, in UvWork() 44 CHECK_AND_RETURN_LOG(scope != nullptr, in UvWork() 52 CHECK_AND_RETURN_LOG(status == napi_ok && jsCallback != nullptr, in UvWork() 58 CHECK_AND_RETURN_LOG(status == napi_ok, in UvWork() 74 CHECK_AND_RETURN_LOG(ref != nullptr, 79 CHECK_AND_RETURN_LOG(scope != nullptr, 87 CHECK_AND_RETURN_LOG(status == napi_ok && jsCallback != nullptr, 96 CHECK_AND_RETURN_LOG(status == napi_ok, 109 CHECK_AND_RETURN_LOG(loop != nullptr, "Fail to napi_get_uv_event_loop"); in CompleteCallback() 112 CHECK_AND_RETURN_LOG(wor in CompleteCallback() [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/audiocapturer/callback/ |
H A D | napi_audio_capturer_read_data_callback.cpp | 51 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, "creating reference for callback failed"); in AddCallbackReference() 72 CHECK_AND_RETURN_LOG(napi_ok == ret, "delete callback reference failed"); in RemoveCallbackReference() 79 CHECK_AND_RETURN_LOG(copyValue != nullptr, "copyValue is nullptr"); in RemoveCallbackReference() 80 CHECK_AND_RETURN_LOG(napi_strict_equals(env, callback, copyValue, &isEquals) == napi_ok, in RemoveCallbackReference() 85 CHECK_AND_RETURN_LOG(status == napi_ok, "deleting reference for callback failed"); in RemoveCallbackReference() 101 CHECK_AND_RETURN_LOG(capturerReadDataCallback_ != nullptr, "Cannot find the reference of readData callback"); in OnReadData() 110 CHECK_AND_RETURN_LOG(napiCapturer_ != nullptr, "Cannot find the reference to audio capturer napi"); in OnReadData() 132 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback != nullptr), in OnJsCapturerReadDataCallback() 164 CHECK_AND_RETURN_LOG(event != nullptr, "capturer read data event is nullptr"); in SafeJsCallbackCapturerReadDataWork() 173 CHECK_AND_RETURN_LOG(even in SafeJsCallbackCapturerReadDataWork() [all...] |
H A D | napi_capturer_period_position_callback.cpp | 47 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in SaveCallbackReference() 51 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in SaveCallbackReference() 63 CHECK_AND_RETURN_LOG(capturerPeriodPositionCallback_ != nullptr, "Cannot find the reference of position callback"); in OnPeriodReached() 66 CHECK_AND_RETURN_LOG(cb != nullptr, "No memory"); in OnPeriodReached() 77 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback != nullptr), in SafeJsCallbackCapturerPeriodPositionWork() 85 CHECK_AND_RETURN_LOG(event->callback != nullptr, "callback is nullptr"); in SafeJsCallbackCapturerPeriodPositionWork() 90 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackCapturerPeriodPositionWork() 126 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback != nullptr), in OnJsCapturerPeriodPositionCallback()
|
/foundation/multimedia/player_framework/services/services/screen_capture/ipc/ |
H A D | screen_capture_listener_proxy.cpp | 44 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in OnError() 49 CHECK_AND_RETURN_LOG(error == MSERR_OK, "on error failed, error: %{public}d", error); in OnError() 59 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in OnAudioBufferAvailable() 64 CHECK_AND_RETURN_LOG(error == MSERR_OK, "OnAudioBufferAvailable failed, error: %{public}d", error); in OnAudioBufferAvailable() 74 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in OnVideoBufferAvailable() 78 CHECK_AND_RETURN_LOG(error == MSERR_OK, "OnVideoBufferAvailable failed, error: %{public}d", error); in OnVideoBufferAvailable() 88 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in OnStateChange() 92 CHECK_AND_RETURN_LOG(error == MSERR_OK, "OnStateChange failed, error: %{public}d, stateCode: %{public}d", in OnStateChange()
|
/foundation/multimedia/av_codec/services/services/codec/ipc/ |
H A D | codec_listener_proxy.cpp | 129 CHECK_AND_RETURN_LOG(token, "Write descriptor failed!"); in OnError() 135 CHECK_AND_RETURN_LOG(error == AVCS_ERR_OK, "Send request failed"); in OnError() 144 CHECK_AND_RETURN_LOG(token, "Write descriptor failed!"); in OnOutputFormatChanged() 148 CHECK_AND_RETURN_LOG(outputBufferCache_ != nullptr, "Output buffer cache is nullptr"); in OnOutputFormatChanged() 152 CHECK_AND_RETURN_LOG(error == AVCS_ERR_OK, "Send request failed"); in OnOutputFormatChanged() 157 CHECK_AND_RETURN_LOG(inputBufferCache_ != nullptr, "Input buffer cache is nullptr"); in OnInputBufferAvailable() 162 CHECK_AND_RETURN_LOG(token, "Write descriptor failed!"); in OnInputBufferAvailable() 176 CHECK_AND_RETURN_LOG(ret, "InputBufferCache write parcel failed"); in OnInputBufferAvailable() 179 CHECK_AND_RETURN_LOG(error == AVCS_ERR_OK, "Send request failed"); in OnInputBufferAvailable() 184 CHECK_AND_RETURN_LOG(outputBufferCache in OnOutputBufferAvailable() [all...] |
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_avrcp_tg.cpp | 62 CHECK_AND_RETURN_LOG(observer_ != nullptr, "observer_ is nullptr"); in impl() 66 CHECK_AND_RETURN_LOG(proxy != nullptr, "failed: no proxy"); in impl() 76 CHECK_AND_RETURN_LOG(proxy != nullptr, "failed: no proxy"); in ~impl() 154 CHECK_AND_RETURN_LOG(pimpl != nullptr, "pimpl is null."); in RegisterObserver() 162 CHECK_AND_RETURN_LOG(pimpl != nullptr, "pimpl is null."); in UnregisterObserver() 178 CHECK_AND_RETURN_LOG(proxy != nullptr, "proxy is nullptr"); in SetActiveDevice() 289 CHECK_AND_RETURN_LOG(proxy != nullptr, "proxy is nullptr"); in NotifyPlaybackStatusChanged() 303 CHECK_AND_RETURN_LOG(proxy != nullptr, "proxy is nullptr"); in NotifyTrackChanged() 316 CHECK_AND_RETURN_LOG(proxy != nullptr, "proxy is nullptr"); in NotifyTrackReachedEnd() 330 CHECK_AND_RETURN_LOG(prox in NotifyTrackReachedStart() [all...] |
/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/callback/ |
H A D | napi_audio_renderer_device_change_callback.cpp | 46 CHECK_AND_RETURN_LOG(napi_strict_equals(env_, copyValue, args, &isEquals) == napi_ok, in AddCallbackReference() 48 CHECK_AND_RETURN_LOG(!isEquals, "js Callback already exist"); in AddCallbackReference() 52 CHECK_AND_RETURN_LOG(status == napi_ok && callback != nullptr, in AddCallbackReference() 74 CHECK_AND_RETURN_LOG(copyValue != nullptr, "copyValue is nullptr"); in RemoveCallbackReference() 75 CHECK_AND_RETURN_LOG(napi_strict_equals(env, args, copyValue, &isEquals) == napi_ok, in RemoveCallbackReference() 113 CHECK_AND_RETURN_LOG((event != nullptr) && (event->callback_ != nullptr), in SafeJsCallbackRendererDeviceInfoWork() 124 CHECK_AND_RETURN_LOG(scope != nullptr, "scope is nullptr"); in SafeJsCallbackRendererDeviceInfoWork() 152 CHECK_AND_RETURN_LOG(method != nullptr, "OnJsCallbackRendererDeviceInfo method is nullptr"); in OnJsCallbackRendererDeviceInfo() 155 CHECK_AND_RETURN_LOG(event != nullptr, "event is nullptr."); in OnJsCallbackRendererDeviceInfo() 188 CHECK_AND_RETURN_LOG(napi_strict_equal in AddCallbackReference() [all...] |
/foundation/multimedia/audio_framework/services/audio_policy/server/src/ |
H A D | audio_client_tracker_callback_proxy.cpp | 34 CHECK_AND_RETURN_LOG(ret, "WriteInterfaceToken failed"); in MuteStreamImpl() 51 CHECK_AND_RETURN_LOG(ret, "WriteInterfaceToken failed"); in UnmuteStreamImpl() 68 CHECK_AND_RETURN_LOG(ret, "WriteInterfaceToken failed"); in PausedStreamImpl() 85 CHECK_AND_RETURN_LOG(ret, "WriteInterfaceToken failed"); in ResumeStreamImpl() 101 CHECK_AND_RETURN_LOG(ret, "WriteInterfaceToken failed"); in SetLowPowerVolumeImpl() 116 CHECK_AND_RETURN_LOG(ret, "WriteInterfaceToken failed"); in GetLowPowerVolumeImpl() 132 CHECK_AND_RETURN_LOG(ret, "WriteInterfaceToken failed"); in GetSingleStreamVolumeImpl() 148 CHECK_AND_RETURN_LOG(ret, "WriteInterfaceToken failed"); in SetOffloadModeImpl() 165 CHECK_AND_RETURN_LOG(ret, "WriteInterfaceToken failed"); in UnsetOffloadModeImpl()
|