platform_hardware_libhardware/include/hardware
Dan Stoza 44ddf4208a gralloc: Add foreign buffer usage flag
Adds GRALLOC_USAGE_FOREIGN_BUFFERS, which a consumer may set as a usage
flag if it intends to attach buffers that it has not detached from the
BufferQueue. It provides a hint to the producer (who may query the
consumer usage bits) that it may receive a buffer from another
BufferQueue, so that it can exit during initialization, hopefully with a
meaningful error message, if such buffers are not supported.

Also adds GRALLOC_USAGE_ALLOC_MASK, which is applied to usage bits
before calling alloc on the gralloc module, and prevents the module from
seeing GRALLOC_USAGE_FOREIGN_BUFFERS, since that usage flag is of no use
while allocating buffers.

Bug: 19801661
Change-Id: I17b927de94245f4df7cfd3f4483b544da3e9cd35
(cherry picked from commit 201c7d91b7)
2015-06-01 11:19:30 -07:00
..
activity_recognition.h Replace integer constants with strings in Activity Recognition HAL. 2014-06-03 01:37:50 +00:00
audio.h audio: Add audio parameter key for device connect 2015-01-31 01:42:31 +00:00
audio_alsaops.h Add audio_alsaops.h 2014-03-27 15:14:32 -07:00
audio_effect.h am 935799d6: Addition of EFFECT_CMD_OFFLOAD for effects offload 2013-08-29 14:09:31 -07:00
audio_policy.h DO NOT MERGE - audio: audio HAL extension for routing and volume control 2014-05-28 14:03:59 -07:00
bluetooth.h L2CAP and SDP Search API for BT profiles (1/2) 2015-04-23 12:42:32 -07:00
bt_av.h Use separate HAL interfaces for A2DP source and sink roles. 2014-06-13 09:09:58 -07:00
bt_common_types.h Incorrect RSSI value in onlost/onfound 2015-04-23 12:42:32 -07:00
bt_gatt.h Initial version of BLE support for Bluedroid 2013-02-27 18:14:00 -08:00
bt_gatt_client.h OnFound/OnLost feature API changes based on spec v0.90 2015-04-23 12:42:32 -07:00
bt_gatt_server.h Add server-side callback for change in MTU (1/4) 2014-11-26 12:56:23 -08:00
bt_gatt_types.h Add transport param to Connect APIs 2014-05-06 01:24:05 -07:00
bt_hf.h Add WBS support on Bluedroid (4/6) 2014-06-23 23:27:34 -07:00
bt_hf_client.h Bluetooth: Add support for HFP Client role. 2014-06-12 13:20:32 -07:00
bt_hh.h Add handshake_callback to bt_hh 2014-02-25 19:25:55 -08:00
bt_hl.h Initial Bluetooth open source release 2012-09-18 12:52:41 -07:00
bt_mce.h Bluetooth: Support MAP Client role on Bluedroid. 2014-07-01 10:36:44 -07:00
bt_pan.h DO NOT MERGE Fix PAN control callback definition to match what bluedroid is doing. 2014-04-16 14:53:45 -04:00
bt_rc.h Move AVRCP controller support to a different HAL interface 2014-06-13 09:09:58 -07:00
bt_sdp.h L2CAP and SDP Search API for BT profiles (1/2) 2015-04-23 12:42:32 -07:00
bt_sock.h L2CAP and SDP Search API for BT profiles (1/2) 2015-04-23 12:42:32 -07:00
camera.h Camera HALs: Promote device HAL v3.2 2014-09-10 11:13:16 -07:00
camera2.h Camera HALs: Promote device HAL v3.2 2014-09-10 11:13:16 -07:00
camera3.h camera3: update ZSL spec 2015-01-29 14:44:37 -08:00
camera_common.h Camera HALs: Promote device HAL v3.2 2014-09-10 11:13:16 -07:00
consumerir.h Described restrictions for common HAL object methods. 2014-05-12 12:35:37 -07:00
fb.h Described restrictions for common HAL object methods. 2014-05-12 12:35:37 -07:00
fingerprint.h Minor cleanup of HAL fingerprint API 2014-06-16 21:06:13 -07:00
fused_location.h Fix typo in FlpHal 2013-08-21 12:41:19 -07:00
gatekeeper.h add request re-enroll to HAL API 2015-05-27 01:35:20 +00:00
gps.h Fix typo and add more detailed comments on what we expect from GPS HAL. 2014-10-31 13:43:07 -07:00
gralloc.h gralloc: Add foreign buffer usage flag 2015-06-01 11:19:30 -07:00
hardware.h HAL test: statically test the size of HAL structs 2013-11-21 15:52:05 -08:00
hdmi_cec.h CEC: Add a new flag for set_option 2015-01-19 10:46:39 +09:00
hw_auth_token.h hw_auth_token: make timestamp 64 bits 2015-04-13 17:58:01 +00:00
hwcomposer.h HWC 1.5: Add per-layer damage region 2015-02-25 13:42:18 -08:00
hwcomposer_defs.h HWC 1.5: Add per-layer damage region 2015-02-25 13:42:18 -08:00
keymaster0.h Separate keymaster0 and keymaster1 HALs. 2015-02-24 14:58:17 -07:00
keymaster1.h Remove rescoping. 2015-05-11 07:06:01 -06:00
keymaster_common.h Separate keymaster0 and keymaster1 HALs. 2015-02-24 14:58:17 -07:00
keymaster_defs.h Add KM_TAG_BOOTLOADER_ONLY. 2015-05-12 11:46:02 +00:00
lights.h move the old sensorHAL interface into a separate header 2010-07-19 15:32:24 -07:00
local_time_hal.h Described restrictions for common HAL object methods. 2014-05-12 12:35:37 -07:00
memtrack.h Initial interface for MemoryTrackerHAL 2013-09-09 13:54:33 -07:00
nfc.h Add HAL module ID for BCM2079x. 2014-07-24 18:00:42 -07:00
nfc_tag.h Described restrictions for common HAL object methods. 2014-05-12 12:35:37 -07:00
power.h power: Adds setFeature functionality for the power module 2014-10-31 10:58:30 -07:00
qemu_pipe.h Fix "error: 'strlen' was not declared in this scope". 2015-01-30 20:40:50 -08:00
qemud.h Enable connection to QEMUD via pipe. 2011-08-05 10:17:39 -07:00
sensors.h Add new SENSOR_TYPE_WRIST_TILT_GESTURE sensor type 2015-02-05 12:26:35 -08:00
sound_trigger.h sound trigger: update HAL 2014-07-07 10:15:45 -07:00
tv_input.h tv_input: more documentation to events 2014-10-23 14:11:19 +09:00
vibrator.h Described restrictions for common HAL object methods. 2014-05-12 12:35:37 -07:00