summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* fix compiler warning in OMX_VideoExt.hLajos Molnar2014-06-051-1/+1
| | | | | Bug: 11969958 Change-Id: I6dbc1c5a56c5f8db0af931c9391299aaaf1b536a
* Remove getRequiredPermission from NDK.Aravind Akella2014-06-051-7/+0
| | | | | | Bug: 15089664 Change-Id: Ic967adde89f30261c75fca67c09d14d35bd1cdb3 (cherry picked from commit 1236710bccd8f5870c0281e24a899c3d58f708e6)
* Merge "Support VIRTUAL flag in keyboard layouts."Jeff Brown2014-05-211-0/+1
|\
| * Support VIRTUAL flag in keyboard layouts.Jeff Brown2014-05-201-0/+1
| | | | | | | | | | | | | | This flag is used to provide haptic feedback for virtual hard keys. Bug: 14319563 Change-Id: Ia0ca1acc8cfa00a42d1c04d279dfa59c6cc00f4d
* | New keycode definitions for HDMI-CECJinsuk Kim2014-05-202-0/+10
|/ | | | | | | | | | | | Following keys are added to be mapped to HDMI-CEC standard keys: KEYCODE_MEDIA_TOP_MENU KEYCODE_11 KEYCODE_12 KEYCODE_LAST_CHANNEL KEYCODE_TV_DATA_SERVICE Change-Id: Ie73cf4cd8355ced4753eb5bba0ea130b087dfc36
* Add KEYCODE_PAIRING.Tim Kilbourn2014-05-162-0/+2
| | | | | | Used for initiating a peripheral pairing mode. Change-Id: I7e8439d27491ccc72d045cabf5751a35b9113aa7
* BatteryProperty: Add property ENERGY_COUNTER and 64-bit integer propertiesTodd Poynor2014-05-161-5/+7
| | | | | | Also fixup comments to match recent changes in BatteryManager. Change-Id: I6f40924f9e66d564ad1175f9650e2bfd2ad39a3a
* Merge "Allow OMX pointer types to be forced to 32 bits"Andy Hung2014-05-151-4/+24
|\
| * Allow OMX pointer types to be forced to 32 bitsAndy Hung2014-05-071-4/+24
| | | | | | | | | | | | | | | | | | | | | | Enabled by #define. Is used for 64 bit compilation to force structs to use 32 bit pointer values for eventual IPC to 32 bit OMX codecs. May change later if we support 64 bit OMX codecs. Change-Id: I0d12f86774f6f7ce9c39c8abea5d51988a7eef11 Signed-off-by: Andy Hung <hunga@google.com>
* | am 38c9e132: am c1ffd351: am bd20e551: Merge "Use asynchronous lock/unlock API"Greg Hackmann2014-05-122-0/+13
|\ \ | | | | | | | | | | | | * commit '38c9e1327a5b24267c3dab5293bc9d7ada6e9fc9': Use asynchronous lock/unlock API
| * \ am c1ffd351: am bd20e551: Merge "Use asynchronous lock/unlock API"Greg Hackmann2014-05-122-0/+13
| |\ \ | | | | | | | | | | | | | | | | * commit 'c1ffd351bc44483369271c11dd4c6391bba8c64c': Use asynchronous lock/unlock API
| | * \ am bd20e551: Merge "Use asynchronous lock/unlock API"Greg Hackmann2014-05-122-0/+13
| | |\ \ | | | | | | | | | | | | | | | | | | | | * commit 'bd20e551f64234142e1146f9fa4b2dcebbd72122': Use asynchronous lock/unlock API
| | | * | Use asynchronous lock/unlock APIFrancis Hart2014-05-122-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gralloc API now provides a way for using lock/unlock with the Android explicit synchronisation concept. This changes updates the GraphicBuffer class to also expose this functionality, and updates the Surface class to make use of in line with the dequeueBuffer/queueBuffer mechanism. This new behaviour is dependent on GRALLOC_MODULE_API_VERSION_0_3. If the local gralloc module does not support this then the existing synchronous lock/unlock mechanism will be used. Change-Id: I8c3fd9592e0c5400ac9be84450f55a77cc0bbdc5
* | | | | am 9493d492: am 9eb142e3: am a9d49f99: Merge "Revert "Use asynchronous ↵Greg Hackmann2014-05-092-13/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | lock/unlock API"" * commit '9493d4924a59f14b698389386337a9c07a7ea3c4': Revert "Use asynchronous lock/unlock API"
| * | | | am 9eb142e3: am a9d49f99: Merge "Revert "Use asynchronous lock/unlock API""Greg Hackmann2014-05-092-13/+0
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '9eb142e34a5bc11508c0bd6f60ad3933c60aa530': Revert "Use asynchronous lock/unlock API"
| | * | | am a9d49f99: Merge "Revert "Use asynchronous lock/unlock API""Greg Hackmann2014-05-092-13/+0
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit 'a9d49f99e69d8fc0e60b492b131322c96f47a232': Revert "Use asynchronous lock/unlock API"
| | | * | Revert "Use asynchronous lock/unlock API"Greg Hackmann2014-05-092-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 378ef07760eda717367d9429428c42d54d54d9a7. Change-Id: I1de5ab973b5383633e75924fe90ac3ca8216c36a
* | | | | am 4b46776f: am 8a6cd189: am f60564a1: Merge "Use asynchronous lock/unlock API"Greg Hackmann2014-05-092-0/+13
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '4b46776ff88c5a365700b88e8b2b04e1b2c77e6e': Use asynchronous lock/unlock API
| * | | | am 8a6cd189: am f60564a1: Merge "Use asynchronous lock/unlock API"Greg Hackmann2014-05-092-0/+13
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '8a6cd189034ec4709a66e581b41deba56c028291': Use asynchronous lock/unlock API
| | * | | am f60564a1: Merge "Use asynchronous lock/unlock API"Greg Hackmann2014-05-092-0/+13
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit 'f60564a13e917877c76c99294194a621d872076b': Use asynchronous lock/unlock API
| | | * | Use asynchronous lock/unlock APIFrancis Hart2014-05-022-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gralloc API now provides a way for using lock/unlock with the Android explicit synchronisation concept. This changes updates the GraphicBuffer class to also expose this functionality, and updates the Surface class to make use of in line with the dequeueBuffer/queueBuffer mechanism. This new behaviour is dependent on GRALLOC_MODULE_API_VERSION_0_3. If the local gralloc module does not support this then the existing synchronous lock/unlock mechanism will be used. Change-Id: I77daa1beb197b63b1c2f281b8414ac4ae4b5b03c
| | * | | Merge commit '6d05ef2310bdc84811d5b0385b009ad11447a749' into HEADBill Yi2014-04-291-0/+1
| | |\ \ \ | | | |/ / | | |/| |
| | | * | am f0190bff: Add support for writing byte arrays to parcelsMarco Nelissen2014-03-141-0/+1
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f0190bff38b6c29abbfc4a877442f71fc3d7dad8': Add support for writing byte arrays to parcels
* | | | \ \ Merge "Enable changing display configuration"Dan Stoza2014-05-063-6/+29
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Enable changing display configurationDan Stoza2014-05-053-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows querying and switching display device configurations through the ISurfaceComposer/SurfaceComposerClient interface. Bug: 14320401 Change-Id: I8c22165698950e5da32204c1c4da92122f91a715
* | | | | | Merge "Change InputMessage.motion.pointerSize to a uint32_t."Narayan Kamath2014-05-061-3/+3
|\ \ \ \ \ \
| * | | | | | Change InputMessage.motion.pointerSize to a uint32_t.Narayan Kamath2014-05-021-3/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures it's the same size in both 32 and 64 bit processes and also brings it in line with struct MotionEntry. Change-Id: I66bb8b8d8664763e7dcbd489686051f563d5e1dc
* | | | | | Merge "HEVC Support Added HEVC enums and structures to OMX header files"Rachad2014-05-063-0/+60
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | HEVC SupportRachad2014-05-053-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added HEVC enums and structures to OMX header files Change-Id: If4135c6df86df51098fc7a979543975ed70b0641
* | | | | | Merge "Move key attribute information out of native."Michael Wright2014-04-294-394/+407
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Move key attribute information out of native.Michael Wright2014-04-224-394/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Native doesn't ever actually care about the attributes of keys, so move all of it up into the managed layer and move all of the key names down so they're defined once. Change-Id: Ic8ded13ce050b2b98744735ff50d11e8d882d7d5
* | | | | | Merge "Add VP8 encoder extra parameters structure to support configuring ↵Alex Glaznev2014-04-242-0/+38
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | encoder key frame interval, number of temporal layers, type of temporal layer pattern and minimum and maximum quantization parameters."
| * | | | | | Add VP8 encoder extra parameters structure to supportAlex Glaznev2014-04-232-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | configuring encoder key frame interval, number of temporal layers, type of temporal layer pattern and minimum and maximum quantization parameters. Bug: 11969958 Change-Id: I561e03148a7c5d928b5bf350ad3631ae69871065
* | | | | | | Merge "Enable wakeup sensors."Aravind Akella2014-04-244-3/+10
|\ \ \ \ \ \ \
| * | | | | | | Enable wakeup sensors.Aravind Akella2014-04-234-3/+10
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SensorService should hold a wakelock till the app reads events from a wakeup sensor. Currently drivers hold a wakelock with a timeout while delivering events from a wake up sensor like Significant Motion. This hack can be removed now. Bug: 9774884 Change-Id: If3b5acb99c9cf0cd29012fcfa9d6b04c74133d01
* | | | | | | Remove deprecated BufferQueue constructorDan Stoza2014-04-221-302/+6
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Finally remove the BufferQueue constructor itself. From now on, all BufferQueues must be created through the createBufferQueue method. Bug: 13415624 Change-Id: I192bf9430265bab761dcd59db1f02c9d0ac4feed
* | | | | | Merge "BufferQueue: Increase max slots from 32 to 64"Dan Stoza2014-04-214-5/+5
|\ \ \ \ \ \
| * | | | | | BufferQueue: Increase max slots from 32 to 64Dan Stoza2014-04-184-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Increases NUM_BUFFER_SLOTS from 32 to 64 and changes the mask returned by IGBC::getReleasedBuffers from 32 to 64 bits. Bug: 13174352 Change-Id: Ie8ef0853916cfb91f83881c7241886bb1950f01a
* | | | | | | BufferQueue: Add StreamSplitterDan Stoza2014-04-152-0/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a StreamSplitter class, that takes one IGraphicBufferConsumer interface and multiple IGraphicBufferProducer interfaces and implements a one-to-many broadcast of GraphicBuffers (while managing fences correctly). Change-Id: I38ecdf3e311ac521bc781c30dde0cc382a4376a3
* | | | | | | BufferQueueProducer: add detachNextBufferDan Stoza2014-04-153-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new method, IGBP::detachNextBuffer, that effectively does dequeue + request + detach in a single call, but does not need to know anything about the dequeued buffer, and will not block on dequeue. This is mostly for the upcoming StreamSplitter to use in its onBufferReleased callback. Change-Id: Ie88a69de109003acebaa486a5b44c8a455726550
* | | | | | | am ef89f763: am cf818ebb: Merge "Add stringType and requiredPermission to ↵Aravind Akella2014-04-112-0/+28
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sensors, effectively adding permission checking for sensors" into klp-modular-dev * commit 'ef89f7638c43ce5f73e32d487bf65c3375995e3b': Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors
| * | | | | | am cf818ebb: Merge "Add stringType and requiredPermission to sensors, ↵Aravind Akella2014-04-112-0/+28
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | effectively adding permission checking for sensors" into klp-modular-dev * commit 'cf818ebbf07c6a20ef48d71bf82f8d4bdf3a398c': Add stringType and requiredPermission to sensors, effectively adding permission checking for sensors
| | * \ \ \ \ \ Merge "Add stringType and requiredPermission to sensors, effectively adding ↵Aravind Akella2014-04-112-0/+28
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | permission checking for sensors" into klp-modular-dev
| | | * | | | | | Add stringType and requiredPermission to sensors, effectively adding ↵Aravind Akella2014-04-112-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | permission checking for sensors This reverts commit 4369a4ebd5ae7567e7075bc82830b83178099ed5. Change-Id: Ifa8619cc6873470a07a987763d818d78d4232610
* | | | | | | | | Merge "Add unique ID to GraphicBuffer"Dan Stoza2014-04-111-1/+4
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add unique ID to GraphicBufferDan Stoza2014-03-311-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a globally-unique ID (PID + sequence number) to every GraphicBuffer, which will remain the same while crossing Binder, even if the underlying handles change. Change-Id: Ib11330a4c5e99621b82204e0adb31b9a88658426
* | | | | | | | | | Merge "BufferQueue: Add producer buffer-released callback"Dan Stoza2014-04-115-17/+79
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / /
| * | | | | | | | | BufferQueue: Add producer buffer-released callbackDan Stoza2014-03-315-17/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a callback to the producer side, onBufferReleased, which will be called every time the consumer releases a buffer back to the BufferQueue. This will enable a buffer stream splitter to work autonomously without having to block on dequeueBuffer. The binder object used for the callback replaces the generic IBinder token that was passed into IGraphicBufferProducer::connect to detect the death of the producer. If a producer does not wish to listen for buffer release events, it can pass in an instance of the DummyProducerListener class defined in IProducerListener.h, if it even cares about death events (BufferQueue doesn't enforce the token being non-NULL, though perhaps we should). Change-Id: I23935760673524abeafea2b58dccc3583b368710
* | | | | | | | | | am 974279d9: am db19e463: Remove unnecessary policy flags.Jeff Brown2014-04-111-7/+3
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '974279d98917c589181b70ea1c377842e7717643': Remove unnecessary policy flags.
| * | | | | | | | | am db19e463: Remove unnecessary policy flags.Jeff Brown2014-04-111-7/+3
| |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'db19e463fe5a4e00a0214c564527ba67f31e1afb': Remove unnecessary policy flags.