/drivers/hdf_core/framework/model/audio/common/src/ |
H A 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 in AudioDmaBufFree() 32 AudioDmaRequestChannel(struct PlatformData *data, enum AudioStreamType streamType) AudioDmaRequestChannel() argument 40 AudioDmaConfigChannel(struct PlatformData *data, enum AudioStreamType streamType) AudioDmaConfigChannel() argument 48 AudioDmaPrep(struct PlatformData *data, enum AudioStreamType streamType) AudioDmaPrep() argument 56 AudioDmaSubmit(struct PlatformData *data, enum AudioStreamType streamType) AudioDmaSubmit() argument 64 AudioDmaPending(struct PlatformData *data, enum AudioStreamType streamType) AudioDmaPending() argument 72 AudioDmaPause(struct PlatformData *data, enum AudioStreamType streamType) AudioDmaPause() argument 80 AudioDmaResume(struct PlatformData *data, enum AudioStreamType streamType) AudioDmaResume() argument 88 AudioDmaPointer(struct PlatformData *data, enum AudioStreamType streamType, uint32_t *pointer) AudioDmaPointer() argument 96 AudioDmaGetConfigInfo(const struct HdfDeviceObject *device, struct PlatformData *data) AudioDmaGetConfigInfo() argument 124 AudioDmaTransferStatusIsNormal(struct PlatformData *data, enum AudioStreamType streamType) AudioDmaTransferStatusIsNormal() argument [all...] |
H A 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 in AudioSetRenderBufInfo() 214 AudioSetCaptureBufInfo(struct PlatformData *data, const struct AudioPcmHwParams *param) AudioSetCaptureBufInfo() argument 251 struct PlatformData *data = PlatformDataFromCard(card); AudioDmaBuffStatus() local 299 struct PlatformData *data = NULL; AudioPcmWrite() local 357 PcmReadData(struct PlatformData *data, struct AudioRxData *rxData) PcmReadData() argument 397 struct PlatformData *data = NULL; AudioPcmRead() local 441 MmapWriteData(struct PlatformData *data, char *tmpBuf) MmapWriteData() argument 474 AudioRenderPlatformDataInit(struct PlatformData *data, uint32_t *totalSize, uint32_t *lastBuffSize, uint32_t *loopTimes) AudioRenderPlatformDataInit() argument 506 struct PlatformData *data = PlatformDataFromCard(card); AudioMmapWriteTransfer() local 552 struct PlatformData *data = NULL; AudioPcmMmapWrite() local 587 MmapReadData(struct PlatformData *data, const struct AudioMmapData *rxMmapData, uint32_t offset) MmapReadData() argument 630 AudioCapturePlatformDataInit(struct PlatformData *data, const struct AudioMmapData *rxMmapData, uint32_t *totalSize) AudioCapturePlatformDataInit() argument 654 struct PlatformData *data = NULL; AudioMmapReadTransfer() local 705 struct PlatformData *data = NULL; AudioPcmMmapRead() local 838 struct PlatformData *data = PlatformDataFromCard(card); AudioRenderOpen() local 854 struct PlatformData *data = PlatformDataFromCard(card); AudioRenderClose() local 904 struct PlatformData *data = PlatformDataFromCard(card); AudioPcmPending() local 933 struct PlatformData *data = PlatformDataFromCard(card); AudioPcmPause() local 953 struct PlatformData *data = PlatformDataFromCard(card); AudioPcmResume() local 976 struct PlatformData *data = PlatformDataFromCard(card); AudioRenderTrigger() local 1023 struct PlatformData *data = PlatformDataFromCard(card); AudioCaptureTrigger() local 1069 AudioDmaConfig(struct PlatformData *data, enum AudioStreamType streamType) AudioDmaConfig() argument 1096 AudioPcmTransferBytes(struct PlatformData *data, enum AudioStreamType streamType) AudioPcmTransferBytes() argument 1127 AudioSetRenderHwParams(const struct AudioPcmHwParams *param, struct PlatformData *data) AudioSetRenderHwParams() argument 1154 AudioSetCaptureHwParams(const struct AudioPcmHwParams *param, struct PlatformData *data) AudioSetCaptureHwParams() argument 1305 struct PlatformData *data = NULL; AudioPcmPointer() local [all...] |
/drivers/peripheral/codec/hal/src/ |
H A 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 static int32_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, repl in CodecComponentTypeProxyGetComponentVersion() 99 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxySendCommand() local 154 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyGetParameter() local 212 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxySetParameter() local 261 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyGetConfig() local 319 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxySetConfig() local 368 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyGetExtensionIndex() local 410 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyGetState() local 446 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyComponentTunnelRequest() local 506 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyUseBuffer() local 554 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyAllocateBuffer() local 602 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyFreeBuffer() local 644 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyEmptyThisBuffer() local 680 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyFillThisBuffer() local 716 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxySetCallbacks() local 757 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyComponentDeInit() local 787 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyUseEglImage() local 848 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecComponentTypeProxyComponentRoleEnum() local [all...] |
H A 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, handl in BufferHandleMarshalling() 75 BufferHandleUnmarshalling(struct HdfSBuf *data, BufferHandle **handle) BufferHandleUnmarshalling() argument 125 OMX_TUNNELSETUPTYPEBlockMarshalling(struct HdfSBuf *data, const struct OMX_TUNNELSETUPTYPE *dataBlock) OMX_TUNNELSETUPTYPEBlockMarshalling() argument 140 OMX_TUNNELSETUPTYPEBlockUnmarshalling(struct HdfSBuf *data, struct OMX_TUNNELSETUPTYPE *dataBlock) OMX_TUNNELSETUPTYPEBlockUnmarshalling() argument 169 CodecBufferMarshalling(struct HdfSBuf *data, const struct OmxCodecBuffer *dataBlock) CodecBufferMarshalling() argument 209 OmxCodecBufferBlockMarshalling(struct HdfSBuf *data, const struct OmxCodecBuffer *dataBlock) OmxCodecBufferBlockMarshalling() argument 255 CodecBufferUnmarshalling(struct HdfSBuf *data, struct OmxCodecBuffer *dataBlock) CodecBufferUnmarshalling() argument 336 OmxCodecBufferBlockUnmarshalling(struct HdfSBuf *data, struct OmxCodecBuffer *dataBlock) OmxCodecBufferBlockUnmarshalling() argument 380 RangeValueBlockMarshalling(struct HdfSBuf *data, const RangeValue *dataBlock) RangeValueBlockMarshalling() argument 395 RangeValueBlockUnmarshalling(struct HdfSBuf *data, RangeValue *dataBlock) RangeValueBlockUnmarshalling() argument 413 CodecCompCapabilityBlockMarshalling(struct HdfSBuf *data, const CodecCompCapability *dataBlock) CodecCompCapabilityBlockMarshalling() argument 448 CodecCompCapabilityBlockUnmarshalling(struct HdfSBuf *data, CodecCompCapability *dataBlock) CodecCompCapabilityBlockUnmarshalling() argument [all...] |
H A 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 static int32_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, inf in WriteEventInfo() 105 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecCallbackTypeProxyEventHandler() local 152 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecCallbackTypeProxyEmptyBufferDone() local 197 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CodecCallbackTypeProxyFillBufferDone() local [all...] |
H A 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, repl in GetComponentNum() 90 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); GetComponentCapabilityList() local 135 FillHdfSBufData(struct HdfSBuf *data, char *compName, int64_t appData, struct CodecCallbackType *callback) FillHdfSBufData() argument 160 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); CreateComponent() local 205 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); DestroyComponent() local [all...] |
/drivers/hdf_core/framework/model/network/wifi/platform/src/ |
H A 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; HdfWifiEventDelSta() local 93 struct HdfSBuf *data = NULL; HdfWifiEventInformBssFrame() local 132 struct HdfSBuf *data = NULL; HdfWifiEventScanDone() local 206 struct HdfSBuf *data = NULL; HdfWifiEventConnectResult() local 243 struct HdfSBuf *data = NULL; HdfWifiEventDisconnected() local 271 struct HdfSBuf *data = NULL; HdfWifiEventMgmtTxStatus() local 299 struct HdfSBuf *data = NULL; HdfWifiEventCsaChannelSwitch() local 326 struct HdfSBuf *data = NULL; HdfWifiEventTimeoutDisconnected() local 352 struct HdfSBuf *data = NULL; HdfWifiEventRxMgmt() local 380 struct HdfSBuf *data = NULL; HdfWifiEventEapolRecv() local 408 struct HdfSBuf *data = NULL; HdfWifiEventResetResult() local 438 struct HdfSBuf *data = NULL; HdfWifiEventRemainOnChannel() local 463 struct HdfSBuf *data = NULL; HdfWifiEventCancelRemainOnChannel() local [all...] |
/drivers/peripheral/wlan/client/src/sbuf/ |
H A 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 in WifiEapolPacketReceive() 117 struct HdfSBuf *data = NULL; WifiEapolEnable() local 142 struct HdfSBuf *data = NULL; WifiEapolDisable() local 164 struct HdfSBuf *data = NULL; WifiCmdSetAp() local 211 struct HdfSBuf *data = NULL; WifiCmdChangeBeacon() local 243 struct HdfSBuf *data = NULL; WifiCmdSendMlme() local 270 struct HdfSBuf *data = NULL; WifiCmdOperKey() local 325 struct HdfSBuf *data = NULL; WifiCmdSetMode() local 353 struct HdfSBuf *data = NULL; WifiCmdGetOwnMac() local 399 struct HdfSBuf *data = NULL; WifiCmdGetHwFeature() local 445 struct HdfSBuf *data = NULL; WifiCmdDisconnet() local 472 struct HdfSBuf *data = NULL; WifiCmdAssoc() local 513 struct HdfSBuf *data = NULL; WifiCmdSetNetdev() local 540 struct HdfSBuf *data = NULL; WifiCmdStaRemove() local 565 struct HdfSBuf *data = NULL; WifiCmdSendAction() local 599 struct HdfSBuf *data = NULL; WifiCmdSetClient() local 622 struct HdfSBuf *data = HdfSbufObtainDefaultSize(); WifiCmdProbeReqReport() local 647 struct HdfSBuf *data = HdfSbufObtainDefaultSize(); WifiCmdRemainOnChannel() local 675 struct HdfSBuf *data = HdfSbufObtainDefaultSize(); WifiCmdCancelRemainOnChannel() local 701 struct HdfSBuf *data = HdfSbufObtainDefaultSize(); WifiCmdAddIf() local 726 struct HdfSBuf *data = HdfSbufObtainDefaultSize(); WifiCmdRemoveIf() local 751 struct HdfSBuf *data = HdfSbufObtainDefaultSize(); WifiCmdSetApWpsP2pIe() local 784 struct HdfSBuf *data = HdfSbufObtainDefaultSize(); WifiCmdGetDrvFlags() local [all...] |
/test/xts/acts/useriam/face_auth/js_api_test/function_test/userauth/entry/src/ohosTest/js/test/ |
H A D | execute.js | 48 auth.execute("ALL", "S2", function(data) { 49 console.log("Security_IAM_Face_JSAPI_Function_Execute_1700 auth.execute:" + data); 51 expect(data).assertEqual(-1); 70 auth.execute("ALL", "S2").catch(function(data) { 71 console.log("Security_IAM_Face_JSAPI_Function_Execute_2000 auth.execute:" + data); 73 expect(data).assertEqual(-1); 91 auth.execute("", "S2", function(data) { 92 console.log("Security_IAM_Face_JSAPI_Function_Execute_1800 auth.execute:" + data); 94 expect(data).assertEqual(6); 113 auth.execute("", "S2").catch(function(data) { [all...] |
/drivers/hdf_core/framework/support/platform/src/fwk/ |
H A 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 snprintf_s(info, DUMPER_INFO_FILE_LEN + 1, DUMPER_INFO_FILE_LEN, data->printFormat, data->data.name, *val); in DumperPrintUint8Info() 55 static void DumperPrintUint16Info(const struct DumperDataMgrNode *data) in DumperPrintUint16Info() argument 57 uint16_t *val = (uint16_t *)(data in DumperPrintUint16Info() 66 DumperPrintUint32Info(const struct DumperDataMgrNode *data) DumperPrintUint32Info() argument 77 DumperPrintUint64Info(const struct DumperDataMgrNode *data) DumperPrintUint64Info() argument 88 DumperPrintInt8Info(const struct DumperDataMgrNode *data) DumperPrintInt8Info() argument 99 DumperPrintInt16Info(const struct DumperDataMgrNode *data) DumperPrintInt16Info() argument 110 DumperPrintInt32Info(const struct DumperDataMgrNode *data) DumperPrintInt32Info() argument 121 DumperPrintInt64Info(const struct DumperDataMgrNode *data) DumperPrintInt64Info() argument 132 DumperPrintFloatInfo(const struct DumperDataMgrNode *data) DumperPrintFloatInfo() argument 145 DumperPrintDoubleInfo(const struct DumperDataMgrNode *data) DumperPrintDoubleInfo() argument 158 DumperPrintCharInfo(const struct DumperDataMgrNode *data) DumperPrintCharInfo() argument 170 DumperPrintStringInfo(const struct DumperDataMgrNode *data) DumperPrintStringInfo() argument 181 DumperPrintRegisterInfo(const struct DumperDataMgrNode *data) DumperPrintRegisterInfo() argument 272 DumperAddNode(struct PlatformDumper *dumper, const struct PlatformDumperData *data) DumperAddNode() argument 308 PlatformDumperAddData(struct PlatformDumper *dumper, const struct PlatformDumperData *data) PlatformDumperAddData() argument [all...] |
/drivers/peripheral/display/hdi_service/device/include/server/ |
H A 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, MessageParce [all...] |
/test/xts/acts/account/appaccount/sceneProject/actsaccountsceneonoff/entry/src/main/js/MainAbility/pages/index/ |
H A D | index.js | 36 data: { 68 function changeOnExtra(data){ 69 console.info("====>receive change 0100 data:" + JSON.stringify(data)); 71 if(data[0].owner === "com.example.actsaccounttest" && data[0].name === "changeonoff_extra"){ 73 data: "SUCCESS" 78 data: "FAIL" 85 data: "FAIL" 91 function changeOnAssociateData(data){ [all...] |
/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/src/ |
H A D | encode_heif_helper.cpp | 56 ItemRef HeifEncodeHelper::FillRefItem(ItemRef item, uint8_t *data, size_t &size) in FillRefItem() argument 58 uint8_t *dataEnd = data + size - 1; in FillRefItem() 59 if (dataEnd < (data + sizeof(uint8_t))) { in FillRefItem() 63 switch ((*data) % OPTION_BUTT) { in FillRefItem() 77 data += sizeof(uint8_t); in FillRefItem() 80 if (dataEnd < data + sizeof(item.from)) { in FillRefItem() 83 item.from = ToUint32(data); in FillRefItem() 84 data += sizeof(item.from); in FillRefItem() 87 if (dataEnd < data + sizeof(uint8_t)) { in FillRefItem() 90 uint8_t vecSize = (*data) in FillRefItem() 105 FillImageItem(ImgType type, ImageItem& item, uint8_t *data, size_t &size) FillImageItem() argument 161 AssembleParamForOtherImg(uint32_t primaryImgId, uint8_t *data, size_t &size) AssembleParamForOtherImg() argument 210 AssembleParamForTmap(uint8_t *data, size_t &size) AssembleParamForTmap() argument 253 AssembleParamForPrimaryImg(uint8_t *data, size_t &size) AssembleParamForPrimaryImg() argument 270 FillMetaItem(MetaType type, MetaItem& item, uint8_t *data, size_t &size) FillMetaItem() argument 310 AssembleParamForMetaData(uint32_t primaryImgId, uint8_t *data, size_t &size) AssembleParamForMetaData() argument [all...] |
/drivers/hdf_core/framework/support/platform/src/hdmi/ |
H A D | hdmi_cec.c | 152 uint8_t info = (msg->data[HDMI_CEC_MSG_DATA_SECOND_ELEMENT] & 0xf); in HdmiCecCheckTimerStatusMsgLen() 155 if ((msg->data[HDMI_CEC_MSG_DATA_SECOND_ELEMENT] & 0x10) > 0) { in HdmiCecCheckTimerStatusMsgLen() 173 switch (msg->data[HDMI_CEC_MSG_DATA_SECOND_ELEMENT]) { in HdmiCecCheckRecordOnMsgLen() 260 msg->data[HDMI_CEC_MSG_DATA_ZEROTH_ELEMENT] |= HDMI_CEC_LOG_ADDR_UNREGISTERED_OR_BROADCAST; in HdmiCecEncodingActiveSourceMsg() 261 msg->data[HDMI_CEC_MSG_DATA_FIRST_ELEMENT] = HDMI_CEC_OPCODE_ACTIVE_SOURCE; in HdmiCecEncodingActiveSourceMsg() 262 msg->data[HDMI_CEC_MSG_DATA_SECOND_ELEMENT] = (phyAddr >> HDMI_ONE_BYTE_SHIFT); in HdmiCecEncodingActiveSourceMsg() 263 msg->data[HDMI_CEC_MSG_DATA_THIRD_ELEMENT] = (phyAddr & HDMI_ONE_BYTE_MARK); in HdmiCecEncodingActiveSourceMsg() 269 msg->data[HDMI_CEC_MSG_DATA_FIRST_ELEMENT] = HDMI_CEC_OPCODE_IMAGE_VIEW_ON; in HdmiCecEncodingImageViewOnMsg() 275 msg->data[HDMI_CEC_MSG_DATA_FIRST_ELEMENT] = HDMI_CEC_OPCODE_TEXT_VIEW_ON; in HdmiCecEncodingTextViewOnMsg() 281 msg->data[HDMI_CEC_MSG_DATA_FIRST_ELEMEN in HdmiCecEncodingInactiveSourceMsg() 350 HdmiCecEncodingDigitalServiceId(uint8_t *data, uint8_t len, const struct HdmiCecDigitalServiceId *digital) HdmiCecEncodingDigitalServiceId() argument 488 HdmiCecEncodingCommTimerInfo(uint8_t *data, uint8_t len, const struct HdmiCecCommTimerInfo *info) HdmiCecEncodingCommTimerInfo() argument 502 HdmiCecEncodingAnalogueTimerInfo(uint8_t *data, uint8_t len, struct HdmiCecAnalogueTimerInfo *info) HdmiCecEncodingAnalogueTimerInfo() argument 526 HdmiCecEncodingDigitalTimerInfo(uint8_t *data, uint8_t len, struct HdmiCecDigitalTimerInfo *info) HdmiCecEncodingDigitalTimerInfo() argument 549 HdmiCecEncodingExternalTimerInfo(uint8_t *data, uint8_t len, struct HdmiCecExternalTimerInfo *info) HdmiCecEncodingExternalTimerInfo() argument 876 HdmiCecEncodingVendorCommandMsg(struct HdmiCecMsg *msg, uint8_t *data, uint32_t len) HdmiCecEncodingVendorCommandMsg() argument 893 HdmiCecEncodingVendorCommandWithIdMsg(struct HdmiCecMsg *msg, uint32_t vendorId, uint8_t *data, uint32_t len) HdmiCecEncodingVendorCommandWithIdMsg() argument [all...] |
H A D | hdmi_edid.c | 16 * Address locations 0x00 and 0x07 contain data values 0x00 and locations 0x01 through 0x06 contain 0xFF as data 17 * values. CTA-861 requires this data. This header is used to determine the beginning of an EDID structure in a Sink. 43 HDF_LOGE("edid data not get."); in HdmiEdidGetRaw() 67 static int32_t HdmiEdidBlockCheckSum(uint8_t *data) in HdmiEdidBlockCheckSum() argument 72 HDF_LOGD("check sum is 0x%x", data[HDMI_EDID_CHECKSUM_ADDR]); in HdmiEdidBlockCheckSum() 74 checkSum += data[i]; in HdmiEdidBlockCheckSum() 85 uint16_t data; in HdmiEdidVendorInfoPhase() local 92 data = (block->vendorName[UINT8_ARRAY_TELEMENT_0] << in HdmiEdidVendorInfoPhase() 96 tmpData = (data in HdmiEdidVendorInfoPhase() 179 uint32_t data = 0; HdmiEdidEstablisedTimingPhase() local 230 uint8_t *data = block->stdTiming; HdmiEdidStandardTimingPhase() local 255 HdmiEdidMonitorDescriptorPhase(const struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint32_t len) HdmiEdidMonitorDescriptorPhase() argument 300 HdmiEdidDetailedTimingDescriptorPhase(struct HdmiSinkDeviceCapability *cap, uint8_t *data, uint32_t len) HdmiEdidDetailedTimingDescriptorPhase() argument 353 HdmiEdidDetailedTiming(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint32_t len) HdmiEdidDetailedTiming() argument 439 HdmiEdidExtAdbSampleRatePhase(struct HdmiEdidAudioInfo *audio, uint8_t data, uint8_t formatCode) HdmiEdidExtAdbSampleRatePhase() argument 481 HdmiEdidExtAdbDepthAndMaxRatePhase(struct HdmiEdidAudioInfo *audio, uint8_t data, uint8_t formatCode) HdmiEdidExtAdbDepthAndMaxRatePhase() argument 510 HdmiEdidExtAudioDataBlockPhase(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint8_t len) HdmiEdidExtAudioDataBlockPhase() argument 549 HdmiEdidExtVideoDataBlockPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidExtVideoDataBlockPhase() argument 595 HdmiEdidVsdbCecPhyAddrPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidVsdbCecPhyAddrPhase() argument 612 HdmiEdidVsdbColorDepthPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidVsdbColorDepthPhase() argument 624 HdmiEdidVsdbMaxTmdsClockPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidVsdbMaxTmdsClockPhase() argument 636 HdmiEdidVsdbSinkPresentPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidVsdbSinkPresentPhase() argument 645 HdmiEdidVsdbSinkLatencyPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidVsdbSinkLatencyPhase() argument 665 HdmiEdidVsdbVicInfoPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t vicLen, uint8_t *offset) HdmiEdidVsdbVicInfoPhase() argument 692 HdmiEdidVsdb3dStructureInfoPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len, uint8_t *offset) HdmiEdidVsdb3dStructureInfoPhase() argument 732 HdmiEdidVsdbVicAnd3dInfoPhase(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint8_t len) HdmiEdidVsdbVicAnd3dInfoPhase() argument 767 HdmiEdidVsdbPhase(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint8_t len) HdmiEdidVsdbPhase() argument 797 HdmiEdidHfVsdb21Phase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidHfVsdb21Phase() argument 824 HdmiEdidHfVsdbPhase(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint8_t len) HdmiEdidHfVsdbPhase() argument 856 HdmiEdidExtVsDataBlockPhase(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint8_t len) HdmiEdidExtVsDataBlockPhase() argument 885 HdmiEdidExtSpeakerDataBlockPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidExtSpeakerDataBlockPhase() argument 918 HdmiEdidExtUseExtDataBlockVcdbPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidExtUseExtDataBlockVcdbPhase() argument 930 HdmiEdidExtUseExtDataBlockCdbPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidExtUseExtDataBlockCdbPhase() argument 951 HdmiEdidExtUseExtDataBlockY420VdbPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidExtUseExtDataBlockY420VdbPhase() argument 973 HdmiEdidExtUseExtDataBlockY420CmdbPhase(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint8_t len) HdmiEdidExtUseExtDataBlockY420CmdbPhase() argument 1014 HdmiEdidExtUseExtDataBlockHdrSmdbPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) HdmiEdidExtUseExtDataBlockHdrSmdbPhase() argument 1044 HdmiEdidDolbyCapVersionZeroPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data) HdmiEdidDolbyCapVersionZeroPhase() argument 1081 HdmiEdidDolbyCapVersionOnePhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data) HdmiEdidDolbyCapVersionOnePhase() argument 1100 HdmiEdidExtUseExtDataBlockVsvdbPhase(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint8_t len) HdmiEdidExtUseExtDataBlockVsvdbPhase() argument 1131 HdmiEdidExtUseExtDataBlockPhase(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint8_t len) HdmiEdidExtUseExtDataBlockPhase() argument 1161 HdmiEdidExtDataBlockPhase(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint8_t len, uint8_t tag) HdmiEdidExtDataBlockPhase() argument 1198 uint8_t *data = edid->raw + (blockNum * HDMI_EDID_SINGLE_BLOCK_SIZE); HdmiEdidExtSeveralDataBlockPhase() local 1232 uint8_t *data = edid->raw; HdmiEdidExtBlockPhase() local [all...] |
/drivers/hdf_core/adapter/uhdf2/hdi/test/buffer_handle/ |
H A D | buffer_handle_test.cpp | 135 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC);
in HWTEST_F() local 136 ASSERT_NE(data, nullptr);
in HWTEST_F() 142 bool ret = HdfSbufWriteNativeBufferHandle(data, srcHandle);
in HWTEST_F() 145 BufferHandle *destHandle = HdfSbufReadNativeBufferHandle(data);
in HWTEST_F() 151 HdfSbufRecycle(data);
in HWTEST_F() 157 struct HdfSBuf *data = nullptr;
in HWTEST_F() local 159 bool ret = HdfSbufWriteNativeBufferHandle(data, srcHandle);
in HWTEST_F() 166 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC);
in HWTEST_F() local 167 ASSERT_NE(data, nullptr);
in HWTEST_F() 170 bool ret = HdfSbufWriteNativeBufferHandle(data, srcHandl in HWTEST_F() 179 struct HdfSBuf *data = nullptr; HWTEST_F() local 187 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); HWTEST_F() local 197 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); HWTEST_F() local 211 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); HWTEST_F() local 226 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); HWTEST_F() local 241 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); HWTEST_F() local 276 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); HWTEST_F() local 313 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); HWTEST_F() local 350 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); HWTEST_F() local 394 struct HdfSBuf *data = HdfSbufTypedObtain(SBUF_IPC); HWTEST_F() local [all...] |
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/ |
H A 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, repl in AudioProxyRenderGetFrameParameter() 113 struct HdfSBuf *data = NULL; AudioProxyRenderSetSampleAttributes() local 138 struct HdfSBuf *data = NULL; AudioProxyRenderGetSampleAttributes() local 168 struct HdfSBuf *data = NULL; AudioProxyRenderGetCurrentChannelId() local 199 struct HdfSBuf *data = NULL; AudioProxyRenderCheckSceneCapability() local 243 struct HdfSBuf *data = NULL; AudioProxyRenderSelectScene() local 270 struct HdfSBuf *data = NULL; AudioProxyRenderSetMute() local 295 struct HdfSBuf *data = NULL; AudioProxyRenderGetMute() local 334 struct HdfSBuf *data = NULL; AudioProxyRenderGetGainThreshold() local 378 struct HdfSBuf *data = NULL; AudioProxyRenderGetLatency() local 410 struct HdfSBuf *data = NULL; AudioProxyRenderRenderFrame() local 444 struct HdfSBuf *data = NULL; AudioProxyRenderGetRenderPosition() local 492 struct HdfSBuf *data = NULL; AudioProxyRenderSetChannelMode() local 518 struct HdfSBuf *data = NULL; AudioProxyRenderGetChannelMode() local 551 struct HdfSBuf *data = NULL; AudioProxyRenderSetExtraParams() local 575 struct HdfSBuf *data = NULL; AudioProxyRenderGetExtraParams() local 617 struct HdfSBuf *data = NULL; AudioProxyRenderReqMmapBuffer() local 671 struct HdfSBuf *data = NULL; AudioProxyRenderGetMmapPosition() local 702 struct HdfSBuf *data = NULL; AudioProxyRenderTurnStandbyMode() local 728 struct HdfSBuf *data = NULL; AudioProxyRenderAudioDevDump() local 762 struct HdfSBuf *data = NULL; AudioProxyRenderRegCallback() local 797 struct HdfSBuf *data = NULL; AudioProxyRenderDrainBuffer() local [all...] |
/drivers/peripheral/display/hdi_service/device/src/proxy/display_device_proxy/ |
H A D | display_device_proxy.cpp | 91 DISPLAY_LOG("callback %{public}s nullptr, data %{public}s nullptr", callback == nullptr ? "is" : "is not", in RegHotPlugCallback() 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() 118 DISPLAY_LOG("callback %{public}s nullptr, data %{public}s nullptr", callback == nullptr ? "is" : "is not", in RegDisplayVBlankCallback() 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() 146 DISPLAY_LOG("callback %{public}s nullptr, data in RegDisplayRefreshCallback() 153 MessageParcel data; RegDisplayRefreshCallback() local 178 MessageParcel data; GetDisplayCapability() local 206 MessageParcel data; GetDisplaySupportedModes() local 240 MessageParcel data; GetDisplayMode() local 265 MessageParcel data; SetDisplayMode() local 293 MessageParcel data; GetDisplayPowerStatus() local 317 MessageParcel data; SetDisplayPowerStatus() local 346 MessageParcel data; GetDisplayBacklight() local 371 MessageParcel data; SetDisplayBacklight() local 400 MessageParcel data; GetDisplayProperty() local 429 MessageParcel data; SetDisplayProperty() local 462 MessageParcel data; PrepareDisplayLayers() local 492 MessageParcel data; GetDisplayCompChange() local 534 MessageParcel data; SetDisplayClientCrop() local 562 MessageParcel data; SetDisplayClientDestRect() local 590 MessageParcel data; SetDisplayClientBuffer() local 627 MessageParcel data; SetDisplayClientDamage() local 659 MessageParcel data; SetDisplayVsyncEnabled() local 694 MessageParcel data; GetDisplayReleaseFence() local 733 MessageParcel data; Commit() local 762 MessageParcel data; CreateVirtualDisplay() local 796 MessageParcel data; DestroyVirtualDisplay() local 826 MessageParcel data; SetVirtualDisplayBuffer() local 864 MessageParcel data; CreateWriteBack() local 894 MessageParcel data; DestroyWriteBack() local 913 MessageParcel data; SetProxyRemoteCallback() local 938 MessageParcel data; InitDisplay() local 962 MessageParcel data; DeinitDisplay() local 986 MessageParcel data; GetDisplayInfo() local 1013 MessageParcel data; CreateLayer() local 1042 MessageParcel data; CloseLayer() local 1070 MessageParcel data; SetLayerVisible() local 1102 MessageParcel data; GetLayerVisibleState() local 1134 MessageParcel data; SetLayerSize() local 1166 MessageParcel data; GetLayerSize() local 1202 MessageParcel data; SetLayerCrop() local 1234 MessageParcel data; SetLayerZorder() local 1266 MessageParcel data; GetLayerZorder() local 1295 MessageParcel data; SetLayerPreMulti() local 1327 MessageParcel data; GetLayerPreMulti() local 1355 MessageParcel data; SetLayerAlpha() local 1386 MessageParcel data; GetLayerAlpha() local 1418 MessageParcel data; SetLayerColorKey() local 1453 MessageParcel data; GetLayerColorKey() local 1488 MessageParcel data; SetLayerPalette() local 1523 MessageParcel data; GetLayerPalette() local 1556 MessageParcel data; SetTransformMode() local 1587 MessageParcel data; SetLayerCompression() local 1618 MessageParcel data; GetLayerCompression() local 1646 MessageParcel data; SetLayerDirtyRegion() local 1688 MessageParcel data; GetLayerBuffer() local 1723 MessageParcel data; Flush() local 1758 MessageParcel data; WaitForVBlank() local 1789 MessageParcel data; SnapShot() local 1822 MessageParcel data; SetLayerVisibleRegion() local 1857 MessageParcel data; SetLayerBuffer() local 1901 MessageParcel data; SetLayerCompositionType() local 1932 MessageParcel data; SetLayerBlendType() local [all...] |
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_server_render.cpp | 25 int32_t GetInitRenderParaAttrs(struct HdfSBuf *data, struct AudioSampleAttributes *attrs) in GetInitRenderParaAttrs() argument 27 if (data == NULL || attrs == NULL) { in GetInitRenderParaAttrs() 31 if (!HdfSbufReadUint32(data, &tempRenderPara)) { in GetInitRenderParaAttrs() 36 if (!HdfSbufReadUint32(data, &attrs->period)) { in GetInitRenderParaAttrs() 40 if (!HdfSbufReadUint32(data, &attrs->frameSize)) { in GetInitRenderParaAttrs() 44 if (!HdfSbufReadUint32(data, &attrs->startThreshold)) { in GetInitRenderParaAttrs() 48 if (!HdfSbufReadUint32(data, &attrs->stopThreshold)) { in GetInitRenderParaAttrs() 52 if (!HdfSbufReadUint32(data, &attrs->silenceThreshold)) { in GetInitRenderParaAttrs() 56 if (!HdfSbufReadUint32(data, &tempRenderPara)) { in GetInitRenderParaAttrs() 64 int32_t GetInitRenderPara(struct HdfSBuf *data, struc argument 110 HdiServiceCreatRender(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceCreatRender() argument 162 HdiServiceRenderDestory(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderDestory() argument 198 HdiServiceRenderStart(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderStart() argument 211 HdiServiceRenderStop(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderStop() argument 224 HdiServiceRenderPause(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderPause() argument 239 HdiServiceRenderResume(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderResume() argument 252 HdiServiceRenderFlush(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderFlush() argument 266 HdiServiceRenderGetFrameSize(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetFrameSize() argument 287 HdiServiceRenderGetFrameCount(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetFrameCount() argument 308 HdiServiceRenderSetSampleAttr(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderSetSampleAttr() argument 327 HdiServiceRenderGetSampleAttr(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetSampleAttr() argument 349 HdiServiceRenderGetCurChannelId(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetCurChannelId() argument 371 HdiServiceRenderCheckSceneCapability(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderCheckSceneCapability() argument 403 HdiServiceRenderSelectScene(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderSelectScene() argument 428 HdiServiceRenderGetMute(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetMute() argument 452 HdiServiceRenderSetMute(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderSetMute() argument 472 HdiServiceRenderSetVolume(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderSetVolume() argument 491 HdiServiceRenderGetVolume(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetVolume() argument 514 HdiServiceRenderGetGainThreshold(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetGainThreshold() argument 541 HdiServiceRenderGetGain(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetGain() argument 564 HdiServiceRenderSetGain(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderSetGain() argument 582 HdiServiceRenderGetLatency(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetLatency() argument 604 HdiServiceRenderRenderFrame(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderRenderFrame() argument 646 HdiServiceRenderGetRenderPosition(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetRenderPosition() argument 670 HdiServiceRenderGetSpeed(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetSpeed() argument 693 HdiServiceRenderSetSpeed(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderSetSpeed() argument 711 HdiServiceRenderSetChannelMode(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderSetChannelMode() argument 731 HdiServiceRenderGetChannelMode(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetChannelMode() argument 756 HdiServiceRenderSetExtraParams(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderSetExtraParams() argument 776 HdiServiceRenderGetExtraParams(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetExtraParams() argument 807 HdiServiceRenderReqMmapBuffer(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderReqMmapBuffer() argument 859 HdiServiceRenderGetMmapPosition(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderGetMmapPosition() argument 882 HdiServiceRenderTurnStandbyMode(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderTurnStandbyMode() argument 897 HdiServiceRenderDevDump(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderDevDump() argument 919 HdiServiceRenderRegCallback(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderRegCallback() argument 945 HdiServiceRenderDrainBuffer(const struct HdfDeviceIoClient *client, struct HdfSBuf *data, struct HdfSBuf *reply) HdiServiceRenderDrainBuffer() argument [all...] |
/drivers/hdf_core/framework/support/platform/src/clock/ |
H A D | clock_if_u.c | 34 struct HdfSBuf *data = NULL; in ClockOpen() local 45 data = HdfSbufObtainDefaultSize(); in ClockOpen() 46 if (data == NULL) { in ClockOpen() 47 HDF_LOGE("ClockOpen: fail to obtain data!"); 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; ClockClose() local 123 struct HdfSBuf *data = NULL; ClockEnable() local 160 struct HdfSBuf *data = NULL; ClockDisable() local 197 struct HdfSBuf *data = NULL; ClockSetRate() local 239 struct HdfSBuf *data = NULL; ClockGetRate() local 296 struct HdfSBuf *data = NULL; ClockGetParent() local 352 struct HdfSBuf *data = NULL; ClockSetParent() local [all...] |
/drivers/hdf_core/framework/support/platform/src/gpio/ |
H A D | gpio_if_u.c | 50 struct HdfSBuf *data = NULL; in GpioRead() local 59 data = HdfSbufObtainDefaultSize(); in GpioRead() 60 if (data == NULL) { in GpioRead() 61 HDF_LOGE("GpioRead: fail to obtain data!"); 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() 103 struct HdfSBuf *data = NULL; GpioWrite() local 144 struct HdfSBuf *data = NULL; GpioGetDir() local 202 struct HdfSBuf *data = NULL; GpioSetDir() local 265 struct HdfSBuf *data = NULL; GpioSetIrq() local 320 struct HdfSBuf *data = NULL; GpioUnsetIrq() local 358 struct HdfSBuf *data = NULL; GpioEnableIrq() local 393 struct HdfSBuf *data = NULL; GpioDisableIrq() local 428 struct HdfSBuf *data = NULL; GpioGetByName() local [all...] |
/test/xts/acts/communication/dsoftbus/rpc_request/entry/src/ohosTest/js/test/ |
H A D | ActsRpcRequestJsTest.test.js | 94 onRemoteRequest(code, data, reply, option) {
103 let _num = data.readInt();
104 let _str = data.readString();
122 onRemoteRequest(code, data, reply, option) {
127 let tmp1 = data.readString();
132 return super.onRemoteRequest(code, data, reply, option);
139 async onRemoteMessageRequest(code, data, reply, option) {
143 let tmp1 = data.readString();
147 let tmp1 = data.readString();
151 let tmp1 = data [all...] |
/drivers/peripheral/display/hdi_service/device/src/server/ |
H A D | display_device_host_driver.cpp | 67 struct HdfDeviceIoClient *client, int cmdId, struct HdfSBuf *data, struct HdfSBuf *reply) in DisplayDeviceServiceDispatch() 71 if (client == nullptr || data == nullptr || reply == nullptr) { in DisplayDeviceServiceDispatch() 77 DISPLAY_LOG("error: invalid data sbuf object to dispatch"); in DisplayDeviceServiceDispatch() 87 if (SbufToParcel(data, &dataParcel) != HDF_SUCCESS || SbufToParcel(reply, &replyParcel) != HDF_SUCCESS) { in DisplayDeviceServiceDispatch() 88 DISPLAY_LOG("error: invalid data or reply sbuf object to dispatch"); in DisplayDeviceServiceDispatch() 150 int32_t DisplayDeviceServerStub::OnRemoteRequest(int cmdId, MessageParcel *data, MessageParcel *reply) in OnRemoteRequest() argument 168 int32_t ret = (this->*functionPtr)(data, reply); in OnRemoteRequest() 174 static void HotPlugCallbackFunc(uint32_t devId, bool connected, void *data) in HotPlugCallbackFunc() argument 177 auto callbackRemote = reinterpret_cast<DisplayDeviceCallbackProxy *>(data); in HotPlugCallbackFunc() 186 int32_t DisplayDeviceServerStub::RegHotPlugCallback(MessageParcel *data, MessageParce argument 66 DisplayDeviceServiceDispatch( struct HdfDeviceIoClient *client, int cmdId, struct HdfSBuf *data, struct HdfSBuf *reply) DisplayDeviceServiceDispatch() argument 203 GetDisplayCapability(MessageParcel *data, MessageParcel *reply) GetDisplayCapability() argument 229 GetDisplaySupportedModes(MessageParcel *data, MessageParcel *reply) GetDisplaySupportedModes() argument 266 GetDisplayMode(MessageParcel *data, MessageParcel *reply) GetDisplayMode() argument 293 SetDisplayMode(MessageParcel *data, MessageParcel *reply) SetDisplayMode() argument 317 GetDisplayPowerStatus(MessageParcel *data, MessageParcel *reply) GetDisplayPowerStatus() argument 344 SetDisplayPowerStatus(MessageParcel *data, MessageParcel *reply) SetDisplayPowerStatus() argument 369 GetDisplayBackLight(MessageParcel *data, MessageParcel *reply) GetDisplayBackLight() argument 396 SetDisplayBackLight(MessageParcel *data, MessageParcel *reply) SetDisplayBackLight() argument 419 GetDisplayProperty(MessageParcel *data, MessageParcel *reply) GetDisplayProperty() argument 449 SetDisplayProperty(MessageParcel *data, MessageParcel *reply) SetDisplayProperty() argument 477 PrepareDisplayLayers(MessageParcel *data, MessageParcel *reply) PrepareDisplayLayers() argument 504 GetDisplayCompChange(MessageParcel *data, MessageParcel *reply) GetDisplayCompChange() argument 545 SetDisplayClientCrop(MessageParcel *data, MessageParcel *reply) SetDisplayClientCrop() argument 570 SetDisplayClientDestRect(MessageParcel *data, MessageParcel *reply) SetDisplayClientDestRect() argument 596 SetDisplayClientBuffer(MessageParcel *data, MessageParcel *reply) SetDisplayClientBuffer() argument 629 SetDisplayClientDamage(MessageParcel *data, MessageParcel *reply) SetDisplayClientDamage() argument 660 SetDisplayVsyncEnabled(MessageParcel *data, MessageParcel *reply) SetDisplayVsyncEnabled() argument 684 VBlankCallbackFunc(unsigned int sequence, uint64_t ns, void *data) VBlankCallbackFunc() argument 700 RegDisplayVBlankCallback(MessageParcel *data, MessageParcel *reply) RegDisplayVBlankCallback() argument 722 GetDisplayReleaseFence(MessageParcel *data, MessageParcel *reply) GetDisplayReleaseFence() argument 760 Commit(MessageParcel *data, MessageParcel *reply) Commit() argument 787 InvokeDisplayCmd(MessageParcel *data, MessageParcel *reply) InvokeDisplayCmd() argument 794 CreateVirtualDisplay(MessageParcel *data, MessageParcel *reply) CreateVirtualDisplay() argument 829 DestroyVirtualDisplay(MessageParcel *data, MessageParcel *reply) DestroyVirtualDisplay() argument 847 SetVirtualDisplayBuffer(MessageParcel *data, MessageParcel *reply) SetVirtualDisplayBuffer() argument 875 RefreshCallbackFunc(uint32_t devId, void *data) RefreshCallbackFunc() argument 891 RegDisplayRefreshCallback(MessageParcel *data, MessageParcel *reply) RegDisplayRefreshCallback() argument 913 GetWriteBackFrame(MessageParcel *data, MessageParcel *reply) GetWriteBackFrame() argument 920 CreateWriteBack(MessageParcel *data, MessageParcel *reply) CreateWriteBack() argument 927 DestroyWriteBack(MessageParcel *data, MessageParcel *reply) DestroyWriteBack() argument 934 FileTest(MessageParcel *data, MessageParcel *reply) FileTest() argument 964 SetProxyRemoteCallback(MessageParcel *data, MessageParcel *reply) SetProxyRemoteCallback() argument 981 CreateLayer(MessageParcel *data, MessageParcel *reply) CreateLayer() argument 1015 SetLayerVisible(MessageParcel *data, MessageParcel *reply) SetLayerVisible() argument 1045 GetLayerVisibleState(MessageParcel *data, MessageParcel *reply) GetLayerVisibleState() argument 1078 SetLayerCrop(MessageParcel *data, MessageParcel *reply) SetLayerCrop() argument 1108 SetLayerZorder(MessageParcel *data, MessageParcel *reply) SetLayerZorder() argument 1137 GetLayerZorder(MessageParcel *data, MessageParcel *reply) GetLayerZorder() argument 1170 SetLayerPreMulti(MessageParcel *data, MessageParcel *reply) SetLayerPreMulti() argument 1199 GetLayerPreMulti(MessageParcel *data, MessageParcel *reply) GetLayerPreMulti() argument 1231 SetLayerAlpha(MessageParcel *data, MessageParcel *reply) SetLayerAlpha() argument 1261 GetLayerAlpha(MessageParcel *data, MessageParcel *reply) GetLayerAlpha() argument 1293 SetLayerColorKey(MessageParcel *data, MessageParcel *reply) SetLayerColorKey() argument 1327 GetLayerColorKey(MessageParcel *data, MessageParcel *reply) GetLayerColorKey() argument 1364 SetLayerPalette(MessageParcel *data, MessageParcel *reply) SetLayerPalette() argument 1400 GetLayerPalette(MessageParcel *data, MessageParcel *reply) GetLayerPalette() argument 1443 SetLayerCompression(MessageParcel *data, MessageParcel *reply) SetLayerCompression() argument 1472 GetLayerCompression(MessageParcel *data, MessageParcel *reply) GetLayerCompression() argument 1504 Flush(MessageParcel *data, MessageParcel *reply) Flush() argument 1538 SetLayerVisibleRegion(MessageParcel *data, MessageParcel *reply) SetLayerVisibleRegion() argument 1575 SetLayerDirtyRegion(MessageParcel *data, MessageParcel *reply) SetLayerDirtyRegion() argument 1611 GetLayerBuffer(MessageParcel *data, MessageParcel *reply) GetLayerBuffer() argument 1648 SetLayerBuffer(MessageParcel *data, MessageParcel *reply) SetLayerBuffer() argument 1682 InvokeLayerCmd(MessageParcel *data, MessageParcel *reply) InvokeLayerCmd() argument 1689 SetLayerCompositionType(MessageParcel *data, MessageParcel *reply) SetLayerCompositionType() argument 1718 InitDisplay(MessageParcel *data, MessageParcel *reply) InitDisplay() argument 1736 DeinitDisplay(MessageParcel *data, MessageParcel *reply) DeinitDisplay() argument 1752 GetDisplayInfo(MessageParcel *data, MessageParcel *reply) GetDisplayInfo() argument 1781 CloseLayer(MessageParcel *data, MessageParcel *reply) CloseLayer() argument 1806 SetLayerSize(MessageParcel *data, MessageParcel *reply) SetLayerSize() argument 1839 GetLayerSize(MessageParcel *data, MessageParcel *reply) GetLayerSize() argument 1874 SetTransformMode(MessageParcel *data, MessageParcel *reply) SetTransformMode() argument 1906 WaitForVBlank(MessageParcel *data, MessageParcel *reply) WaitForVBlank() argument 1938 SnapShot(MessageParcel *data, MessageParcel *reply) SnapShot() argument 1976 SetLayerBlendType(MessageParcel *data, MessageParcel *reply) SetLayerBlendType() argument [all...] |
/test/xts/acts/communication/dsoftbus/rpc/entry/src/ohosTest/js/test/ |
H A D | RpcClientJsunit.test.js | 162 onRemoteRequest(code, data, reply, option) {
167 let tmp1 = data.readString();
172 let tmp1 = data.readString();
177 return super.onRemoteRequest(code, data, reply, option);
184 onRemoteMessageRequest(code, data, reply, option) {
191 let tmp1 = data.readByteArray();
198 let tmp1 = data.readIntArray();
205 let tmp1 = data.readFloatArray();
212 let tmp1 = data.readShort();
219 let tmp1 = data [all...] |
/drivers/peripheral/audio/hal/hdi_binder/server/include/ |
H A 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, struc [all...] |