Home
last modified time | relevance | path

Searched refs:attributes (Results 1 - 25 of 26) sorted by relevance

12

/drivers/peripheral/distributed_camera/hdi_service/test/fuzztest/dstreamgetstreamattributes_fuzzer/
H A Ddstreamgetstreamattributes_fuzzer.cpp32 std::vector<StreamAttribute> attributes; in DstreamGetStreamAttributesFuzzTest() local
43 attributes.push_back(attribute); in DstreamGetStreamAttributesFuzzTest()
50 dCameraStreamOperator->GetStreamAttributes(attributes); in DstreamGetStreamAttributesFuzzTest()
/drivers/peripheral/camera/hdi_service/v1_0/src/
H A Dstream_operator_service.cpp77 int32_t StreamOperatorService::GetStreamAttributes(std::vector<StreamAttribute> &attributes) in GetStreamAttributes() argument
81 for (auto attribute : attributes) { in GetStreamAttributes()
87 std::vector<StreamAttribute>().swap(attributes); in GetStreamAttributes()
91 attributes.push_back(hdiAttribute); in GetStreamAttributes()
/drivers/peripheral/camera/hal_c/include/
H A Dstream_operator_c_if.h48 int (*GetStreamAttributes)(StreamAttributeCIF** attributes, int* count);
/drivers/peripheral/usb/interfaces/ddk/device/
H A Dusbfn_device.h119 /** Configuration attributes */
120 uint8_t attributes; member
144 /** Pointer to device resource node attributes */
/drivers/peripheral/camera/hal_c/hdi_cif/include/
H A Dstream_operator.h35 CamRetCode GetStreamAttributes(std::vector<std::shared_ptr<StreamAttribute>> &attributes) override;
/drivers/peripheral/camera/hdi_service/v1_0/include/
H A Dstream_operator_service.h39 int32_t GetStreamAttributes(std::vector<StreamAttribute> &attributes) override;
/drivers/peripheral/camera/vdi_base/interfaces/v1_0/
H A Distream_operator_vdi.h49 virtual int32_t GetStreamAttributes(std::vector<VdiStreamAttribute> &attributes) = 0;
/drivers/peripheral/camera/hal_c/hdi_cif/src/
H A Dstream_operator.cpp151 CamRetCode StreamOperator::GetStreamAttributes(std::vector<std::shared_ptr<StreamAttribute>>& attributes) in GetStreamAttributes() argument
178 attributes.push_back(it); in GetStreamAttributes()
/drivers/hdf_core/framework/model/audio/usb/src/
H A Daudio_usb_parse_interface.c151 static int32_t ParseUacEndpointAttr(struct usb_host_interface *alts, int32_t protocol, int32_t *attributes) in ParseUacEndpointAttr() argument
171 *attributes = csep->bmAttributes; in ParseUacEndpointAttr()
178 *attributes = csep->bmAttributes & UAC_EP_CS_ATTR_FILL_MAX; in ParseUacEndpointAttr()
179 /* emulate the endpoint attributes of a v1 device */ in ParseUacEndpointAttr()
181 *attributes |= UAC_EP_CS_ATTR_PITCH_CONTROL; in ParseUacEndpointAttr()
189 /* emulate the endpoint attributes of a v1 device */ in ParseUacEndpointAttr()
191 *attributes |= UAC_EP_CS_ATTR_PITCH_CONTROL; in ParseUacEndpointAttr()
675 (void)ParseUacEndpointAttr(alts, uacFmt->protocol, &audioUsbFormat->attributes); in AudioUsbUac12GetFormat()
786 if ((audioUsbFormat->attributes & UAC_EP_CS_ATTR_SAMPLE_RATE) == 0) { in AudioUsbV1SetSampleRate()
H A Daudio_usb_endpoints.c993 endpoint->fillMax = !!(audioUsbFormat->attributes & UAC_EP_CS_ATTR_FILL_MAX); in AudioUsbEndpointSetParams()
/drivers/hdf_core/framework/model/audio/usb/include/
H A Daudio_usb_linux.h106 int32_t attributes; /* corresponding attributes of cs endpoint */ member
108 uint8_t epAttr; /* endpoint attributes */
/drivers/peripheral/camera/vdi_base/v4l2/include/stream_operator/
H A Dstream_operator_vdi_impl.h37 int32_t GetStreamAttributes(std::vector<VdiStreamAttribute> &attributes) override;
/drivers/peripheral/distributed_camera/hdi_service/test/unittest/common/dstream_operator/
H A Ddstream_operator_test.cpp232 std::vector<StreamAttribute> attributes; in HWTEST_F() local
233 rc = dstreamOperator_->GetStreamAttributes(attributes); in HWTEST_F()
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
H A Dstream_operator_vdi_impl.cpp369 int32_t StreamOperatorVdiImpl::GetStreamAttributes(std::vector<VdiStreamAttribute> &attributes) in GetStreamAttributes() argument
375 attributes.clear(); in GetStreamAttributes()
388 attributes.emplace_back(attribute); in GetStreamAttributes()
/drivers/peripheral/distributed_camera/hdi_service/include/dstream_operator/
H A Ddstream_operator.h67 int32_t GetStreamAttributes(std::vector<StreamAttribute> &attributes) override;
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
H A Ddstream_operator.cpp268 int32_t DStreamOperator::GetStreamAttributes(std::vector<StreamAttribute> &attributes) in GetStreamAttributes() argument
270 attributes.clear(); in GetStreamAttributes()
277 attributes.clear(); in GetStreamAttributes()
280 attributes.push_back(attribute); in GetStreamAttributes()
/drivers/peripheral/camera/test/benchmarktest/v1_0/src/
H A Dcamera_benchmark_test.cpp250 std::vector<StreamAttribute> attributes; in BENCHMARK_F() local
252 cameraTest->rc = cameraTest->streamOperator->GetStreamAttributes(attributes); in BENCHMARK_F()
/drivers/peripheral/camera/test/hdi/v1_0/src/
H A Dhdi_stream_uttest.cpp447 std::vector<StreamAttribute> attributes; in HWTEST_F() local
448 cameraTest->rc = cameraTest->streamOperator->GetStreamAttributes(attributes); in HWTEST_F()
/drivers/peripheral/usb/test/unittest/device_sdk/
H A Dusb_device_cdcacm_test.cpp301 .attributes = USB_CFG_BUS_POWERED,
/drivers/hdf_core/framework/test/unittest/model/usb/device/src/
H A Dusb_device_lite_cdcacm_test.c293 .attributes = USB_CFG_BUS_POWERED,
/drivers/peripheral/camera/test/mpi/src/
H A Dperformance_hdi_test.cpp681 std::vector<std::shared_ptr<Camera::StreamAttribute>> attributes; in HWTEST_F() local
685 Test_->rc = Test_->streamOperator->GetStreamAttributes(attributes); in HWTEST_F()
H A Dhdi_stream_test.cpp1240 std::vector<std::shared_ptr<Camera::StreamAttribute>> attributes; in HWTEST_F() local
1241 Test_->rc = Test_->streamOperator->GetStreamAttributes(attributes); in HWTEST_F()
/drivers/peripheral/camera/test/ut/v4l2/
H A Dhdi_interfaces_test.cpp1331 std::vector<std::shared_ptr<OHOS::Camera::StreamAttribute>> attributes; in TEST_F() local
1332 cameraBase->rc = cameraBase->streamOperator->GetStreamAttributes(attributes); in TEST_F()
/drivers/peripheral/usb/ddk/device/src/
H A Dadapter_if.c756 ret = snprintf_s(val, MAX_NAMELEN, MAX_NAMELEN - 1, "0x%x", config->attributes); in WriteConfPowerAttributes()
H A Dadapter_if_liteos.c214 cfgDesc->bmAttributes = usbFnConfig->attributes; in UsbFnAdapterFillConfigDesc()

Completed in 25 milliseconds

12