/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/codec/hal/src/ |
D | codec_component_type_proxy.c | 30 static void ReleaseSbuf(struct HdfSBuf *data, struct HdfSBuf *reply) in ReleaseSbuf() argument 35 if (reply != NULL) { in ReleaseSbuf() 36 HdfSbufRecycle(reply); in ReleaseSbuf() 41 struct HdfSBuf *reply) in CodecComponentTypeProxyCall() argument 49 return remote->dispatcher->Dispatch(remote, id, data, reply); in CodecComponentTypeProxyCall() 51 static int32_t ReadValuesForGetComponentVersion(struct HdfSBuf *reply, struct CompVerInfo *verInfo) in ReadValuesForGetComponentVersion() argument 53 …struct CompVerInfo *verInfoCp = (struct CompVerInfo *)HdfSbufReadUnpadBuffer(reply, sizeof(struct … in ReadValuesForGetComponentVersion() 69 struct HdfSBuf *reply = HdfSbufTypedObtain(SBUF_IPC); in CodecComponentTypeProxyGetComponentVersion() local 70 if (data == NULL || reply == NULL) { in CodecComponentTypeProxyGetComponentVersion() 72 ReleaseSbuf(data, reply); in CodecComponentTypeProxyGetComponentVersion() [all …]
|
D | codec_component_manager_proxy.c | 40 static void ReleaseSbuf(struct HdfSBuf *data, struct HdfSBuf *reply) in ReleaseSbuf() argument 45 if (reply != NULL) { in ReleaseSbuf() 46 HdfSbufRecycle(reply); in ReleaseSbuf() 58 struct HdfSBuf *reply = HdfSbufTypedObtain(SBUF_IPC); in GetComponentNum() local 59 if (reply == NULL) { 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() 78 if (!HdfSbufReadInt32(reply, &num)) { in GetComponentNum() 80 ReleaseSbuf(data, reply); in GetComponentNum() [all …]
|
D | codec_callback_type_proxy.c | 29 static void ReleaseSbuf(struct HdfSBuf *data, struct HdfSBuf *reply) in ReleaseSbuf() argument 34 if (reply != NULL) { in ReleaseSbuf() 35 HdfSbufRecycle(reply); in ReleaseSbuf() 40 struct HdfSBuf *reply) in CodecCallbackTypeProxyCall() argument 50 return self->remote->dispatcher->Dispatch(self->remote, id, data, reply); in CodecCallbackTypeProxyCall() 106 struct HdfSBuf *reply = HdfSbufTypedObtain(SBUF_IPC); in CodecCallbackTypeProxyEventHandler() local 107 if (data == NULL || reply == NULL) { in CodecCallbackTypeProxyEventHandler() 109 ReleaseSbuf(data, reply); in CodecCallbackTypeProxyEventHandler() 115 ReleaseSbuf(data, reply); in CodecCallbackTypeProxyEventHandler() 121 ReleaseSbuf(data, reply); in CodecCallbackTypeProxyEventHandler() [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 …]
|
D | hdf_audio_server_capture.h | 21 struct HdfSBuf *data, struct HdfSBuf *reply); 23 struct HdfSBuf *data, struct HdfSBuf *reply); 25 struct HdfSBuf *data, struct HdfSBuf *reply); 27 struct HdfSBuf *data, struct HdfSBuf *reply); 29 struct HdfSBuf *data, struct HdfSBuf *reply); 31 struct HdfSBuf *data, struct HdfSBuf *reply); 33 struct HdfSBuf *data, struct HdfSBuf *reply); 35 struct HdfSBuf *data, struct HdfSBuf *reply); 37 struct HdfSBuf *data, struct HdfSBuf *reply); 39 struct HdfSBuf *data, struct HdfSBuf *reply); [all …]
|
D | hdf_audio_server_common.h | 40 …AudioAllfunc)(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply); 51 int32_t WriteAudioSampleAttributes(struct HdfSBuf *reply, const struct AudioSampleAttributes *attrs… 53 int32_t HdiServicePositionWrite(struct HdfSBuf *reply, 60 struct HdfSBuf *data, struct HdfSBuf *reply); 62 struct HdfSBuf *data, struct HdfSBuf *reply); 64 struct HdfSBuf *data, struct HdfSBuf *reply); 66 struct HdfSBuf *data, struct HdfSBuf *reply); 68 struct HdfSBuf *data, struct HdfSBuf *reply); 70 struct HdfSBuf *data, struct HdfSBuf *reply); 72 struct HdfSBuf *data, struct HdfSBuf *reply); [all …]
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/ |
D | audio_proxy_render.cpp | 22 struct HdfSBuf *reply = 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() 76 struct HdfSBuf *reply = 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() 90 if (!HdfSbufReadUint64(reply, param)) { in AudioProxyRenderGetFrameParameter() 91 AudioProxyBufReplyRecycle(data, reply); in AudioProxyRenderGetFrameParameter() [all …]
|
D | audio_proxy_common.cpp | 31 int32_t id, struct HdfSBuf *data, struct HdfSBuf *reply) in AudioProxyDispatchCall() argument 33 if (data == NULL || reply == NULL || self == NULL) { in AudioProxyDispatchCall() 41 return self->dispatcher->Dispatch(self, id, data, reply); in AudioProxyDispatchCall() 44 void AudioProxyBufReplyRecycle(struct HdfSBuf *data, struct HdfSBuf *reply) in AudioProxyBufReplyRecycle() argument 49 if (reply != NULL) { in AudioProxyBufReplyRecycle() 50 HdfSbufRecycle(reply); in AudioProxyBufReplyRecycle() 55 int32_t AudioProxyPreprocessSBuf(struct HdfSBuf **data, struct HdfSBuf **reply) in AudioProxyPreprocessSBuf() argument 57 if (data == NULL || reply == NULL) { in AudioProxyPreprocessSBuf() 65 *reply = AudioProxyObtainHdfSBuf(); in AudioProxyPreprocessSBuf() 66 if (*reply == NULL) { in AudioProxyPreprocessSBuf() [all …]
|
D | audio_proxy_manager.cpp | 33 struct HdfSBuf *reply = NULL; in AudioProxyManagerGetAllAdapters() local 38 if (AudioProxyPreprocessSBuf(&data, &reply) < 0) { in AudioProxyManagerGetAllAdapters() 44 AudioProxyBufReplyRecycle(data, reply); in AudioProxyManagerGetAllAdapters() 49 AudioProxyBufReplyRecycle(data, reply); in AudioProxyManagerGetAllAdapters() 54 ret = AudioProxyDispatchCall(manager->remote, AUDIO_HDI_MGR_GET_ALL_ADAPTER, data, reply); in AudioProxyManagerGetAllAdapters() 56 AudioProxyBufReplyRecycle(data, reply); in AudioProxyManagerGetAllAdapters() 60 AudioProxyBufReplyRecycle(data, reply); in AudioProxyManagerGetAllAdapters() 69 struct HdfSBuf *reply = NULL; in AudioProxyManagerLoadAdapter() local 75 if (AudioAdapterExist(desc->adapterName) || (AudioProxyPreprocessSBuf(&data, &reply) < 0)) { in AudioProxyManagerLoadAdapter() 79 AudioProxyBufReplyRecycle(data, reply); in AudioProxyManagerLoadAdapter() [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/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 46 *reply = HdfSbufTypedObtain(SBUF_IPC); in CodecProxyReqSBuf() 47 if (*reply == NULL) { in CodecProxyReqSBuf() 54 static void CodecProxySBufRecycle(struct HdfSBuf *data, struct HdfSBuf *reply) in CodecProxySBufRecycle() argument 59 if (reply != NULL) { in CodecProxySBufRecycle() 60 HdfSbufRecycle(reply); in CodecProxySBufRecycle() 69 struct HdfSBuf *reply = NULL; in CodecPorxyInit() local 73 if (CodecProxyReqSBuf(&data, &reply) != HDF_SUCCESS) { in CodecPorxyInit() [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 46 *reply = HdfSbufTypedObtain(SBUF_IPC); in CodecCallbackProxyReqSBuf() 47 if (*reply == NULL) { in CodecCallbackProxyReqSBuf() 55 static void CodecCallbackProxySBufRecycle(struct HdfSBuf *data, struct HdfSBuf *reply) in CodecCallbackProxySBufRecycle() argument 60 if (reply != NULL) { in CodecCallbackProxySBufRecycle() 61 HdfSbufRecycle(reply); in CodecCallbackProxySBufRecycle() 71 struct HdfSBuf *reply = NULL; in CodecCallbackProxyOnEvent() local 76 if (CodecCallbackProxyReqSBuf(&data, &reply) != HDF_SUCCESS) { in CodecCallbackProxyOnEvent() [all …]
|
D | proxy_msgproc.c | 27 static bool CodecCapabilityBaseUnmarshalling(struct HdfSBuf *reply, CodecCapability *cap) in CodecCapabilityBaseUnmarshalling() argument 29 if (!HdfSbufReadUint32(reply, (uint32_t*)&cap->mime)) { in CodecCapabilityBaseUnmarshalling() 33 if (!HdfSbufReadUint32(reply, (uint32_t*)&cap->type)) { in CodecCapabilityBaseUnmarshalling() 38 if (!HdfSbufReadUint8(reply, (uint8_t *)&(cap->name)[i])) { in CodecCapabilityBaseUnmarshalling() 44 if (!HdfSbufReadInt32(reply, &(cap->supportProfiles)[j])) { in CodecCapabilityBaseUnmarshalling() 49 if (!HdfSbufReadInt8(reply, (int8_t *)&cap->isSoftwareCodec)) { in CodecCapabilityBaseUnmarshalling() 53 if (!HdfSbufReadInt32(reply, &cap->processModeMask)) { in CodecCapabilityBaseUnmarshalling() 57 if (!HdfSbufReadUint32(reply, &cap->capsMask)) { in CodecCapabilityBaseUnmarshalling() 61 if (!HdfSbufReadUint32(reply, &cap->allocateMask)) { in CodecCapabilityBaseUnmarshalling() 68 static bool CodecCapabilityRangeValueUnmarshalling(struct HdfSBuf *reply, RangeValue *dataBlock) in CodecCapabilityRangeValueUnmarshalling() argument [all …]
|
/drivers/peripheral/codec/hdi_service/codec_service_stub/ |
D | stub_msgproc.c | 22 int32_t CodecSerPackAlignment(struct HdfSBuf *reply, Alignment *alignment) in CodecSerPackAlignment() argument 24 if (reply == NULL || alignment == NULL) { in CodecSerPackAlignment() 28 if (!HdfSbufWriteInt32(reply, alignment->widthAlignment)) { in CodecSerPackAlignment() 32 if (!HdfSbufWriteInt32(reply, alignment->heightAlignment)) { in CodecSerPackAlignment() 39 int32_t CodecSerPackRect(struct HdfSBuf *reply, Rect *rectangle) in CodecSerPackRect() argument 41 if (reply == NULL || rectangle == NULL) { in CodecSerPackRect() 45 if (!HdfSbufWriteInt32(reply, rectangle->width)) { in CodecSerPackRect() 49 if (!HdfSbufWriteInt32(reply, rectangle->height)) { in CodecSerPackRect() 56 static bool CodecCapabilityBaseMarshalling(struct HdfSBuf *reply, CodecCapability *cap) in CodecCapabilityBaseMarshalling() argument 58 if (!HdfSbufWriteUint32(reply, (uint32_t)cap->mime)) { in CodecCapabilityBaseMarshalling() [all …]
|
D | codec_stub.c | 30 …int32_t SerCodecInit(struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in SerCodecInit() argument 37 if (!HdfSbufWriteUint32(reply, errNum)) { in SerCodecInit() 44 …t32_t SerCodecDeinit(struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in SerCodecDeinit() argument 51 if (!HdfSbufWriteUint32(reply, errNum)) { in SerCodecDeinit() 59 struct HdfSBuf *reply) in SerCodecEnumerateCapability() argument 80 if (CodecSerPackCapability(reply, &capability) != HDF_SUCCESS) { in SerCodecEnumerateCapability() 87 …erCodecGetCapability(struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in SerCodecGetCapability() argument 110 if (CodecSerPackCapability(reply, &capability) != HDF_SUCCESS) { in SerCodecGetCapability() 117 …t32_t SerCodecCreate(struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in SerCodecCreate() argument 133 if (!HdfSbufWriteUint64(reply, handle)) { in SerCodecCreate() [all …]
|
/drivers/hdf_core/framework/support/platform/src/hdmi/ |
D | hdmi_dispatch.c | 37 int32_t (*func)(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply); 40 static int32_t HdmiCmdOpen(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdOpen() argument 43 (void)reply; in HdmiCmdOpen() 48 static int32_t HdmiCmdClose(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdClose() argument 51 (void)reply; in HdmiCmdClose() 57 static int32_t HdmiCmdStart(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdStart() argument 60 (void)reply; in HdmiCmdStart() 65 static int32_t HdmiCmdStop(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdStop() argument 68 (void)reply; in HdmiCmdStop() 73 …atic int32_t HdmiCmdAvmuteSet(struct HdmiCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in HdmiCmdAvmuteSet() argument [all …]
|
/drivers/hdf_core/framework/model/storage/src/mmc/ |
D | mmc_dispatch.c | 15 static int32_t MmcCmdDevPresent(struct MmcCntlr *cntlr, struct HdfSBuf *data, struct HdfSBuf *reply) in MmcCmdDevPresent() argument 18 if (reply == NULL) { in MmcCmdDevPresent() 21 if (!HdfSbufWriteUint8(reply, MmcCntlrDevPresent(cntlr))) { in MmcCmdDevPresent() 28 …c int32_t MmcDispatch(struct MmcCntlr *cntlr, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply) in MmcDispatch() argument 31 return MmcCmdDevPresent(cntlr, data, reply); in MmcDispatch() 38 static int32_t EmmcCmdGetCid(struct MmcCntlr *cntlr, struct HdfSBuf *reply) in EmmcCmdGetCid() argument 43 if (reply == NULL || cntlr == NULL) { in EmmcCmdGetCid() 54 if (HdfSbufWriteBuffer(reply, cid, EMMC_CID_LEN) == false) { in EmmcCmdGetCid() 62 … int32_t EmmcDispatch(struct MmcCntlr *cntlr, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply) in EmmcDispatch() argument 67 return EmmcCmdGetCid(cntlr, reply); in EmmcDispatch() [all …]
|
/drivers/hdf_core/framework/core/common/src/ |
D | devmgr_service_start.c | 25 static int32_t GetDeviceServiceNameByClass(struct HdfSBuf *data, struct HdfSBuf *reply) in GetDeviceServiceNameByClass() argument 28 if (reply == NULL || data == NULL) { in GetDeviceServiceNameByClass() 37 HdfSbufFlush(reply); in GetDeviceServiceNameByClass() 38 DevSvcManagerListService(reply, deviceClass); in GetDeviceServiceNameByClass() 39 HdfSbufWriteString(reply, NULL); in GetDeviceServiceNameByClass() 43 static int32_t ListAllService(struct HdfSBuf *reply) in ListAllService() argument 46 if (reply == NULL || devSvcManager == NULL || devSvcManager->super.ListAllService == NULL) { in ListAllService() 49 HdfSbufFlush(reply); in ListAllService() 50 devSvcManager->super.ListAllService(&devSvcManager->super, reply); in ListAllService() 51 HdfSbufWriteString(reply, NULL); in ListAllService() [all …]
|
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
D | devmgr_dump.c | 43 …c int32_t DevMgrDumpHostFindHost(const char *hostName, struct HdfSBuf *data, struct HdfSBuf *reply) in DevMgrDumpHostFindHost() argument 61 (void)HdfSbufWriteString(reply, "The host does not start\n"); in DevMgrDumpHostFindHost() 64 ret = hostClnt->hostService->Dump(hostClnt->hostService, data, reply); in DevMgrDumpHostFindHost() 69 (void)HdfSbufWriteString(reply, "The host does not exist\n"); in DevMgrDumpHostFindHost() 75 static int32_t DevMgrDumpHost(uint32_t argv, struct HdfSBuf *data, struct HdfSBuf *reply) in DevMgrDumpHost() argument 108 int32_t ret = DevMgrDumpHostFindHost(hostName, hostData, reply); in DevMgrDumpHost() 114 …nt32_t DevMgrDumpServiceFindHost(const char *servName, struct HdfSBuf *data, struct HdfSBuf *reply) in DevMgrDumpServiceFindHost() argument 142 ret = hostClnt->hostService->Dump(hostClnt->hostService, data, reply); in DevMgrDumpServiceFindHost() 147 (void)HdfSbufWriteString(reply, "The service does not exist\n"); in DevMgrDumpServiceFindHost() 151 static int32_t DevMgrDumpService(uint32_t argv, struct HdfSBuf *data, struct HdfSBuf *reply) in DevMgrDumpService() argument [all …]
|
/drivers/peripheral/wlan/client/src/sbuf/ |
D | sbuf_cmd_adapter.c | 33 static int32_t ParserNetworkInfo(struct HdfSBuf *reply, struct NetworkInfoResult *result) in ParserNetworkInfo() argument 40 if (!HdfSbufReadUint32(reply, &result->nums)) { in ParserNetworkInfo() 48 ifName = HdfSbufReadString(reply); in ParserNetworkInfo() 53 if (!HdfSbufReadBuffer(reply, (const void **)&mode, &replayDataSize) || mode == NULL || in ParserNetworkInfo() 70 static int32_t ParserDeviceMacAddr(struct HdfSBuf *reply, uint8_t *mac, uint8_t len) in ParserDeviceMacAddr() argument 76 if (!HdfSbufReadUint8(reply, &isEfuseSavedMac)) { in ParserDeviceMacAddr() 84 …if (!HdfSbufReadBuffer(reply, (const void **)(&replayData), &replayDataSize) || replayDataSize != … in ParserDeviceMacAddr() 95 static int32_t ParserFreqInfo(struct HdfSBuf *reply, struct FreqInfoResult *result, uint32_t size) in ParserFreqInfo() argument 105 if (!HdfSbufReadUint32(reply, &result->nums)) { in ParserFreqInfo() 113 if (!HdfSbufReadBuffer(reply, (const void **)(&replayData), &replayDataSize)) { in ParserFreqInfo() [all …]
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/ |
D | hdf_audio_server_render.cpp | 104 struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceCreatRender() argument 106 if (client == NULL || data == NULL || reply == NULL) { in HdiServiceCreatRender() 156 struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceRenderDestory() argument 158 if (client == NULL || data == NULL || reply == NULL) { in HdiServiceRenderDestory() 190 …iceRenderStart(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceRenderStart() argument 192 if (client == NULL || data == NULL || reply == NULL) { in HdiServiceRenderStart() 203 …viceRenderStop(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceRenderStop() argument 205 if (client == NULL || data == NULL || reply == NULL) { in HdiServiceRenderStop() 217 struct HdfSBuf *data, struct HdfSBuf *reply) in HdiServiceRenderPause() argument 219 if (client == NULL || data == NULL || reply == NULL) { in HdiServiceRenderPause() [all …]
|
/drivers/hdf_core/framework/support/platform/src/gpio/ |
D | gpio_service.c | 20 static int32_t GpioServiceIoRead(struct HdfSBuf *data, struct HdfSBuf *reply) in GpioServiceIoRead() argument 26 if (data == NULL || reply == NULL) { in GpioServiceIoRead() 42 if (!HdfSbufWriteUint16(reply, value)) { in GpioServiceIoRead() 50 static int32_t GpioServiceIoWrite(struct HdfSBuf *data, struct HdfSBuf *reply) in GpioServiceIoWrite() argument 56 (void)reply; in GpioServiceIoWrite() 80 static int32_t GpioServiceIoGetDir(struct HdfSBuf *data, struct HdfSBuf *reply) in GpioServiceIoGetDir() argument 86 if (data == NULL || reply == NULL) { in GpioServiceIoGetDir() 102 if (!HdfSbufWriteUint16(reply, dir)) { in GpioServiceIoGetDir() 110 static int32_t GpioServiceIoSetDir(struct HdfSBuf *data, struct HdfSBuf *reply) in GpioServiceIoSetDir() argument 116 (void)reply; in GpioServiceIoSetDir() [all …]
|
/drivers/peripheral/display/hdi_service/device/src/proxy/display_device_proxy/ |
D | display_device_proxy.cpp | 100 MessageParcel reply; in RegHotPlugCallback() local 105 int32_t ret = Remote()->SendRequest(DSP_CMD_REGHOTPLUGCALLBACK, data, reply, option); in RegHotPlugCallback() 126 MessageParcel reply; in RegDisplayVBlankCallback() local 133 int32_t ret = Remote()->SendRequest(DSP_CMD_REGDISPLAYVBLANKCALLBACK, data, reply, option); in RegDisplayVBlankCallback() 154 MessageParcel reply; in RegDisplayRefreshCallback() local 162 int32_t ret = Remote()->SendRequest(DSP_CMD_REGDISPLAYREFRESHCALLBACK, data, reply, option); in RegDisplayRefreshCallback() 179 MessageParcel reply; in GetDisplayCapability() local 185 int32_t ret = Remote()->SendRequest(DSP_CMD_GETDISPLAYCAPABILITY, data, reply, option); in GetDisplayCapability() 191 if (!DisplayDeviceReadData(&info, &reply)) { in GetDisplayCapability() 207 MessageParcel reply; in GetDisplaySupportedModes() local [all …]
|
/drivers/peripheral/display/composer/hdi_service/src/ |
D | display_dump_vdi.cpp | 63 int32_t VdiDumper::DumpBuffer(HdfSBuf *reply) in DumpBuffer() argument 72 if (!HdfSbufWriteString(reply, result.c_str())) { in DumpBuffer() 80 int32_t VdiDumper::UpdateUserConfig(HdfSBuf *reply) in UpdateUserConfig() argument 89 if (!HdfSbufWriteString(reply, result.c_str())) { in UpdateUserConfig() 97 int32_t VdiDumper::ShowDumpMenu(HdfSBuf *reply) in ShowDumpMenu() argument 99 if (reply != nullptr) { in ShowDumpMenu() 100 (void)HdfSbufWriteString(reply, g_vdiComposerDumpHelp); in ShowDumpMenu() 132 int32_t VdiDumper::ComposerHostDumpProcess(struct HdfSBuf *data, struct HdfSBuf *reply, uint32_t ar… in ComposerHostDumpProcess() argument 134 if (reply == nullptr || data == nullptr) { in ComposerHostDumpProcess() 141 ret = UpdateUserConfig(reply); in ComposerHostDumpProcess() [all …]
|