/drivers/hdf_core/framework/model/audio/common/src/ |
D | audio_dma_base.c | 16 int32_t AudioDmaBufAlloc(struct PlatformData *data, enum AudioStreamType streamType) in AudioDmaBufAlloc() argument 18 if (data != NULL && data->ops != NULL && data->ops->DmaBufAlloc != NULL) { in AudioDmaBufAlloc() 19 return data->ops->DmaBufAlloc(data, streamType); in AudioDmaBufAlloc() 24 int32_t AudioDmaBufFree(struct PlatformData *data, enum AudioStreamType streamType) in AudioDmaBufFree() argument 26 if (data != NULL && data->ops != NULL && data->ops->DmaBufFree != NULL) { in AudioDmaBufFree() 27 return data->ops->DmaBufFree(data, streamType); in AudioDmaBufFree() 32 int32_t AudioDmaRequestChannel(struct PlatformData *data, enum AudioStreamType streamType) in AudioDmaRequestChannel() argument 34 if (data != NULL && data->ops != NULL && data->ops->DmaRequestChannel != NULL) { in AudioDmaRequestChannel() 35 return data->ops->DmaRequestChannel(data, streamType); in AudioDmaRequestChannel() 40 int32_t AudioDmaConfigChannel(struct PlatformData *data, enum AudioStreamType streamType) in AudioDmaConfigChannel() argument [all …]
|
D | audio_platform_base.c | 186 int32_t AudioSetRenderBufInfo(struct PlatformData *data, const struct AudioPcmHwParams *param) in AudioSetRenderBufInfo() argument 190 if (data == NULL || param == NULL) { in AudioSetRenderBufInfo() 199 data->renderBufInfo.periodSize = param->period * data->renderPcmInfo.bitWidth * in AudioSetRenderBufInfo() 200 data->renderPcmInfo.channels / BITSTOBYTE; in AudioSetRenderBufInfo() 201 data->renderBufInfo.periodCount = PERIOD_COUNT; in AudioSetRenderBufInfo() 202 data->renderBufInfo.trafBufSize = RENDER_TRAF_BUF_SIZE; in AudioSetRenderBufInfo() 204 size = data->renderBufInfo.periodCount * data->renderBufInfo.periodSize; in AudioSetRenderBufInfo() 210 data->renderBufInfo.cirBufSize = size; in AudioSetRenderBufInfo() 214 int32_t AudioSetCaptureBufInfo(struct PlatformData *data, const struct AudioPcmHwParams *param) in AudioSetCaptureBufInfo() argument 216 if (data == NULL || param == NULL) { in AudioSetCaptureBufInfo() [all …]
|
/drivers/hdf_core/framework/model/network/wifi/platform/src/ |
D | hdf_wifi_event.c | 27 struct HdfSBuf *data = NULL; in HdfWifiEventNewSta() local 41 data = HdfSbufObtainDefaultSize(); in HdfWifiEventNewSta() 42 if (data == NULL) { in HdfWifiEventNewSta() 47 if (!HdfSbufWriteString(data, netDev->name) || !HdfSbufWriteUint32(data, reassoc) || in HdfWifiEventNewSta() 48 !HdfSbufWriteBuffer(data, info->assocReqIes, info->assocReqIesLen) || in HdfWifiEventNewSta() 49 !HdfSbufWriteBuffer(data, macAddr, addrLen)) { in HdfWifiEventNewSta() 51 HdfSbufRecycle(data); in HdfWifiEventNewSta() 58 ret = HdfWlanSendBroadcastEvent(WIFI_WPA_EVENT_NEW_STA, data); in HdfWifiEventNewSta() 59 HdfSbufRecycle(data); in HdfWifiEventNewSta() 65 struct HdfSBuf *data = NULL; in HdfWifiEventDelSta() local [all …]
|
/drivers/peripheral/codec/hal/src/ |
D | codec_component_type_proxy.c | 30 static void ReleaseSbuf(struct HdfSBuf *data, struct HdfSBuf *reply) in ReleaseSbuf() argument 32 if (data != NULL) { in ReleaseSbuf() 33 HdfSbufRecycle(data); in ReleaseSbuf() 40 …32_t CodecComponentTypeProxyCall(struct CodecComponentType *self, int32_t id, struct HdfSBuf *data, in CodecComponentTypeProxyCall() argument 49 return remote->dispatcher->Dispatch(remote, id, data, reply); in CodecComponentTypeProxyCall() 68 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); in CodecComponentTypeProxyGetComponentVersion() local 70 if (data == NULL || reply == NULL) { in CodecComponentTypeProxyGetComponentVersion() 72 ReleaseSbuf(data, reply); in CodecComponentTypeProxyGetComponentVersion() 76 if (!HdfRemoteServiceWriteInterfaceToken(self->AsObject(self), data)) { in CodecComponentTypeProxyGetComponentVersion() 78 ReleaseSbuf(data, reply); in CodecComponentTypeProxyGetComponentVersion() [all …]
|
D | codec_types.c | 30 static bool BufferHandleMarshalling(struct HdfSBuf *data, BufferHandle *handle) in BufferHandleMarshalling() argument 38 …if (!HdfSbufWriteUint32(data, handle->reserveFds) || !HdfSbufWriteUint32(data, handle->reserveInts… in BufferHandleMarshalling() 39 !HdfSbufWriteInt32(data, handle->width) || !HdfSbufWriteInt32(data, handle->stride) || in BufferHandleMarshalling() 40 !HdfSbufWriteInt32(data, handle->height) || !HdfSbufWriteInt32(data, handle->size) || in BufferHandleMarshalling() 41 !HdfSbufWriteInt32(data, handle->format) || !HdfSbufWriteInt64(data, handle->usage) || in BufferHandleMarshalling() 42 !HdfSbufWriteUint64(data, handle->phyAddr)) { in BufferHandleMarshalling() 49 if (!HdfSbufWriteUint8(data, validFd)) { in BufferHandleMarshalling() 53 if ((validFd != 0) && !HdfSbufWriteFileDescriptor(data, handle->fd)) { in BufferHandleMarshalling() 59 if (!HdfSbufWriteFileDescriptor(data, handle->reserve[i])) { in BufferHandleMarshalling() 66 if (!HdfSbufWriteInt32(data, handle->reserve[i + handle->reserveFds])) { in BufferHandleMarshalling() [all …]
|
D | codec_callback_type_proxy.c | 29 static void ReleaseSbuf(struct HdfSBuf *data, struct HdfSBuf *reply) in ReleaseSbuf() argument 31 if (data != NULL) { in ReleaseSbuf() 32 HdfSbufRecycle(data); in ReleaseSbuf() 39 …nt32_t CodecCallbackTypeProxyCall(struct CodecCallbackType *self, int32_t id, struct HdfSBuf *data, in CodecCallbackTypeProxyCall() argument 50 return self->remote->dispatcher->Dispatch(self->remote, id, data, reply); in CodecCallbackTypeProxyCall() 53 static int32_t WriteArray(struct HdfSBuf *data, int8_t *array, uint32_t arrayLen) in WriteArray() argument 55 if (!HdfSbufWriteUint32(data, arrayLen)) { in WriteArray() 60 if (!HdfSbufWriteInt8(data, array[i])) { in WriteArray() 68 static int32_t WriteEventInfo(struct HdfSBuf *data, struct EventInfo *info) in WriteEventInfo() argument 74 if (!HdfSbufWriteInt64(data, info->appData)) { in WriteEventInfo() [all …]
|
D | codec_component_manager_proxy.c | 40 static void ReleaseSbuf(struct HdfSBuf *data, struct HdfSBuf *reply) in ReleaseSbuf() argument 42 if (data != NULL) { in ReleaseSbuf() 43 HdfSbufRecycle(data); in ReleaseSbuf() 53 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); in GetComponentNum() local 54 if (data == NULL) { in GetComponentNum() 61 HdfSbufRecycle(data); in GetComponentNum() 65 if (!HdfRemoteServiceWriteInterfaceToken(g_codecComponentManagerProxy.remoteOmx, data)) { in GetComponentNum() 67 ReleaseSbuf(data, reply); in GetComponentNum() 72 …g_codecComponentManagerProxy.remoteOmx, CMD_CODEC_GET_COMPONENT_NUM, data, reply) != HDF_SUCCESS) { in GetComponentNum() 74 ReleaseSbuf(data, reply); in GetComponentNum() [all …]
|
/drivers/hdf_core/framework/support/platform/src/fwk/ |
D | platform_dumper.c | 16 struct PlatformDumperData data; member 18 void (*printFunc)(const struct DumperDataMgrNode *data); 44 static void DumperPrintUint8Info(const struct DumperDataMgrNode *data) in DumperPrintUint8Info() argument 46 uint8_t *val = (uint8_t *)(data->data.paddr); in DumperPrintUint8Info() 49 …rintf_s(info, DUMPER_INFO_FILE_LEN + 1, DUMPER_INFO_FILE_LEN, data->printFormat, data->data.name, … in DumperPrintUint8Info() 55 static void DumperPrintUint16Info(const struct DumperDataMgrNode *data) in DumperPrintUint16Info() argument 57 uint16_t *val = (uint16_t *)(data->data.paddr); in DumperPrintUint16Info() 60 …rintf_s(info, DUMPER_INFO_FILE_LEN + 1, DUMPER_INFO_FILE_LEN, data->printFormat, data->data.name, … in DumperPrintUint16Info() 66 static void DumperPrintUint32Info(const struct DumperDataMgrNode *data) in DumperPrintUint32Info() argument 68 uint32_t *val = (uint32_t *)(data->data.paddr); in DumperPrintUint32Info() [all …]
|
/drivers/peripheral/display/hdi_service/device/include/server/ |
D | display_device_stub.h | 38 int32_t OnRemoteRequest(int cmdId, MessageParcel *data, MessageParcel *reply); 40 int32_t RegHotPlugCallback(MessageParcel *data, MessageParcel *reply); 41 int32_t GetDisplayCapability(MessageParcel *data, MessageParcel *reply); 42 int32_t GetDisplaySupportedModes(MessageParcel *data, MessageParcel *reply); 43 int32_t GetDisplayMode(MessageParcel *data, MessageParcel *reply); 44 int32_t SetDisplayMode(MessageParcel *data, MessageParcel *reply); 45 int32_t GetDisplayPowerStatus(MessageParcel *data, MessageParcel *reply); 46 int32_t SetDisplayPowerStatus(MessageParcel *data, MessageParcel *reply); 47 int32_t GetDisplayBackLight(MessageParcel *data, MessageParcel *reply); 48 int32_t SetDisplayBackLight(MessageParcel *data, MessageParcel *reply); [all …]
|
/drivers/peripheral/wlan/client/src/sbuf/ |
D | sbuf_wpa_cmd_adapter.c | 34 struct HdfSBuf *data = NULL; in WifiEapolPacketSend() local 40 data = HdfSbufObtainDefaultSize(); in WifiEapolPacketSend() 41 if (data == NULL) { in WifiEapolPacketSend() 46 isSerializeFailed = isSerializeFailed || !HdfSbufWriteString(data, ifName); in WifiEapolPacketSend() 47 isSerializeFailed = isSerializeFailed || !HdfSbufWriteBuffer(data, buf, length); in WifiEapolPacketSend() 52 ret = SendCmdSync(WIFI_WPA_CMD_SEND_EAPOL, data, NULL); in WifiEapolPacketSend() 54 HdfSbufRecycle(data); in WifiEapolPacketSend() 64 struct HdfSBuf *data = NULL; in WifiEapolPacketReceive() local 71 data = HdfSbufObtainDefaultSize(); in WifiEapolPacketReceive() 74 if (data == NULL || respData == NULL) { in WifiEapolPacketReceive() [all …]
|
/drivers/peripheral/codec/hdi_service/codec_proxy/ |
D | codec_proxy.c | 29 int32_t id, struct HdfSBuf *data, struct HdfSBuf *reply) in CodecProxyCall() argument 36 return self->remote->dispatcher->Dispatch(self->remote, id, data, reply); in CodecProxyCall() 39 static int32_t CodecProxyReqSBuf(struct HdfSBuf **data, struct HdfSBuf **reply) in CodecProxyReqSBuf() argument 41 *data = HdfSbufTypedObtain(SBUF_IPC); in CodecProxyReqSBuf() 42 if (*data == NULL) { in CodecProxyReqSBuf() 49 HdfSbufRecycle(*data); in CodecProxyReqSBuf() 54 static void CodecProxySBufRecycle(struct HdfSBuf *data, struct HdfSBuf *reply) in CodecProxySBufRecycle() argument 56 if (data != NULL) { in CodecProxySBufRecycle() 57 HdfSbufRecycle(data); in CodecProxySBufRecycle() 68 struct HdfSBuf *data = NULL; in CodecPorxyInit() local [all …]
|
D | codec_callback_proxy.c | 29 struct HdfSBuf *data, struct HdfSBuf *reply) in CodecCallbackProxyCall() argument 36 return self->remote->dispatcher->Dispatch(self->remote, id, data, reply); in CodecCallbackProxyCall() 39 static int32_t CodecCallbackProxyReqSBuf(struct HdfSBuf **data, struct HdfSBuf **reply) in CodecCallbackProxyReqSBuf() argument 41 *data = HdfSbufTypedObtain(SBUF_IPC); in CodecCallbackProxyReqSBuf() 42 if (*data == NULL) { in CodecCallbackProxyReqSBuf() 49 HdfSbufRecycle(*data); in CodecCallbackProxyReqSBuf() 55 static void CodecCallbackProxySBufRecycle(struct HdfSBuf *data, struct HdfSBuf *reply) in CodecCallbackProxySBufRecycle() argument 57 if (data != NULL) { in CodecCallbackProxySBufRecycle() 58 HdfSbufRecycle(data); in CodecCallbackProxySBufRecycle() 70 struct HdfSBuf *data = NULL; in CodecCallbackProxyOnEvent() local [all …]
|
/drivers/peripheral/codec/test/fuzztest/image_fuzzer/imagedojpegdecode_fuzzer/ |
D | imagedojpegdecode_fuzzer.cpp | 38 static bool FillCodecJpegDecInfo(CodecJpegDecInfo &decInfo, uint8_t *data, size_t size) in FillCodecJpegDecInfo() argument 40 uint8_t *dataEnd = data + size - 1; in FillCodecJpegDecInfo() 41 if (dataEnd < data + sizeof(decInfo.imageWidth)) { in FillCodecJpegDecInfo() 44 decInfo.imageWidth = Convert2Uint32(data); in FillCodecJpegDecInfo() 45 data += sizeof(decInfo.imageWidth); in FillCodecJpegDecInfo() 47 if (dataEnd < data + sizeof(decInfo.imageHeight)) { in FillCodecJpegDecInfo() 50 decInfo.imageHeight = Convert2Uint32(data); in FillCodecJpegDecInfo() 51 data += sizeof(decInfo.imageHeight); in FillCodecJpegDecInfo() 53 if (dataEnd < data + sizeof(decInfo.dataPrecision)) { in FillCodecJpegDecInfo() 56 decInfo.dataPrecision = Convert2Uint32(data); in FillCodecJpegDecInfo() [all …]
|
/drivers/hdf_core/adapter/uhdf2/hdi/test/buffer_handle/ |
D | buffer_handle_test.cpp | 135 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); variable 136 ASSERT_NE(data, nullptr); 142 bool ret = HdfSbufWriteNativeBufferHandle(data, srcHandle); 145 BufferHandle *destHandle = HdfSbufReadNativeBufferHandle(data); 151 HdfSbufRecycle(data); 157 struct HdfSBuf *data = nullptr; variable 159 bool ret = HdfSbufWriteNativeBufferHandle(data, srcHandle); 166 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); variable 167 ASSERT_NE(data, nullptr); 170 bool ret = HdfSbufWriteNativeBufferHandle(data, srcHandle); [all …]
|
/drivers/hdf_core/framework/test/unittest/model/audio/src/ |
D | audio_dma_base_test.c | 18 struct PlatformData data; in AudioDmaBufAllocTest() local 20 (void)memset_s(&data, sizeof(struct PlatformData), 0, sizeof(struct PlatformData)); in AudioDmaBufAllocTest() 26 if (AudioDmaBufAlloc(&data, 0) == HDF_SUCCESS) { in AudioDmaBufAllocTest() 35 struct PlatformData data; in AudioDmaBufFreeTest() local 37 (void)memset_s(&data, sizeof(struct PlatformData), 0, sizeof(struct PlatformData)); in AudioDmaBufFreeTest() 43 if (AudioDmaBufFree(&data, 0) == HDF_SUCCESS) { in AudioDmaBufFreeTest() 52 struct PlatformData data; in AudioDmaRequestChannelTest() local 53 (void)memset_s(&data, sizeof(struct PlatformData), 0, sizeof(struct PlatformData)); in AudioDmaRequestChannelTest() 58 if (AudioDmaRequestChannel(&data, AUDIO_CAPTURE_STREAM) == HDF_SUCCESS) { in AudioDmaRequestChannelTest() 67 struct PlatformData data; in AudioDmaConfigChannelTest() local [all …]
|
/drivers/hdf_core/framework/support/platform/src/gpio/ |
D | gpio_if_u.c | 50 struct HdfSBuf *data = NULL; in GpioRead() local 59 data = HdfSbufObtainDefaultSize(); in GpioRead() 60 if (data == NULL) { in GpioRead() 68 HdfSbufRecycle(data); in GpioRead() 72 if (!HdfSbufWriteUint16(data, (uint16_t)gpio)) { in GpioRead() 74 HdfSbufRecycle(data); in GpioRead() 79 ret = service->dispatcher->Dispatch(&service->object, GPIO_IO_READ, data, reply); in GpioRead() 82 HdfSbufRecycle(data); in GpioRead() 89 HdfSbufRecycle(data); in GpioRead() 94 HdfSbufRecycle(data); in GpioRead() [all …]
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/fuzztest/createrender_fuzzer/ |
D | createrender_fuzzer.cpp | 30 void CreateRenderFuzzTest(const uint8_t* data, size_t size) in CreateRenderFuzzTest() argument 32 if ((data == nullptr) || (size < (sizeof(int32_t)))) { in CreateRenderFuzzTest() 40 .portId = *(reinterpret_cast<const uint32_t*>(data)), in CreateRenderFuzzTest() 41 .pins = *(reinterpret_cast<const AudioPortPin*>(data)), in CreateRenderFuzzTest() 42 .desc = std::string(reinterpret_cast<const char*>(data), size), in CreateRenderFuzzTest() 46 .type = *(reinterpret_cast<const AudioCategory*>(data)), in CreateRenderFuzzTest() 47 .interleaved = *(reinterpret_cast<const uint32_t*>(data)), in CreateRenderFuzzTest() 48 .format = *(reinterpret_cast<const AudioFormat*>(data)), in CreateRenderFuzzTest() 49 .sampleRate = *(reinterpret_cast<const uint32_t*>(data)), in CreateRenderFuzzTest() 50 .channelCount = *(reinterpret_cast<const uint32_t*>(data)), in CreateRenderFuzzTest() [all …]
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/fuzztest/createcapture_fuzzer/ |
D | createcapture_fuzzer.cpp | 30 void CreateCaptureFuzzTest(const uint8_t* data, size_t size) in CreateCaptureFuzzTest() argument 32 if ((data == nullptr) || (size < (sizeof(int32_t)))) { in CreateCaptureFuzzTest() 40 .portId = *(reinterpret_cast<const uint32_t*>(data)), in CreateCaptureFuzzTest() 41 .pins = *(reinterpret_cast<const AudioPortPin*>(data)), in CreateCaptureFuzzTest() 42 .desc = std::string(reinterpret_cast<const char*>(data), size), in CreateCaptureFuzzTest() 46 .type = *(reinterpret_cast<const AudioCategory*>(data)), in CreateCaptureFuzzTest() 47 .interleaved = *(reinterpret_cast<const uint32_t*>(data)), in CreateCaptureFuzzTest() 48 .format = *(reinterpret_cast<const AudioFormat*>(data)), in CreateCaptureFuzzTest() 49 .sampleRate = *(reinterpret_cast<const uint32_t*>(data)), in CreateCaptureFuzzTest() 50 .channelCount = *(reinterpret_cast<const uint32_t*>(data)), in CreateCaptureFuzzTest() [all …]
|
/drivers/peripheral/audio/hal/hdi_binder/server/include/ |
D | hdf_audio_server_render.h | 22 struct HdfSBuf *data, struct HdfSBuf *reply); 24 struct HdfSBuf *data, struct HdfSBuf *reply); 26 struct HdfSBuf *data, struct HdfSBuf *reply); 28 struct HdfSBuf *data, struct HdfSBuf *reply); 30 struct HdfSBuf *data, struct HdfSBuf *reply); 32 struct HdfSBuf *data, struct HdfSBuf *reply); 34 struct HdfSBuf *data, struct HdfSBuf *reply); 36 struct HdfSBuf *data, struct HdfSBuf *reply); 38 struct HdfSBuf *data, struct HdfSBuf *reply); 40 struct HdfSBuf *data, struct HdfSBuf *reply); [all …]
|
/drivers/peripheral/codec/hdi_service/common/ |
D | common_msgproc.c | 21 bool PackBufferHandle(struct HdfSBuf *data, BufferHandle *handle) in PackBufferHandle() argument 28 …if (!HdfSbufWriteUint32(data, handle->reserveFds) || !HdfSbufWriteUint32(data, handle->reserveInts… in PackBufferHandle() 29 !HdfSbufWriteInt32(data, handle->width) || !HdfSbufWriteInt32(data, handle->stride) || in PackBufferHandle() 30 !HdfSbufWriteInt32(data, handle->height) || !HdfSbufWriteInt32(data, handle->size) || in PackBufferHandle() 31 !HdfSbufWriteInt32(data, handle->format) || !HdfSbufWriteInt64(data, handle->usage) || in PackBufferHandle() 32 !HdfSbufWriteUint64(data, handle->phyAddr)) { in PackBufferHandle() 38 if (!HdfSbufWriteUint8(data, validFd)) { in PackBufferHandle() 42 if (validFd && !HdfSbufWriteFileDescriptor(data, handle->fd)) { in PackBufferHandle() 48 if (!HdfSbufWriteFileDescriptor(data, handle->reserve[i])) { in PackBufferHandle() 55 if (!HdfSbufWriteInt32(data, handle->reserve[i + handle->reserveFds])) { in PackBufferHandle() [all …]
|
/drivers/peripheral/display/hdi_service/device/src/proxy/display_device_proxy/ |
D | display_device_proxy.cpp | 99 MessageParcel data; in RegHotPlugCallback() local 102 if (!data.WriteInterfaceToken(DisplayDeviceProxy::GetDescriptor())) { in RegHotPlugCallback() 105 int32_t ret = Remote()->SendRequest(DSP_CMD_REGHOTPLUGCALLBACK, data, reply, option); in RegHotPlugCallback() 125 MessageParcel data; in RegDisplayVBlankCallback() local 128 … if (!data.WriteInterfaceToken(DisplayDeviceProxy::GetDescriptor()) || !data.WriteUint32(devId)) { in RegDisplayVBlankCallback() 133 int32_t ret = Remote()->SendRequest(DSP_CMD_REGDISPLAYVBLANKCALLBACK, data, reply, option); in RegDisplayVBlankCallback() 153 MessageParcel data; in RegDisplayRefreshCallback() local 157 … if (!data.WriteInterfaceToken(DisplayDeviceProxy::GetDescriptor()) || !data.WriteUint32(devId)) { in RegDisplayRefreshCallback() 162 int32_t ret = Remote()->SendRequest(DSP_CMD_REGDISPLAYREFRESHCALLBACK, data, reply, option); in RegDisplayRefreshCallback() 178 MessageParcel data; in GetDisplayCapability() local [all …]
|
/drivers/hdf_core/framework/support/platform/src/clock/ |
D | clock_if_u.c | 34 struct HdfSBuf *data = NULL; in ClockOpen() local 45 data = HdfSbufObtainDefaultSize(); in ClockOpen() 46 if (data == NULL) { in ClockOpen() 54 HdfSbufRecycle(data); in ClockOpen() 58 if (!HdfSbufWriteUint32(data, number)) { in ClockOpen() 60 HdfSbufRecycle(data); in ClockOpen() 65 ret = service->dispatcher->Dispatch(&service->object, CLOCK_IO_OPEN, data, reply); in ClockOpen() 68 HdfSbufRecycle(data); in ClockOpen() 77 HdfSbufRecycle(data); in ClockOpen() 86 struct HdfSBuf *data = NULL; in ClockClose() local [all …]
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/ |
D | audio_proxy_render.cpp | 21 struct HdfSBuf *data = NULL; in AudioProxyRenderCtrl() local 28 if (AudioProxyPreprocessRender(hwRender, &data, &reply) < 0) { in AudioProxyRenderCtrl() 31 int32_t ret = AudioProxyDispatchCall(hwRender->proxyRemoteHandle, cmId, data, reply); in AudioProxyRenderCtrl() 32 AudioProxyBufReplyRecycle(data, reply); in AudioProxyRenderCtrl() 75 struct HdfSBuf *data = NULL; in AudioProxyRenderGetFrameParameter() local 82 if (AudioProxyPreprocessRender(hwRender, &data, &reply) < 0) { in AudioProxyRenderGetFrameParameter() 85 ret = AudioProxyDispatchCall(hwRender->proxyRemoteHandle, cmId, data, reply); in AudioProxyRenderGetFrameParameter() 87 AudioProxyBufReplyRecycle(data, reply); in AudioProxyRenderGetFrameParameter() 91 AudioProxyBufReplyRecycle(data, reply); in AudioProxyRenderGetFrameParameter() 94 AudioProxyBufReplyRecycle(data, reply); in AudioProxyRenderGetFrameParameter() [all …]
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/include/ |
D | hdf_audio_server_render.h | 22 struct HdfSBuf *data, struct HdfSBuf *reply); 24 struct HdfSBuf *data, struct HdfSBuf *reply); 26 struct HdfSBuf *data, struct HdfSBuf *reply); 28 struct HdfSBuf *data, struct HdfSBuf *reply); 30 struct HdfSBuf *data, struct HdfSBuf *reply); 32 struct HdfSBuf *data, struct HdfSBuf *reply); 34 struct HdfSBuf *data, struct HdfSBuf *reply); 36 struct HdfSBuf *data, struct HdfSBuf *reply); 38 struct HdfSBuf *data, struct HdfSBuf *reply); 40 struct HdfSBuf *data, struct HdfSBuf *reply); [all …]
|
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample_driver/ |
D | sample_hdi_service_stub.cpp | 27 static int32_t SampleServiceStubPing(struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct… in SampleServiceStubPing() argument 29 if (!HdfDeviceObjectCheckInterfaceDesc(client->device, data)) { in SampleServiceStubPing() 33 const char *info = HdfSbufReadString(data); in SampleServiceStubPing() 42 static int32_t SampleServiceStubSum(struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct … in SampleServiceStubSum() argument 47 if (!HdfDeviceObjectCheckInterfaceDesc(client->device, data)) { in SampleServiceStubSum() 50 if (!HdfSbufReadInt32(data, &parm0)) { in SampleServiceStubSum() 55 if (!HdfSbufReadInt32(data, &parm1)) { in SampleServiceStubSum() 71 static int32_t SampleServiceStubCallback(struct HdfDeviceIoClient *client, struct HdfSBuf *data, st… in SampleServiceStubCallback() argument 75 if (!HdfDeviceObjectCheckInterfaceDesc(client->device, data)) { in SampleServiceStubCallback() 78 if (!HdfSbufReadInt32(data, &code)) { in SampleServiceStubCallback() [all …]
|