summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Add body sensors app op - framework nativeSvetoslav2015-05-018-19/+23
| | | | Change-Id: I727a2bb1e28ae9158f2df9c74dd0aee977dfd47f
* Respect the record audio app op - frameworks nativeSvet Ganov2015-04-282-5/+32
| | | | Change-Id: Id747767377953fd644a538aad3f603d6c50875a2
* BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE queryDan Stoza2015-04-281-0/+4
| | | | | | | | | Adds a NATIVE_WINDOW_BUFFER_AGE query, which returns the age of the contents of the most recently dequeued buffer as the number of frames that have elapsed since it was last queued. Change-Id: Ib6fd62945cb62d1e60133a65beee510363218a23 (cherry picked from commit 49f810c72df8d1d64128e376757079825c8decd4)
* libgui: Change detachNextBuffer to return sp<GB>Dan Stoza2015-04-271-1/+1
| | | | | | | | | | Changes Surface::detachNextBuffer to return an sp<GraphicBuffer> instead of an ANativeWindowBuffer* to ensure that reference counting works correctly. Bug: 20092217 Change-Id: I3979ea6121aaf14845f0554477b778770413581e (cherry picked from commit 8b2daa3ca29492b181fb67840640d771c4a2b3ac)
* Build fix change method signature of enableDataInjection.Aravind Akella2015-04-241-1/+1
| | | | Change-Id: I3927aec64f5a1555d2e5d07591fd04e7b3be5f09
* Merge "Enable data injection mode in SensorService."Aravind Akella2015-04-253-2/+7
|\
| * Enable data injection mode in SensorService.Aravind Akella2015-04-233-2/+7
| | | | | | | | Change-Id: I0cd32a017235c31c54816e4a357ce3b988350ed6
* | OMX: add event for rendering an output frame by a tunneled decoderLajos Molnar2015-04-242-6/+13
| | | | | | | | | | Bug: 20503131 Change-Id: Ia5cc7629244c986f059a3571be1d8aca87006e02
* | am 5d10894c: am ef47c080: am 958f5011: Merge "libgui: Allow an IGBProducer ↵Dan Stoza2015-04-244-0/+22
|\ \ | | | | | | | | | | | | | | | | | | to disable allocation" * commit '5d10894c9d547449cf231f02b736da9dfdebec11': libgui: Allow an IGBProducer to disable allocation
| * \ am ef47c080: am 958f5011: Merge "libgui: Allow an IGBProducer to disable ↵Dan Stoza2015-04-244-0/+22
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | allocation" * commit 'ef47c080fd0e7fb8bf1fc4b0ecadae277a22f2cf': libgui: Allow an IGBProducer to disable allocation
| | * | libgui: Allow an IGBProducer to disable allocationDan Stoza2015-04-234-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new method IGBP::allowAllocation, which controls whether dequeueBuffer is permitted to allocate a new buffer. If allocation is disallowed, dequeueBuffer will block or return an error as it normally would (as controlled by *ControlledByApp). If there are free buffers, but they are not of the correct dimensions, format, or usage, they may be freed if a more suitable buffer is not found first. Bug: 19801715 Change-Id: I0d604958b78b2fd775c2547690301423f9a52165
* | | | am 437fb850: am f96a7581: am fb6d43ff: Merge "libgui: Change BufferQueue to ↵Dan Stoza2015-04-241-0/+15
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | use free lists" * commit '437fb850b0667be3e8655cb1ac6a8d491f59d045': libgui: Change BufferQueue to use free lists
| * | | am f96a7581: am fb6d43ff: Merge "libgui: Change BufferQueue to use free lists"Dan Stoza2015-04-241-0/+15
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'f96a758139be0d5c298abad8e27083b0f0849818': libgui: Change BufferQueue to use free lists
| | * | libgui: Change BufferQueue to use free listsDan Stoza2015-04-231-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BufferQueue used to choose free buffers by scanning through its array of slots and picking one based on timestamp. This changes that mechanism to use a pair of free lists: one with buffers attached and one without. This makes it easier to choose either type of free slot depending on the needs of the current operation. Fixes an issue with the first version of this change, found in bugs 20482952, 20443314, and 20464549. Bug: 13175420 Change-Id: I9b6e83cfe8f9b4329a976025cb8e291d51fb6d4a
* | | | am 41422980: am d2c12e4c: am 7637e35d: Merge "Revert "libgui: Change ↵Dan Stoza2015-04-221-15/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | BufferQueue to use free lists"" * commit '41422980fabb087390791d951c28fef072d93be1': Revert "libgui: Change BufferQueue to use free lists"
| * | | am d2c12e4c: am 7637e35d: Merge "Revert "libgui: Change BufferQueue to use ↵Dan Stoza2015-04-221-15/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | free lists"" * commit 'd2c12e4cd394ab9ed642526f8bd0e1b3acd692ae': Revert "libgui: Change BufferQueue to use free lists"
| | * | Merge "Revert "libgui: Change BufferQueue to use free lists""Dan Stoza2015-04-221-15/+0
| | |\ \
| | | * | Revert "libgui: Change BufferQueue to use free lists"Dan Stoza2015-04-221-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8dddc990103b71137be2a6365a26b1ac36598e68. Change-Id: I0b0fed9f1394c6f6ae812f6c562ead4473a8226e
* | | | | am 3805a00d: am 91f16b1b: am e647ddde: Merge "libgui: Fix CPU rendering on ↵Dan Stoza2015-04-221-5/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Surface" * commit '3805a00d6efef02535aaed96f412e0c55a9875f8': libgui: Fix CPU rendering on Surface
| * | | | am 91f16b1b: am e647ddde: Merge "libgui: Fix CPU rendering on Surface"Dan Stoza2015-04-221-5/+5
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '91f16b1b9c12e897d15198953684d9c7731ca47a': libgui: Fix CPU rendering on Surface
| | * | | libgui: Fix CPU rendering on SurfaceDan Stoza2015-04-211-5/+5
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the surface damage code went in, it incorrectly assumed that if an application was doing CPU rendering, it would be using lock and unlockAndPost instead of dequeue and queue, so it repurposed the dirty region too aggressively. This change keeps it from clobbering the dirty region if a CPU producer is attached. Bug: 20431815 Change-Id: Id4dfd71378311ea822f0289f6de2d20a7bd84014
* | | | Merge "Introduces navigation keycodes."Joseph Cooper2015-04-212-1/+9
|\ \ \ \
| * | | | Introduces navigation keycodes.Joseph Cooper2015-04-162-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These four new navigation keycodes are intended to be used to navigate a tree hierarchy or list of items. They should be used to allow the user to advance forward or backward within a list of sibling items, expand the currently selected item to navigate the item's children, or back out from the current item to its parent item or state. Change-Id: I4781e9d7756ed00ca14d8d4c743da3cc0e68ea6c
* | | | | Merge "Add ashmem stats to Parcels"Dan Sandler2015-04-211-0/+6
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Add ashmem stats to ParcelsDan Sandler2015-04-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requires change Ifaf115da in frameworks/base. Bug: 20079551 Change-Id: Ifaf115dabd1a59cdb1b46e2d49c41f64ac107de4
* | | | | am aadb236d: am 483c76dc: am ff5c1a6b: Merge "libgui: Change BufferQueue to ↵Dan Stoza2015-04-201-0/+15
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | use free lists" * commit 'aadb236d2e944791c1e7600eae9439fcb8a6caa9': libgui: Change BufferQueue to use free lists
| * | | am 483c76dc: am ff5c1a6b: Merge "libgui: Change BufferQueue to use free lists"Dan Stoza2015-04-201-0/+15
| |\ \ \ | | | |/ | | |/| | | | | | | | | * commit '483c76dcb855fe87adc670c0a0ea1e1ce237dd81': libgui: Change BufferQueue to use free lists
| | * | libgui: Change BufferQueue to use free listsDan Stoza2015-04-171-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BufferQueue used to choose free buffers by scanning through its array of slots and picking one based on timestamp. This changes that mechanism to use a pair of free lists: one with buffers attached and one without. This makes it easier to choose either type of free slot depending on the needs of the current operation. Bug: 13175420 Change-Id: Ic8398e7511bd11a60a1c82e3ad2ee271c9822be1
* | | | am 057a561a: am 57a9f5a0: am fd5f41be: Merge "libgui: Pass surface damage ↵Dan Stoza2015-04-155-2/+23
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | through BufferQueue" * commit '057a561afbf30ede99b5ec627deec7ee11701f6d': libgui: Pass surface damage through BufferQueue
| * | | am 57a9f5a0: am fd5f41be: Merge "libgui: Pass surface damage through ↵Dan Stoza2015-04-155-2/+23
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | BufferQueue" * commit '57a9f5a05327de352896612caf85c991e65ca7be': libgui: Pass surface damage through BufferQueue
| | * | libgui: Pass surface damage through BufferQueueDan Stoza2015-04-155-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds support for passing surface damage all of the way down from the EGL interface through the consumer side of the BufferQueue. Depends on system/core change Ie645e6a52b37b5c1b3be19481e8348570d1aa62c Bug: 11239309 Change-Id: I4457ea826e9ade4ec187f973851d855b7b93a31b
* | | | Added IPCThreadState::blockUntilThreadAvailable() method.Wale Ogunwale2015-04-142-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Will be used by the system_server watchdog to monitor the availability of binder threads in the process to handle incoming IPC requests. Bug: 19297165 Change-Id: I39175f3869ad14da5620fddb47f454e6e4ee2b25
* | | | Merge "Add a method to associate MediaDrm session with MediaCrypto"Jeff Tinker2015-04-101-0/+12
|\ \ \ \
| * | | | Add a method to associate MediaDrm session with MediaCryptoJeff Tinker2015-04-101-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, to associate a MediaDrm session with MediaCrypto, the MediaDrm sessionId was passed as initData to the MediaCrypto constructor. This is not ideal for two reasons: it's pretty obscure and you can't change the association without tearing down the MediaCodec/MediaCrypto and starting all over. Use cases like key rotation require being able to update the MediaDrm session post-construction. This CL addresses both of these issues. bug: 19570317 Change-Id: Iede35e73e9007df13254edaa5877cb4832b28646
* | | | | Merge "openmax: add OMX_IndexConfigOperatingRate."Ronghua Wu2015-04-102-0/+2
|\ \ \ \ \
| * | | | | openmax: add OMX_IndexConfigOperatingRate.Ronghua Wu2015-04-072-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19620911 Change-Id: I4458705414ab0087bbfd60dee201973045cd711b
* | | | | | Merge "multinetwork API: native header"Erik Kline2015-04-101-0/+109
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | multinetwork API: native headerErik Kline2015-04-071-0/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19537384 Change-Id: I7bb2f4310755e0c2ea2f32288000e54d671aebbe
* | | | | | Add expiration update and keys change eventsJeff Tinker2015-04-092-5/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In support of unprefixed EME bug: 19771612 bug: 19771431 Change-Id: Ibb8471701a62dedfbf5231ad958e2c33ebb3c42f
* | | | | | Pass through availability of audio mic for input devices.Tim Kilbourn2015-04-091-1/+4
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | Bug: 15374820 Change-Id: Id2ca6da10165e3a887ebfbb18f663a3bf316ac79
* | | | | am 172ff24c: am 5977851b: am 00afb817: Merge "libgui: Plumb detachBuffer ↵Dan Stoza2015-04-071-0/+3
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | | | | | | | | | through ConsumerBase" * commit '172ff24ccbc232cdf244a2bcbbb51df754929521': libgui: Plumb detachBuffer through ConsumerBase
| * | | am 5977851b: am 00afb817: Merge "libgui: Plumb detachBuffer through ↵Dan Stoza2015-04-071-0/+3
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | ConsumerBase" * commit '5977851b80549f24cd9164ec075b79c6c6291fa5': libgui: Plumb detachBuffer through ConsumerBase
| | * | libgui: Plumb detachBuffer through ConsumerBaseDan Stoza2015-04-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exposes IGraphicBufferConsumer::detachBuffer as a ConsumerBase method. attachBuffer is not currently exposed, because all current clients will be recycling buffers through the allocator. Bug: 19628705 Change-Id: I3e519767fa43d5d880c1d5695e31b60f6ad588af
| | * | DO NOT MERGE libgui: Plumb attach/detach through SurfaceDan Stoza2015-04-021-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exposes the attachBuffer and detachNextBuffer calls from IGraphicBufferProducer to the public Surface interface. Also moves the version of connect that takes a producer callback from protected to public. Bug: 19628705 Change-Id: I9ebc3013c4d9c84c4e8ef150c00e03f8af80319e (cherry picked from commit c14ecb9de243af8864610fd3c74342e3ca2cb4bc)
| | * | DO NOT MERGE libgui: Remove IGBC::BufferItemDan Stoza2015-03-208-89/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes IGraphicBufferConsumer::BufferItem. Depends on the following changes: I187b3a7d05196b6289596afac8fb9a9d4aebff76 I0ddd38df37500cfd6b21d1e768ed14e39c5cd9fc Cherry-pick of Id1fa56d092188f2cb712768d5d2fc6a9027fb73c Change-Id: I3edf0db8fba656fd78e18a5a7f1137f0fb6b237d
| | * | DO NOT MERGE libgui: Prepare for IGBC::BufferItem removalDan Stoza2015-03-196-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, there are two instances of BufferItem: one inside of IGraphicBufferConsumer, and a standalone one inside of libgui. They only differ in the name of one of the fields, and we want to remove the IGBC version. This changes things so that client code may be incrementally switched over to the libgui version. This is a squashed commit containing the following changes: I64f495105f56cbf5803cea4aa6b072ea29b70cf5 I1394e693314429ada93427889f10b7b01c948053 I9c3bc8037fa9438d4d9080b8afb694219ef2f71f I699ed0a6837076867ca756b28d1ffb2238f7a0d9 Iac8425e1241774304a131da2fb9dec6e82922f13 Change-Id: Ic4d51f5df6dbc70b376d13fceba2335b9bae4f3d
| | * | DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.Eino-Ville Talvala2015-03-1910-9/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Wire up new dataSpace parameter through buffer queue stack - Update tests to include the parameter - Switch eglApi to using dataSpace to indicate sRGB gamma/linear difference - Remove RAW_SENSOR in favor of RAW16 - Remove use of sRGB format enums - Add default dataspace to buffer queue core - Add query for default dataspace Cherry pick of I070bd2e7c56506055c419004c29e2e3feac725df Change-Id: I461952389c18051176c6b75e664f20ad369f5760
| * | | am a53e955a: Merge "libgui: Plumb attach/detach through Surface" into ↵Dan Stoza2015-04-071-1/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stage-aosp-master * commit 'a53e955ad882793bb6fea00d4d110a3d8878ab57': libgui: Plumb attach/detach through Surface
| | * | | libgui: Plumb attach/detach through SurfaceDan Stoza2015-04-071-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exposes the attachBuffer and detachNextBuffer calls from IGraphicBufferProducer to the public Surface interface. Also moves the version of connect that takes a producer callback from protected to public. Bug: 19628705 Change-Id: I9ebc3013c4d9c84c4e8ef150c00e03f8af80319e (cherry picked from commit 231832eb27107fb561467f5f4a9be2c577c61ea8)
| * | | | am e55cae86: Merge "libgui: Remove IGBC::BufferItem" into stage-aosp-masterDan Stoza2015-04-078-89/+9
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'e55cae86e6217a86d94bf280c6c8442bef2dd908': libgui: Remove IGBC::BufferItem