Home
last modified time | relevance | path

Searched refs:HdfSbufWriteString (Results 1 – 25 of 87) sorted by relevance

1234

/drivers/peripheral/codec/hal/src/
Dcodec_dfx_service.c28 HdfSbufWriteString(reply, "please enter -h for help!! \n"); in DevCodecHostDump()
33 HdfSbufWriteString(reply, "-h: codec dump help ! \n"); in DevCodecHostDump()
34 HdfSbufWriteString(reply, "-l: dump codec components info list ! \n"); in DevCodecHostDump()
60 HdfSbufWriteString(reply, dump); in DevCodecHostDump()
61HdfSbufWriteString(reply, "--------------------------------------------------------------------- \… in DevCodecHostDump()
67 HdfSbufWriteString(reply, "unknow param, please enter -h for help! \n"); in DevCodecHostDump()
/drivers/hdf_core/adapter/uhdf2/manager/src/
Ddevmgr_dump.c61 (void)HdfSbufWriteString(reply, "The host does not start\n"); in DevMgrDumpHostFindHost()
69 (void)HdfSbufWriteString(reply, "The host does not exist\n"); in DevMgrDumpHostFindHost()
89 if (!HdfSbufWriteString(hostData, "dumpHost")) { in DevMgrDumpHost()
102 if (value == NULL || !HdfSbufWriteString(hostData, value)) { in DevMgrDumpHost()
147 (void)HdfSbufWriteString(reply, "The service does not exist\n"); in DevMgrDumpServiceFindHost()
165 if (!HdfSbufWriteString(servData, "dumpService")) { in DevMgrDumpService()
171 if (!HdfSbufWriteString(servData, servName)) { in DevMgrDumpService()
184 if (value == NULL || !HdfSbufWriteString(servData, value)) { in DevMgrDumpService()
219 (void)HdfSbufWriteString(reply, line); in DevMgrFillDeviceHostInfo()
272 (void)HdfSbufWriteString(reply, line); in DevMgrFillDeviceInfo()
[all …]
/drivers/peripheral/codec/hal/idl_service/src/
Dcodec_dfx_service.cpp74 if (!HdfSbufWriteString(reply, dump.c_str())) { in GetCodecComponentListInfo()
78 …if (!HdfSbufWriteString(reply, "------------------------------------------------------------------… in GetCodecComponentListInfo()
109 if (!HdfSbufWriteString(CodecDfxService::GetReply(), memInfo)) { in WriteMemoryInfo()
125 if (!HdfSbufWriteString(reply, "please enter -h for help! \n")) { in DevCodecHostDump()
134 if (!HdfSbufWriteString(reply, "-h: codec dump help! \n")) { in DevCodecHostDump()
138 if (!HdfSbufWriteString(reply, "-l: dump codec components info list! \n")) { in DevCodecHostDump()
148 HdfSbufWriteString(reply, "unknow param, please enter -h for help! \n"); in DevCodecHostDump()
/drivers/hdf_core/adapter/uhdf2/shared/test/
Ddev_attribute_serialize_test.cpp163 ret = HdfSbufWriteString(buf, "test_service");
186 ret = HdfSbufWriteString(buf, "test_service");
189 ret = HdfSbufWriteString(buf, "test_module");
212 ret = HdfSbufWriteString(buf, "test_service");
215 ret = HdfSbufWriteString(buf, "test_module");
218 ret = HdfSbufWriteString(buf, "test_device");
241 ret = HdfSbufWriteString(buf, "test_service");
244 ret = HdfSbufWriteString(buf, "test_module");
247 ret = HdfSbufWriteString(buf, "test_device");
273 ret = HdfSbufWriteString(buf, "test_service");
[all …]
/drivers/hdf_core/framework/model/network/wifi/platform/src/
Dhdf_wifi_event.c47 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint32(data, reassoc) || in HdfWifiEventNewSta()
79 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteBuffer(data, macAddr, addrLen)) { in HdfWifiEventDelSta()
111 if (!HdfSbufWriteString(data, netDev->name) || in HdfWifiEventInformBssFrame()
146 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint32(data, code)) { in HdfWifiEventScanDone()
220 … if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint16(data, result->connectStatus) || in HdfWifiEventConnectResult()
257 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint16(data, reason) || in HdfWifiEventDisconnected()
285 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint8(data, ack) || in HdfWifiEventMgmtTxStatus()
313 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint32(data, freq)) { in HdfWifiEventCsaChannelSwitch()
339 if (!HdfSbufWriteString(data, netDev->name)) { in HdfWifiEventTimeoutDisconnected()
366 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint32(data, freq) || in HdfWifiEventRxMgmt()
[all …]
/drivers/peripheral/usb/sample/device/linux/
Dprop_test.c76 if (!HdfSbufWriteString(g_data, propName)) { in TestPropGet()
99 if (!HdfSbufWriteString(g_data, propName)) { in TestPropSet()
103 if (!HdfSbufWriteString(g_data, propValue)) { in TestPropSet()
124 if (!HdfSbufWriteString(g_data, propName)) { in TestPropRegist()
128 if (!HdfSbufWriteString(g_data, propValue)) { in TestPropRegist()
/drivers/hdf_core/adapter/uhdf2/shared/src/
Ddev_attribute_serialize.c33 !HdfSbufWriteString(sbuf, attribute->svcName) || in DeviceAttributeSerialize()
34 !HdfSbufWriteString(sbuf, attribute->moduleName) || in DeviceAttributeSerialize()
35 !HdfSbufWriteString(sbuf, attribute->deviceName)) { in DeviceAttributeSerialize()
41 !HdfSbufWriteString(sbuf, attribute->deviceMatchAttr)) { in DeviceAttributeSerialize()
/drivers/peripheral/usb/sample/device/liteos/lib/src/
Dlib_acm_test.c99 (void)HdfSbufWriteString(g_data, buf); in AcmWrite()
143 (void)HdfSbufWriteString(g_data, propName); in acm_prop_regist()
144 (void)HdfSbufWriteString(g_data, propValue); in acm_prop_regist()
161 (void)HdfSbufWriteString(g_data, propName); in acm_prop_write()
162 (void)HdfSbufWriteString(g_data, propValue); in acm_prop_write()
183 (void)HdfSbufWriteString(g_data, propName); in acm_prop_read()
/drivers/peripheral/usb/sample/device/liteos/
Dprop_test.c84 if (!HdfSbufWriteString(g_data, propName)) { in TestPropGet()
107 if (!HdfSbufWriteString(g_data, propName)) { in TestPropSet()
111 if (!HdfSbufWriteString(g_data, propValue)) { in TestPropSet()
132 if (!HdfSbufWriteString(g_data, propName)) { in TestPropRegist()
136 if (!HdfSbufWriteString(g_data, propValue)) { in TestPropRegist()
/drivers/peripheral/wlan/client/src/sbuf/
Dsbuf_wpa_cmd_adapter.c46 isSerializeFailed = isSerializeFailed || !HdfSbufWriteString(data, ifName); in WifiEapolPacketSend()
79 if (!HdfSbufWriteString(data, ifName)) { in WifiEapolPacketReceive()
128 if (HdfSbufWriteString(data, ifName)) { in WifiEapolEnable()
151 if (HdfSbufWriteString(data, ifName)) { in WifiEapolDisable()
176 isSerializeFailed = isSerializeFailed || !HdfSbufWriteString(data, ifName); in WifiCmdSetAp()
223 isSerializeFailed = isSerializeFailed || !HdfSbufWriteString(data, ifName); in WifiCmdChangeBeacon()
253 isSerializeFailed = isSerializeFailed || !HdfSbufWriteString(data, ifName); in WifiCmdSendMlme()
282 isSerializeFailed = isSerializeFailed || !HdfSbufWriteString(data, ifName); in WifiCmdOperKey()
337 isSerializeFailed = isSerializeFailed || !HdfSbufWriteString(data, ifName); in WifiCmdSetMode()
368 if (HdfSbufWriteString(data, ifName)) { in WifiCmdGetOwnMac()
[all …]
Dsbuf_cmd_adapter.c343 if (!HdfSbufWriteString(data, ifName)) { in SetMacAddr()
374 if (!HdfSbufWriteString(data, ifName)) { in GetDevMacAddr()
410 if (!HdfSbufWriteString(data, ifName)) { in GetValidFreqByBand()
446 if (!HdfSbufWriteString(data, ifName)) { in SetTxPower()
477 if (!HdfSbufWriteString(data, ifName)) { in GetAssociatedStas()
508 if (!HdfSbufWriteString(data, ifName)) { in WifiSetCountryCode()
540 if (!HdfSbufWriteString(data, ifName)) { in SetScanMacAddr()
584 if (!HdfSbufWriteString(data, ifName)) { in AcquireChipId()
684 if (!HdfSbufWriteString(data, ifName)) { in SetResetDriver()
763 if (!HdfSbufWriteString(data, ifName)) { in GetCurrentPowerMode()
[all …]
/drivers/peripheral/sensor/hal/src/
Dsensor_dump.c102 (void)HdfSbufWriteString(reply, sensorInfoDate); in SensorShowList()
132 (void)HdfSbufWriteString(reply, sensorInfoDate); in ShowData()
149 (void)HdfSbufWriteString(reply, sensorInfoDate); in SensorShowData()
185 (void)HdfSbufWriteString(reply, g_helpComment); in DevHostSensorDump()
196 (void)HdfSbufWriteString(reply, g_helpComment); in DevHostSensorDump()
/drivers/peripheral/light/hal/src/
Dlight_dump.c73 if (!HdfSbufWriteString(reply, lightInfo)) { in ShowLightInfo()
113 if (!HdfSbufWriteString(reply, lightEffectInfo)) { in ShowLightEffectInfo()
155 if (!HdfSbufWriteString(reply, g_dumpHelp)) { in LightDriverDump()
169 if (!HdfSbufWriteString(reply, g_dumpHelp)) { in LightDriverDump()
/drivers/hdf_core/framework/core/shared/src/
Dservice_status.c18 if (!HdfSbufWriteString(buf, status->serviceName) in ServiceStatusMarshalling()
21 || !HdfSbufWriteString(buf, status->info != NULL ? status->info : "")) { in ServiceStatusMarshalling()
/drivers/hdf_core/framework/support/platform/src/pin/
Dpin_if_u.c113 if (!HdfSbufWriteString(data, pinName)) { in PinGet()
161 if (!HdfSbufWriteString(data, handle)) { in PinPut()
199 if (!HdfSbufWriteString(data, handle)) { in PinSetPull()
250 if (!HdfSbufWriteString(data, handle)) { in PinGetPull()
298 if (!HdfSbufWriteString(data, handle)) { in PinSetStrength()
349 if (!HdfSbufWriteString(data, handle)) { in PinGetStrength()
397 if (!HdfSbufWriteString(data, handle)) { in PinSetFunc()
403 if (!HdfSbufWriteString(data, funcName)) { in PinSetFunc()
472 if (!HdfSbufWriteString(data, handle)) { in PinGetFunc()
/drivers/hdf_core/framework/core/common/src/
Ddevmgr_service_start.c39 HdfSbufWriteString(reply, NULL); in GetDeviceServiceNameByClass()
51 HdfSbufWriteString(reply, NULL); in ListAllService()
62 HdfSbufWriteString(reply, NULL); in ListAllDevice()
/drivers/peripheral/usb/sample/host/src/
Dusbhost_loader_test.c76 HdfSbufWriteString(data, USB_TEST_SAMPLE_MODULE_NAME); in main()
77 HdfSbufWriteString(data, USB_TEST_SAMPLE_SERVICE_NAME); in main()
/drivers/hdf_core/adapter/uhdf2/host/src/
Ddevsvc_manager_proxy.c32 if (!HdfSbufWriteString(data, servInfo->servName)) { in WriteServiceInfo()
58 if (!HdfSbufWriteString(data, info)) { in WriteServiceInfo()
63 if (!HdfSbufWriteString(data, interfaceDesc)) { in WriteServiceInfo()
165 …if (!HdfRemoteServiceWriteInterfaceToken(serviceProxy->remote, data) || !HdfSbufWriteString(data, … in DevSvcManagerProxyGetService()
200 …if (!HdfRemoteServiceWriteInterfaceToken(serviceProxy->remote, data) || !HdfSbufWriteString(data, … in DevSvcManagerProxyRemoveService()
Ddevhost_dump.c137 (void)HdfSbufWriteString(reply, "The host does not register dump function\n"); in DevHostDump()
158 (void)HdfSbufWriteString(reply, "The service does not register dump function\n"); in DevHostDump()
Ddevmgr_service_proxy.c70 !HdfSbufWriteString(data, srvName) || !HdfSbufWriteString(data, deviceName)) { in DevmgrServiceProxyAttachDevice()
113 …if (!HdfRemoteServiceWriteInterfaceToken(remoteService, data) || !HdfSbufWriteString(data, svcName… in DevmgrServiceProxyProcessLoad()
/drivers/peripheral/audio/test/systemtest/common/adm_common/src/
Daudio_adm_common.cpp65 if (!HdfSbufWriteString(sBuf, hwParams.cardServiceName)) { in WriteHwParamsToBuf()
155 if (!HdfSbufWriteString(sBufT, CARD_SEVICE_NAME.c_str())) { in WriteFrameToSBuf()
182 if (!HdfSbufWriteString(sBufT, CARD_SEVICE_NAME.c_str())) { in WriteToSBuf()
202 if (!HdfSbufWriteString(sBufT, CARD_SEVICE_NAME.c_str())) { in WriteCardSeviceNameToSBuf()
309 if (!HdfSbufWriteString(writeBuf, CARD_SEVICE_NAME.c_str())) { in WriteHwParams()
/drivers/hdf_core/framework/core/manager/test/unittest/common/
Dhdf_lite_manager_test.cpp87 EXPECT_TRUE(HdfSbufWriteString(data, "sample_driver"));
88 EXPECT_TRUE(HdfSbufWriteString(data, "sample_service1"));
/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/src/
Dcamera_common.cpp144 isFailed |= !HdfSbufWriteString(reqData, feature.deviceName); in SendDeviceInfo()
145 isFailed |= !HdfSbufWriteString(reqData, feature.driverName); in SendDeviceInfo()
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample1_driver/
Dsample1_driver.c115 HdfSbufWriteString(reply, "sample_host_dump\n"); in DevHostSample1DumpHost()
134 HdfSbufWriteString(reply, "sample1_service_dump\n"); in DevHostSample1DumpService()
/drivers/hdf_core/adapter/khdf/uniproton/core/common/src/
Ddevmgr_service_start.c52 HdfSbufWriteString(reply, NULL); in HdfGetServiceNameByDeviceClass()

1234