Home
last modified time | relevance | path

Searched refs:HdfSbufWriteBuffer (Results 1 – 25 of 79) sorted by relevance

1234

/drivers/peripheral/wlan/client/src/sbuf/
Dsbuf_wpa_cmd_adapter.c47 isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, buf, length); in WifiEapolPacketSend()
193 …isSerializeFailed || !HdfSbufWriteBuffer(data, apsettings->beaconData.head, apsettings->beaconData… in WifiCmdSetAp()
195 …isSerializeFailed || !HdfSbufWriteBuffer(data, apsettings->beaconData.tail, apsettings->beaconData… in WifiCmdSetAp()
196 …isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, apsettings->ssid, apsettings->s… in WifiCmdSetAp()
197 …isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, apsettings->meshSsid, apsetting… in WifiCmdSetAp()
225 …isSerializeFailed || !HdfSbufWriteBuffer(data, apsettings->beaconData.head, apsettings->beaconData… in WifiCmdChangeBeacon()
227 …isSerializeFailed || !HdfSbufWriteBuffer(data, apsettings->beaconData.tail, apsettings->beaconData… in WifiCmdChangeBeacon()
228 …isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, apsettings->ssid, apsettings->s… in WifiCmdChangeBeacon()
229 …isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, apsettings->meshSsid, apsetting… in WifiCmdChangeBeacon()
254 isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, mlme, sizeof(WifiMlmeData)); in WifiCmdSendMlme()
[all …]
Dsbuf_cmd_adapter.c348 if (!HdfSbufWriteBuffer(data, mac, len)) { in SetMacAddr()
513 if (!HdfSbufWriteBuffer(data, code, len)) { in WifiSetCountryCode()
545 if (!HdfSbufWriteBuffer(data, scanMac, len)) { in SetScanMacAddr()
829 isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, scan->bssid, 0); in WifiCmdScan()
831 … isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, scan->bssid, ETH_ADDR_LEN); in WifiCmdScan()
834 …isSerializeFailed || !HdfSbufWriteBuffer(data, scan->ssids, sizeof(scan->ssids[0]) * scan->numSsid… in WifiCmdScan()
835 …isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, scan->extraIes, scan->extraIesL… in WifiCmdScan()
837 …isSerializeFailed || !HdfSbufWriteBuffer(data, scan->freqs, sizeof(scan->freqs[0]) * scan->numFreq… in WifiCmdScan()
866 if (!HdfSbufWriteBuffer(data, measParam, sizeof(struct MeasParam))) { in StartChannelMeas()
897 if (!HdfSbufWriteBuffer(req, param->buf, param->bufLen)) { in SetProjectionScreenParam()
[all …]
/drivers/hdf_core/framework/model/network/wifi/platform/src/
Dhdf_wifi_event.c48 !HdfSbufWriteBuffer(data, info->assocReqIes, info->assocReqIesLen) || in HdfWifiEventNewSta()
49 !HdfSbufWriteBuffer(data, macAddr, addrLen)) { in HdfWifiEventNewSta()
79 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteBuffer(data, macAddr, addrLen)) { in HdfWifiEventDelSta()
116 !HdfSbufWriteBuffer(data, bssInfo->mgmt->bssid, ETH_ADDR_LEN) || in HdfWifiEventInformBssFrame()
117 !HdfSbufWriteBuffer(data, bssInfo->mgmt->u.probeResp.variable, ieLen) || in HdfWifiEventInformBssFrame()
118 !HdfSbufWriteBuffer(data, bssInfo->mgmt->u.beacon.variable, beaconLen)) { in HdfWifiEventInformBssFrame()
221 …!HdfSbufWriteUint16(data, result->freq) || !HdfSbufWriteBuffer(data, result->bssid, ETH_ADDR_LEN) … in HdfWifiEventConnectResult()
222 !HdfSbufWriteBuffer(data, result->reqIe, result->reqIeLen) || in HdfWifiEventConnectResult()
223 !HdfSbufWriteBuffer(data, result->rspIe, result->rspIeLen)) { in HdfWifiEventConnectResult()
258 !HdfSbufWriteBuffer(data, ie, len)) { in HdfWifiEventDisconnected()
[all …]
/drivers/peripheral/codec/test/fuzztest/omx_fuzzer/codecomx_fuzzer/
Dcodec_fuzzer.cpp58 HdfSbufWriteBuffer(data, CODEC_INTERFACE_TOKEN.c_str(), CODEC_INTERFACE_TOKEN.length()); in CodecFuzzTest()
59 HdfSbufWriteBuffer(data, rawData, size); in CodecFuzzTest()
/drivers/hdf_core/framework/model/input/driver/
Devent_hub.c57 if (!HdfSbufWriteBuffer(inputDev->pkgBuf, &package, sizeof(EventPackage))) { in PushOnePackage()
70 if (!HdfSbufWriteBuffer(inputDev->pkgBuf, NULL, 0)) { in PushOnePackage()
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample_driver/
Dsample_hdi.h122 if (!HdfSbufWriteBuffer(data, dataBlock, sizeof(struct DataBlock))) { in DataBlockBlockMarshalling()
126 if (!HdfSbufWriteBuffer(data, dataBlock->str, strlen(dataBlock->str) + 1)) { in DataBlockBlockMarshalling()
/drivers/hdf_core/framework/test/unittest/platform/common/
Dspi_driver_test.c36 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in SpiTestDispatch()
40 if (!HdfSbufWriteBuffer(reply, g_config.wbuf, g_config.len)) { in SpiTestDispatch()
Dpcie_bus_driver_test.c30 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in PcieBusTestDispatch()
Dclock_driver_test.c29 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in ClockTestDispatch()
Dwatchdog_driver_test.c29 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in WatchdogTestDispatch()
Dtimer_driver_test.c28 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in TimerTestDispatch()
Dadc_driver_test.c29 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in AdcTestDispatch()
Ddac_driver_test.c30 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in DacTestDispatch()
/drivers/hdf_core/framework/model/sensor/driver/common/src/
Dsensor_device_manager.c106 if (!HdfSbufWriteBuffer(msg, events, sizeof(*events))) { in ReportSensorEvent()
112 if (!HdfSbufWriteBuffer(msg, events->data, events->dataLen)) { in ReportSensorEvent()
147 if (!HdfSbufWriteBuffer(reply, sensorInfo, sizeof(*sensorInfo))) { in GetAllSensorInfo()
247 if (!HdfSbufWriteBuffer(reply, &events, sizeof(events))) { in ReadData()
252 if (!HdfSbufWriteBuffer(reply, events.data, events.dataLen)) { in ReadData()
/drivers/hdf_core/framework/support/platform/src/hdmi/
Dhdmi_if.c137 if (!HdfSbufWriteBuffer(buf, &enable, sizeof(enable))) { in HdmiUserAvmuteSet()
167 if (!HdfSbufWriteBuffer(buf, &color, sizeof(color))) { in HdmiUserDeepColorSet()
200 if (!HdfSbufWriteBuffer(buf, attr, sizeof(struct HdmiVideoAttr))) { in HdmiUserSetVideoAttribute()
234 if (!HdfSbufWriteBuffer(buf, attr, sizeof(struct HdmiAudioAttr))) { in HdmiUserSetAudioAttribute()
268 if (!HdfSbufWriteBuffer(buf, attr, sizeof(struct HdmiHdrAttr))) { in HdmiUserSetHdrAttribute()
373 if (!HdfSbufWriteBuffer(buf, (void *)&addr, sizeof(uint32_t))) { in HdmiUserRegisterHpdCallbackFunc()
Dhdmi_dispatch.c115 if (HdfSbufWriteBuffer(reply, &color, sizeof(color)) == false) { in HdmiCmdDeepColorGet()
176 if (HdfSbufWriteBuffer(reply, edid, HDMI_EDID_TOTAL_SIZE) == false) { in HdmiCmdReadSinkEdid()
220 if (HdfSbufWriteBuffer(reply, &frame, sizeof(frame)) == false) { in HdmiCmdInfoFrameGet()
/drivers/hdf_core/framework/support/platform/src/uart/
Duart_service.c46 if (!HdfSbufWriteBuffer(reply, (ret == 0) ? NULL : buf, ret)) { in UartIoRead()
106 if (!HdfSbufWriteBuffer(reply, &attribute, sizeof(attribute))) { in UartIoGetAttribute()
/drivers/hdf_core/framework/model/misc/dsoftbus/src/
Dwlan_param_monitor.c47 if (!HdfSbufWriteBuffer(data, (const void *)&info, sizeof(info))) { in ProcessRequestParam()
/drivers/hdf_core/framework/test/unittest/common/
Dhdf_common_test.c64 if (!HdfSbufWriteBuffer(g_msg, msg, sizeof(*msg))) { in HdfTestSendMsgToService()
/drivers/hdf_core/adapter/khdf/liteos/model/misc/dsoftbus/src/
Dsoftbus_lwip_monitor.c65 if (!HdfSbufWriteBuffer(data, (const void *)reportInfo, sizeof(LwipMonitorReportInfo))) { in ReportEvent()
/drivers/hdf_core/framework/sample/platform/uart/dispatch/
Duart_if.c70 if (!HdfSbufWriteBuffer(sBuf, data, size)) { in UartWrite()
/drivers/hdf_core/framework/test/unittest/platform/config/
Dcan_test_config.c32 if (!HdfSbufWriteBuffer(reply, &g_config, sizeof(g_config))) { in CanTestDispatch()
/drivers/hdf_core/framework/test/fuzztest/devmgrservicestub_fuzzer/
Ddevmgrservicestub_fuzzer.cpp89 if (!HdfSbufWriteBuffer(dataBuf, data, size)) { in AttachDeviceHostFuzzTest()
/drivers/hdf_core/framework/test/fuzztest/devsvcmanagerstub_fuzzer/
Ddevsvcmanagerstub_fuzzer.cpp92 if (!HdfSbufWriteBuffer(dataBuf, data, size)) { in DevsvcManagerFuzzTest()
/drivers/hdf_core/framework/model/storage/src/mmc/
Dmmc_dispatch.c54 if (HdfSbufWriteBuffer(reply, cid, EMMC_CID_LEN) == false) { in EmmcCmdGetCid()

1234