summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add body sensors app op - framework nativeSvetoslav2015-05-0118-78/+195
| | | | Change-Id: I727a2bb1e28ae9158f2df9c74dd0aee977dfd47f
* Merge "Offer to move both code and data together." into mnc-devJeff Sharkey2015-05-015-98/+201
|\
| * Offer to move both code and data together.Jeff Sharkey2015-04-305-98/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | We now move code under /data/app/com.example when a complete move is requested. This really only works for new cluster-style installs that also have native libraries and OAT contained inside. Teach measuring code about cluster-style installs when measuring app footprint. Also offer to measure private data space for all users. Bug: 19993667, 20275578 Change-Id: I6df7b947cb5cc8a4552f56f4b64a661e8512389f
* | Merge "SurfaceFlinger: Limit to 4k Layers" into mnc-devDan Stoza2015-04-302-9/+24
|\ \
| * | SurfaceFlinger: Limit to 4k LayersDan Stoza2015-04-302-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sets a limit of 4k Layers which SurfaceFlinger will allow to be in existence at any given time. An attempt to create Layers in excess of this limit will fail with NO_MEMORY. Bug: 20674586 Change-Id: I2dfaf59643d826f982b2fa44e8a9ed643176d972 (cherry picked from commit e7f8dde3f3c398c1ea1bec14e76725a760f71d31)
* | | Merge "SurfaceFlinger: Fix integer overflow in Mesh ctor" into mnc-devDan Stoza2015-04-301-2/+28
|\ \ \
| * | | SurfaceFlinger: Fix integer overflow in Mesh ctorDan Stoza2015-04-301-2/+28
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Performs range checking on the inputs to Mesh::Mesh() before allocating the storage array. Bug: 20674682 Change-Id: I4fc918a8c312d967dd6d9f91a098b2e0a7081027 (cherry picked from commit ab79e33ef3a21a2b14bf15bc4c85aef247b4ad95)
* | | Close Fence FDs in error cases of Surface and GraphicBufferMapperTaiju Tsuiki2015-04-302-0/+9
|/ / | | | | | | | | | | | | | | Surface::{cancel,queue}Buffer and GraphicBufferMapper::lockAsyncYCbCr take the ownership of |fenceFd|s. Though they don't close it on error cases. Change-Id: I49a7ce8837d5c510c4ac4ad4649f310d18610e80 (cherry picked from commit c7263fb43297744eb04b11025424c0c526d5584c)
* | Avoid closing invalid FD in Surface and GraphicBufferMapperTaiju Tsuiki2015-04-301-4/+8
|/ | | | | | | | GraphicBufferMapper::lockAsync{,YCbCr} close the fence FD even when the FD is invalid. Change-Id: Ia2b4dae3b2c06426e34f623f19ba92435f486ab7 (cherry picked from commit dcfe91e1f3f15b68793a69650f9bd0ca6a58ff4c)
* Merge "Respect the record audio app op - frameworks native" into mnc-devSvet Ganov2015-04-293-6/+66
|\
| * Respect the record audio app op - frameworks nativeSvet Ganov2015-04-283-6/+66
| | | | | | | | Change-Id: Id747767377953fd644a538aad3f603d6c50875a2
* | Merge "Remove gamma correction from color correction shader" into mnc-devAlan Viverette2015-04-291-2/+0
|\ \
| * | Remove gamma correction from color correction shaderAlan Viverette2015-04-281-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Gamma correction was incorrectly skewing both color inversion and Daltonization, which resulted in washed-out colors. Bug: 20346301 Change-Id: I34d879f902c3be115b2d23f09c3ed3902799759e
* | | Parcel.cpp: use calloc instead of mallocNick Kralevich2015-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | (cherrypicked from commit 6329f0199ed04030e6c2bd7aecd036387b732c71) Bug: 20669363 Change-Id: Ia4c8d8ca9d8b4b87954d7267e8b1c94cf4e570e1
* | | Merge "Inclide checkin format of dumpsys package in bugreport." into mnc-devAshish Sharma2015-04-291-0/+1
|\ \ \
| * | | Inclide checkin format of dumpsys package in bugreport.Ashish Sharma2015-04-281-0/+1
| |/ / | | | | | | | | | Change-Id: I809377f80e314b358eba22fa916e53c81cac2c47
* | | libgui: Fix buffer age on 64-bit targetsDan Stoza2015-04-281-1/+2
| |/ |/| | | | | | | | | Changes a %llu to a PRIu64 to fix compilation on 64-bit targets. Change-Id: I8ba982662dbe8ee2e1e47c4f6ce4bbdbe2020960
* | BufferQueue: Add NATIVE_WINDOW_BUFFER_AGE queryDan Stoza2015-04-283-1/+21
| | | | | | | | | | | | | | | | | | 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: Implement onTransact for sideband streamsDan Stoza2015-04-281-0/+9
|/ | | | | | | | Implements the GET_SIDEBAND_STREAM case of IGraphicBufferConsumer::onTransact Change-Id: I46138b87ce2d70dde48b3561dcd378ce5fd8f383 (cherry picked from commit 17166698d935a004adab216aca83a585f91e9d96)
* libgui: Change detachNextBuffer to return sp<GB>Dan Stoza2015-04-272-3/+3
| | | | | | | | | | 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 SensorEventQueue.Aravind Akella2015-04-241-1/+1
| | | | Change-Id: I3e6ba031d42bd37067591771f378b7185169ab48
* 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-2510-50/+239
|\
| * Enable data injection mode in SensorService.Aravind Akella2015-04-2310-50/+239
| | | | | | | | 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-2413-22/+150
|\ \ | | | | | | | | | | | | | | | | | | 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-2413-22/+150
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | allocation" * commit 'ef47c080fd0e7fb8bf1fc4b0ecadae277a22f2cf': libgui: Allow an IGBProducer to disable allocation
| | * \ am 958f5011: Merge "libgui: Allow an IGBProducer to disable allocation"Dan Stoza2015-04-2413-22/+150
| | |\ \ | | | | | | | | | | | | | | | | | | | | * commit '958f501189a29e53767f41bc8172e4af8d1ce2bf': libgui: Allow an IGBProducer to disable allocation
| | | * \ Merge "libgui: Allow an IGBProducer to disable allocation"Dan Stoza2015-04-2413-22/+150
| | | |\ \
| | | | * | libgui: Allow an IGBProducer to disable allocationDan Stoza2015-04-2313-22/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-244-39/+131
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-244-39/+131
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit 'f96a758139be0d5c298abad8e27083b0f0849818': libgui: Change BufferQueue to use free lists
| | * | | | am fb6d43ff: Merge "libgui: Change BufferQueue to use free lists"Dan Stoza2015-04-244-39/+131
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | * commit 'fb6d43ff44bb2b708494749a7f6037505ccd7bf6': libgui: Change BufferQueue to use free lists
| | | * | | Merge "libgui: Change BufferQueue to use free lists"Dan Stoza2015-04-244-39/+131
| | | |\ \ \ | | | | |/ /
| | | | * | libgui: Change BufferQueue to use free listsDan Stoza2015-04-234-39/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 65f68d5c: am fece8306: am 56f1f16c: Merge "libgui: Fix some ↵Dan Stoza2015-04-239-77/+108
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bitrot/warnings in tests" * commit '65f68d5cb4a758a8e6faac95817f70383748a9c0': libgui: Fix some bitrot/warnings in tests
| * | | | | am fece8306: am 56f1f16c: Merge "libgui: Fix some bitrot/warnings in tests"Dan Stoza2015-04-239-77/+108
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit 'fece83060e9640636f00a97fe236aff353d78c71': libgui: Fix some bitrot/warnings in tests
| | * | | | am 56f1f16c: Merge "libgui: Fix some bitrot/warnings in tests"Dan Stoza2015-04-239-77/+108
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | * commit '56f1f16c7b01a53282d483259ae80d035cc6496b': libgui: Fix some bitrot/warnings in tests
| | | * | | Merge "libgui: Fix some bitrot/warnings in tests"Dan Stoza2015-04-239-77/+108
| | | |\ \ \
| | | | * | | libgui: Fix some bitrot/warnings in testsDan Stoza2015-04-209-77/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests hadn't been run in a while and had accumulated some rot. This fixes most of the compile warnings and some tests which fail incorrectly, but 2 failures remain on N6. Change-Id: I7fee78cd058a32f4d7df40ec9f899ff767f68517
* | | | | | | am 17df593e: am 9aae16a4: am 82e4d49b: Merge "libui/libgui: Fix errors in ↵Dan Stoza2015-04-232-54/+83
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parceling" * commit '17df593eb386940a26377d2db9fcb8a60e8badba': libui/libgui: Fix errors in parceling
| * | | | | | am 9aae16a4: am 82e4d49b: Merge "libui/libgui: Fix errors in parceling"Dan Stoza2015-04-232-54/+83
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '9aae16a47d727a2650af0f0892657b41bd88215d': libui/libgui: Fix errors in parceling
| | * | | | | am 82e4d49b: Merge "libui/libgui: Fix errors in parceling"Dan Stoza2015-04-232-54/+83
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | * commit '82e4d49b0ecb205d49f02cc07496f7508c56443c': libui/libgui: Fix errors in parceling
| | | * | | | Merge "libui/libgui: Fix errors in parceling"Dan Stoza2015-04-232-54/+83
| | | |\ \ \ \ | | | | |/ / / | | | | | / / | | | | |/ / | | | |/| |
| | | | * | libui/libgui: Fix errors in parcelingDan Stoza2015-04-202-54/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BufferItem and GraphicBuffer were not parceling correctly, which had not been noticed because the libgui tests (specifically, one that tests placing a BufferQueue in a separate process from the IGBP/C) had not been run recently. This change fixes the errors found in those classes. Change-Id: Ie224361a534a79115a3481d83ff97f21d154d4f5
* | | | | | am 423b40f7: am 368270fd: am de5c15b8: Merge "SF: Always perform sideband ↵Dan Stoza2015-04-231-1/+5
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transactions" * commit '423b40f7bd004a8ab5bca887e3855cd20c6bcc28': SF: Always perform sideband transactions
| * | | | | am 368270fd: am de5c15b8: Merge "SF: Always perform sideband transactions"Dan Stoza2015-04-231-1/+5
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit '368270fd6d4681d2de5502ffc6194ade9a13e65a': SF: Always perform sideband transactions
| | * | | | am de5c15b8: Merge "SF: Always perform sideband transactions"Dan Stoza2015-04-231-1/+5
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | * commit 'de5c15b8bd12143829d043fa4ab457600e5682b3': SF: Always perform sideband transactions
| | | * | | Merge "SF: Always perform sideband transactions"Dan Stoza2015-04-221-1/+5
| | | |\ \ \
| | | | * | | SF: Always perform sideband transactionsDan Stoza2015-04-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On normal Layers, we defer applying resize transactions until a buffer of the correct size arrives. This breaks with sideband streams, because buffers are not seen by SurfaceFlinger. This change applies transactions immediately for Layers which have a sideband stream attached to avoid that problem. Bug: 20428254 Change-Id: I379d8aaef460d467cdf8432764b4a504928fb65a (cherry picked from commit c300b8b506536e1bf94ffd8a3b75d46e776923e0)