/drivers/peripheral/audio/supportlibs/interfaces/include/ |
D | audio_if_lib_render.h | 47 int cmdId, const struct AudioHwRenderParam *handleData); 49 int cmdId, const struct AudioHwRenderParam *handleData); 51 int cmdId, const struct AudioHwRenderParam *handleData); 53 int cmdId, const struct AudioHwRenderParam *handleData); 55 int cmdId, const struct AudioHwRenderParam *handleData); 57 int cmdId, struct AudioHwRenderParam *handleData); 59 struct AudioHwRenderParam *handleData, int cmdId); 61 int cmdId, const struct AudioHwRenderParam *handleData); 63 int cmdId, const struct AudioHwRenderParam *handleData); 65 int cmdId, const struct AudioHwRenderParam *handleData); [all …]
|
D | audio_if_lib_capture.h | 46 int cmdId, const struct AudioHwCaptureParam *handleData); 48 int cmdId, const struct AudioHwCaptureParam *handleData); 50 int cmdId, const struct AudioHwCaptureParam *handleData); 52 int cmdId, const struct AudioHwCaptureParam *handleData); 54 int cmdId, struct AudioHwCaptureParam *handleData); 56 struct AudioHwCaptureParam *handleData, int cmdId); 58 int cmdId, const struct AudioHwCaptureParam *handleData); 60 int cmdId, struct AudioHwCaptureParam *handleData); 62 int cmdId, const struct AudioHwCaptureParam *handleData); 64 int cmdId, const struct AudioHwCaptureParam *handleData); [all …]
|
/drivers/peripheral/audio/supportlibs/adm_adapter/src/ |
D | audio_interface_lib_render.c | 87 int32_t AudioCtlRenderSetVolume(const struct DevHandle *handle, int cmdId, in AudioCtlRenderSetVolume() argument 107 cmdId = AUDIODRV_CTL_IOCTL_ELEM_WRITE - CTRL_NUM; in AudioCtlRenderSetVolume() 109 if (AudioServiceDispatch(handle->object, cmdId, sBuf, NULL) != HDF_SUCCESS) { in AudioCtlRenderSetVolume() 119 int32_t AudioCtlRenderGetVolume(const struct DevHandle *handle, int cmdId, struct AudioHwRenderPara… in AudioCtlRenderGetVolume() argument 140 cmdId = AUDIODRV_CTL_IOCTL_ELEM_READ - CTRL_NUM; in AudioCtlRenderGetVolume() 142 if (AudioServiceDispatch(handle->object, cmdId, sBuf, reply) != HDF_SUCCESS) { in AudioCtlRenderGetVolume() 177 int cmdId, const struct AudioHwRenderParam *handleData) in AudioCtlRenderSetPauseStu() argument 202 cmdId = handleData->renderMode.ctlParam.pause ? in AudioCtlRenderSetPauseStu() 205 if (AudioServiceDispatch(handle->object, cmdId, sBuf, NULL) != HDF_SUCCESS) { in AudioCtlRenderSetPauseStu() 232 int cmdId, const struct AudioHwRenderParam *handleData) in AudioCtlRenderSetMuteStu() argument [all …]
|
D | audio_interface_lib_capture.c | 126 int cmdId, const struct AudioHwCaptureParam *handleData) in AudioCtlCaptureSetPauseStu() argument 152 cmdId = handleData->captureMode.ctlParam.pause ? in AudioCtlCaptureSetPauseStu() 155 ret = AudioServiceDispatch(handle->object, cmdId, sBuf, NULL); in AudioCtlCaptureSetPauseStu() 181 int cmdId, struct AudioHwCaptureParam *handleData) in AudioCtlCaptureGetVolume() argument 204 cmdId = AUDIODRV_CTL_IOCTL_ELEM_READ_CAPTURE - CTRL_NUM; in AudioCtlCaptureGetVolume() 206 ret = AudioServiceDispatch(handle->object, cmdId, sBuf, reply); in AudioCtlCaptureGetVolume() 241 int cmdId, const struct AudioHwCaptureParam *handleData) in AudioCtlCaptureSetVolume() argument 261 cmdId = AUDIODRV_CTL_IOCTL_ELEM_WRITE_CAPTURE - CTRL_NUM; in AudioCtlCaptureSetVolume() 263 ret = AudioServiceDispatch(handle->object, cmdId, sBuf, NULL); in AudioCtlCaptureSetVolume() 290 int cmdId, const struct AudioHwCaptureParam *handleData) in AudioCtlCaptureSetMuteStu() argument [all …]
|
D | audio_interface_lib_common.c | 128 int32_t AudioServiceDispatch(void *obj, int cmdId, struct HdfSBuf *sBuf, struct HdfSBuf *reply) in AudioServiceDispatch() argument 137 return service->dispatcher->Dispatch(&(service->object), cmdId, sBuf, reply); in AudioServiceDispatch() 558 static const char *AudioRenderCtlCmdId2String(int cmdId) in AudioRenderCtlCmdId2String() argument 572 if (cmdId < MIXER_CTL_IOCTL_ELEM_INFO || cmdId > MIXER_CTL_IOCTL_SET_CHMAP) { in AudioRenderCtlCmdId2String() 577 return audioRenderCtlCmdString[cmdId - MIXER_CTL_IOCTL_ELEM_INFO]; in AudioRenderCtlCmdId2String() 580 … AudioCtlGetElemList(const struct HdfIoService *service, struct AudioCtlElemList *eList, int cmdId) in AudioCtlGetElemList() argument 616 ret = service->dispatcher->Dispatch(srv, cmdId, sBuf, reply); in AudioCtlGetElemList() 619 …"Failed to send service call cmdId: %{public}s!", AudioRenderCtlCmdId2String(cmdId + MIXER_CMD_ID_… in AudioCtlGetElemList() 634 static int32_t AudioCtlElemListCts(const struct HdfIoService *service, int cmdId, struct AudioMixer… in AudioCtlElemListCts() argument 650 ret = AudioCtlGetElemList(service, &eList, cmdId); in AudioCtlElemListCts() [all …]
|
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/ |
D | alsa_lib_render.c | 142 int32_t AudioCtlRenderSetVolume(const struct DevHandle *handle, int cmdId, const struct AudioHwRend… in AudioCtlRenderSetVolume() argument 149 (void)cmdId; in AudioCtlRenderSetVolume() 256 int32_t AudioCtlRenderGetVolume(const struct DevHandle *handle, int cmdId, struct AudioHwRenderPara… in AudioCtlRenderGetVolume() argument 262 (void)cmdId; in AudioCtlRenderGetVolume() 282 const struct DevHandle *handle, int cmdId, const struct AudioHwRenderParam *handleData) in AudioCtlRenderSetPauseStu() argument 284 (void)cmdId; in AudioCtlRenderSetPauseStu() 363 int32_t AudioCtlRenderSetMuteStu(const struct DevHandle *handle, int cmdId, const struct AudioHwRen… in AudioCtlRenderSetMuteStu() argument 368 (void)cmdId; in AudioCtlRenderSetMuteStu() 406 int32_t AudioCtlRenderGetMuteStu(const struct DevHandle *handle, int cmdId, struct AudioHwRenderPar… in AudioCtlRenderGetMuteStu() argument 410 (void)cmdId; in AudioCtlRenderGetMuteStu() [all …]
|
D | alsa_lib_capture.c | 72 const struct DevHandle *handle, int cmdId, const struct AudioHwCaptureParam *handleData) in AudioCtlCaptureSetPauseStu() argument 78 (void)cmdId; in AudioCtlCaptureSetPauseStu() 134 int32_t AudioCtlCaptureGetVolume(const struct DevHandle *handle, int cmdId, struct AudioHwCapturePa… in AudioCtlCaptureGetVolume() argument 140 (void)cmdId; in AudioCtlCaptureGetVolume() 213 const struct DevHandle *handle, int cmdId, const struct AudioHwCaptureParam *handleData) in AudioCtlCaptureSetVolume() argument 219 (void)cmdId; in AudioCtlCaptureSetVolume() 333 const struct DevHandle *handle, int cmdId, const struct AudioHwCaptureParam *handleData) in AudioCtlCaptureSetMuteStu() argument 338 (void)cmdId; in AudioCtlCaptureSetMuteStu() 369 int32_t AudioCtlCaptureGetMuteStu(const struct DevHandle *handle, int cmdId, struct AudioHwCaptureP… in AudioCtlCaptureGetMuteStu() argument 373 (void)cmdId; in AudioCtlCaptureGetMuteStu() [all …]
|
/drivers/hdf_core/adapter/uhdf2/osal/test/unittest/common/ |
D | sample_driver.c | 83 struct HdfDeviceIoClient *client, int cmdId, struct HdfSBuf *data, struct HdfSBuf *reply) in SampleDriverDispatch() argument 89 HDF_LOGI("%{public}s:cmdId = %{public}d", __func__, cmdId); in SampleDriverDispatch() 90 switch (cmdId) { in SampleDriverDispatch() 101 ret = SampleDriverSendEvent(client, cmdId, data, false); in SampleDriverDispatch() 105 ret = SampleDriverSendEvent(client, cmdId, data, true); in SampleDriverDispatch()
|
/drivers/hdf_core/adapter/khdf/linux/test/test_helper_driver/src/ |
D | test_helper_driver.c | 32 struct HdfDeviceIoClient *client, int cmdId, struct HdfSBuf *data, struct HdfSBuf *reply) in HelperDriverDispatch() argument 37 if (cmdId != 1) { in HelperDriverDispatch() 38 HDF_LOGE("%s:unknown comd id %d", __func__, cmdId); in HelperDriverDispatch()
|
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/ |
D | audio_adm_if_lib_capture_test.cpp | 27 int cmdId, struct HdfSBuf *sBuf, struct HdfSBuf *reply); 30 int cmdId, const struct AudioHwCaptureParam *handleData); 33 int cmdId, struct AudioHwCaptureParam *handleData); 36 int cmdId, const struct AudioHwCaptureParam *handleData); 39 int cmdId, const struct AudioHwCaptureParam *handleData); 42 int cmdId, struct AudioHwCaptureParam *handleData); 45 int cmdId, const struct AudioHwCaptureParam *handleData); 48 int cmdId, struct AudioHwCaptureParam *handleData); 52 int cmdId, const struct AudioHwCaptureParam *handleData); 55 int cmdId, struct AudioHwCaptureParam *handleData); [all …]
|
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/ |
D | audio_adm_if_lib_render_test.cpp | 26 int32_t AudioServiceRenderDispatch(struct HdfIoService *service, int cmdId, 32 int cmdId, const struct AudioHwRenderParam *handleData); 33 int32_t AudioCtlRenderGetVolume(const struct DevHandle *handle, int cmdId, struct AudioHwRenderPara… 34 int32_t AudioOutputRenderSetSpeed(struct DevHandle *handle, int cmdId, struct AudioHwRenderParam *h… 37 int cmdId, const struct AudioHwRenderParam *handleData); 40 int cmdId, const struct AudioHwRenderParam *handleData); 42 int32_t AudioCtlRenderGetMuteStu(const struct DevHandle *handle, int cmdId, struct AudioHwRenderPar… 45 int cmdId, const struct AudioHwRenderParam *handleData); 47 int32_t AudioCtlRenderGetGainStu(const struct DevHandle *handle, int cmdId, struct AudioHwRenderPar… 51 int cmdId, const struct AudioHwRenderParam *handleData); [all …]
|
/drivers/hdf_core/framework/core/shared/src/ |
D | hdf_io_service.c | 37 int32_t HdfIoServiceDispatch(struct HdfIoService *ioService, int cmdId, struct HdfSBuf *data, struc… in HdfIoServiceDispatch() argument 43 return ioService->dispatcher->Dispatch(&ioService->object, cmdId, data, reply); in HdfIoServiceDispatch()
|
/drivers/peripheral/display/hdi_service/gralloc/server/ |
D | allocator_service_stub.h | 36 …int32_t OnRemoteRequest(uint32_t cmdId, MessageParcel &data, MessageParcel &reply, MessageOption &… 50 int32_t AllocatorServiceOnRemoteRequest(void *service, int cmdId, struct HdfSBuf &data, struct HdfS…
|
D | allocator_service_stub.cpp | 67 uint32_t cmdId, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest() argument 69 if (cmdId == CMD_ALLOCATOR_ALLOCMEM) { in OnRemoteRequest()
|
D | allocator_host.cpp | 27 static int32_t AllocatorServiceDispatch(struct HdfDeviceIoClient *client, int cmdId, in AllocatorServiceDispatch() argument 32 return AllocatorServiceOnRemoteRequest(allocatorService->instance, cmdId, *data, *reply); in AllocatorServiceDispatch()
|
/drivers/peripheral/wlan/test/fuzztest/ap_fuzzer/ |
D | ap_fuzzer.cpp | 74 static void FuncToOptimal(struct IWlanInterface *interface, uint32_t cmdId, const uint8_t *data) in FuncToOptimal() argument 76 FuzzWlanFuncs fuzzWlanFunc = g_fuzzWlanFuncs[cmdId]; in FuncToOptimal() 91 …uint32_t cmdId = Convert2Uint32(rawData) % ((sizeof(g_fuzzWlanFuncs) / sizeof(g_fuzzWlanFuncs[0]))… in DoSomethingInterestingWithMyAPI() local 118 FuncToOptimal(g_wlanObj, cmdId, tmpRawData); in DoSomethingInterestingWithMyAPI()
|
/drivers/peripheral/wlan/test/fuzztest/sta_fuzzer/ |
D | sta_fuzzer.cpp | 74 static void FuncToOptimal(struct IWlanInterface *interface, uint32_t cmdId, const uint8_t *data) in FuncToOptimal() argument 76 FuzzWlanFuncs fuzzWlanFunc = g_fuzzWlanFuncs[cmdId]; in FuncToOptimal() 91 …uint32_t cmdId = Convert2Uint32(rawData) % ((sizeof(g_fuzzWlanFuncs) / sizeof(g_fuzzWlanFuncs[0]))… in DoSomethingInterestingWithMyAPI() local 118 FuncToOptimal(g_wlanObj, cmdId, tmpRawData); in DoSomethingInterestingWithMyAPI()
|
/drivers/hdf_core/adapter/khdf/liteos/model/usb/host/src/ |
D | usb_test_pnp_notify.c | 42 struct HdfDeviceIoClient *client, int32_t cmdId, struct HdfSBuf *data, struct HdfSBuf *reply) in UsbTestPnpNotifyDispatch() argument 50 HDF_LOGD("%s:%d dispatch success, cmdId=%d", __func__, __LINE__, cmdId); in UsbTestPnpNotifyDispatch()
|
/drivers/peripheral/codec/hdi_service/codec_service_stub/ |
D | codec_host.c | 23 static int32_t CodecServiceDispatch(struct HdfDeviceIoClient *client, int cmdId, in CodecServiceDispatch() argument 26 return CodecServiceOnRemoteRequest(client, cmdId, data, reply); in CodecServiceDispatch()
|
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audioadmdispatchercontrolcmdid_fuzzer/ |
D | audioadmdispatchercontrolcmdid_fuzzer.cpp | 54 int32_t cmdId = *(reinterpret_cast<int32_t *>(const_cast<uint8_t *>(data))); in AudioAdmDispatcherControlCmdidFuzzTest() local 55 ret = service->dispatcher->Dispatch(&service->object, cmdId, writeBuf, writeReply); in AudioAdmDispatcherControlCmdidFuzzTest()
|
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/sample_driver/ |
D | sample_driver.cpp | 25 struct HdfDeviceIoClient *client, int cmdId, struct HdfSBuf *data, struct HdfSBuf *reply) in SampleServiceDispatch() argument 27 return SampleServiceOnRemoteRequest(client, cmdId, data, reply); in SampleServiceDispatch()
|
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audioadmdispatchercapturecmdid_fuzzer/ |
D | audioadmdispatchercapturecmdid_fuzzer.cpp | 50 int32_t cmdId = *(reinterpret_cast<int32_t *>(const_cast<uint8_t *>(data))); in AudioAdmDispatcherCaptureCmdidFuzzTest() local 51 …ret = admDisCapFuzzService->dispatcher->Dispatch(&admDisCapFuzzService->object, cmdId, sBuf, reply… in AudioAdmDispatcherCaptureCmdidFuzzTest()
|
/drivers/hdf_core/framework/sample/platform/uart/src/ |
D | uart_dispatch_sample.c | 40 int32_t SampleDispatch(struct HdfDeviceIoClient *client, int cmdId, struct HdfSBuf *data, struct Hd… in SampleDispatch() argument 58 switch (cmdId) { in SampleDispatch()
|
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audioadmdispatcherrendercmdid_fuzzer/ |
D | audioadmdispatcherrendercmdid_fuzzer.cpp | 51 int32_t cmdId = *(reinterpret_cast<int32_t *>(const_cast<uint8_t *>(data))); in AudioAdmDispatcherRenderCmdidFuzzTest() local 52 …ret = admDisRenFuzzService->dispatcher->Dispatch(&admDisRenFuzzService->object, cmdId, sBuf, reply… in AudioAdmDispatcherRenderCmdidFuzzTest()
|
/drivers/peripheral/usb/sample/host/src/ |
D | usb_pnp_sample.c | 49 static int32_t UsbPnpSampleTestServiceDispatch(struct HdfDeviceIoClient *client, int32_t cmdId, in UsbPnpSampleTestServiceDispatch() argument 53 (void)cmdId; in UsbPnpSampleTestServiceDispatch()
|