OSDN Git Service
Jeff Sharkey [Tue, 9 Sep 2014 16:27:05 +0000 (16:27 +0000)]
Merge "Add new system APK locations." into lmp-dev
Jeff Sharkey [Tue, 9 Sep 2014 00:14:26 +0000 (17:14 -0700)]
Add new system APK locations.
Add /system/priv-app and /oem/app paths to system paths. Also allow
rmdex on system apps, and quietly ignore when it was already removed.
Also relax logging when clearing code cache, since it's optional.
Bug:
17205122
Change-Id: I4fc4d0f63a3596937c4defbd64e1f8a1c563f02d
Michael Wright [Mon, 8 Sep 2014 23:21:34 +0000 (23:21 +0000)]
Merge "Add FEATURE_GAMEPAD." into lmp-dev
Glenn Kasten [Mon, 8 Sep 2014 16:33:54 +0000 (16:33 +0000)]
Merge "Make IPowerManager native conform to .aidl for oneway" into lmp-dev
Unsuk Jung [Wed, 3 Sep 2014 01:46:59 +0000 (18:46 -0700)]
Add feature android.hardware.audio.output xml file
Bug:
15318046
Change-Id: I49f0881752493ac0bad238b43ce7e1e147119528
Michael Wright [Fri, 5 Sep 2014 22:21:32 +0000 (15:21 -0700)]
Add FEATURE_GAMEPAD.
This allows micro-consoles or other devices to signify that there's a
game controller in the box, even if the user hasn't connected it.
Change-Id: I93cfba8bd1376aa5d1ec772a5b643b974eaa36c5
Glenn Kasten [Fri, 5 Sep 2014 23:46:46 +0000 (16:46 -0700)]
Make IPowerManager native conform to .aidl for oneway
But provide a temporary escape hatch for AudioFlinger.
This oneway option will be removed as soon as possible.
Bug:
16408906
Change-Id: I20d6da1969ae05b96e72795463470eb4c1f8fbdc
Aravind Akella [Fri, 5 Sep 2014 19:53:36 +0000 (19:53 +0000)]
Merge "SensorService flush fixes." into lmp-dev
Eric Laurent [Fri, 5 Sep 2014 17:30:04 +0000 (17:30 +0000)]
Merge "IPowerManager: make all binder call one way" into lmp-dev
Eric Laurent [Sun, 10 Aug 2014 17:46:52 +0000 (10:46 -0700)]
IPowerManager: make all binder call one way
make all binder call to power manager service one way so that
they don't block calling thread and are processed in the
incoming order.
Bug:
16408906.
Change-Id: I94034df7f0a36d967e085b53fdc37fff7b44757b
Vinod Krishnan [Thu, 4 Sep 2014 23:23:46 +0000 (23:23 +0000)]
am
6de9f394: (-s ours) am
8c967b9b: DO NOT MERGE: Removing android prefix for ECG feature
* commit '
6de9f39476c6bbb1d196dbc6af23a27b177c7bf9':
DO NOT MERGE: Removing android prefix for ECG feature
Vinod Krishnan [Thu, 4 Sep 2014 23:11:58 +0000 (23:11 +0000)]
am
8c967b9b: DO NOT MERGE: Removing android prefix for ECG feature
* commit '
8c967b9bea7c80a8bd7d085fa9c9e390495dd1e8':
DO NOT MERGE: Removing android prefix for ECG feature
Vinod Krishnan [Thu, 4 Sep 2014 22:24:12 +0000 (15:24 -0700)]
DO NOT MERGE: Removing android prefix for ECG feature
Bug:
17272904
Change-Id: Ia476bd8853e098600b681bb769536774596b9345
Stephen Hines [Thu, 4 Sep 2014 21:50:39 +0000 (21:50 +0000)]
Merge "Fix undefined behavior (not returning a value from a function with return)." into lmp-dev
Michael Wright [Thu, 4 Sep 2014 21:46:59 +0000 (21:46 +0000)]
Merge "Fix type for temp variable" into lmp-dev
Stephen Hines [Thu, 4 Sep 2014 15:28:54 +0000 (08:28 -0700)]
Fix undefined behavior (not returning a value from a function with return).
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
Aravind Akella [Wed, 3 Sep 2014 22:48:05 +0000 (15:48 -0700)]
SensorService flush fixes.
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
Hans Boehm [Wed, 3 Sep 2014 17:18:44 +0000 (17:18 +0000)]
Merge "Fix CAS argument type." into lmp-dev
Wally Yau [Wed, 3 Sep 2014 17:15:37 +0000 (17:15 +0000)]
Merge "New keycode definitions for TV remotes." into lmp-dev
Hans Boehm [Tue, 19 Aug 2014 20:42:54 +0000 (13:42 -0700)]
Fix CAS argument type.
Gcc apparently doesn't check; clang does.
Bug:
17067219
Change-Id: I184084a5063131dbc857c63f97e70e78a05e1a76
(cherry picked from commit
1ddaadb59883df5ca821b4b08fdd41a1720a3b6f)
Hans Boehm [Tue, 12 Aug 2014 22:56:00 +0000 (22:56 +0000)]
Revert "Revert "Revert "Revert "Remove incorrect android_atomic_...64 use.""""
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)
ASAZU, Hideki [Wed, 27 Aug 2014 09:06:31 +0000 (18:06 +0900)]
New keycode definitions for TV remotes.
Keys which are necessary for supporting world-wide broadcast
standard or used commonly for TV/STB remotes.
Change-Id: I2721ceb7d956c87f1d4106b99f9d21947ae13d47
Michael Wright [Fri, 29 Aug 2014 23:16:26 +0000 (16:16 -0700)]
Fix type for temp variable
Change-Id: I8e2d229da326e5182692f94660336169fb249da7
Michael Wright [Fri, 29 Aug 2014 21:31:32 +0000 (14:31 -0700)]
Add logging for switch state
Bug:
17004602
Change-Id: I15c9feb7b28274183742936c20e34e7fb07e0b70
Alex Light [Thu, 28 Aug 2014 23:17:04 +0000 (16:17 -0700)]
Remove obsolete prunedexcache
Bug:
16875245
(cherry picked from commit
5f727f86942a188354c028356f1167794fdc8655)
Change-Id: I06e14c405aa4af295795982c1d236be3cb00e893
Jae Seo [Thu, 28 Aug 2014 19:53:46 +0000 (12:53 -0700)]
Add android.software.live_tv feature
Bug:
17284986
Change-Id: I777d045f61a50f7ea473cb26bb509123c440587a
Eric Penner [Wed, 27 Aug 2014 18:07:04 +0000 (18:07 +0000)]
Merge "GLConsumer: Fix eglTerminate/eglInit edge case." into lmp-dev
Jeff Sharkey [Wed, 27 Aug 2014 17:58:34 +0000 (17:58 +0000)]
Merge "Make clear data stricter." into lmp-dev
Jeff Sharkey [Wed, 27 Aug 2014 17:46:25 +0000 (10:46 -0700)]
Make clear data stricter.
It should nuke everything under the data directory. PMS will come
around and generate the lib symlink after we're finished.
Bug:
16739202
Change-Id: Ib70af2e1450e3bed6781fb497b9cc67e1e594c49
Calin Juravle [Wed, 27 Aug 2014 15:10:03 +0000 (16:10 +0100)]
Set compiler filter flag to true when vmSafeMode is present.
Bug:
12457423
Change-Id: I33345c5cce76681d8a6592ebae8c9f96a9f0f8bd
Eric Penner [Tue, 26 Aug 2014 03:16:37 +0000 (20:16 -0700)]
GLConsumer: Fix eglTerminate/eglInit edge case.
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
Calin Juravle [Tue, 26 Aug 2014 19:09:55 +0000 (19:09 +0000)]
Merge "Add vm_safe_mode to dexopt." into lmp-dev
Calin Juravle [Tue, 26 Aug 2014 17:34:57 +0000 (17:34 +0000)]
Merge "Pass isa features flag to dex2oat." into lmp-dev
Calin Juravle [Thu, 21 Aug 2014 18:05:20 +0000 (19:05 +0100)]
Add vm_safe_mode to dexopt.
The flag enforces interpret-only flag for dex2oat.
Bug:
12457423
Change-Id: Ifdafcc1afa32996577fa44c5682eeb58c79772ac
Calin Juravle [Tue, 19 Aug 2014 17:48:50 +0000 (18:48 +0100)]
Pass isa features flag to dex2oat.
Bug:
16716262
Change-Id: Ifbc3a1520bc177aa87855edb60c36346f24c77cd
Jesse Hall [Mon, 25 Aug 2014 21:44:16 +0000 (14:44 -0700)]
surfaceflinger: Trace HW vsync enable
This makes it possible to tell whether two HW vsync signals are too
far apart because one was late, or because we turned HW vsync off
briefly between them.
Bug:
17259382
Change-Id: If4fba2a8a6013568349949ce87c5c36f0468d2a2
Adam Lesinski [Mon, 25 Aug 2014 21:42:35 +0000 (21:42 +0000)]
Merge "Add native flag to reflect new density type" into lmp-dev
Andres Morales [Mon, 25 Aug 2014 17:31:49 +0000 (17:31 +0000)]
Merge "Fix deadlock when killing adb bugreport" into lmp-dev
Adam Lesinski [Sat, 23 Aug 2014 05:23:08 +0000 (22:23 -0700)]
Add native flag to reflect new density type
Bug:
17007265
Change-Id: If0129c4ad222fe28628d6f7cd8ee78fc6424e177
Aravind Akella [Fri, 22 Aug 2014 23:11:10 +0000 (16:11 -0700)]
SensorService fixes
1) Limit maxEventsToWrite depending on the size of the socket
buffer allocated (Fix for write failure on manta).
2) Do not call flush() if the sensor is not activated (OEM issue).
Change-Id: I81ea78dbdef3a3773af505ca1c9a5e39492c0b48
Andres Morales [Thu, 21 Aug 2014 19:38:22 +0000 (12:38 -0700)]
Fix deadlock when killing adb bugreport
Leave default signal handler (terminate) for parent process,
add SIG_IGN as signal handler for children and let them
go down when the parent gets SIGPIPE.
Bug:
17109154
Change-Id: Id33db3e97a32f289eb2a9a1a0ca8acbe3dcd285d
Michael Wright [Fri, 22 Aug 2014 18:02:01 +0000 (18:02 +0000)]
Merge "Add Voice Assist key." into lmp-dev
Michael Lentine [Fri, 22 Aug 2014 16:34:13 +0000 (16:34 +0000)]
Merge "Update currentConfig variable when active display is changed." into lmp-dev
Calin Juravle [Tue, 19 Aug 2014 16:43:05 +0000 (17:43 +0100)]
Fix validation of system paths in installd.
System apps are now installed under their own directory
(system_app_dir/app_dir/app.apk). The new path doesn't pass installd
validation because of obsolete checks which verify that the path does
not contain subdirectories past the system_app_dir.
The CL fixes the validation to accept at most on subdirectory.
Bug:
17109858
Change-Id: I13abb52c0016610ff436f6a26bb6b3b85dc4dfb0
Calin Juravle [Fri, 22 Aug 2014 12:58:10 +0000 (12:58 +0000)]
Merge "Allow apk path to contain one subdirectory." into lmp-dev
Michael Wright [Fri, 22 Aug 2014 02:09:49 +0000 (19:09 -0700)]
Add Voice Assist key.
Bug:
16292420
Change-Id: I607fadc2edf673079bfd9f7406e6e45603474957
Michael Lentine [Thu, 21 Aug 2014 21:43:13 +0000 (14:43 -0700)]
Update currentConfig variable when active display is changed.
Bug:
17182607
Change-Id: I8631c105a9e0fa402a7d9670717becc9857af935
Aravind Akella [Thu, 21 Aug 2014 19:28:35 +0000 (12:28 -0700)]
SensorService fixes.
i) Add more debug stats (acks needed, acks received)
ii) Comment out write failure message.
Change-Id: Iac892a66530849a2dd023d6f5628cd070a79537d
Jesse Hall [Wed, 20 Aug 2014 20:02:02 +0000 (20:02 +0000)]
am
514e30a9: am
c3d1889e: Merge "surfaceflinger: skip composition for empty frames" into klp-modular-dev
* commit '
514e30a96cefad109509ce01622fa7f82f3f318c':
surfaceflinger: skip composition for empty frames
Jesse Hall [Wed, 20 Aug 2014 19:52:40 +0000 (19:52 +0000)]
am
c3d1889e: Merge "surfaceflinger: skip composition for empty frames" into klp-modular-dev
* commit '
c3d1889e508038efe240ed1974ed377a2e12835c':
surfaceflinger: skip composition for empty frames
Vinod Krishnan [Wed, 20 Aug 2014 18:18:32 +0000 (18:18 +0000)]
am
1f1ca890: Adding an ECG hardware feature
* commit '
1f1ca890d4d82cd8d54d428c3120945a0a308975':
Adding an ECG hardware feature
Calin Juravle [Fri, 15 Aug 2014 14:45:51 +0000 (15:45 +0100)]
Allow apk path to contain one subdirectory.
In the current directory layout this prevented rm_dex and move_dex
commands to validate the apk path and thus cleaning up resources.
Bug:
16888084
Change-Id: Iba579d075a9c6d7de047e7ffef95441498257086
Colin Cross [Thu, 21 Aug 2014 00:41:24 +0000 (00:41 +0000)]
Merge "atrace: avoid unnecessary writes to trace_clock" into lmp-dev
Naseer Ahmed [Wed, 20 Aug 2014 20:31:58 +0000 (16:31 -0400)]
sf: Clear display configs when hot pluggable display is disconnected
Display configs for external displays are stored in the framework
everytime we receive a hot plug to connect. However, since the
configs are not cleared on disconnect, framework will just assume
that the configs are valid. This does not work for use cases when
you connect/disconnect external displays with different resolutions.
e.g. 1080p to 4K and vice-versa
With this change we clear the display configs and repopulate when
we receive a hot plug to connect.
Change-Id: I2eeab186a8d8668a53390a2413b2ce5e044a1845
Acked-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Colin Cross [Wed, 20 Aug 2014 21:28:47 +0000 (14:28 -0700)]
atrace: avoid unnecessary writes to trace_clock
Writing to trace_clock erases the trace buffer, even if the value
hasn't changed. This prevents use of --async_start and --async_dump
to leave background tracing running and dump after an even that
needs debugging, because --async_dump writes to trace_clock and
resets the buffer before it can read it.
Read and parse the current value from trace_clock before writing,
and skip the write if the value isn't changing.
Change-Id: Ia2ec5bb654fb0bd179771b511ff261731ba47dca
Vinod Krishnan [Tue, 19 Aug 2014 18:40:36 +0000 (11:40 -0700)]
Adding an ECG hardware feature
Change-Id: I368772d4cd6b2713fb5180bedc91bf2b5bc015b4
Michael Lentine [Wed, 20 Aug 2014 19:38:19 +0000 (19:38 +0000)]
Merge "Destroy eglSurface before recreating." into lmp-dev
Vinod Krishnan [Wed, 20 Aug 2014 18:29:27 +0000 (18:29 +0000)]
am
2eaec5a8: am
1f1ca890: Adding an ECG hardware feature
* commit '
2eaec5a833f69b3c460386e38aa6affe5e4b1772':
Adding an ECG hardware feature
Michael Lentine [Wed, 20 Aug 2014 17:51:23 +0000 (10:51 -0700)]
Destroy eglSurface before recreating.
Bug:
16856208
Change-Id: Ifb5c8997afab4bc922356a3542d1f899a2546855
Michael Lentine [Wed, 20 Aug 2014 01:14:06 +0000 (18:14 -0700)]
Fix inverse orientation when original is not applied first.
Change-Id: I6f1a11950c77c99800acbf08a672bc1b2310b0b5
Michael Lentine [Tue, 19 Aug 2014 18:27:30 +0000 (11:27 -0700)]
Fix camera orientation by swapping horizontal and vertical flips when needed.
Bug:
16637957
Change-Id: I66de597546fdc19e0af9e6150ca20460ab36bf8b
Jesse Hall [Wed, 20 Aug 2014 19:42:34 +0000 (19:42 +0000)]
Merge "surfaceflinger: skip composition for empty frames" into klp-modular-dev
Jesse Hall [Thu, 14 Aug 2014 22:45:06 +0000 (15:45 -0700)]
surfaceflinger: skip composition for empty frames
By not committing the results of composition for empty frames, we
avoid spitting out series of black frames for virtual displays that
don't have visible layers. We still draw one black frame when going
from having layers to not having any. In particular, this avoids
having a series of empty frames due to re-compositing the primary
display in the period between creating the virtual display and adding
layers to it.
Bug:
16786752
Change-Id: I7e9b2ed2e407d8d49c7af736b447d4c6181b0ad8
Michael Lentine [Tue, 19 Aug 2014 23:34:23 +0000 (23:34 +0000)]
Merge "Fix camera orientation by swapping horizontal and vertical flips when needed." into lmp-dev
Michael Lentine [Tue, 19 Aug 2014 20:56:48 +0000 (20:56 +0000)]
Merge "Incorporate TransformToDisplayInverse into the crop calculation." into lmp-dev
Michael Lentine [Mon, 18 Aug 2014 23:35:43 +0000 (16:35 -0700)]
Incorporate TransformToDisplayInverse into the crop calculation.
Change-Id: Ia9757b3a43d3b8f99df9fef2ed4d11c43b5abdd2
Riley Andrews [Tue, 19 Aug 2014 20:41:18 +0000 (20:41 +0000)]
Merge "Within CpuConsumer, use gralloc lockAsync/unlockAsync" into lmp-dev
Riley Andrews [Mon, 18 Aug 2014 23:57:11 +0000 (16:57 -0700)]
Within CpuConsumer, use gralloc lockAsync/unlockAsync
Change-Id: I6b2cd195e111c3c7bf94c8052af4db92e09649a5
Riley Andrews [Fri, 15 Aug 2014 19:27:24 +0000 (12:27 -0700)]
Take advantage of sync points during screen cap.
Do not wait for the screen capture to complete within surface flinger,
instead pass a sync point back with the captured gralloc buffer.
Change-Id: I7137c0e0fc710688d1d61f189159418fb27ea263
Aravind Akella [Tue, 19 Aug 2014 20:21:24 +0000 (20:21 +0000)]
Merge "SensorService fixes." into lmp-dev
Aravind Akella [Wed, 13 Aug 2014 19:24:50 +0000 (12:24 -0700)]
SensorService fixes.
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
Ben Clayton [Wed, 20 Aug 2014 16:20:22 +0000 (16:20 +0000)]
Merge "Don't try to capture the pointer when using PBOs for texture APIs" into lmp-dev
Ben Clayton [Mon, 18 Aug 2014 16:25:34 +0000 (17:25 +0100)]
Don't try to capture the pointer when using PBOs for texture APIs
If a PBO is bound, then the pointer argument is a relative offset from
the start of the PBO, not an absolute address.
Fixes b/
17063439
Change-Id: I39629ce6c9bb3cb6bac5c9b0311287628306ddd4
(cherry picked from commit
0ad707f2f3d714af7d983d68330ed51dace815f5)
Michael Lentine [Wed, 20 Aug 2014 15:32:42 +0000 (15:32 +0000)]
Merge "Fix inverse orientation when original is not applied first." into lmp-dev
Colin Cross [Tue, 19 Aug 2014 01:26:00 +0000 (01:26 +0000)]
Merge changes I4cfb3138,I45356c29 into lmp-dev
* changes:
atrace: add memory reclaim tracing
atrace: Add IRQ events
Colin Cross [Mon, 18 Aug 2014 22:22:13 +0000 (15:22 -0700)]
atrace: add memory reclaim tracing
Add "memreclaim" to trace direct reclaim, shrink slab cycles, and
kswapd waking up and sleeping.
Change-Id: I4cfb313820a3a9aa5a9d07a39c42db41c24304a6
Dan Willemsen [Fri, 11 Apr 2014 22:44:09 +0000 (15:44 -0700)]
atrace: Add IRQ events
Add "irq" to trace irq and softirq events.
Change-Id: I45356c2912a1fa130667ada7b21e9fb54ddcfba5
Michael Wright [Mon, 18 Aug 2014 03:01:12 +0000 (20:01 -0700)]
Shelve InputFlinger for another release. DO NOT MERGE
Change-Id: I0f034a2b8b1d9192f61f5001799bd3aa4b3964c7
Jeff Brown [Sat, 16 Aug 2014 01:16:28 +0000 (01:16 +0000)]
Merge "Add trace tag for power management." into lmp-dev
Brian Carlstrom [Fri, 15 Aug 2014 16:55:50 +0000 (09:55 -0700)]
Disable verification based on vold.decrypt. [frameworks/native]
Bug:
15165413
Change-Id: Ie70bf4e1348b7b8b2454cf9b498b272416d61c34
Jeff Brown [Fri, 15 Aug 2014 02:24:47 +0000 (19:24 -0700)]
Add trace tag for power management.
Also added a couple of other existing missing tags in atrace.
Bug:
17004602
Change-Id: I6f697a2a15922bd4695acfa203d45eaae40cd00e
Brian Carlstrom [Fri, 8 Aug 2014 07:52:22 +0000 (00:52 -0700)]
Use set_sched_policy to put dexopt operations in SP_BACKGROUND cgroup
Bug:
15927194
(cherry picked from commit
0378aaf257aee92539d30543914a50c4481c6a18)
Change-Id: I462b5ac256c4d091ed4023cf4b97dd6a4abcaa5f
Rachad [Sat, 9 Aug 2014 04:56:09 +0000 (04:56 +0000)]
Merge "Tunneled Video Playback support" into lmp-dev
Michael Lentine [Fri, 8 Aug 2014 17:30:44 +0000 (10:30 -0700)]
Revert "Modify EGL to disconnect the window when the surface gets destroyed."
This reverts commit
843cbb241da60ada234918a30cfe9a01a1e04187.
Michael Lentine [Thu, 7 Aug 2014 22:05:44 +0000 (22:05 +0000)]
Merge "Change output format to not throw warning on volantis." into lmp-dev
Michael Lentine [Thu, 7 Aug 2014 21:54:23 +0000 (14:54 -0700)]
Change output format to not throw warning on volantis.
Change-Id: Id66eb61bdb1ceccfb7aefa0aa70793dac807c257
Michael Lentine [Thu, 7 Aug 2014 20:40:48 +0000 (13:40 -0700)]
Fix HWComposer Surface Crop when surface is rotated
Bug:
15091149
Change-Id: I97ecd8af9636da9403fafdb3f9b846f95053ebb7
Michael Lentine [Thu, 7 Aug 2014 21:30:06 +0000 (21:30 +0000)]
Merge "Fix HWComposer Surface Crop when surface is rotated" into lmp-dev
Brian Carlstrom [Thu, 7 Aug 2014 05:28:37 +0000 (05:28 +0000)]
Merge changes Idae36efa,I6613c971 into lmp-dev
* changes:
Disable compilation based on vold.decrypt. [frameworks/native]
Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [frameworks/native]
Brian Carlstrom [Wed, 30 Jul 2014 21:37:11 +0000 (14:37 -0700)]
Disable compilation based on vold.decrypt. [frameworks/native]
Bug:
15165413
(cherry picked from commit
538998f204d1e542e235de9e7ce18ef4dc68c9cc)
Change-Id: Idae36efa1cb3fb99b51fa0a79b6bb037981d1c71
Brian Carlstrom [Tue, 29 Jul 2014 02:13:28 +0000 (19:13 -0700)]
Move from dalvik.vm.image-dex2oat-flags to dalvik.vm.dex2oat-filter [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
Brian Carlstrom [Thu, 7 Aug 2014 05:28:33 +0000 (05:28 +0000)]
Merge "Make system use patchoat to relocate during runtime." into lmp-dev
Michael Wright [Wed, 6 Aug 2014 22:55:28 +0000 (15:55 -0700)]
Revert "Revert "Add system accelerators for BACK and HOME.""
This reverts commit
d671f98a27f547ebcddff8dc962fe895549355e2.
Change-Id: Ibec48f81653bd2f755fc59a241fa7836baf53233
Alex Light [Mon, 21 Jul 2014 19:23:48 +0000 (12:23 -0700)]
Make system use patchoat to relocate during runtime.
Make installd understand a patchoat directive and carry it out.
Bug:
15358152
(cherry picked from commit
7365a10689df23334d245b211ce272502ad20669)
Change-Id: Id84a15e626ddde63876914068d3d9aa037abc65b
Michael Wright [Wed, 6 Aug 2014 22:50:43 +0000 (15:50 -0700)]
Revert "Add system accelerators for BACK and HOME."
This reverts commit
278b525d25b852554015ec4f92862f9297b502fd.
Michael Wright [Tue, 5 Aug 2014 03:26:30 +0000 (20:26 -0700)]
Add system accelerators for BACK and HOME.
Meta+Backspace -> BACK
Meta+Enter -> HOME
Bug:
14066931
Change-Id: Iff1d027300fa9911626785944a6d8efe4f62235e
Aravind Akella [Wed, 6 Aug 2014 02:23:25 +0000 (02:23 +0000)]
Merge "Sensor related changes for NDK." into lmp-dev
Aravind Akella [Tue, 5 Aug 2014 21:53:07 +0000 (14:53 -0700)]
Sensor related changes for NDK.
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
Jean-Michel Trivi [Sat, 2 Aug 2014 05:20:17 +0000 (22:20 -0700)]
AAC codec profile updates
Add new fields to OMX_AUDIO_PARAM_AACPROFILETYPE for
- SBR configuration
- decoder max number of channels
- decoder DRC parameters
Bug
16740915
Change-Id: Ib01822bc402fe9064c6c1c68b72c570cf72b7ecb
Rachad [Wed, 30 Jul 2014 00:53:53 +0000 (17:53 -0700)]
Tunneled Video Playback support
Added native_window_set_sideband_stream() method to Surface.[h|cpp]
Added ConfigureVideoTunnelModeParams OMX configuration structure to
HardwareAPI.h
Bug:
16132368
Change-Id: I28fa1b9dbe858d93e353e0991098cad45c626bd9