summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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 "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
* | | | Install symlinks in multilib build.Ying Wang2014-07-241-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit c3aed1eaefa9c824d5863d58db3954eb642cffe4) Change-Id: Ic0082ffbd7ecf610476bccb0929e67427a05190d
* | | | Add dumping of tombstones to dumpstate.Christopher Ferris2014-07-233-11/+65
| |/ / |/| | | | | | | | | | | | | | Dump only those tombstones modified within the last half an hour. Change-Id: I8ce836b2e19eba7a9c0c31a4f312f9a382526da7
* | | add noteResetVideo/Audio to IBatteryStatsChong Zhang2014-07-232-0/+28
| | | | | | | | | | | | | | | Bug: 12979595 Change-Id: Ida474e539a3af0a85ec157a66bbf986430c8020e
* | | Merge "crash if getNativeBuffer() called on NULL GraphicBuffer" into lmp-devColin Cross2014-07-231-0/+1
|\ \ \
| * | | crash if getNativeBuffer() called on NULL GraphicBufferColin Cross2014-07-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If getNativeBuffer() is called on a NULL GraphicBuffer the static_cast of this from GraphicBuffer* to ANativeWindowBuffer* will return a small pointer like (ANativeWindowBuffer*)0x10. This value can propagate past NULL checks until it causes a crash far away from the original NULL pointer. Crash immediately instead. Change-Id: Id614b9eb1484108b3c3c733545309844c4b87532
* | | | Merge "update battery status for audio/video" into lmp-devChong Zhang2014-07-222-0/+64
|\ \ \ \ | |/ / / |/| | |
| * | | update battery status for audio/videoChong Zhang2014-07-222-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 12979595 Change-Id: Ic8e8d625becc6d1050f840ad63b7423f388eeba3
* | | | BufferQueue: release mutex while allocating. DO NOT MERGEAntoine Labour2014-07-223-41/+113
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BufferQueueProducer::allocateBuffers used to keep the BufferQueueCore mutex while doing the buffer allocation, which would cause the consumer (which also needs the mutex) to block if the allocation takes a long time. Instead, release the mutex while doing the allocation, and grab it again before filling the slots. Keep a bool state and a condvar to prevent other producers from trying to allocate the slots while the mutex is released. Bug: 11792166 Change-Id: I4ab1319995ef892be2beba892f1fdbf50ce0416d (cherry picked from commit ea96044470a29133321c681080870b9d31f81a19)
* | | Use the count parameter to store all the uniform vectors, not just the first ↵Ben Clayton2014-07-211-4/+8
| | | | | | | | | | | | | | | | | | | | | one. DO NOT MERGE. Change-Id: Ib56d859051f0b895de5c12ffa371cd4b2b65ac0b (cherry picked from commit 31b0aec64ba44b1ee0581e00a588d84f4b081512)
* | | Merge "Add OpenGL ES AEP feature xml." into lmp-devJesse Hall2014-07-201-0/+22
|\ \ \
| * | | Add OpenGL ES AEP feature xml.Jesse Hall2014-07-181-0/+22
| | | | | | | | | | | | | | | | | | | | Bug: 15593761 Change-Id: Ia961c64c5bf33da752518921c570c7f6dafe724e
* | | | Always #include <sys/...>, not <linux/...>.Elliott Hughes2014-07-181-1/+1
| |_|/ |/| | | | | | | | | | | | | | (cherry picked from commit 1e4ee9afd2de12af98dbf476b73e2d43f605384c) Change-Id: Ie005774484f98bb33c8f867cddb778ac04a1d4ea
* | | Fix implicit declaration of function 'prctl' in installd.Elliott Hughes2014-07-181-1/+1
|/ / | | | | | | | | | | (cherry picked from commit ec535c5ba515f58791aa5044ba116d35a10a188e) Change-Id: I3da977d85ce544b23ff00934fdbd201d683e9210
* | Add glance gesture for doze mode.Jeff Brown2014-07-171-0/+4
| | | | | | | | Change-Id: I038a706c3999200313ff5360c5ff1150ec081f08
* | dumpstate: fix dumping traces for vm processes on 64-bitColin Cross2014-07-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | dumpstate was not dumping any stack traces for vm processes because it was failing the string compare for /system/bin/app_process. 64-bit devices use app_process32 and app_process64 instead of app_process, and zygote64 alongside zygote. Change the string matching to be prefix matching. (cherry picked from commit 8eb25d552b07ffa799b7b61ad46d0109e7512741) Change-Id: I6b1568161fae278f0e6107990e5b750cf0ca902b