Home
last modified time | relevance | path

Searched refs:reqData (Results 1 – 25 of 52) sorted by relevance

123

/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/
Dcamera_fileformat.cpp89 struct HdfSBuf *reqData = HdfSbufObtainDefaultSize(); in CameraOpenDevice() local
90 CHECK_SBUF_RET(reqData); in CameraOpenDevice()
95 ret = SendDeviceInfo(reqData, feature, false); in CameraOpenDevice()
98 ret = SendCameraCmd(CMD_OPEN_CAMERA, reqData, respData); in CameraOpenDevice()
99 HdfSbufRecycle(reqData); in CameraOpenDevice()
112 struct HdfSBuf *reqData = HdfSbufObtainDefaultSize(); in CameraCloseDevice() local
113 CHECK_SBUF_RET(reqData); in CameraCloseDevice()
118 ret = SendDeviceInfo(reqData, feature, false); in CameraCloseDevice()
121 ret = SendCameraCmd(CMD_CLOSE_CAMERA, reqData, respData); in CameraCloseDevice()
122 HdfSbufRecycle(reqData); in CameraCloseDevice()
[all …]
Dcamera_buffer.cpp34 struct HdfSBuf *reqData = HdfSbufObtainDefaultSize(); in CameraInitMemory() local
35 CHECK_SBUF_RET(reqData); in CameraInitMemory()
40 ret = SendDeviceInfo(reqData, feature, true); in CameraInitMemory()
43 ret = SendCameraCmd(CMD_QUEUE_INIT, reqData, respData); in CameraInitMemory()
44 HdfSbufRecycle(reqData); in CameraInitMemory()
59 struct HdfSBuf *reqData = HdfSbufObtainDefaultSize(); in CameraReqMemory() local
60 CHECK_SBUF_RET(reqData); in CameraReqMemory()
69 ret = SendDeviceInfo(reqData, feature, true); in CameraReqMemory()
72 isFailed |= !HdfSbufWriteUint32(reqData, buffCont); in CameraReqMemory()
73 isFailed |= !HdfSbufWriteUint32(reqData, memoryType_); in CameraReqMemory()
[all …]
Dcamera_stream.cpp30 struct HdfSBuf *reqData = HdfSbufObtainDefaultSize(); in CameraStreamOn() local
31 CHECK_SBUF_RET(reqData); in CameraStreamOn()
36 ret = SendDeviceInfo(reqData, feature, true); in CameraStreamOn()
39 ret = SendCameraCmd(CMD_STREAM_ON, reqData, respData); in CameraStreamOn()
40 HdfSbufRecycle(reqData); in CameraStreamOn()
53 struct HdfSBuf *reqData = HdfSbufObtainDefaultSize(); in CameraStreamOff() local
54 CHECK_SBUF_RET(reqData); in CameraStreamOff()
59 ret = SendDeviceInfo(reqData, feature, true); in CameraStreamOff()
62 ret = SendCameraCmd(CMD_STREAM_OFF, reqData, respData); in CameraStreamOff()
63 HdfSbufRecycle(reqData); in CameraStreamOff()
Dcamera_control.cpp27 struct HdfSBuf *reqData = HdfSbufObtainDefaultSize(); in CameraPowerUp() local
28 CHECK_SBUF_RET(reqData); in CameraPowerUp()
33 ret = SendDeviceInfo(reqData, feature, true); in CameraPowerUp()
36 ret = SendCameraCmd(CMD_POWER_UP, reqData, respData); in CameraPowerUp()
37 HdfSbufRecycle(reqData); in CameraPowerUp()
50 struct HdfSBuf *reqData = HdfSbufObtainDefaultSize(); in CameraPowerDown() local
51 CHECK_SBUF_RET(reqData); in CameraPowerDown()
56 ret = SendDeviceInfo(reqData, feature, true); in CameraPowerDown()
59 ret = SendCameraCmd(CMD_POWER_DOWN, reqData, respData); in CameraPowerDown()
60 HdfSbufRecycle(reqData); in CameraPowerDown()
[all …]
Dcamera_common.cpp114 RetCode SendCameraCmd(const uint32_t cmd, struct HdfSBuf *reqData, struct HdfSBuf *respData) in SendCameraCmd() argument
118 if (reqData == nullptr) { in SendCameraCmd()
129 ret = g_cameraService->dispatcher->Dispatch(&g_cameraService->object, cmd, reqData, respData); in SendCameraCmd()
137 int32_t SendDeviceInfo(struct HdfSBuf *reqData, struct CameraFeature feature, bool state) in SendDeviceInfo() argument
141 isFailed |= !HdfSbufWriteInt32(reqData, feature.type); in SendDeviceInfo()
143 isFailed |= !HdfSbufWriteInt32(reqData, feature.permissionId); in SendDeviceInfo()
144 isFailed |= !HdfSbufWriteString(reqData, feature.deviceName); in SendDeviceInfo()
145 isFailed |= !HdfSbufWriteString(reqData, feature.driverName); in SendDeviceInfo()
/drivers/peripheral/wlan/client/src/sbuf/
Dsbuf_event_adapter.c32 static void WifiEventNewStaProcess(const char *ifName, uint32_t event, struct HdfSBuf *reqData) in WifiEventNewStaProcess() argument
37 if (!HdfSbufReadInt32(reqData, &staInfo.reassoc)) { in WifiEventNewStaProcess()
41 if (!HdfSbufReadBuffer(reqData, (const void **)(&staInfo.ie), &staInfo.ieLen)) { in WifiEventNewStaProcess()
45 …if (!HdfSbufReadBuffer(reqData, (const void **)(&staInfo.macAddr), &len) || (len != ETH_ADDR_LEN))… in WifiEventNewStaProcess()
52 static void WifiEventDelStaProcess(const char *ifName, uint32_t event, struct HdfSBuf *reqData) in WifiEventDelStaProcess() argument
57 if ((!HdfSbufReadBuffer(reqData, (const void **)(&addr), &len)) || (len != ETH_ADDR_LEN)) { in WifiEventDelStaProcess()
64 static void WifiEventRxMgmtProcess(const char *ifName, uint32_t event, struct HdfSBuf *reqData) in WifiEventRxMgmtProcess() argument
68 if (!HdfSbufReadInt32(reqData, &rxMgmt.freq)) { in WifiEventRxMgmtProcess()
72 if (!HdfSbufReadInt32(reqData, &rxMgmt.sigMbm)) { in WifiEventRxMgmtProcess()
76 if (!HdfSbufReadBuffer(reqData, (const void **)(&rxMgmt.buf), &rxMgmt.len)) { in WifiEventRxMgmtProcess()
[all …]
Dsbuf_common_adapter.c49 int32_t SendCmdSync(const uint32_t cmd, struct HdfSBuf *reqData, struct HdfSBuf *respData) in SendCmdSync() argument
51 if (reqData == NULL) { in SendCmdSync()
60 … int32_t ret = g_wifiService->dispatcher->Dispatch(&g_wifiService->object, cmd, reqData, respData); in SendCmdSync()
/drivers/hdf_core/framework/model/camera/dispatch/src/
Dcamera_dispatch.c80 static int32_t CameraOpenCamera(struct HdfDeviceIoClient *client, struct HdfSBuf *reqData, struct H… in CameraOpenCamera() argument
94 deviceName = HdfSbufReadString(reqData); in CameraOpenCamera()
105 driverName = HdfSbufReadString(reqData); in CameraOpenCamera()
127 static int32_t CameraCmdOpenCamera(struct HdfDeviceIoClient *client, struct HdfSBuf *reqData, struc… in CameraCmdOpenCamera() argument
133 if (client == NULL || reqData == NULL || rspData == NULL) { in CameraCmdOpenCamera()
136 if (!HdfSbufReadInt32(reqData, &permissionId)) { in CameraCmdOpenCamera()
147 ret = CameraOpenCamera(client, reqData, rspData); in CameraCmdOpenCamera()
153 struct HdfSBuf *reqData, const struct HdfSBuf *rspData) in CameraCmdCloseCamera() argument
159 if (client == NULL || reqData == NULL || rspData == NULL) { in CameraCmdCloseCamera()
162 if (!HdfSbufReadInt32(reqData, &permissionId)) { in CameraCmdCloseCamera()
[all …]
/drivers/peripheral/usb/test/unittest/host_sdk/
Dusb_raw_sdk_if_test_io.cpp342 struct UsbRawFillRequestData reqData; in AcmRawFillWriteReq() local
364 reqData.endPoint = g_acm->dataOutEp->addr; in AcmRawFillWriteReq()
365 reqData.numIsoPackets = 0; in AcmRawFillWriteReq()
366 reqData.callback = AcmWriteBulkCallback; in AcmRawFillWriteReq()
367 reqData.userData = (void *)snd; in AcmRawFillWriteReq()
368 reqData.timeout = USB_CTRL_SET_TIMEOUT; in AcmRawFillWriteReq()
369 reqData.buffer = snd->buf; in AcmRawFillWriteReq()
370 reqData.length = snd->len; in AcmRawFillWriteReq()
372 ret = UsbRawFillBulkRequest(snd->request, g_acm->devHandle, &reqData); in AcmRawFillWriteReq()
379 struct UsbRawFillRequestData reqData; in AcmRawFillReadReq() local
[all …]
/drivers/hdf_core/framework/model/network/wifi/core/components/softap/
Dap.c153 static int32_t WifiFillApSettingsParams(struct HdfSBuf *reqData, WifiApSetting *apSettings) in WifiFillApSettingsParams() argument
155 if (!HdfSbufReadInt32(reqData, &(apSettings->freqParams.mode))) { in WifiFillApSettingsParams()
160 if (!HdfSbufReadInt32(reqData, &(apSettings->freqParams.freq))) { in WifiFillApSettingsParams()
164 if (!HdfSbufReadInt32(reqData, &(apSettings->freqParams.channel))) { in WifiFillApSettingsParams()
168 if (!HdfSbufReadInt32(reqData, &(apSettings->freqParams.htEnabled))) { in WifiFillApSettingsParams()
172 if (!HdfSbufReadInt32(reqData, &(apSettings->freqParams.secChannelOffset))) { in WifiFillApSettingsParams()
176 if (!HdfSbufReadInt32(reqData, &(apSettings->freqParams.vhtEnabled))) { in WifiFillApSettingsParams()
180 if (!HdfSbufReadInt32(reqData, &(apSettings->freqParams.centerFreq1))) { in WifiFillApSettingsParams()
184 if (!HdfSbufReadInt32(reqData, &(apSettings->freqParams.centerFreq2))) { in WifiFillApSettingsParams()
188 if (!HdfSbufReadInt32(reqData, &(apSettings->freqParams.bandwidth))) { in WifiFillApSettingsParams()
[all …]
/drivers/hdf_core/framework/model/network/wifi/core/components/sta/
Dsta.c69 static int WifiFillScanParam(struct WlanScanRequest *params, struct HdfSBuf *reqData) in WifiFillScanParam() argument
72 if (!HdfSbufReadBuffer(reqData, (const void **)&params->bssid, &dataSize)) { in WifiFillScanParam()
76 if (!HdfSbufReadBuffer(reqData, (const void **)&params->ssids, &dataSize)) { in WifiFillScanParam()
81 if (!HdfSbufReadBuffer(reqData, (const void **)&params->extraIEs, &dataSize)) { in WifiFillScanParam()
86 if (!HdfSbufReadBuffer(reqData, (const void **)&params->freqs, &dataSize)) { in WifiFillScanParam()
117 static int WifiFillAssocParams(WifiAssociateParams *assoc, struct HdfSBuf *reqData) in WifiFillAssocParams() argument
120 …if (!HdfSbufReadBuffer(reqData, (const void **)&assoc->bssid, &dataSize) || dataSize != ETH_ADDR_L… in WifiFillAssocParams()
124 if (!HdfSbufReadBuffer(reqData, (const void **)&assoc->ssid, &(assoc->ssidLen))) { in WifiFillAssocParams()
128 if (!HdfSbufReadBuffer(reqData, (const void **)&assoc->ie, &(assoc->ieLen))) { in WifiFillAssocParams()
132 if (!HdfSbufReadBuffer(reqData, (const void **)&assoc->key, &dataSize)) { in WifiFillAssocParams()
[all …]
/drivers/hdf_core/framework/model/network/wifi/core/module/
Dwifi_base.c119 static int32_t WifiCmdFillKeyInner(struct HdfSBuf *reqData, WifiKeyExt *keyExt) in WifiCmdFillKeyInner() argument
123 if (!HdfSbufReadInt32(reqData, &(keyExt->type)) || keyExt == NULL) { in WifiCmdFillKeyInner()
127 if (!HdfSbufReadUint32(reqData, &(keyExt->keyIdx)) || keyExt == NULL) { in WifiCmdFillKeyInner()
131 if (!HdfSbufReadUint32(reqData, &(keyExt->cipher)) || keyExt == NULL) { in WifiCmdFillKeyInner()
135 if (!HdfSbufReadUint8(reqData, &(keyExt->def)) || keyExt == NULL) { in WifiCmdFillKeyInner()
139 if (!HdfSbufReadUint8(reqData, &(keyExt->defMgmt)) || keyExt == NULL) { in WifiCmdFillKeyInner()
143 if (!HdfSbufReadUint8(reqData, &(keyExt->defaultTypes)) || keyExt == NULL) { in WifiCmdFillKeyInner()
147 if (!HdfSbufReadUint8(reqData, &(keyExt->resv)) || keyExt == NULL) { in WifiCmdFillKeyInner()
151 if (!HdfSbufReadBuffer(reqData, (const void **)&(keyExt->addr), &len)) { in WifiCmdFillKeyInner()
155 if (!HdfSbufReadBuffer(reqData, (const void **)&(keyExt->key), &(keyExt->keyLen))) { in WifiCmdFillKeyInner()
[all …]
/drivers/hdf_core/framework/model/network/wifi/core/components/p2p/
Dp2p.c34 static int32_t WifiCmdRemainOnChannel(const RequestContext *context, struct HdfSBuf *reqData, stru… in WifiCmdRemainOnChannel() argument
42 if (reqData == NULL || rspData == NULL) { in WifiCmdRemainOnChannel()
46 ifName = HdfSbufReadString(reqData); in WifiCmdRemainOnChannel()
56 if (!HdfSbufReadUint32(reqData, &(wifiOnChannel.freq))) { in WifiCmdRemainOnChannel()
60 if (!HdfSbufReadUint32(reqData, &(wifiOnChannel.duration))) { in WifiCmdRemainOnChannel()
85 static int32_t WifiCmdProbeReqReport(const RequestContext *context, struct HdfSBuf *reqData, struct… in WifiCmdProbeReqReport() argument
93 if (reqData == NULL || rspData == NULL) { in WifiCmdProbeReqReport()
97 ifName = HdfSbufReadString(reqData); in WifiCmdProbeReqReport()
107 if (!HdfSbufReadInt32(reqData, &(report))) { in WifiCmdProbeReqReport()
131 static int32_t WifiCmdCancelRemainOnChannel(const RequestContext *context, struct HdfSBuf *reqData, in WifiCmdCancelRemainOnChannel() argument
[all …]
/drivers/hdf_core/framework/test/unittest/model/usb/host/src/
Dusb_raw_test.c309 struct UsbRawFillRequestData reqData; in CheckRawSdkIfFillIsoRequest001() local
315 reqData.endPoint = rawAcm->isoEp.addr; in CheckRawSdkIfFillIsoRequest001()
316 reqData.numIsoPackets = USB_ISO_PACKAT_CNT; in CheckRawSdkIfFillIsoRequest001()
317 reqData.callback = AcmWriteIsoCallback; in CheckRawSdkIfFillIsoRequest001()
318 reqData.timeout = USB_CTRL_SET_TIMEOUT; in CheckRawSdkIfFillIsoRequest001()
319 reqData.buffer = (unsigned char *)sendData; in CheckRawSdkIfFillIsoRequest001()
320 reqData.length = size; in CheckRawSdkIfFillIsoRequest001()
321 int32_t ret = UsbRawFillIsoRequest(rawAcm->isoReq, rawAcm->devHandle, &reqData); in CheckRawSdkIfFillIsoRequest001()
331 struct UsbRawFillRequestData reqData; in CheckRawSdkIfFillIsoRequest002() local
338 reqData.endPoint = rawAcm->isoEp.addr; in CheckRawSdkIfFillIsoRequest002()
[all …]
/drivers/hdf_core/framework/model/audio/dispatch/src/
Daudio_control_dispatch.c112 struct HdfSBuf *reqData, struct HdfSBuf *rspData) in ControlHostElemInfo() argument
117 if (reqData == NULL) { in ControlHostElemInfo()
127 if (!HdfSbufReadInt32(reqData, &id.iface)) { in ControlHostElemInfo()
132 id.cardServiceName = HdfSbufReadString(reqData); in ControlHostElemInfo()
138 id.itemName = HdfSbufReadString(reqData); in ControlHostElemInfo()
148 struct HdfSBuf *reqData, struct HdfSBuf *rspData) in ControlHostElemUnloadCard() argument
155 if (reqData == NULL) { in ControlHostElemUnloadCard()
160 driverName = HdfSbufReadString(reqData); in ControlHostElemUnloadCard()
239 struct HdfSBuf *reqData, struct HdfSBuf *rspData) in ControlHostElemGetCard() argument
246 (void)reqData; in ControlHostElemGetCard()
[all …]
/drivers/hdf_core/framework/model/network/wifi/platform/include/message/
Dsidecar.h43 int32_t DispatchToMessage(struct HdfDeviceIoClient *client, int id, struct HdfSBuf *reqData, struct…
49 typedef void (*MessageCallBack)(const RequestContext *context, struct HdfSBuf *reqData, struct HdfS…
52 typedef ErrorCode (*MessageHandler)(const RequestContext *context, struct HdfSBuf *reqData, struct …
60 struct HdfSBuf *reqData; member
71 struct HdfSBuf *reqData);
77 struct HdfSBuf *reqData, MessageCallBack callback);
/drivers/hdf_core/framework/model/camera/device_impl/src/
Dcamera_stream.c133 struct HdfSBuf *reqData, struct CameraCtrlConfig *ctrlConfig) in CameraReceiveFmtData() argument
137 isFailed |= !HdfSbufReadUint32(reqData, &ctrlConfig->pixelFormat.pixel.format); in CameraReceiveFmtData()
138 isFailed |= !HdfSbufReadUint32(reqData, &ctrlConfig->pixelFormat.pixel.width); in CameraReceiveFmtData()
139 isFailed |= !HdfSbufReadUint32(reqData, &ctrlConfig->pixelFormat.pixel.height); in CameraReceiveFmtData()
149 ret = CameraReceiveFmtData(comDev->camId, comDev->driverName, comDev->reqData, &ctrlConfig); in CameraSetFormat()
186 static int32_t CameraReceiveCropData(struct HdfSBuf *reqData, struct CameraCtrlConfig *ctrlConfig) in CameraReceiveCropData() argument
190 isFailed |= !HdfSbufReadInt32(reqData, &ctrlConfig->pixelFormat.crop.left); in CameraReceiveCropData()
191 isFailed |= !HdfSbufReadInt32(reqData, &ctrlConfig->pixelFormat.crop.top); in CameraReceiveCropData()
192 isFailed |= !HdfSbufReadUint32(reqData, &ctrlConfig->pixelFormat.crop.width); in CameraReceiveCropData()
193 isFailed |= !HdfSbufReadUint32(reqData, &ctrlConfig->pixelFormat.crop.height); in CameraReceiveCropData()
[all …]
/drivers/hdf_core/framework/model/camera/utils/include/
Dcamera_utils.h37 int32_t CameraGetDeviceInfo(int type, struct HdfSBuf *reqData,
39 int32_t CameraGetStreamDevInfo(int type, struct HdfSBuf *reqData, struct CameraDevice **camDev);
40 int32_t CameraGetNames(int type, struct HdfSBuf *reqData, const char **deviceName, const char **dri…
45 int32_t CameraGetDevice(struct HdfSBuf *reqData, struct CommonDevice *comDev);
47 struct HdfSBuf *reqData, struct HdfSBuf *rspData, struct CommonDevice *comDev);
/drivers/hdf_core/framework/model/display/driver/backlight/
Dhdf_bl.c29 struct HdfSBuf *reqData, struct HdfSBuf *rspData);
271 struct HdfSBuf *reqData, struct HdfSBuf *rspData) in HdfGetBrightness() argument
278 if (reqData == NULL) { in HdfGetBrightness()
281 if (!HdfSbufReadUint32(reqData, &devId)) { in HdfGetBrightness()
300 struct HdfSBuf *reqData, struct HdfSBuf *rspData) in HdfGetMinBrightness() argument
303 return HdfGetBrightness(MIN_BRIGHTNESS, reqData, rspData); in HdfGetMinBrightness()
307 struct HdfSBuf *reqData, struct HdfSBuf *rspData) in HdfGetCurrBrightness() argument
310 return HdfGetBrightness(CURRENT_BRIGHTNESS, reqData, rspData); in HdfGetCurrBrightness()
314 struct HdfSBuf *reqData, struct HdfSBuf *rspData) in HdfGetDefBrightness() argument
317 return HdfGetBrightness(DEFAULT_BRIGHTNESS, reqData, rspData); in HdfGetDefBrightness()
[all …]
/drivers/hdf_core/framework/model/misc/dsoftbus/src/
Dwlan_param_monitor.c63 void SoftbusWlanParamMonitorProcess(const struct HdfSBuf *reqData, struct HdfSBuf *rspData) in SoftbusWlanParamMonitorProcess() argument
70 if (reqData == NULL) { in SoftbusWlanParamMonitorProcess()
74 if (!HdfSbufReadBuffer((struct HdfSBuf *)reqData, &data, &dataSize)) { in SoftbusWlanParamMonitorProcess()
/drivers/hdf_core/framework/model/network/wifi/platform/src/message/
Dsidecar.c54 context->reqData = sendData; in CreateMessageContext()
73 int32_t DispatchToMessage(struct HdfDeviceIoClient *client, int id, struct HdfSBuf *reqData, struct… in DispatchToMessage() argument
87 context = CreateMessageContext(RESERVED_SERVICE_ID, serviceId, cmd, reqData); in DispatchToMessage()
146 struct HdfSBuf *reqData, MessageCallBack callback) in SideCarSendAsyncMessageInner() argument
152 ErrorCode errCode = MessageInputCheck(sideCar, receiver, reqData); in SideCarSendAsyncMessageInner()
158 context = CreateMessageContext(privateData->serviceId, receiver, commandId, reqData); in SideCarSendAsyncMessageInner()
191 struct HdfSBuf *reqData, MessageCallBack callback) in SideCarSendAsyncMessage() argument
197 return SideCarSendAsyncMessageInner(sideCar, receiver, commandId, reqData, callback); in SideCarSendAsyncMessage()
201 struct HdfSBuf *reqData) in SideCarSendOneWayMessage() argument
203 return SideCarSendAsyncMessageInner(sideCar, receiver, commandId, reqData, NULL); in SideCarSendOneWayMessage()
/drivers/hdf_core/framework/model/misc/dsoftbus/include/
Dmodule_manager.h28 typedef void (*SoftbusDriverModuleProcess)(const struct HdfSBuf *reqData, struct HdfSBuf *rspData);
39 void SoftbusDispatchModuleCommand(int32_t moduleId, const struct HdfSBuf *reqData, struct HdfSBuf *…
/drivers/peripheral/usb/sample/host/src/
Dusbhost_sdkraw_speed.c322 struct UsbRawFillRequestData reqData; in UsbAllocDataRequests() local
323 reqData.endPoint = acm->dataEp->addr; in UsbAllocDataRequests()
324 reqData.numIsoPackets = 0; in UsbAllocDataRequests()
325 reqData.callback = AcmTestBulkCallback; in UsbAllocDataRequests()
326 reqData.userData = (void *)snd; in UsbAllocDataRequests()
327 reqData.timeout = USB_CTRL_SET_TIMEOUT; in UsbAllocDataRequests()
328 reqData.buffer = snd->buf; in UsbAllocDataRequests()
329 reqData.length = acm->dataSize; in UsbAllocDataRequests()
331 int32_t ret = UsbRawFillBulkRequest(snd->request, acm->devHandle, &reqData); in UsbAllocDataRequests()
494 struct UsbRawFillRequestData reqData; in SerialBegin() local
[all …]
/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/message/
Dhdf_single_node_message_test.c38 static ErrorCode FuncNoLoad(const RequestContext *context, struct HdfSBuf *reqData, struct HdfSBuf … in FuncNoLoad() argument
40 (void)reqData; in FuncNoLoad()
46 static ErrorCode FuncSmallLoad(const RequestContext *context, struct HdfSBuf *reqData, struct HdfSB… in FuncSmallLoad() argument
52 (void)reqData; in FuncSmallLoad()
237 static void SendMessageTestCallBack(const RequestContext *context, struct HdfSBuf *reqData, struct … in SendMessageTestCallBack() argument
244 (void)reqData; in SendMessageTestCallBack()
276 static void SendMessagePerfTestCallBack(const RequestContext *context, struct HdfSBuf *reqData, str… in SendMessagePerfTestCallBack() argument
280 (void)reqData; in SendMessagePerfTestCallBack()
/drivers/hdf_core/framework/model/camera/utils/src/
Dcamera_utils.c457 int32_t CameraGetDeviceInfo(int type, struct HdfSBuf *reqData, in CameraGetDeviceInfo() argument
463 deviceName = HdfSbufReadString(reqData); in CameraGetDeviceInfo()
479 *driverName = HdfSbufReadString(reqData); in CameraGetDeviceInfo()
493 int32_t CameraGetNames(int type, struct HdfSBuf *reqData, const char **deviceName, const char **dri… in CameraGetNames() argument
497 *deviceName = HdfSbufReadString(reqData); in CameraGetNames()
504 *driverName = HdfSbufReadString(reqData); in CameraGetNames()
572 int32_t CameraGetDevice(struct HdfSBuf *reqData, struct CommonDevice *comDev) in CameraGetDevice() argument
576 if (!HdfSbufReadInt32(reqData, &comDev->type)) { in CameraGetDevice()
580 if (!HdfSbufReadInt32(reqData, &comDev->permissionId)) { in CameraGetDevice()
586 …ret = CameraGetDeviceInfo(comDev->type, reqData, &comDev->driverName, &comDev->camId, &comDev->cam… in CameraGetDevice()
[all …]

123