/base/msdp/device_status/rust/subsystem/input/binding/src/ |
H A D | input_binding.cpp | 57 CHKPR(cPointerEvent, RET_ERR); in CGetPointerId() 58 CHKPR(cPointerEvent->event, RET_ERR); in CGetPointerId() 65 CHKPR(cPointerEvent, RET_ERR); in CGetPointerAction() 66 CHKPR(cPointerEvent->event, RET_ERR); in CGetPointerAction() 75 CHKPR(cPointerEvent, RET_ERR); in CGetTargetWindowId() 76 CHKPR(cPointerEvent->event, RET_ERR); in CGetTargetWindowId() 83 CHKPR(cPointerEvent, RET_ERR); in CGetSourceType() 84 CHKPR(cPointerEvent->event, RET_ERR); in CGetSourceType() 91 CHKPR(cPointerEvent, RET_ERR); in CGetTargetDisplayId() 92 CHKPR(cPointerEven in CGetTargetDisplayId() [all...] |
/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/interface/src/ |
H A D | vibrator_hdi_connection.cpp | 55 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in StartOnce() 72 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in Start() 91 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in EnableCompositeEffect() 108 CHKPR(iVibratorHdiConnection_, false); in IsVibratorRunning() 131 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in Stop() 149 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in GetDelayTime() 155 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in GetVibratorCapacity() 161 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in PlayPattern() 167 CHKPR(iVibratorHdiConnection_, VIBRATOR_HDF_CONNECT_ERR); in DestroyHdiConnection() 178 CHKPR(iVibratorHdiConnection in StartByIntensity() [all...] |
H A D | light_hdi_connection.cpp | 50 CHKPR(iLightHdiConnection_, ERROR); in ConnectHdiService() 67 CHKPR(iLightHdiConnection_, ERROR); in TurnOn() 78 CHKPR(iLightHdiConnection_, ERROR); in TurnOff() 89 CHKPR(iLightHdiConnection_, ERROR); in DestroyHdiConnection()
|
/base/msdp/device_status/intention/services/intention_service/src/ |
H A D | intention_service.cpp | 60 CHKPR(context_, RET_ERR); in Enable() 63 CHKPR(plugin, RET_ERR); in Enable() 81 CHKPR(context_, RET_ERR); in Disable() 84 CHKPR(plugin, RET_ERR); in Disable() 102 CHKPR(context_, RET_ERR); in Start() 105 CHKPR(plugin, RET_ERR); in Start() 123 CHKPR(context_, RET_ERR); in Stop() 126 CHKPR(plugin, RET_ERR); in Stop() 137 CHKPR(context_, RET_ERR); in AddWatch() 149 CHKPR(plugi in AddWatch() [all...] |
/base/sensors/sensor/frameworks/native/src/ |
H A D | sensor_service_client.cpp | 84 CHKPR(systemAbilityManager, SENSOR_NATIVE_SAM_ERR); in InitServiceClient() 88 CHKPR(object, SENSOR_NATIVE_GET_SERVICE_ERR); in InitServiceClient() 93 CHKPR(serviceDeathObserver_, SENSOR_NATIVE_GET_SERVICE_ERR); in InitServiceClient() 95 CHKPR(remoteObject, SENSOR_NATIVE_GET_SERVICE_ERR); in InitServiceClient() 140 CHKPR(sensorServer_, ERROR); in EnableSensor() 163 CHKPR(sensorServer_, ERROR); in DisableSensor() 195 CHKPR(sensorDataChannel, INVALID_POINTER); in TransferDataChannel() 206 CHKPR(sensorServer_, ERROR); in TransferDataChannel() 210 CHKPR(sensorClientStub_, INVALID_POINTER); in TransferDataChannel() 212 CHKPR(remoteObjec in TransferDataChannel() [all...] |
H A D | sensor_agent_proxy.cpp | 105 CHKPR(dataChannel_, INVALID_POINTER); in CreateSensorDataChannel() 131 CHKPR(dataChannel_, INVALID_POINTER); in DestroySensorDataChannel() 148 CHKPR(user, OHOS::Sensors::ERROR); in ActivateSensor() 149 CHKPR(user->callback, OHOS::Sensors::ERROR); in ActivateSensor() 184 CHKPR(user, OHOS::Sensors::ERROR); in DeactivateSensor() 185 CHKPR(user->callback, OHOS::Sensors::ERROR); in DeactivateSensor() 219 CHKPR(user, OHOS::Sensors::ERROR); in SetBatch() 246 CHKPR(user, OHOS::Sensors::ERROR); in SubscribeSensor() 247 CHKPR(user->callback, OHOS::Sensors::ERROR); in SubscribeSensor() 271 CHKPR(use in UnsubscribeSensor() [all...] |
H A D | sensor_service_proxy.cpp | 51 CHKPR(remote, ERROR); in EnableSensor() 75 CHKPR(remote, ERROR); in DisableSensor() 134 CHKPR(sensorBasicDataChannel, OBJECT_NULL); in TransferDataChannel() 135 CHKPR(sensorClient, OBJECT_NULL); in TransferDataChannel() 146 CHKPR(remote, ERROR); in TransferDataChannel() 162 CHKPR(sensorClient, OBJECT_NULL); in DestroySensorChannel() 172 CHKPR(remote, ERROR); in DestroySensorChannel() 194 CHKPR(remote, ERROR); in SuspendSensors() 214 CHKPR(remote, ERROR); in ResumeSensors() 234 CHKPR(remot in GetActiveInfoList() [all...] |
H A D | sensor_data_channel.cpp | 33 CHKPR(callBack, SENSOR_NATIVE_REGSITER_CB_ERR); in CreateSensorDataChannel() 41 CHKPR(dataCB_, SENSOR_NATIVE_REGSITER_CB_ERR); in RestoreSensorDataChannel() 62 CHKPR(myRunner, ERROR); in InnerSensorDataChannel() 98 CHKPR(myRunner, ERROR); in AddFdListener() 120 CHKPR(eventHandler_, ERROR); in DelFdListener()
|
/base/msdp/device_status/intention/cooperate/server/src/ |
H A D | cooperate_server.cpp | 57 CHKPR(context_, RET_ERR); in Enable() 62 CHKPR(cooperate, RET_ERR); in Enable() 79 CHKPR(context_, RET_ERR); in Disable() 81 CHKPR(cooperate, RET_ERR); in Disable() 105 CHKPR(context_, RET_ERR); in Start() 107 CHKPR(cooperate, RET_ERR); in Start() 123 CHKPR(context_, RET_ERR); in Stop() 125 CHKPR(cooperate, RET_ERR); in Stop() 136 CHKPR(context_, RET_ERR); in AddWatch() 138 CHKPR(cooperat in AddWatch() [all...] |
/base/sensors/miscdevice/utils/haptic_decoder/he_json/src/ |
H A D | he_vibrator_decoder.cpp | 56 CHKPR(patternJSON, ERROR); in DecodeEffect() 66 CHKPR(patternListJSON, ERROR); in DecodeEffect() 82 CHKPR(metadataJSON, ERROR); in ParseVersion() 84 CHKPR(versionJSON, ERROR); in ParseVersion() 102 CHKPR(patternListItemJSON, ERROR); in ParsePatternList() 104 CHKPR(timeJSON, ERROR); in ParsePatternList() 112 CHKPR(patternJSON, ERROR); in ParsePatternList() 136 CHKPR(patternItemJSON, ERROR); in ParsePattern() 138 CHKPR(eventJSON, ERROR); in ParsePattern() 155 CHKPR(typeJSO in ParseEvent() [all...] |
/base/sensors/miscdevice/utils/haptic_decoder/oh_json/src/ |
H A D | default_vibrator_decoder.cpp | 79 CHKPR(metadataItem, ERROR);
in CheckMetadata() 81 CHKPR(versionItem, ERROR);
in CheckMetadata() 88 CHKPR(channelNumberItem, ERROR);
in CheckMetadata() 101 CHKPR(channelsItem, ERROR);
in ParseChannel() 114 CHKPR(channelItem, ERROR);
in ParseChannel() 116 CHKPR(channelParametersItem, ERROR);
in ParseChannel() 120 CHKPR(patternItem, ERROR);
in ParseChannel() 133 CHKPR(indexItem, ERROR);
in ParseChannelParameters() 154 CHKPR(item, ERROR);
in ParsePattern() 156 CHKPR(eventIte in ParsePattern() [all...] |
/base/msdp/device_status/intention/ipc/tunnel/src/ |
H A D | intention_proxy.cpp | 40 CHKPR(remote, RET_ERR); in Enable() 56 CHKPR(remote, RET_ERR); in Disable() 72 CHKPR(remote, RET_ERR); in Start() 88 CHKPR(remote, RET_ERR); in Stop() 104 CHKPR(remote, RET_ERR); in AddWatch() 120 CHKPR(remote, RET_ERR); in RemoveWatch() 136 CHKPR(remote, RET_ERR); in SetParam() 152 CHKPR(remote, RET_ERR); in GetParam() 168 CHKPR(remote, RET_ERR); in Control()
|
/base/msdp/device_status/rust/subsystem/binding/multimedia/src/ |
H A D | fusion_image_framework.cpp | 62 CHKPR(parcel, RET_ERR); in CPixelMapSerialize() 63 CHKPR(parcel->parcel_, RET_ERR); in CPixelMapSerialize() 64 CHKPR(pixelMap, RET_ERR); in CPixelMapSerialize() 65 CHKPR(pixelMap->pixelMap, RET_ERR); in CPixelMapSerialize()
|
/base/sensors/sensor/services/hdi_connection/interface/src/ |
H A D | sensor_hdi_connection.cpp | 204 CHKPR(iSensorHdiConnection_, GET_SENSOR_LIST_ERR); in GetSensorList() 241 CHKPR(iSensorCompatibleHdiConnection_, ENABLE_SENSOR_ERR); in EnableSensor() 253 CHKPR(iSensorHdiConnection_, ENABLE_SENSOR_ERR); in EnableSensor() 273 CHKPR(iSensorCompatibleHdiConnection_, DISABLE_SENSOR_ERR); in DisableSensor() 285 CHKPR(iSensorHdiConnection_, DISABLE_SENSOR_ERR); in DisableSensor() 305 CHKPR(iSensorCompatibleHdiConnection_, SET_SENSOR_CONFIG_ERR); in SetBatch() 317 CHKPR(iSensorHdiConnection_, SET_SENSOR_CONFIG_ERR); in SetBatch() 337 CHKPR(iSensorCompatibleHdiConnection_, SET_SENSOR_MODE_ERR); in SetMode() 349 CHKPR(iSensorHdiConnection_, SET_SENSOR_MODE_ERR); in SetMode() 366 CHKPR(iSensorHdiConnection in RegisterDataReport() [all...] |
/base/sensors/miscdevice/services/miscdevice_service/hdi_connection/adapter/src/ |
H A D | hdi_connection.cpp | 60 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in StartOnce() 80 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in Start() 101 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in EnableCompositeEffect() 117 CHKPR(vibratorInterface_, false); in IsVibratorRunning() 144 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in Stop() 159 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in GetDelayTime() 174 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in GetVibratorCapacity() 194 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in PlayPattern() 291 CHKPR(vibratorInterface_, ERR_INVALID_VALUE); in StartByIntensity() 306 CHKPR(vibratorInterface in GetAllWaveInfo() [all...] |
/base/sensors/miscdevice/frameworks/native/light/src/ |
H A D | light_client.cpp | 61 CHKPR(systemManager, MISC_NATIVE_SAM_ERR); in InitLightClient() 69 CHKPR(serviceDeathObserver_, MISC_NATIVE_GET_SERVICE_ERR); in InitLightClient() 71 CHKPR(remoteObject, MISC_NATIVE_GET_SERVICE_ERR); in InitLightClient() 108 CHKPR(lightInfo, ERROR); in GetLightList() 155 CHKPR(miscdeviceProxy_, ERROR); in TurnOn() 171 CHKPR(miscdeviceProxy_, ERROR); in TurnOff() 211 CHKPR(lightInfos_, ERROR); in ConvertLightInfos()
|
/base/msdp/device_status/services/communication/client/src/ |
H A D | devicestatus_srv_proxy.cpp | 142 CHKPR(remote, RET_ERR); in RegisterCoordinationListener() 168 CHKPR(remote, RET_ERR); in UnregisterCoordinationListener() 195 CHKPR(remote, RET_ERR); in PrepareCoordination() 222 CHKPR(remote, RET_ERR); in UnprepareCoordination() 252 CHKPR(remote, RET_ERR); in ActivateCoordination() 280 CHKPR(remote, RET_ERR); in DeactivateCoordination() 307 CHKPR(remote, RET_ERR); in UpdateDragStyle() 327 CHKPR(remote, RET_ERR); in GetDragTargetPid() 350 CHKPR(remote, RET_ERR); in GetUdKey() 372 CHKPR(remot in GetDragData() [all...] |
/base/sensors/sensor/services/hdi_connection/adapter/src/ |
H A D | hdi_connection.cpp | 62 CHKPR(g_eventCallback, ERR_NO_INIT);
in ConnectHdi() 81 CHKPR(g_sensorInterface, ERR_NO_INIT);
in GetSensorList() 120 CHKPR(g_sensorInterface, ERR_NO_INIT);
in EnableSensor() 136 CHKPR(g_sensorInterface, ERR_NO_INIT);
in DisableSensor() 152 CHKPR(g_sensorInterface, ERR_NO_INIT);
in SetBatch() 169 CHKPR(g_sensorInterface, ERR_NO_INIT);
in SetMode() 185 CHKPR(reportDataCallback, ERR_NO_INIT);
in RegisterDataReport() 186 CHKPR(g_sensorInterface, ERR_NO_INIT);
in RegisterDataReport() 204 CHKPR(g_sensorInterface, ERR_NO_INIT);
in DestroyHdiConnection()
|
H A D | sensor_event_callback.cpp | 47 CHKPR(reportDataCb_, ERR_NO_INIT); in OnDataEvent() 48 CHKPR(reportDataCallback_, ERR_NO_INIT); in OnDataEvent() 65 CHKPR(sensorData.data, ERR_NO_INIT); in OnDataEvent()
|
/base/msdp/device_status/rust/subsystem/device_profile/binding/src/ |
H A D | fusion_device_profile_adapter.cpp | 138 CHKPR(data, RET_ERR); in UpdateCrossSwitchState() 142 CHKPR(smsg, RET_ERR); in UpdateCrossSwitchState() 156 CHKPR(data, RET_ERR); in SyncCrossSwitchState() 160 CHKPR(smsg, RET_ERR); in SyncCrossSwitchState() 197 CHKPR(callback, RET_ERR); in RegisterCrossStateListener() 305 CHKPR(deviceIds, RET_ERR); in SyncCrossSwitchState() 306 CHKPR(deviceIds->get, RET_ERR); in SyncCrossSwitchState() 307 CHKPR(deviceIds->getSize, RET_ERR); in SyncCrossSwitchState() 312 CHKPR(device_id, RET_ERR); in SyncCrossSwitchState() 322 CHKPR(deviceI in GetCrossSwitchState() [all...] |
H A D | fusion_device_profile.cpp | 91 CHKPR(subscribeInfos, RET_ERR); in SubscribeProfileEvents() 92 CHKPR(subscribeInfos->subscribeInfos, RET_ERR); in SubscribeProfileEvents() 116 CHKPR(events, RET_ERR); in SubscribeProfileEvents() 144 CHKPR(profileEvents, RET_ERR); in UnsubscribeProfileEvents() 164 CHKPR(events, RET_ERR); in UnsubscribeProfileEvents()
|
/base/sensors/miscdevice/frameworks/native/common/src/ |
H A D | miscdevice_service_proxy.cpp | 63 CHKPR(remote, ERROR); in Vibrate() 90 CHKPR(remote, ERROR); in StopVibrator() 134 CHKPR(remote, ERROR); in PlayVibratorEffect() 165 CHKPR(remote, ERROR); in StopVibrator() 192 CHKPR(remote, ERROR); in IsSupportEffect() 250 CHKPR(remote, ERROR); in PlayVibratorCustom() 324 CHKPR(remote, ERROR); in TurnOn() 351 CHKPR(remote, ERROR); in TurnOff() 374 CHKPR(remote, ERROR); in GetDelayTime() 418 CHKPR(remot in PlayPattern() [all...] |
/base/msdp/device_status/intention/scheduler/task_scheduler/src/ |
H A D | task_scheduler.cpp | 85 CHKPR(cb, ERROR_NULL_POINTER);
in PostSyncTask() 92 CHKPR(task, ETASKS_POST_SYNCTASK_FAIL);
in PostSyncTask() 110 CHKPR(callback, ERROR_NULL_POINTER);
in PostAsyncTask() 112 CHKPR(task, ETASKS_POST_ASYNCTASK_FAIL);
in PostAsyncTask()
|
/base/msdp/device_status/services/delegate_task/src/ |
H A D | delegate_tasks.cpp | 84 CHKPR(callback, ERROR_NULL_POINTER);
in PostSyncTask() 91 CHKPR(task, ETASKS_POST_SYNCTASK_FAIL);
in PostSyncTask() 109 CHKPR(callback, ERROR_NULL_POINTER);
in PostAsyncTask() 111 CHKPR(task, ETASKS_POST_ASYNCTASK_FAIL);
in PostAsyncTask()
|
/base/sensors/miscdevice/frameworks/native/vibrator/src/ |
H A D | vibrator_service_client.cpp | 90 CHKPR(serviceDeathObserver_, MISC_NATIVE_GET_SERVICE_ERR); in InitServiceClient() 92 CHKPR(remoteObject, MISC_NATIVE_GET_SERVICE_ERR); in InitServiceClient() 121 CHKPR(remoteObject, MISC_NATIVE_GET_SERVICE_ERR); in TransferClientRemoteObject() 122 CHKPR(miscdeviceProxy_, ERROR); in TransferClientRemoteObject() 142 CHKPR(miscdeviceProxy_, ERROR); in Vibrate() 167 CHKPR(miscdeviceProxy_, ERROR); in Vibrate() 194 CHKPR(miscdeviceProxy_, ERROR); in PlayVibratorCustom() 222 CHKPR(miscdeviceProxy_, ERROR); in StopVibrator() 245 CHKPR(miscdeviceProxy_, ERROR); in StopVibrator() 279 CHKPR(miscdeviceProxy in IsSupportEffect() [all...] |