Home
last modified time | relevance | path

Searched refs:CHKPR (Results 1 – 25 of 64) sorted by relevance

123

/base/msdp/device_status/rust/subsystem/input/binding/src/
Dinput_binding.cpp55 CHKPR(cPointerEvent, RET_ERR); in CGetPointerId()
56 CHKPR(cPointerEvent->event, RET_ERR); in CGetPointerId()
63 CHKPR(cPointerEvent, RET_ERR); in CGetPointerAction()
64 CHKPR(cPointerEvent->event, RET_ERR); in CGetPointerAction()
73 CHKPR(cPointerEvent, RET_ERR); in CGetTargetWindowId()
74 CHKPR(cPointerEvent->event, RET_ERR); in CGetTargetWindowId()
81 CHKPR(cPointerEvent, RET_ERR); in CGetSourceType()
82 CHKPR(cPointerEvent->event, RET_ERR); in CGetSourceType()
89 CHKPR(cPointerEvent, RET_ERR); in CGetTargetDisplayId()
90 CHKPR(cPointerEvent->event, RET_ERR); in CGetTargetDisplayId()
[all …]
/base/sensors/miscdevice/services/miscdevice_service/custom_vibrate_decode/src/
Ddefault_vibrator_decoder.cpp59 CHKPR(metadata, ERROR); in CheckMetadata()
61 CHKPR(version, ERROR); in CheckMetadata()
68 CHKPR(channelNumber, ERROR); in CheckMetadata()
80 CHKPR(channels, ERROR); in ParseChannel()
92 CHKPR(channel, ERROR); in ParseChannel()
94 CHKPR(channelParameters, ERROR); in ParseChannel()
98 CHKPR(pattern, ERROR); in ParseChannel()
108 CHKPR(index, ERROR); in ParseChannelParameters()
128 CHKPR(item, ERROR); in ParsePattern()
130 CHKPR(event, ERROR); in ParsePattern()
[all …]
/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/interface/src/
Dvibrator_hdi_connection.cpp49 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in StartOnce()
62 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in Start()
76 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in EnableCompositeEffect()
89 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in IsVibratorRunning()
108 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in Stop()
121 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in DestroyHdiConnection()
Dlight_hdi_connection.cpp50 CHKPR(iLightHdiConnection_, ERROR); in ConnectHdiService()
67 CHKPR(iLightHdiConnection_, ERROR); in TurnOn()
78 CHKPR(iLightHdiConnection_, ERROR); in TurnOff()
89 CHKPR(iLightHdiConnection_, ERROR); in DestroyHdiConnection()
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_agent_proxy.cpp81 CHKPR(dataChannel_, INVALID_POINTER); in CreateSensorDataChannel()
106 CHKPR(dataChannel_, INVALID_POINTER); in DestroySensorDataChannel()
123 CHKPR(user, OHOS::Sensors::ERROR); in ActivateSensor()
124 CHKPR(user->callback, OHOS::Sensors::ERROR); in ActivateSensor()
151 CHKPR(user, OHOS::Sensors::ERROR); in DeactivateSensor()
152 CHKPR(user->callback, OHOS::Sensors::ERROR); in DeactivateSensor()
175 CHKPR(user, OHOS::Sensors::ERROR); in SetBatch()
197 CHKPR(user, OHOS::Sensors::ERROR); in SubscribeSensor()
198 CHKPR(user->callback, OHOS::Sensors::ERROR); in SubscribeSensor()
216 CHKPR(user, OHOS::Sensors::ERROR); in UnsubscribeSensor()
[all …]
Dsensor_service_proxy.cpp50 CHKPR(remote, ERROR); in EnableSensor()
72 CHKPR(remote, ERROR); in DisableSensor()
127 CHKPR(sensorBasicDataChannel, OBJECT_NULL); in TransferDataChannel()
128 CHKPR(sensorClient, OBJECT_NULL); in TransferDataChannel()
139 CHKPR(remote, ERROR); in TransferDataChannel()
153 CHKPR(sensorClient, OBJECT_NULL); in DestroySensorChannel()
163 CHKPR(remote, ERROR); in DestroySensorChannel()
183 CHKPR(remote, ERROR); in SuspendSensors()
205 CHKPR(remote, ERROR); in ResumeSensors()
227 CHKPR(remote, ERROR); in GetActiveInfoList()
[all …]
Dsensor_service_client.cpp77 CHKPR(systemAbilityManager, SENSOR_NATIVE_SAM_ERR); in InitServiceClient()
84 CHKPR(serviceDeathObserver_, SENSOR_NATIVE_GET_SERVICE_ERR); in InitServiceClient()
86 CHKPR(remoteObject, SENSOR_NATIVE_GET_SERVICE_ERR); in InitServiceClient()
128 CHKPR(sensorServer_, ERROR); in EnableSensor()
146 CHKPR(sensorServer_, ERROR); in DisableSensor()
179 CHKPR(sensorServer_, ERROR); in TransferDataChannel()
182 CHKPR(remoteObject, INVALID_POINTER); in TransferDataChannel()
196 CHKPR(sensorServer_, ERROR); in DestroyDataChannel()
199 CHKPR(remoteObject, INVALID_POINTER); in DestroyDataChannel()
273 CHKPR(sensorServer_, ERROR); in SuspendSensors()
[all …]
Dsensor_data_channel.cpp34 CHKPR(callBack, SENSOR_NATIVE_REGSITER_CB_ERR); in CreateSensorDataChannel()
42 CHKPR(dataCB_, SENSOR_NATIVE_REGSITER_CB_ERR); in RestoreSensorDataChannel()
63 CHKPR(myRunner, ERROR); in InnerSensorDataChannel()
99 CHKPR(myRunner, ERROR); in AddFdListener()
120 CHKPR(eventHandler_, ERROR); in DelFdListener()
/base/sensors/sensor/services/sensor/hdi_connection/interface/src/
Dsensor_hdi_connection.cpp141 CHKPR(iSensorCompatibleHdiConnection_, ENABLE_SENSOR_ERR); in EnableSensor()
150 CHKPR(iSensorHdiConnection_, ENABLE_SENSOR_ERR); in EnableSensor()
165 CHKPR(iSensorCompatibleHdiConnection_, DISABLE_SENSOR_ERR); in DisableSensor()
174 CHKPR(iSensorHdiConnection_, DISABLE_SENSOR_ERR); in DisableSensor()
189 CHKPR(iSensorCompatibleHdiConnection_, SET_SENSOR_CONFIG_ERR); in SetBatch()
198 CHKPR(iSensorHdiConnection_, SET_SENSOR_CONFIG_ERR); in SetBatch()
211 CHKPR(iSensorHdiConnection_, SET_SENSOR_MODE_ERR); in SetMode()
224 CHKPR(iSensorHdiConnection_, REGIST_CALLBACK_ERR); in RegisterDataReport()
226 CHKPR(iSensorCompatibleHdiConnection_, REGIST_CALLBACK_ERR); in RegisterDataReport()
241 CHKPR(iSensorHdiConnection_, DEVICE_ERR); in DestroyHdiConnection()
[all …]
/base/msdp/device_status/rust/subsystem/binding/multimedia/src/
Dfusion_image_framework.cpp61 CHKPR(parcel, RET_ERR); in CPixelMapSerialize()
62 CHKPR(parcel->parcel_, RET_ERR); in CPixelMapSerialize()
63 CHKPR(pixelMap, RET_ERR); in CPixelMapSerialize()
64 CHKPR(pixelMap->pixelMap, RET_ERR); in CPixelMapSerialize()
/base/sensors/miscdevice/frameworks/native/miscdevice/src/
Dlight_client.cpp56 CHKPR(systemManager, MISC_NATIVE_SAM_ERR); in InitLightClient()
64 CHKPR(serviceDeathObserver_, MISC_NATIVE_GET_SERVICE_ERR); in InitLightClient()
66 CHKPR(remoteObject, MISC_NATIVE_GET_SERVICE_ERR); in InitLightClient()
100 CHKPR(lightInfo, ERROR); in GetLightList()
145 CHKPR(miscdeviceProxy_, ERROR); in TurnOn()
156 CHKPR(miscdeviceProxy_, ERROR); in TurnOff()
192 CHKPR(lightInfos_, ERROR); in ConvertLightInfos()
Dvibrator_service_client.cpp68 CHKPR(serviceDeathObserver_, MISC_NATIVE_GET_SERVICE_ERR); in InitServiceClient()
70 CHKPR(remoteObject, MISC_NATIVE_GET_SERVICE_ERR); in InitServiceClient()
92 CHKPR(miscdeviceProxy_, ERROR); in Vibrate()
111 CHKPR(miscdeviceProxy_, ERROR); in Vibrate()
131 CHKPR(miscdeviceProxy_, ERROR); in PlayVibratorCustom()
150 CHKPR(miscdeviceProxy_, ERROR); in StopVibrator()
168 CHKPR(miscdeviceProxy_, ERROR); in StopVibrator()
186 CHKPR(miscdeviceProxy_, ERROR); in IsSupportEffect()
Dmiscdevice_service_proxy.cpp55 CHKPR(remote, ERROR); in Vibrate()
80 CHKPR(remote, ERROR); in StopVibrator()
118 CHKPR(remote, ERROR); in PlayVibratorEffect()
147 CHKPR(remote, ERROR); in StopVibrator()
172 CHKPR(remote, ERROR); in IsSupportEffect()
219 CHKPR(remote, ERROR); in PlayVibratorCustom()
298 CHKPR(remote, ERROR); in TurnOn()
323 CHKPR(remote, ERROR); in TurnOff()
/base/msdp/device_status/services/communication/client/src/
Ddevicestatus_srv_proxy.cpp143 CHKPR(remote, RET_ERR); in RegisterCoordinationListener()
163 CHKPR(remote, RET_ERR); in UnregisterCoordinationListener()
184 CHKPR(remote, RET_ERR); in PrepareCoordination()
205 CHKPR(remote, RET_ERR); in UnprepareCoordination()
229 CHKPR(remote, RET_ERR); in ActivateCoordination()
251 CHKPR(remote, RET_ERR); in DeactivateCoordination()
272 CHKPR(remote, RET_ERR); in UpdateDragStyle()
292 CHKPR(remote, RET_ERR); in GetDragTargetPid()
315 CHKPR(remote, RET_ERR); in GetUdKey()
339 CHKPR(remote, RET_ERR); in GetCoordinationState()
[all …]
/base/sensors/sensor/services/sensor/hdi_connection/adapter/src/
Dsensor_event_callback.cpp32 CHKPR(reportDataCb_, ERR_NO_INIT); in OnDataEvent()
33 CHKPR(reportDataCallback_, ERR_NO_INIT); in OnDataEvent()
47 CHKPR(sensorData.data, ERR_NO_INIT); in OnDataEvent()
Dhdi_connection.cpp55 CHKPR(eventCallback_, ERR_NO_INIT); in ConnectHdi()
72 CHKPR(sensorInterface_, ERR_NO_INIT); in GetSensorList()
106 CHKPR(sensorInterface_, ERR_NO_INIT); in EnableSensor()
120 CHKPR(sensorInterface_, ERR_NO_INIT); in DisableSensor()
134 CHKPR(sensorInterface_, ERR_NO_INIT); in SetBatch()
149 CHKPR(sensorInterface_, ERR_NO_INIT); in SetMode()
163 CHKPR(reportDataCallback, ERR_NO_INIT); in RegisterDataReport()
164 CHKPR(sensorInterface_, ERR_NO_INIT); in RegisterDataReport()
180 CHKPR(sensorInterface_, ERR_NO_INIT); in DestroyHdiConnection()
/base/msdp/device_status/services/interaction/coordination/src/
Dcoordination.cpp45 CHKPR(event, RET_ERR); in ActivateCoordination()
62 CHKPR(event, RET_ERR); in DeactivateCoordination()
79 CHKPR(event, RET_ERR); in GetCoordinationState()
95 CHKPR(event, RET_ERR); in RegisterCoordinationListener()
106 CHKPR(event, RET_ERR); in UnregisterCoordinationListener()
Ddistributed_input_adapter.cpp54 CHKPR(cb, ERROR_NULL_POINTER); in StartRemoteInput()
64 CHKPR(cb, ERROR_NULL_POINTER); in StopRemoteInput()
74 CHKPR(cb, ERROR_NULL_POINTER); in StopRemoteInput()
84 CHKPR(cb, ERROR_NULL_POINTER); in PrepareRemoteInput()
94 CHKPR(cb, ERROR_NULL_POINTER); in UnPrepareRemoteInput()
103 CHKPR(cb, ERROR_NULL_POINTER); in PrepareRemoteInput()
112 CHKPR(cb, ERROR_NULL_POINTER); in UnPrepareRemoteInput()
/base/msdp/device_status/frameworks/native/src/
Ddevicestatus_client.cpp62 CHKPR(sa, E_DEVICESTATUS_GET_SYSTEM_ABILITY_MANAGER_FAILED); in Connect()
65 CHKPR(remoteObject, E_DEVICESTATUS_GET_SERVICE_FAILED); in Connect()
68 CHKPR(deathRecipient_, ERR_NO_MEMORY); in Connect()
113 CHKPR(callback, RET_ERR); in SubscribeCallback()
119 CHKPR(devicestatusProxy_, RET_ERR); in SubscribeCallback()
133 CHKPR(callback, RET_ERR); in UnsubscribeCallback()
139 CHKPR(devicestatusProxy_, RET_ERR); in UnsubscribeCallback()
317 CHKPR(devicestatusProxy_, RET_ERR); in AllocSocketPair()
363 CHKPR(devicestatusProxy_, RET_ERR); in StartDrag()
373 CHKPR(devicestatusProxy_, RET_ERR); in StopDrag()
/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/adapter/src/
Dhdi_connection.cpp54 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in StartOnce()
71 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in Start()
89 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in EnableCompositeEffect()
103 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in IsVibratorRunning()
128 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in Stop()
/base/msdp/device_status/services/native/src/
Ddevicestatus_msdp_client_impl.cpp74 CHKPR(iMock_, RET_ERR); in MockHandle()
101 CHKPR(iAlgo_, RET_ERR); in AlgoHandle()
129 CHKPR(iAlgo_, RET_ERR); in StartAlgo()
177 CHKPR(iAlgo_, RET_ERR); in AlgoDisable()
207 CHKPR(iMock_, RET_ERR); in MockDisable()
234 CHKPR(callBacksMgr_, RET_ERR); in ImplCallback()
264 CHKPR(iMock_, RET_ERR); in UnregisterMock()
282 CHKPR(iAlgo_, RET_ERR); in UnregisterAlgo()
372 CHKPR(mock_.handle, RET_ERR); in UnloadMockLibrary()
433 CHKPR(algo_.handle, RET_ERR); in UnloadAlgoLibrary()
/base/msdp/device_status/rust/data/binding/src/
Dfusion_data_binding.cpp34 CHKPR(drag, RET_ERR); in CDragDataFrom()
35 CHKPR(cdrag, RET_ERR); in CDragDataFrom()
/base/msdp/device_status/frameworks/native/interaction/src/
Ddrag_manager_impl.cpp42 CHKPR(callback, RET_ERR); in StartDrag()
43 CHKPR(dragData.shadowInfo.pixelMap, RET_ERR); in StartDrag()
100 CHKPR(stopCallback_, RET_ERR); in OnNotifyResult()
124 CHKPR(listener, RET_ERR); in AddDraglistener()
182 CHKPR(shadowInfo.pixelMap, RET_ERR); in UpdateShadowPic()
/base/msdp/device_status/services/device_manager/src/
Ddevice_manager.cpp65 CHKPR(context, RET_ERR); in Init()
77 CHKPR(context, RET_ERR); in OnInit()
87 CHKPR(context_, RET_ERR); in Enable()
128 CHKPR(context_, RET_ERR); in Disable()
283 CHKPR(source, RET_ERR); in EpollAdd()
397 CHKPR(observer, RET_ERR); in OnRetriggerHotplug()
399 CHKPR(ptr, RET_ERR); in OnRetriggerHotplug()
412 CHKPR(context_, RET_ERR); in AddDeviceObserver()
424 CHKPR(observer, RET_ERR); in OnAddDeviceObserver()
446 CHKPR(observer, RET_ERR); in OnRemoveDeviceObserver()
/base/msdp/device_status/services/delegate_task/src/
Ddelegate_tasks.cpp99 CHKPR(callback, ERROR_NULL_POINTER); in PostSyncTask()
106 CHKPR(task, ETASKS_POST_SYNCTASK_FAIL); in PostSyncTask()
124 CHKPR(callback, ERROR_NULL_POINTER); in PostAsyncTask()
126 CHKPR(task, ETASKS_POST_ASYNCTASK_FAIL); in PostAsyncTask()

123