Home
last modified time | relevance | path

Searched refs:descriptor (Results 1 – 25 of 173) sorted by relevance

1234567

/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferdescriptor.cpp88 int mali_gralloc_destroy_descriptor_internal(gralloc1_buffer_descriptor_t descriptor) in mali_gralloc_destroy_descriptor_internal() argument
90 if (!descriptor) in mali_gralloc_destroy_descriptor_internal()
95 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_destroy_descriptor_internal()
100 int mali_gralloc_set_dimensions_internal(gralloc1_buffer_descriptor_t descriptor, uint32_t width, u… in mali_gralloc_set_dimensions_internal() argument
102 if (!descriptor) in mali_gralloc_set_dimensions_internal()
107 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_dimensions_internal()
113 int mali_gralloc_set_format_internal(gralloc1_buffer_descriptor_t descriptor, int32_t format) in mali_gralloc_set_format_internal() argument
115 if (!descriptor) in mali_gralloc_set_format_internal()
120 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_format_internal()
126 int mali_gralloc_set_producerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage) in mali_gralloc_set_producerusage_internal() argument
[all …]
Dmali_gralloc_private_interface.cpp264 gralloc1_function_pointer_t mali_gralloc_private_interface_getFunction(int32_t descriptor) in mali_gralloc_private_interface_getFunction() argument
266 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_INT_FMT, mali_gralloc_private_get_buff_… in mali_gralloc_private_interface_getFunction()
267 CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_FD, mali_gralloc_private_get_buff_fd); in mali_gralloc_private_interface_getFunction()
268 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_INTERNAL_DIMS, mali_gralloc_private_get… in mali_gralloc_private_interface_getFunction()
269 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_OFFSET, mali_gralloc_private_get_buff_o… in mali_gralloc_private_interface_getFunction()
270 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_BYTESTRIDE, mali_gralloc_private_get_bu… in mali_gralloc_private_interface_getFunction()
271 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_YUVINFO, mali_gralloc_private_get_buff_… in mali_gralloc_private_interface_getFunction()
272 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_SIZE, mali_gralloc_private_get_buff_siz… in mali_gralloc_private_interface_getFunction()
273 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_FLAGS, mali_gralloc_private_get_buff_fl… in mali_gralloc_private_interface_getFunction()
274 CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_MIN_PAGESIZE, in mali_gralloc_private_interface_getFunction()
[all …]
Dmali_gralloc_public_interface.cpp61 …mali_gralloc_destroy_descriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor) in mali_gralloc_destroy_descriptor() argument
64 ret = mali_gralloc_destroy_descriptor_internal(descriptor); in mali_gralloc_destroy_descriptor()
69 …mali_gralloc_set_consumer_usage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_consumer_usage() argument
73 ret = mali_gralloc_set_consumerusage_internal(descriptor, usage); in mali_gralloc_set_consumer_usage()
78 …2_t mali_gralloc_set_dimensions(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_dimensions() argument
82 ret = mali_gralloc_set_dimensions_internal(descriptor, width, height); in mali_gralloc_set_dimensions()
87 …int32_t mali_gralloc_set_format(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_format() argument
91 ret = mali_gralloc_set_format_internal(descriptor, format); in mali_gralloc_set_format()
96 …mali_gralloc_set_producer_usage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_producer_usage() argument
100 ret = mali_gralloc_set_producerusage_internal(descriptor, usage); in mali_gralloc_set_producer_usage()
[all …]
Dmali_gralloc_bufferdescriptor.h55 int mali_gralloc_destroy_descriptor_internal(gralloc1_buffer_descriptor_t descriptor);
56 int mali_gralloc_set_dimensions_internal(gralloc1_buffer_descriptor_t descriptor, uint32_t width, u…
57 int mali_gralloc_set_format_internal(gralloc1_buffer_descriptor_t descriptor, int32_t format);
58 int mali_gralloc_set_producerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage…
59 int mali_gralloc_set_consumerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage…
67 int mali_gralloc_set_layer_count_internal(gralloc1_buffer_descriptor_t descriptor, uint32_t layerCo…
/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferdescriptor.cpp55 int mali_gralloc_destroy_descriptor_internal(gralloc1_buffer_descriptor_t descriptor) in mali_gralloc_destroy_descriptor_internal() argument
57 if (!descriptor) in mali_gralloc_destroy_descriptor_internal()
62 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_destroy_descriptor_internal()
67 int mali_gralloc_set_dimensions_internal(gralloc1_buffer_descriptor_t descriptor, uint32_t width, u… in mali_gralloc_set_dimensions_internal() argument
69 if (!descriptor) in mali_gralloc_set_dimensions_internal()
74 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_dimensions_internal()
80 int mali_gralloc_set_format_internal(gralloc1_buffer_descriptor_t descriptor, int32_t format) in mali_gralloc_set_format_internal() argument
82 if (!descriptor) in mali_gralloc_set_format_internal()
87 buffer_descriptor_t *buffer_descriptor = (buffer_descriptor_t *)descriptor; in mali_gralloc_set_format_internal()
93 int mali_gralloc_set_producerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage) in mali_gralloc_set_producerusage_internal() argument
[all …]
Dmali_gralloc_private_interface.cpp264 gralloc1_function_pointer_t mali_gralloc_private_interface_getFunction(int32_t descriptor) in mali_gralloc_private_interface_getFunction() argument
266 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_INT_FMT, mali_gralloc_private_get_buff_… in mali_gralloc_private_interface_getFunction()
267 CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_FD, mali_gralloc_private_get_buff_fd); in mali_gralloc_private_interface_getFunction()
268 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_INTERNAL_DIMS, mali_gralloc_private_get… in mali_gralloc_private_interface_getFunction()
269 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_OFFSET, mali_gralloc_private_get_buff_o… in mali_gralloc_private_interface_getFunction()
270 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_BYTESTRIDE, mali_gralloc_private_get_bu… in mali_gralloc_private_interface_getFunction()
271 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_YUVINFO, mali_gralloc_private_get_buff_… in mali_gralloc_private_interface_getFunction()
272 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_SIZE, mali_gralloc_private_get_buff_siz… in mali_gralloc_private_interface_getFunction()
273 …CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_FLAGS, mali_gralloc_private_get_buff_fl… in mali_gralloc_private_interface_getFunction()
274 CHECK_FUNCTION(descriptor, MALI_GRALLOC1_FUNCTION_GET_BUFF_MIN_PAGESIZE, in mali_gralloc_private_interface_getFunction()
[all …]
Dmali_gralloc_public_interface.cpp60 …mali_gralloc_destroy_descriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor) in mali_gralloc_destroy_descriptor() argument
63 ret = mali_gralloc_destroy_descriptor_internal(descriptor); in mali_gralloc_destroy_descriptor()
68 …mali_gralloc_set_consumer_usage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_consumer_usage() argument
72 ret = mali_gralloc_set_consumerusage_internal(descriptor, usage); in mali_gralloc_set_consumer_usage()
77 …2_t mali_gralloc_set_dimensions(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_dimensions() argument
81 ret = mali_gralloc_set_dimensions_internal(descriptor, width, height); in mali_gralloc_set_dimensions()
86 …int32_t mali_gralloc_set_format(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_format() argument
90 ret = mali_gralloc_set_format_internal(descriptor, format); in mali_gralloc_set_format()
95 …mali_gralloc_set_producer_usage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, in mali_gralloc_set_producer_usage() argument
99 ret = mali_gralloc_set_producerusage_internal(descriptor, usage); in mali_gralloc_set_producer_usage()
[all …]
Dmali_gralloc_bufferdescriptor.h54 int mali_gralloc_destroy_descriptor_internal(gralloc1_buffer_descriptor_t descriptor);
55 int mali_gralloc_set_dimensions_internal(gralloc1_buffer_descriptor_t descriptor, uint32_t width, u…
56 int mali_gralloc_set_format_internal(gralloc1_buffer_descriptor_t descriptor, int32_t format);
57 int mali_gralloc_set_producerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage…
58 int mali_gralloc_set_consumerusage_internal(gralloc1_buffer_descriptor_t descriptor, uint64_t usage…
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/
DBleConnection.java114 void run(BluetoothGattDescriptor descriptor, int status); in run() argument
167 final BluetoothGattDescriptor descriptor; field in BleConnection.DescriptorWriteRequest
172 BluetoothGattDescriptor descriptor, in DescriptorWriteRequest() argument
175 this.descriptor = descriptor; in DescriptorWriteRequest()
183 descriptor.setValue(data); in processRequest()
184 return gatt.writeDescriptor(descriptor); in processRequest()
277 BluetoothGattDescriptor descriptor, in writeDescriptor() argument
280 if (descriptor == null) { in writeDescriptor()
281 callback.run(descriptor, BluetoothGatt.GATT_FAILURE); in writeDescriptor()
285 DescriptorWriteRequest request = new DescriptorWriteRequest(descriptor, data, callback); in writeDescriptor()
[all …]
/device/generic/goldfish-opengl/system/hals/
Dallocator3.cpp96 BufferDescriptorInfo descriptor; in allocateImpl() local
97 if (!decodeBufferDescriptorInfo(rawDescriptor, &descriptor)) { in allocateImpl()
101 if (!descriptor.width) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
102 if (!descriptor.height) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
103 if (descriptor.layerCount != 1) { RETURN_ERROR(Error3::UNSUPPORTED); } in allocateImpl()
105 const uint32_t usage = descriptor.usage; in allocateImpl()
116 Error3 e = getBufferFormat(descriptor.format, usage, &format); in allocateImpl()
119 __func__, __LINE__, descriptor.format, usage); in allocateImpl()
211 __func__, __LINE__, format, descriptor.format, usage); in allocateImpl()
215 const uint32_t width = descriptor.width; in allocateImpl()
[all …]
Dmapper3.cpp200 const BufferDescriptorInfo& descriptor, in validateBufferSize() argument
204 return validateBufferSizeImpl(*cb, descriptor, stride); in validateBufferSize()
594 bool isSupportedImpl(const IMapper::BufferDescriptorInfo& descriptor) const { in isSupportedImpl()
595 if (!descriptor.width) { RETURN(false); } in isSupportedImpl()
596 if (!descriptor.height) { RETURN(false); } in isSupportedImpl()
597 if (descriptor.layerCount != 1) { RETURN(false); } in isSupportedImpl()
599 const uint64_t usage64 = descriptor.usage; in isSupportedImpl()
606 switch (descriptor.format) { in isSupportedImpl()
629 if (static_cast<int>(descriptor.format) == kOMX_COLOR_FormatYUV420Planar) { in isSupportedImpl()
/device/generic/goldfish-opengl/system/hwc3/
DEdidInfo.cpp13 byte_view descriptor(blob.data(), kEdidDescriptorLength); in parse() local
14 if (descriptor[0] == 0 && descriptor[1] == 0) { in parse()
19 const uint8_t w_mm_lsb = descriptor[12]; in parse()
20 const uint8_t h_mm_lsb = descriptor[13]; in parse()
21 const uint8_t w_and_h_mm_msb = descriptor[14]; in parse()
/device/generic/car/emulator/usbpt/bluetooth/usb_modeswitch/
Dusb_modeswitch.c439 struct libusb_device_descriptor descriptor; in main() local
579 libusb_get_device_descriptor(dev, &descriptor); in main()
580 defaultClass = descriptor.bDeviceClass; in main()
855 struct libusb_device_descriptor descriptor; in deviceDescription() local
856 libusb_get_device_descriptor(dev, &descriptor); in deviceDescription()
858 int iManufacturer = descriptor.iManufacturer; in deviceDescription()
859 int iProduct = descriptor.iProduct; in deviceDescription()
860 int iSerialNumber = descriptor.iSerialNumber; in deviceDescription()
919 struct libusb_device_descriptor descriptor; in findMBIMConfig() local
920 libusb_get_device_descriptor(dev, &descriptor); in findMBIMConfig()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
DGralloc1.cpp105 static gralloc1_function_pointer_t gralloc1_getFunction(gralloc1_device_t*, int32_t descriptor) { in gralloc1_getFunction() argument
106 switch (descriptor) { in gralloc1_getFunction()
/device/generic/car/emulator/vhal_v2_0/
DEmulatedVehicleHalServer.cpp98 AServiceManager_forEachDeclaredInstance(IVehicleBus::descriptor, static_cast<void*>(&names), in startVehicleBuses()
100 auto fullName = std::string(IVehicleBus::descriptor) + "/" + instance; in startVehicleBuses()
/device/generic/car/emulator/vhal_aidl/VehicleEmulator/
DEmulatedVehicleHardware.cpp131 AServiceManager_forEachDeclaredInstance(IVehicleBus::descriptor, static_cast<void*>(&names), in startVehicleBuses()
133 auto fullName = std::string(IVehicleBus::descriptor) + "/" + instance; in startVehicleBuses()
/device/google/cuttlefish/guest/hals/health/storage/
Dservice.cpp31 const std::string name = Storage::descriptor + "/default"s; in main()
/device/google/barbet/usb/usb/
Dservice.cpp30 const std::string instance = std::string() + Usb::descriptor + "/default"; in main()
/device/google/gs201/usb/usb/
Dservice.cpp30 const std::string instance = std::string() + Usb::descriptor + "/default"; in main()
/device/google/sunfish/usb/usb/
Dservice.cpp30 const std::string instance = std::string() + Usb::descriptor + "/default"; in main()
/device/google/zumapro/usb/usb/
Dservice.cpp30 const std::string instance = std::string() + Usb::descriptor + "/default"; in main()
/device/google/coral/usb/usb/
Dservice.cpp30 const std::string instance = std::string() + Usb::descriptor + "/default"; in main()
/device/google/gs101/usb/usb/
Dservice.cpp30 const std::string instance = std::string() + Usb::descriptor + "/default"; in main()
/device/google/zuma/usb/usb/
Dservice.cpp30 const std::string instance = std::string() + Usb::descriptor + "/default"; in main()
/device/google/redfin/usb/usb/
Dservice.cpp30 const std::string instance = std::string() + Usb::descriptor + "/default"; in main()

1234567