Searched refs:device (Results 1 - 25 of 459) sorted by relevance

1234567891011>>

/hardware/qcom/camera/msm8998/QCamera2/HAL/wrapper/
H A DQualcommCamera.cpp94 QCamera2HardwareInterface *util_get_Hal_obj( struct camera_device * device) argument
97 if(device && device->priv){
98 camera_hardware_t *camHal = (camera_hardware_t *)device->priv;
131 camera_device *device = NULL; local
149 device = &camHal->hw_dev;
150 device->common.close = close_camera_device;
151 device->ops = &QCamera2HardwareInterface::mCameraOps;
152 device->priv = (void *)camHal;
160 device
178 camera_device_t *device = (camera_device_t *)hw_dev; local
199 set_preview_window(struct camera_device * device, struct preview_stream_ops *window) argument
211 set_CallBacks(struct camera_device * device, camera_notify_callback notify_cb, camera_data_callback data_cb, camera_data_timestamp_callback data_cb_timestamp, camera_request_memory get_memory, void *user) argument
225 enable_msg_type(struct camera_device * device, int32_t msg_type) argument
233 disable_msg_type(struct camera_device * device, int32_t msg_type) argument
242 msg_type_enabled(struct camera_device * device, int32_t msg_type) argument
253 start_preview(struct camera_device * device) argument
265 stop_preview(struct camera_device * device) argument
274 preview_enabled(struct camera_device * device) argument
285 store_meta_data_in_buffers(struct camera_device * device, int enable) argument
296 start_recording(struct camera_device * device) argument
307 stop_recording(struct camera_device * device) argument
316 recording_enabled(struct camera_device * device) argument
327 release_recording_frame(struct camera_device * device, const void *opaque) argument
337 auto_focus(struct camera_device * device) argument
348 cancel_auto_focus(struct camera_device * device) argument
359 take_picture(struct camera_device * device) argument
370 cancel_picture(struct camera_device * device) argument
382 set_parameters(struct camera_device * device, const char *parms) argument
394 get_parameters(struct camera_device * device) argument
406 put_parameters(struct camera_device * device, char *parm) argument
416 send_command(struct camera_device * device, int32_t cmd, int32_t arg1, int32_t arg2) argument
428 release(struct camera_device * device) argument
439 dump(struct camera_device * device, int fd) argument
[all...]
/hardware/interfaces/camera/device/3.3/
H A Dtypes.hal17 package android.hardware.camera.device@3.3;
19 import android.hardware.camera.device@3.2::DataspaceFlags;
20 import android.hardware.camera.device@3.2::HalStream;
43 * require device-specific information for correct selection. In all other cases, the
H A DICameraDeviceSession.hal17 package android.hardware.camera.device@3.3;
20 import android.hardware.camera.device@3.2::ICameraDeviceSession;
21 import android.hardware.camera.device@3.2::StreamConfiguration;
24 * Camera device active session interface.
27 * configure and request captures from an active camera device.
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
H A Dgralloc1-adapter.cpp21 const char* id, struct hw_device_t** device)
24 ALOGE("unknown gralloc1 device id: %s", id);
29 *device = &adapter_device->common;
20 gralloc1_adapter_device_open(const struct hw_module_t* module, const char* id, struct hw_device_t** device) argument
/hardware/libhardware/include/hardware/
H A Dnvram.h62 * device - The nvram_device instance.
65 nvram_result_t (*get_total_size_in_bytes)(const struct nvram_device* device,
73 * device - The nvram_device instance.
77 const struct nvram_device* device, uint64_t* available_size);
84 * device - The nvram_device instance.
88 const struct nvram_device* device, uint64_t* max_space_size);
96 * device - The nvram_device instance.
99 nvram_result_t (*get_max_spaces)(const struct nvram_device* device,
106 * device - The nvram_device instance.
116 nvram_result_t (*get_space_list)(const struct nvram_device* device,
326 nvram_open(const struct hw_module_t* module, nvram_device_t** device) argument
332 nvram_close(nvram_device_t* device) argument
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
H A DDrm.h49 bool detect(int device);
50 bool setDrmMode(int device, drmModeModeInfo& value);
51 bool setRefreshRate(int device, int hz);
59 bool isConnected(int device);
60 bool setDpmsMode(int device, int mode);
62 bool getModeInfo(int device, drmModeModeInfo& mode);
63 bool getPhysicalSize(int device, uint32_t& width, uint32_t& height);
64 bool getDisplayResolution(int device, uint32_t& width, uint32_t& height);
66 int getPanelOrientation(int device);
68 drmModeModeInfoPtr detectAllConfigs(int device, in
[all...]
H A DHwcomposer.cpp76 IDisplayDevice *device = mDisplayDevices.itemAt(i); local
77 if (!device) {
78 VLOGTRACE("device %d doesn't exist", i);
81 device->prePrepare(displays[i]);
88 IDisplayDevice *device = mDisplayDevices.itemAt(i); local
89 if (!device) {
90 VLOGTRACE("device %d doesn't exist", i);
93 ret = device->prepare(displays[i]);
95 ELOGTRACE("failed to do prepare for device %d", i);
122 IDisplayDevice *device local
157 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
178 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
200 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
223 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
246 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
264 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
282 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
300 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
373 IDisplayDevice *device = mDisplayDevices.itemAt(i); local
433 IDisplayDevice *device = createDisplayDevice(i, *mPlaneManager); local
461 IDisplayDevice *device = mDisplayDevices.itemAt(i); local
[all...]
/hardware/libhardware/modules/local_time/
H A Dlocal_time_hw.c35 struct local_time_hw_device device; member in struct:stub_local_time_device
65 static int ltdev_close(hw_device_t *device) argument
67 free(device);
72 hw_device_t** device)
83 ltdev->device.common.tag = HARDWARE_DEVICE_TAG;
84 ltdev->device.common.version = 0;
85 ltdev->device.common.module = (struct hw_module_t *) module;
86 ltdev->device.common.close = ltdev_close;
88 ltdev->device.get_local_time = ltdev_get_local_time;
89 ltdev->device
71 ltdev_open(const hw_module_t* module, const char* name, hw_device_t** device) argument
[all...]
/hardware/qcom/display/msm8909/gralloc/
H A Dgr_device_impl.cpp43 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device);
45 int gralloc_device_close(struct hw_device_t *device);
63 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device) { argument
67 *device = reinterpret_cast<hw_device_t *>(dev);
71 ALOGE("Fatal error opening gralloc1 device");
98 int GrallocImpl::CloseDevice(hw_device_t *device __unused) {
99 // No-op since the gralloc device is a singleton
103 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, argument
105 if (device != nullptr) {
116 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_ argument
176 Dump(gralloc1_device_t *device, uint32_t *out_size, char *out_buffer) argument
200 CheckDeviceAndHandle(gralloc1_device_t *device, buffer_handle_t buffer) argument
211 CreateBufferDescriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t *out_descriptor) argument
220 DestroyBufferDescriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor) argument
229 SetConsumerUsage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, gralloc1_consumer_usage_t usage) argument
241 SetBufferDimensions(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, uint32_t width, uint32_t height) argument
254 SetColorFormat(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, int32_t format) argument
266 SetLayerCount(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, uint32_t layer_count) argument
279 SetProducerUsage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, gralloc1_producer_usage_t usage) argument
291 GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_backing_store_t *out_backstore) argument
303 GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_consumer_usage_t *outUsage) argument
313 GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outHeight) argument
325 GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *outFormat) argument
335 GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outLayerCount) argument
345 GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t *outUsage) argument
360 GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outStride) argument
374 AllocateBuffers(gralloc1_device_t *device, uint32_t num_descriptors, const gralloc1_buffer_descriptor_t *descriptors, buffer_handle_t *out_buffers) argument
392 RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) argument
403 ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) argument
413 GetNumFlexPlanes(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *out_num_planes) argument
434 LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, const gralloc1_rect_t *region, void **out_data, int32_t acquire_fence) argument
473 LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, const gralloc1_rect_t *region, struct android_flex_layout *out_flex_layout, int32_t acquire_fence) argument
497 UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *release_fence) argument
516 Gralloc1Perform(gralloc1_device_t *device, int operation, ...) argument
[all...]
H A Dgr_device_impl.h47 static int CloseDevice(hw_device_t *device);
48 static void GetCapabilities(struct gralloc1_device *device, uint32_t *out_count,
51 struct gralloc1_device *device, int32_t /*gralloc1_function_descriptor_t*/ descriptor);
63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size,
65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device,
69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device,
71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device,
74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device,
77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device,
[all...]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
H A Dgr_device_impl.cpp43 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device);
45 int gralloc_device_close(struct hw_device_t *device);
63 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device) { argument
67 *device = reinterpret_cast<hw_device_t *>(dev);
71 ALOGE("Fatal error opening gralloc1 device");
98 int GrallocImpl::CloseDevice(hw_device_t *device __unused) {
99 // No-op since the gralloc device is a singleton
103 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, argument
105 if (device != nullptr) {
116 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_ argument
176 Dump(gralloc1_device_t *device, uint32_t *out_size, char *out_buffer) argument
200 CheckDeviceAndHandle(gralloc1_device_t *device, buffer_handle_t buffer) argument
211 CreateBufferDescriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t *out_descriptor) argument
220 DestroyBufferDescriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor) argument
229 SetConsumerUsage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, gralloc1_consumer_usage_t usage) argument
241 SetBufferDimensions(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, uint32_t width, uint32_t height) argument
254 SetColorFormat(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, int32_t format) argument
266 SetLayerCount(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, uint32_t layer_count) argument
279 SetProducerUsage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, gralloc1_producer_usage_t usage) argument
291 GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_backing_store_t *out_backstore) argument
303 GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_consumer_usage_t *outUsage) argument
313 GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outHeight) argument
325 GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *outFormat) argument
335 GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outLayerCount) argument
345 GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t *outUsage) argument
360 GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outStride) argument
374 AllocateBuffers(gralloc1_device_t *device, uint32_t num_descriptors, const gralloc1_buffer_descriptor_t *descriptors, buffer_handle_t *out_buffers) argument
392 RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) argument
403 ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) argument
414 GetNumFlexPlanes(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *out_num_planes) argument
435 LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, const gralloc1_rect_t *region, void **out_data, int32_t acquire_fence) argument
474 LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, const gralloc1_rect_t *region, struct android_flex_layout *out_flex_layout, int32_t acquire_fence) argument
498 UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *release_fence) argument
517 Gralloc1Perform(gralloc1_device_t *device, int operation, ...) argument
[all...]
H A Dgr_device_impl.h47 static int CloseDevice(hw_device_t *device);
48 static void GetCapabilities(struct gralloc1_device *device, uint32_t *out_count,
51 struct gralloc1_device *device, int32_t /*gralloc1_function_descriptor_t*/ descriptor);
63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size,
65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device,
69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device,
71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device,
74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device,
77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device,
[all...]
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_device_impl.h47 static int CloseDevice(hw_device_t *device);
48 static void GetCapabilities(struct gralloc1_device *device, uint32_t *out_count,
51 struct gralloc1_device *device, int32_t /*gralloc1_function_descriptor_t*/ descriptor);
63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size,
65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device,
69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device,
71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device,
74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device,
77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device,
[all...]
H A Dgr_device_impl.cpp43 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device);
45 int gralloc_device_close(struct hw_device_t *device);
63 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device) { argument
67 *device = reinterpret_cast<hw_device_t *>(dev);
71 ALOGE("Fatal error opening gralloc1 device");
98 int GrallocImpl::CloseDevice(hw_device_t *device __unused) {
99 // No-op since the gralloc device is a singleton
103 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, argument
105 if (device != nullptr) {
116 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_ argument
176 Dump(gralloc1_device_t *device, uint32_t *out_size, char *out_buffer __unused) argument
188 CheckDeviceAndHandle(gralloc1_device_t *device, buffer_handle_t buffer) argument
199 CreateBufferDescriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t *out_descriptor) argument
208 DestroyBufferDescriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor) argument
217 SetConsumerUsage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, gralloc1_consumer_usage_t usage) argument
229 SetBufferDimensions(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, uint32_t width, uint32_t height) argument
242 SetColorFormat(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, int32_t format) argument
254 SetLayerCount(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, uint32_t layer_count) argument
267 SetProducerUsage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, gralloc1_producer_usage_t usage) argument
279 GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_backing_store_t *out_backstore) argument
291 GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_consumer_usage_t *outUsage) argument
301 GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outHeight) argument
313 GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *outFormat) argument
323 GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outLayerCount) argument
333 GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t *outUsage) argument
344 GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outStride) argument
354 AllocateBuffers(gralloc1_device_t *device, uint32_t num_descriptors, const gralloc1_buffer_descriptor_t *descriptors, buffer_handle_t *out_buffers) argument
368 RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) argument
379 ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) argument
390 GetNumFlexPlanes(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *out_num_planes) argument
407 LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, const gralloc1_rect_t *region, void **out_data, int32_t acquire_fence) argument
450 LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, const gralloc1_rect_t *region, struct android_flex_layout *out_flex_layout, int32_t acquire_fence) argument
469 UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *release_fence) argument
485 Gralloc1Perform(gralloc1_device_t *device, int operation, ...) argument
[all...]
/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_device_impl.h47 static int CloseDevice(hw_device_t *device);
48 static void GetCapabilities(struct gralloc1_device *device, uint32_t *out_count,
51 struct gralloc1_device *device, int32_t /*gralloc1_function_descriptor_t*/ descriptor);
63 static inline gralloc1_error_t Dump(gralloc1_device_t *device, uint32_t *out_size,
65 static inline gralloc1_error_t CheckDeviceAndHandle(gralloc1_device_t *device,
67 static gralloc1_error_t CreateBufferDescriptor(gralloc1_device_t *device,
69 static gralloc1_error_t DestroyBufferDescriptor(gralloc1_device_t *device,
71 static gralloc1_error_t SetConsumerUsage(gralloc1_device_t *device,
74 static gralloc1_error_t SetBufferDimensions(gralloc1_device_t *device,
77 static gralloc1_error_t SetColorFormat(gralloc1_device_t *device,
[all...]
H A Dgr_device_impl.cpp49 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device);
51 int gralloc_device_close(struct hw_device_t *device);
69 int gralloc_device_open(const struct hw_module_t *module, const char *name, hw_device_t **device) { argument
73 *device = reinterpret_cast<hw_device_t *>(dev);
77 ALOGE("Fatal error opening gralloc1 device");
104 int GrallocImpl::CloseDevice(hw_device_t *device __unused) {
105 // No-op since the gralloc device is a singleton
109 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, argument
111 if (device != nullptr) {
122 gralloc1_function_pointer_t GrallocImpl::GetFunction(gralloc1_device_t *device, int32_ argument
182 Dump(gralloc1_device_t *device, uint32_t *out_size, char *out_buffer) argument
206 CheckDeviceAndHandle(gralloc1_device_t *device, buffer_handle_t buffer) argument
217 CreateBufferDescriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t *out_descriptor) argument
226 DestroyBufferDescriptor(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor) argument
235 SetConsumerUsage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, gralloc1_consumer_usage_t usage) argument
247 SetBufferDimensions(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, uint32_t width, uint32_t height) argument
260 SetColorFormat(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, int32_t format) argument
272 SetLayerCount(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, uint32_t layer_count) argument
285 SetProducerUsage(gralloc1_device_t *device, gralloc1_buffer_descriptor_t descriptor, gralloc1_producer_usage_t usage) argument
297 GetBackingStore(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_backing_store_t *out_backstore) argument
309 GetConsumerUsage(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_consumer_usage_t *outUsage) argument
319 GetBufferDimensions(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outHeight) argument
331 GetColorFormat(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *outFormat) argument
341 GetLayerCount(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outLayerCount) argument
351 GetProducerUsage(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t *outUsage) argument
362 GetBufferStride(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *outStride) argument
372 AllocateBuffers(gralloc1_device_t *device, uint32_t num_descriptors, const gralloc1_buffer_descriptor_t *descriptors, buffer_handle_t *out_buffers) argument
386 RetainBuffer(gralloc1_device_t *device, buffer_handle_t buffer) argument
397 ReleaseBuffer(gralloc1_device_t *device, buffer_handle_t buffer) argument
407 GetNumFlexPlanes(gralloc1_device_t *device, buffer_handle_t buffer, uint32_t *out_num_planes) argument
424 LockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, const gralloc1_rect_t *region, void **out_data, int32_t acquire_fence) argument
470 LockFlex(gralloc1_device_t *device, buffer_handle_t buffer, gralloc1_producer_usage_t prod_usage, gralloc1_consumer_usage_t cons_usage, const gralloc1_rect_t *region, struct android_flex_layout *out_flex_layout, int32_t acquire_fence) argument
489 UnlockBuffer(gralloc1_device_t *device, buffer_handle_t buffer, int32_t *release_fence) argument
505 Gralloc1Perform(gralloc1_device_t *device, int operation, ...) argument
[all...]
/hardware/intel/img/hwcomposer/merrifield/common/base/
H A DDrm.h45 bool detect(int device);
46 bool setDrmMode(int device, drmModeModeInfo& value);
47 bool setRefreshRate(int device, int hz);
55 bool isConnected(int device);
56 bool setDpmsMode(int device, int mode);
58 bool getModeInfo(int device, drmModeModeInfo& mode);
59 bool getPhysicalSize(int device, uint32_t& width, uint32_t& height);
61 int getPanelOrientation(int device);
62 drmModeModeInfoPtr detectAllConfigs(int device, int *modeCount);
69 // map device typ
[all...]
H A DVsyncManager.cpp71 WTRACE("vsync control on non-primary device %d", disp);
152 IDisplayDevice *device = NULL; local
154 device = getDisplayDevice(IDisplayDevice::DEVICE_EXTERNAL);
155 if (device && device->isConnected()) {
161 device = getDisplayDevice(IDisplayDevice::DEVICE_VIRTUAL);
162 if (device && device->isConnected()) {
165 WTRACE("Could not use vsync from secondary device");
177 IDisplayDevice *device local
207 IDisplayDevice *device = getDisplayDevice(mVsyncSource); local
[all...]
H A DHwcomposer.cpp79 IDisplayDevice *device = mDisplayDevices.itemAt(i); local
80 if (!device) {
81 VTRACE("device %d doesn't exist", i);
85 if (device->getType() == IDisplayDevice::DEVICE_VIRTUAL)
88 device->prePrepare(displays[i]);
92 IDisplayDevice *device = mDisplayDevices.itemAt(i); local
93 if (!device) {
94 VTRACE("device %d doesn't exist", i);
98 if (device->getType() == IDisplayDevice::DEVICE_VIRTUAL)
101 ret = device
130 IDisplayDevice *device = mDisplayDevices.itemAt(i); local
170 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
188 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
206 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
244 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
269 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
295 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
320 IDisplayDevice *device = mDisplayDevices.itemAt(disp); local
385 IDisplayDevice *device = mDisplayDevices.itemAt(i); local
450 IDisplayDevice *device = mPlatFactory->createDisplayDevice(i); local
492 IDisplayDevice *device = mDisplayDevices.itemAt(i); local
[all...]
/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DDrmConfig.cpp30 uint32_t DrmConfig::getDrmConnector(int device) argument
32 if (device == IDisplayDevice::DEVICE_PRIMARY)
34 else if (device == IDisplayDevice::DEVICE_EXTERNAL)
39 uint32_t DrmConfig::getDrmEncoder(int device) argument
41 if (device == IDisplayDevice::DEVICE_PRIMARY)
43 else if (device == IDisplayDevice::DEVICE_EXTERNAL)
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
H A DDrmConfig.cpp30 uint32_t DrmConfig::getDrmConnector(int device) argument
32 if (device == IDisplayDevice::DEVICE_PRIMARY)
34 else if (device == IDisplayDevice::DEVICE_EXTERNAL)
39 uint32_t DrmConfig::getDrmEncoder(int device) argument
41 if (device == IDisplayDevice::DEVICE_PRIMARY)
43 else if (device == IDisplayDevice::DEVICE_EXTERNAL)
/hardware/libhardware/modules/sensors/dynamic_sensor/
H A DHidRawSensorDaemon.cpp46 sp<HidRawSensorDevice> device(HidRawSensorDevice::create(deviceKey));
48 if (device != nullptr) {
49 ALOGV("created HidRawSensorDevice(%p) successfully on device %s contains %zu sensors",
50 device.get(), deviceKey.c_str(), device->getSensors().size());
53 for (auto &i : device->getSensors()) {
56 mHidRawSensorDevices.emplace(deviceKey, device);
/hardware/interfaces/camera/provider/2.4/
H A DICameraProvider.hal21 import android.hardware.camera.device@1.0::ICameraDevice;
22 import android.hardware.camera.device@3.2::ICameraDevice;
26 * known to the provider, and provides updates about changes to device status,
29 * The provider is responsible for generating a list of camera device service
46 * The device instance names enumerated by the provider in getCameraIdList() or
48 * "device@<major>.<minor>/<type>/<id>" where
50 * incrementing integer for "internal" device types, with 0 being the main
53 * used to identify the device reliably when it is disconnected and reconnected.
55 * Multiple providers must not enumerate the same device ID.
104 * Returns the list of internal camera device interface
[all...]
/hardware/libhardware/modules/camera/3_4/
H A Dv4l2_metadata_factory.h29 int GetV4L2Metadata(std::shared_ptr<V4L2Wrapper> device,
/hardware/libhardware/modules/tv_input/
H A Dtv_input.cpp29 tv_input_device_t device; member in struct:tv_input_private
37 const char* name, struct hw_device_t** device);
115 const char* name, struct hw_device_t** device)
125 dev->device.common.tag = HARDWARE_DEVICE_TAG;
126 dev->device.common.version = TV_INPUT_DEVICE_API_VERSION_0_1;
127 dev->device.common.module = const_cast<hw_module_t*>(module);
128 dev->device.common.close = tv_input_device_close;
130 dev->device.initialize = tv_input_initialize;
131 dev->device.get_stream_configurations =
133 dev->device
114 tv_input_device_open(const struct hw_module_t* module, const char* name, struct hw_device_t** device) argument
[all...]

Completed in 672 milliseconds

1234567891011>>