summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* DO NOT MERGE: Introduce stem keycodes for WearAnthony Hugh2015-06-242-1/+14
| | | | | | | | | | | | | Cherry-pick from master This change adds four new stem keycodes for Android Wear. These keycodes are intended to represent the various hardware buttons around the watch. There is one primary stem key that will be used for power/settings and three generic stem keys that will be customizable. BUG: 21903503 Change-Id: I762b8c0bcf3780a1756f4c1b8bbf07a039ba7781
* Cancel touch events when a low-level touch gesture occurs.Jeff Brown2015-02-122-0/+13
| | | | | | | | | | | | | | | When the touch firmware or driver sends a key event that is triggered by a low-level gesture such as a palm slap. For this to work, the touch device's .kl file must specify the "GESTURE" flag for each key that is produced by a gesture. Note that the "VIRTUAL" flag should also be specified for any such keys for which we would like to generate haptic feedback. eg. key 142 SLEEP VIRTUAL GESTURE Bug: 19264992 Change-Id: Ief494ec7e3ca66d2358a1001fdfae4f263ee1cd1
* Revert "omx: add Intel's SemiPlanar OMX color format that is used on some ↵Lajos Molnar2015-02-111-1/+0
| | | | | | | | | devices" This reverts commit 61b17d64f90b85fd367ea1c7609cac69485957d4. Bug: 19317169 Change-Id: Ib1fcc26c46a52c848ffa8238ddbf6abfe57cfa5d
* DO NOT MERGE: omx: add OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanarLajos Molnar2015-02-061-0/+1
| | | | | | | | | This seems to have the same layout as OMX_COLOR_FormatYUV420SemiPlanar, but used under this value on some devices. Bug: 19246722 Change-Id: Ib866024e52cf7b12608f02eefc43c6d58a1c0aa1
* add bUsingNativeBuffers to DescribeColorFormatParamsLajos Molnar2015-01-301-5/+20
| | | | | | | | This is needed to find proper color format for flex-YUV native buffer support. Bug: 19179927 Change-Id: I91ae6764e302c4307a0750c1d6820506d735c942
* CpuConsumer: lock buffers that could be YUV as ycbcrLajos Molnar2015-01-281-2/+6
| | | | | Bug: 17906609 Change-Id: Ic71af69ec3b19ab1224ed3ad5e0a97c60e81cda6
* OpenMax IL: Added support for E-AC3 codec configuration paramsRachad2014-12-232-0/+11
| | | | | Bug: 17883772 Change-Id: Ibf00534607db4bba14c935cf1eaa80eb740297f9
* omx: add (temporary) index for automatic video frc supportLajos Molnar2014-11-192-1/+2
| | | | | Bug: 17383204 Change-Id: I9b22da03ea3f2a7d9dd85042fff442d2414cbc26
* Fix build.Narayan Kamath2014-11-141-1/+1
| | | | | | Remove reference to undefined open max index extension. Change-Id: I984b91afad3ca4d279a31048b4112fa9afdba9e9
* Merge "implement asString() for OMX enumerations used by framework" into ↵Lajos Molnar2014-11-1411-1309/+2249
|\ | | | | | | lmp-mr1-dev
| * implement asString() for OMX enumerations used by frameworkLajos Molnar2014-11-1211-1309/+2249
| | | | | | | | | | Bug: 18285408 Change-Id: I7893cbf0b13514e0fe9001c90db3c8387c1920c0
* | Fix issue #18356768: some app process may hang at Runtime#exit...Dianne Hackborn2014-11-131-5/+0
|/ | | | | | | | | ...in Parcel destructor Don't use a Mutux object, just use simple posix mutex primitives, to avoid static init/destroy order problems. Change-Id: Ic012d94297564c0a55d58869f8276d7d10545fbc
* Add tracking of parcel memory allocations.Dianne Hackborn2014-11-112-2/+11
| | | | Change-Id: I76ffed0e69ccfe70e87d98646f11d4de7c3fd980
* Frameworks/native: Fix unused parameter warningAndreas Gampe2014-11-081-1/+1
| | | | | | | Pulled in in hardware/, where -Werror is used. Change-Id: I13fc31d31fe2f623d39c84862b0c95a28813723d (cherry picked from commit a32900deec6284973100a29f7b399d061f82b3a8)
* Merge "Add a BufferItem parameter to onFrameAvailable" into lmp-mr1-devDan Stoza2014-11-076-6/+32
|\
| * Add a BufferItem parameter to onFrameAvailableDan Stoza2014-11-076-6/+32
| | | | | | | | | | | | | | | | | | | | Passes the BufferItem for the queued buffer to the onFrameAvailable callback so the consumer can track the BufferQueue's contents. Also adds an onFrameReplaced callback, which is necessary if the consumer wants to do anything more than simple queue length tracking. Bug: 18111837 Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
* | Merge "Add missing secure stop methods" into lmp-mr1-devJeff Tinker2014-11-061-0/+2
|\ \ | |/ |/|
| * Add missing secure stop methodsJeff Tinker2014-10-311-0/+2
| | | | | | | | | | | | | | b/18053197 b/18076411 Change-Id: I42b97f7e39d6e9e58990b41a4c4b5a7c9b8a49cf
* | Merge "surfaceflinger: fix -Wmismatched-tags warnings" into lmp-mr1-devJesse Hall2014-10-311-1/+1
|\ \ | |/ |/|
| * surfaceflinger: fix -Wmismatched-tags warningsJesse Hall2014-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | warning: struct 'HWComposer' was previously declared as a class [-Wmismatched-tags] warning: class 'DisplayInfo' was previously declared as a struct [-Wmismatched-tags] Change-Id: I13db9f8aab3a957ce8ff8d64598dae1807d6fe7e (cherry picked from commit 646f54105018e99ef4a30ee41f01f7d1ab66c38e)
* | Initialize ARect fields in default ctorDmitriy Ivanov2014-10-281-0/+1
|/ | | | | | | So that we can use Rect() for update and such. Bug: 18095940 Change-Id: I03ed87121d2d279f22013b75e95dd7254551ca1f
* am 3454f123: media: add kMetadataBufferTypeGraphicBufferLajos Molnar2014-10-141-0/+18
|\ | | | | | | | | * commit '3454f123d0a10bd0ce0760828996aa26c80a8fd4': media: add kMetadataBufferTypeGraphicBuffer
| * media: add kMetadataBufferTypeGraphicBufferLajos Molnar2014-10-131-0/+18
| | | | | | | | | | Bug: 17935149 Change-Id: I1c26d1e83d8fa0a9ccdb25f6f3b19a86b1dc6f37
* | Merge "BufferQueueProducer: Throttle EGL frame production." into lmp-mr1-devJesse Hall2014-10-081-0/+6
|\ \ | |/ |/|
| * BufferQueueProducer: Throttle EGL frame production.Eric Penner2014-10-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | Throttling was previously controlled by a combination of the driver and the number of buffers in the queue. This patch makes a more consistent trade-off, which allows two GPU frames pending but not three. More buffering could improve throughput in the case of varying frame times, but this also increases latency. Bug: 17502897 Change-Id: I4ee68019ca94c635294c5959931a555a6c4ef2df
* | Merge "Fix sockfd leakage in SensorService." into lmp-devAravind Akella2014-10-031-0/+1
|\ \ | |/ |/|
| * Fix sockfd leakage in SensorService.Aravind Akella2014-10-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | i) Call removeFd() only if the fd in the BitTube has been previously added to the Looper. Use a flag to determine whether the fd has been previously added or not. ii) Increment mPendingFlushEventsToSend after holding a connectionLock. iii) Store the number of acks that are pending in SensorEventQueue and send them all at once. Bug: 17472228 Change-Id: I1ec834fea1112a9cfbd9cddd2198438793698502
* | add OMX_VIDEO_AVCLevel52 constantLajos Molnar2014-10-011-0/+1
|/ | | | | Bug: 17676461 Change-Id: I120041e9b2ffe2a232a2419bcb5fe88cb49961cb
* add a parameter for PCM limiter enableChong Zhang2014-10-011-0/+1
| | | | | Bug: 17470065 Change-Id: I327115fc16e7afe2bf5870e123d63f9887161206
* surfaceflinger: add getDisplayStats() methodLajos Molnar2014-09-182-0/+39
| | | | | | | | This is used by media service to schedule video frames at the proper time, based on precise vsync timings. Bug: 14659809 Change-Id: I1a90603f3dc09dca9aa4f90a3aa845fab56e0a5e
* SensorService fixesAravind Akella2014-09-101-1/+1
| | | | | | | | | | | | | | | i) Significant Motion multiple clients fix. Make a copy of mActiveConnections vector before cleaning up SensorEventConnections when one-shot sensors trigger. ii) Maintain a mapping between flush_complete_events and SensorEventConnections to accurately map flush() API calls and corresponding flush_complete_events iii) Remove all references to 1_1 and 1_2 HALs. iv) Dynamically allocate sensor_event buffers in SensorService main threadLoop. Bug: 17412359 Change-Id: If3c3986197660cafef2d2e0b4dc7582e229cf1c4
* Merge "Add support for max res decode" into lmp-devJeff Tinker2014-09-091-0/+6
|\
| * Add support for max res decodeJeff Tinker2014-08-281-0/+6
| | | | | | | | | | bug: 16034599 Change-Id: Ia1de1457ca29fe1dd7e55f4bb45da45ea3f6e5b1
* | Update ScreenshotClient to take advantage of rotation in surfaceflinger's ↵Riley Andrews2014-09-091-0/+4
| | | | | | | | | | | | screencap api Change-Id: I836649d9d5cd5958ce34e47f26f4a36d2d05d24c
* | Add rotation to surfaceflingers screen cap.Riley Andrews2014-09-091-1/+9
| | | | | | | | | | | | | | | | + This is needed so that activity manager does not have to do cpu side rotations when capturing recents thumbnails. Change-Id: If998008e675ad01305db8399fd643cf4608b7025
* | Make IPowerManager native conform to .aidl for onewayGlenn Kasten2014-09-051-4/+7
| | | | | | | | | | | | | | | | But provide a temporary escape hatch for AudioFlinger. This oneway option will be removed as soon as possible. Bug: 16408906 Change-Id: I20d6da1969ae05b96e72795463470eb4c1f8fbdc
* | Merge "SensorService flush fixes." into lmp-devAravind Akella2014-09-051-1/+1
|\ \
| * | SensorService flush fixes.Aravind Akella2014-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i) Fix a possible race condition when adding a pending flush connection to mActiveSensors data structure. ii) Invalidate flush_complete_events as soon as they are consumed by a connection so that they are not used by other connections which are registered for the same sensor. Change-Id: I1491bea8c2081c4aab1feacc60add13b7aa26bb7
* | | Fix undefined behavior (not returning a value from a function with return).Stephen Hines2014-09-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17379740 This function was missing a return statement, even though it declares a return type. This is undefined behavior, which clang miscompiled into just falling through to a later function in some cases. Adding the return statement fixes the undefined behavior (and probably fixes a bug too). Change-Id: I05c03b6473b831769dc4fa8b5ba43fb4249f7626
* | | Merge "New keycode definitions for TV remotes." into lmp-devWally Yau2014-09-032-1/+57
|\ \ \
| * | | New keycode definitions for TV remotes.ASAZU, Hideki2014-09-022-1/+57
| |/ / | | | | | | | | | | | | | | | | | | Keys which are necessary for supporting world-wide broadcast standard or used commonly for TV/STB remotes. Change-Id: I2721ceb7d956c87f1d4106b99f9d21947ae13d47
* | | Revert "Revert "Revert "Revert "Remove incorrect android_atomic_...64 use.""""Hans Boehm2014-09-021-1/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After fixing b/16874785. This reverts commit f010a05c7e9a23b6083294aff4a8183ab01f686e. Original comment, which actually describes the effect of this: Change the mExtras field in Binder.h to be a stdatomic.h atomic value, and replace references to it with proper stdatomic.h calls. This removes one of a small number of remaining 64 bit android_atomic references. It also replaces the erroneously non-atomic read accesses to mExtras. It would be better if this used the C++11 <atomic> facility, but we don't quite have that yet. Fixes Bug:16513433 Change-Id: I1645ca5d6f60595bf5d388913665ce4b8780b26d (cherry picked from commit 3effababf2980d029339522fdc914bdeb913d99b)
* | GLConsumer: Fix eglTerminate/eglInit edge case.Eric Penner2014-08-271-1/+3
|/ | | | | | | | | If a display is terminated and then initialized, we can't detect this using the display itself (it has the same value), but all EglImages still become invalid for the display. This patch detects this during image binding and forces creation of a new EglImage. Bug: 10430249 Change-Id: I75101c50962f21263dca3ec6e241a2e5a3c23dad
* Add native flag to reflect new density typeAdam Lesinski2014-08-221-0/+1
| | | | | Bug:17007265 Change-Id: If0129c4ad222fe28628d6f7cd8ee78fc6424e177
* Add Voice Assist key.Michael Wright2014-08-212-1/+3
| | | | | Bug: 16292420 Change-Id: I607fadc2edf673079bfd9f7406e6e45603474957
* SensorService fixes.Aravind Akella2014-08-191-1/+1
| | | | | | | | | | | | | | | 1) Flush should only be received by the app calling flush(). Maintain a queue of all flush() calls and send flush_complete events in that order. 2) Log warnings for older HALs. Remove batch() calls with DRY_RUN flag. 3) Reallocate event cache when more sensors register and the desired maxCacheSize increases. Clear NEEDS_ACK flag in the buffer whenever there is a write() failure. 4) More dump information. Add wake-up flag, maxDelay and timestamps for sensor events. Bug: 16874778 Change-Id: I195646191059fd31f75f2f07886c0f98bf9b509a
* Shelve InputFlinger for another release. DO NOT MERGEMichael Wright2014-08-181-54/+0
| | | | Change-Id: I0f034a2b8b1d9192f61f5001799bd3aa4b3964c7
* Merge "Tunneled Video Playback support" into lmp-devRachad2014-08-092-0/+22
|\
| * Tunneled Video Playback supportRachad2014-08-042-0/+22
| | | | | | | | | | | | | | | | | | Added native_window_set_sideband_stream() method to Surface.[h|cpp] Added ConfigureVideoTunnelModeParams OMX configuration structure to HardwareAPI.h Bug: 16132368 Change-Id: I28fa1b9dbe858d93e353e0991098cad45c626bd9
* | Merge "Sensor related changes for NDK." into lmp-devAravind Akella2014-08-051-1/+13
|\ \