Home
last modified time | relevance | path

Searched refs:extra (Results 1 - 18 of 18) sorted by relevance

/drivers/external_device_manager/frameworks/ddk/usb/
H A Dusb_config_desc_parser.cpp131 const unsigned char **extra, uint32_t *extraLength, const uint8_t *buffer, int32_t bufferLen) in FillExtraDescriptor()
133 if (bufferLen == 0 || extra == nullptr || extraLength == nullptr) { in FillExtraDescriptor()
146 if (*extra != nullptr && *extraLength != 0) { in FillExtraDescriptor()
147 if (memcpy_s(extraTmp, extraLenTmp, *extra, *extraLength) != EOK) { in FillExtraDescriptor()
148 EDM_LOGE(MODULE_USB_DDK, "copy extra failed"); in FillExtraDescriptor()
160 if (*extra != nullptr) { in FillExtraDescriptor()
161 delete[] (*extra); in FillExtraDescriptor()
163 *extra = extraTmp; in FillExtraDescriptor()
200 ret = FillExtraDescriptor(&endPoint->extra, &endPoint->extraLength, buffer, len); in ParseEndpoint()
339 ddkIntfDesc.extra in ParseInterface()
130 FillExtraDescriptor( const unsigned char **extra, uint32_t *extraLength, const uint8_t *buffer, int32_t bufferLen) FillExtraDescriptor() argument
[all...]
/drivers/peripheral/clearplay/hdi_service/src/
H A Dmedia_key_system_callback_service.cpp30 int32_t MediaKeySystemCallbackService::SendEvent(EventType eventType, int32_t extra, const std::vector<uint8_t> &data) in SendEvent() argument
33 keySystemCallback_->SendEvent(eventType, extra, data); in SendEvent()
H A Dmedia_key_session_callback_service.cpp30 int32_t MediaKeySessionCallbackService::SendEvent(EventType eventType, int32_t extra, const std::vector<uint8_t> &data) in SendEvent() argument
33 keySessionCallback_->SendEvent(eventType, extra, data); in SendEvent()
/drivers/peripheral/clearplay/interfaces/include/drm/v1_0/
H A Dmedia_key_system_callback_proxy.h38 int32_t SendEvent(OHOS::HDI::Drm::V1_0::EventType eventType, int32_t extra,
43 static int32_t SendEvent_(OHOS::HDI::Drm::V1_0::EventType eventType, int32_t extra,
H A Dmedia_key_session_callback_proxy.h38 int32_t SendEvent(OHOS::HDI::Drm::V1_0::EventType eventType, int32_t extra,
46 static int32_t SendEvent_(OHOS::HDI::Drm::V1_0::EventType eventType, int32_t extra,
H A Dimedia_key_session_callback.h66 virtual int32_t SendEvent(OHOS::HDI::Drm::V1_0::EventType eventType, int32_t extra,
H A Dimedia_key_system_callback.h64 virtual int32_t SendEvent(OHOS::HDI::Drm::V1_0::EventType eventType, int32_t extra,
/drivers/external_device_manager/interfaces/ddk/usb/
H A Dusb_ddk_types.h196 const uint8_t *extra; member
213 const uint8_t *extra; member
243 const uint8_t *extra; member
/drivers/peripheral/usb/interfaces/ddk/host/
H A Dusb_raw_api.h159 /** Pointer to the extra descriptor */
160 const unsigned char *extra; member
161 /** Length of the extra descriptor, in bytes. The value must be a non-negative number. */
173 /** Pointer to the extra descriptor */
174 const unsigned char *extra; member
175 /** Length of the extra descriptor, in bytes. The value must be a non-negative number. */
198 /** Pointer to the extra descriptor */
199 const unsigned char *extra; member
200 /** Length of the extra descriptor, in bytes. The value must be a non-negative number. */
/drivers/peripheral/usb/ddk/host/src/
H A Dusb_raw_api_library.c303 if ((endPoint != NULL) && (endPoint->extra != NULL)) { in ClearEndpoint()
304 RawUsbMemFree((void *)endPoint->extra); in ClearEndpoint()
305 endPoint->extra = NULL; in ClearEndpoint()
313 void *extra = NULL; in ParseEndpoint() local
346 extra = RawUsbMemAlloc((size_t)len); in ParseEndpoint()
347 if (extra == NULL) { in ParseEndpoint()
351 ret = memcpy_s(extra, len + endPoint->extraLength, buffer, len); in ParseEndpoint()
354 RawUsbMemFree(extra); in ParseEndpoint()
357 endPoint->extra = extra; in ParseEndpoint()
[all...]
/drivers/peripheral/clearplay/hdi_service/include/drm/v1_0/
H A Dmedia_key_session_callback_service.h31 int32_t SendEvent(EventType eventType, int32_t extra, const std::vector<uint8_t>& data) override;
H A Dmedia_key_system_callback_service.h31 int32_t SendEvent(EventType eventType, int32_t extra, const std::vector<uint8_t>& data) override;
/drivers/peripheral/pin_auth/hdi_service/service/src/
H A Dverifier_impl.cpp183 [this, id = scheduleId, templateId = templateIdList, extra = extraInfo, callback = callbackObj]() { in Authenticate()
186 int32_t result = pinHdi_->VerifierAuth(id, templateId[0], extra, msg); in Authenticate()
H A Dcollector_impl.cpp211 threadPool_.AddTask([this, id = scheduleId, extra = extraInfo, callback = callbackObj]() { in Collect()
214 int32_t result = pinHdi_->Collect(id, extra, msg); in Collect()
/drivers/hdf_core/framework/model/audio/usb/src/
H A Daudio_usb_parse_interface.c137 term = AudioUsbFindCsintDesc(ctlIface->extra, ctlIface->extralen, term, UAC_INPUT_TERMINAL); in AudioUsbFindInputDesc()
140 term = AudioUsbFindCsintDesc(ctlIface->extra, ctlIface->extralen, term, UAC_INPUT_TERMINAL); in AudioUsbFindInputDesc()
146 term = AudioUsbFindCsintDesc(ctlIface->extra, ctlIface->extralen, term, UAC_INPUT_TERMINAL); in AudioUsbFindInputDesc()
156 csep = AudioUsbFindDesc(alts->endpoint[0].extra, alts->endpoint[0].extralen, NULL, USB_DT_CS_ENDPOINT); in ParseUacEndpointAttr()
159 csep = AudioUsbFindDesc(alts->endpoint[1].extra, alts->endpoint[1].extralen, NULL, USB_DT_CS_ENDPOINT); in ParseUacEndpointAttr()
163 csep = AudioUsbFindDesc(alts->extra, alts->extralen, NULL, USB_DT_CS_ENDPOINT); in ParseUacEndpointAttr()
608 struct uac1_as_header_descriptor *as = AudioUsbFindCsintDesc(alts->extra, alts->extralen, NULL, UAC_AS_GENERAL); in AudioUsbGetFormat()
631 *fmt = AudioUsbFindCsintDesc(alts->extra, alts->extralen, NULL, UAC_FORMAT_TYPE); in AudioUsbGetFormat()
H A Daudio_usb_linux.c143 h1 = AudioUsbFindCsintDesc(alts->extra, alts->extralen, NULL, UAC_HEADER); in AudioUsbDriverInit()
H A Daudio_usb_mixer.c2077 state.buffer = mixer->hostIf->extra; in AudioUsbMixerControls()
2080 pAfter = AudioUsbFindCsintDesc(mixer->hostIf->extra, mixer->hostIf->extralen, pAfter, UAC_OUTPUT_TERMINAL); in AudioUsbMixerControls()
2083 pAfter = AudioUsbFindCsintDesc(mixer->hostIf->extra, mixer->hostIf->extralen, pAfter, UAC_OUTPUT_TERMINAL); in AudioUsbMixerControls()
2100 pAfter = AudioUsbFindCsintDesc(mixer->hostIf->extra, mixer->hostIf->extralen, pAfter, UAC_OUTPUT_TERMINAL); in AudioUsbMixerControls()
/drivers/peripheral/format/interfaces/include/
H A Dformat_type.h324 int32_t itemCnt; /**< Number of extra track information entries */
325 ParameterItem *item; /**< Pointer to the array of extra track information, including HDR, DRM, and CAS */
656 * @param extra Indicates other information, for example, the start time position of the captured file.
661 int32_t (*OnInfo)(CallbackHandle privateDataHandle, int32_t type, int32_t extra);

Completed in 13 milliseconds