summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Shelve InputFlinger for another release. DO NOT MERGEMichael Wright2014-08-187-301/+1
| | | | Change-Id: I0f034a2b8b1d9192f61f5001799bd3aa4b3964c7
* Merge "Add trace tag for power management." into lmp-devJeff Brown2014-08-151-0/+3
|\
| * Add trace tag for power management.Jeff Brown2014-08-141-0/+3
| | | | | | | | | | | | | | Also added a couple of other existing missing tags in atrace. Bug: 17004602 Change-Id: I6f697a2a15922bd4695acfa203d45eaae40cd00e
* | Disable verification based on vold.decrypt. [frameworks/native]Brian Carlstrom2014-08-151-1/+1
|/ | | | | Bug: 15165413 Change-Id: Ie70bf4e1348b7b8b2454cf9b498b272416d61c34
* Use set_sched_policy to put dexopt operations in SP_BACKGROUND cgroupBrian Carlstrom2014-08-111-0/+5
| | | | | | | | Bug: 15927194 (cherry picked from commit 0378aaf257aee92539d30543914a50c4481c6a18) Change-Id: I462b5ac256c4d091ed4023cf4b97dd6a4abcaa5f
* Merge "Tunneled Video Playback support" into lmp-devRachad2014-08-093-0/+32
|\
| * Tunneled Video Playback supportRachad2014-08-043-0/+32
| | | | | | | | | | | | | | | | | | Added native_window_set_sideband_stream() method to Surface.[h|cpp] Added ConfigureVideoTunnelModeParams OMX configuration structure to HardwareAPI.h Bug: 16132368 Change-Id: I28fa1b9dbe858d93e353e0991098cad45c626bd9
* | Revert "Modify EGL to disconnect the window when the surface gets destroyed."Michael Lentine2014-08-082-11/+2
| | | | | | | | This reverts commit 843cbb241da60ada234918a30cfe9a01a1e04187.
* | Merge "Change output format to not throw warning on volantis." into lmp-devMichael Lentine2014-08-061-1/+1
|\ \
| * | Change output format to not throw warning on volantis.Michael Lentine2014-08-071-1/+1
| | | | | | | | | | | | Change-Id: Id66eb61bdb1ceccfb7aefa0aa70793dac807c257
* | | Merge "Fix HWComposer Surface Crop when surface is rotated" into lmp-devMichael Lentine2014-08-071-5/+5
|\ \ \ | |/ /
| * | Fix HWComposer Surface Crop when surface is rotatedMichael Lentine2014-08-071-5/+5
| |/ | | | | | | | | | | Bug: 15091149 Change-Id: I97ecd8af9636da9403fafdb3f9b846f95053ebb7
* | Merge changes Idae36efa,I6613c971 into lmp-devBrian Carlstrom2014-08-061-0/+22
|\ \ | | | | | | | | | | | | | | | * changes: Disable compilation based on vold.decrypt. [frameworks/native] Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [frameworks/native]
| * | Disable compilation based on vold.decrypt. [frameworks/native]Brian Carlstrom2014-08-061-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 15165413 (cherry picked from commit 538998f204d1e542e235de9e7ce18ef4dc68c9cc) Change-Id: Idae36efa1cb3fb99b51fa0a79b6bb037981d1c71
| * | Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter ↵Brian Carlstrom2014-08-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [frameworks/native] This will allow us to conditionally change the compiler-filter based on other properties. Bug: 15165413 (cherry picked from commit cf51ba1360ee13459830a0502b0d454d0145544f) Change-Id: I6613c9710878d56ed8c121e0caded76a64430f76
* | | Merge "Make system use patchoat to relocate during runtime." into lmp-devBrian Carlstrom2014-08-063-22/+102
|\ \ \ | |/ /
| * | Make system use patchoat to relocate during runtime.Alex Light2014-08-063-22/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make installd understand a patchoat directive and carry it out. Bug: 15358152 (cherry picked from commit 7365a10689df23334d245b211ce272502ad20669) Change-Id: Id84a15e626ddde63876914068d3d9aa037abc65b
* | | Revert "Revert "Add system accelerators for BACK and HOME.""Michael Wright2014-08-062-2/+58
|/ / | | | | | | | | | | This reverts commit d671f98a27f547ebcddff8dc962fe895549355e2. Change-Id: Ibec48f81653bd2f755fc59a241fa7836baf53233
* | Revert "Add system accelerators for BACK and HOME."Michael Wright2014-08-062-56/+2
| | | | | | | | This reverts commit 278b525d25b852554015ec4f92862f9297b502fd.
* | Add system accelerators for BACK and HOME.Michael Wright2014-08-062-2/+56
| | | | | | | | | | | | | | | | Meta+Backspace -> BACK Meta+Enter -> HOME Bug: 14066931 Change-Id: Iff1d027300fa9911626785944a6d8efe4f62235e
* | Merge "Sensor related changes for NDK." into lmp-devAravind Akella2014-08-052-2/+25
|\ \
| * | Sensor related changes for NDK.Aravind Akella2014-08-052-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | i) ASensorManager_getDefaultSensor returns a wake-up/non wake-up sensor depending on the type. ii) Add ASensor_isWakeUpSensor and ASensorManager_getDefaultSensorEx methods. Bug : 16399898 Change-Id: I1a86fb8d9de23039fdf41679d1487e1cd761a9d0
* | | AAC codec profile updatesJean-Michel Trivi2014-08-053-0/+16
| |/ |/| | | | | | | | | | | | | | | | | | | Add new fields to OMX_AUDIO_PARAM_AACPROFILETYPE for - SBR configuration - decoder max number of channels - decoder DRC parameters Bug 16740915 Change-Id: Ib01822bc402fe9064c6c1c68b72c570cf72b7ecb
* | Merge "Allow device to be unprovisioned" into lmp-devJeff Tinker2014-08-011-0/+3
|\ \ | |/ |/|
| * Allow device to be unprovisionedJeff Tinker2014-07-311-0/+3
| | | | | | | | | | bug: 12247651 Change-Id: Ib0ec34da708b11a95da66c353d864bb87a6616c9
* | Merge "SurfaceFlinger: Prevent deadlock by updating an atomic layer set." ↵Eric Penner2014-07-292-2/+22
|\ \ | | | | | | | | | into lmp-dev
| * | SurfaceFlinger: Prevent deadlock by updating an atomic layer set.Eric Penner2014-07-302-2/+22
| | | | | | | | | | | | | | | | | | Bug: 12934849 Change-Id: I9dede7316f1e967de4140bd731ac810115ea302f
* | | Merge "Sensor.cpp changes." into lmp-devAravind Akella2014-07-301-9/+48
|\ \ \
| * | | Sensor.cpp changes.Aravind Akella2014-07-311-9/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Rename TILT_DETECTOR 2) Set mFlags correctly for wake-up sensors. 2) Log errors for incorrect sensor flags. Change-Id: Ia449217d3b8a53353ad6b5c33c544ce37eb1de4f
* | | | Improve network connectivity dumping.Lorenzo Colitti2014-07-311-4/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Explicitly dump IP addresses. Currently, some IP addresses are dumped using netcfg, but that only dumps the first IPv4 address on each interface. Instead, call ip -4 addr and ip -6 addr explicitly to dump all IPv4 and IPv6 addresses on the system. 2. Disable dumping /proc/net/{ipv6,}route, because: - We already dump all IPv4 and IPv6 routes in the tables that we use. - /proc/net/route is confusing because it only includes routes in the main table, which are all but unused. It's also in unreadable host-byte-order hex. - /proc/net/ipv6_route is confusing because it includes routes from all tables but does not say what table they are in. 3. Instead of dumping the contents of /proc/net/arp , use "ip -4 neigh show" and "ip -6 neigh show" to dump the neighbour caches for both IPv4 and IPv6. Bug: 16663736 Change-Id: Id3e509b877ab7b00eb2399b6a9868b12245da2f0
* | | Build fix for size_t on 64bit.Michael Lentine2014-07-302-3/+3
| | | | | | | | | | | | Change-Id: Ic16895b30d78ba8a635b709adbae31a590501b20
* | | Build fix for printf with int64 and size_tMichael Lentine2014-07-301-2/+2
| |/ |/| | | | | Change-Id: I642584cce7dd43e6d491a49228b0bce047d53354
* | Build fix to use the correct source.Michael Lentine2014-07-301-1/+1
| | | | | | | | Change-Id: If36710be600dd0e15c31682e0343f281baa55627
* | Add error for format and make sure setActiveConfig fails with an invalid mode.Michael Lentine2014-07-302-3/+9
| | | | | | | | Change-Id: Iacdb5cbad125787f96c64c88d432fc541c4cad1a
* | Allow for resizing of Virtual Displays.Michael Lentine2014-07-308-20/+87
| | | | | | | | | | | | | | | | | | | | Modify SurfaceFlinger to use VirtualDisplaySurface in all cases when a virtual display is used. Add functionality in VirtualDisplaySurface to resize the buffers aquired in the QueueBufferOutput. Add transaction support in SurfaceFlinger for resize. Add the modification of the size in DisplayDevice. Change-Id: Iae7e3556dc06fd18d470adbbd76f7255f6e6dd6b Tested: None
* | Have VirtualDisplays send SF resize messages when resizingMichael Wright2014-07-304-1/+19
| | | | | | | | Change-Id: I76d15b22099a659450ec875836c9bf2b6584838f
* | Merge "Modified SurfaceFlinger to implment setActiveConfig and ↵Michael Lentine2014-07-306-6/+84
|\ \ | | | | | | | | | getActiveConfig." into lmp-dev
| * | Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig.Michael Lentine2014-07-296-6/+84
| | | | | | | | | | | | | | | | | | | | | | | | This can be used to change the current display mode of the device. Change-Id: Icdc3fb58389b861dc77b68102083da6f7a96eccb Tested: None (cherry picked from commit 2651fa94635a96d653038fb389a0dd827338f8d3)
* | | Merge "Modify EGL to disconnect the window when the surface gets destroyed." ↵Michael Lentine2014-07-252-2/+11
|\ \ \ | | | | | | | | | | | | into lmp-dev
| * | | Modify EGL to disconnect the window when the surface gets destroyed.Michael Lentine2014-07-292-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 14445579 Change-Id: I1d263ff6cffcb6e448761fca7ca4b06466ad65aa
* | | | Merge "Remove WAKE_UP_* sensor constants." into lmp-devAravind Akella2014-07-251-77/+4
|\ \ \ \ | |_|/ / |/| | |
| * | | Remove WAKE_UP_* sensor constants.Aravind Akella2014-07-281-77/+4
| | |/ | |/| | | | | | | Change-Id: I3de9d114ce82de4ed841932747d72e1f6f73c24f
* | | Turn on support for async cursor update in surfaceflinger.Riley Andrews2014-07-288-3/+117
|/ / | | | | | | | | | | | | If available, surfaceflinger will use the hwc setCursorPositionAsync() api to change the position of supported cursor layers outside of the usual prepare/set loop. Change-Id: Ib3fc5c0c390b3489ddbba202379840a1d2748917
* | Merge "BufferQueueProducer: fix which slot gets pre-allocated" into lmp-devAntoine Labour2014-07-251-1/+1
|\ \
| * | BufferQueueProducer: fix which slot gets pre-allocatedAntoine Labour2014-07-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 78014f32da6d0ebf52fb34ebb7663863000520a0 introduced a bug that made us pre-allocate buffers into the last available free slots instead of the first available ones. This in turn caused more re-allocations, and possibly triggered driver bugs. Change-Id: Ic4a70e676b4f2bbb054bc873be62ced26e3099a0
* | | OMX: add supporting methods for flexible YUVLajos Molnar2014-07-252-0/+64
|/ / | | | | | | | | Bug: 10706245 Change-Id: I2427930a34c468e49d3db7ba2865344f1fba2960
* | Merge "SensorService performance improvements." into lmp-devAravind Akella2014-07-247-88/+332
|\ \
| * | SensorService performance improvements.Aravind Akella2014-07-247-88/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | | i) Send ack for wake_up sensors on the socket connection instead of using Binder RPC. ii) Cache events per connection in case there are write failures. Compute cache size from FIFO counts of sensors. iii) Send FlushCompleteEvent only for apps that explicitly called flush(). Change-Id: I018969736b7794b1b930529586f2294a03ee8667
* | | Merge "GLProducer: Reference count images rather than buffers." into lmp-devEric Penner2014-07-242-194/+213
|\ \ \
| * | | GLProducer: Reference count images rather than buffers.Eric Penner2014-07-212-194/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In most cases, EGLImages can be created one-to-one with graphic buffers in slots, but that was difficult due to some special cases: - ReleaseTexImage binds a custom 'unslotted' debug image. - When all slots are freed, we still need to hang on to one. These cases were handled by keeping an additional reference to the 'current' buffer (mCurrentTextureBuf), but we would create new images since we can't reference count them in the same way. This patch uses the same semantics, except that it reference counts the image (an EglImage wrapper class) rather than just buffer. The wrapper class also detects the cases when we need a new EGLImage, and only creates them in those rare cases. Change-Id: I2915761dbe49d2a9bda1f59e60f857543634636b