Elliott Hughes
a95b568f9a
am 20c906a8: am a101befb: Merge "Lose some unnecessary JNI from the zygote."
...
* commit '20c906a8d40aed68ee35095f322739664e1e223a':
Lose some unnecessary JNI from the zygote.
2014-12-12 23:32:06 +00:00
Elliott Hughes
3fe595108f
Lose some unnecessary JNI from the zygote.
...
Bug: 18719692
Change-Id: Ie2d50400f10f3c54cfbf94e54656f6d704eac267
2014-12-12 14:07:34 -08:00
Iliyan Malchev
1656870585
am 45838de9: fix Uss accounting in getPssPid()
...
automerge: 72468d2
* commit '72468d2d146f737b2b5d0223687b8fbc52723c76':
fix Uss accounting in getPssPid()
2014-12-12 04:30:52 +00:00
Ruben Brunk
c7c20b34ec
am f6ed526b: Merge "camera2: Fix LEGACY YUV production and orientation." into lmp-mr1-dev
...
automerge: 81b381b
* commit '81b381b82e83ec742a8a6541dabbc63dae087c0a':
camera2: Fix LEGACY YUV production and orientation.
2014-12-12 04:09:55 +00:00
Iliyan Malchev
45838de942
fix Uss accounting in getPssPid()
...
Change-Id: I0d1dc81d127afbf3a7d7b4b86865ccb0e8bd7d4c
Signed-off-by: Iliyan Malchev <malchev@google.com>
2014-12-12 00:20:24 +00:00
Chih-hung Hsieh
d1aa67b8e1
am b0dd6d3a: am 4c23a0ec: Merge "Adjust format strings to work on both 32-bit and 64-bit builds"
...
* commit 'b0dd6d3a8a7f11454239facf0ee9b2dd2390945e':
Adjust format strings to work on both 32-bit and 64-bit builds
2014-12-11 21:02:08 +00:00
Chih-hung Hsieh
4c23a0ec16
Merge "Adjust format strings to work on both 32-bit and 64-bit builds"
2014-12-11 20:49:30 +00:00
Ruben Brunk
433e715cc0
camera2: Fix LEGACY YUV production and orientation.
...
Bug: 18486140
Change-Id: I119e57315b67d1f485bea7f1682bfc261ae0f934
2014-12-11 11:35:46 -08:00
Eric Laurent
093789755e
resolved conflicts for merge of 5196dd04 to lmp-mr1-dev-plus-aosp
...
Change-Id: I34063a9a516e0d9d209d3176279ef4266b6a113d
2014-12-10 10:42:08 -08:00
Eric Laurent
65bc1125b4
Merge "AudioSystem JNI: Add audio policy custom mixes registration" into lmp-mr1-dev
2014-12-10 01:33:09 +00:00
Ruben Brunk
28089cc39b
Merge "Camera2: Allow rendering to arbitrary surface sizes in LEGACY mode." into lmp-mr1-dev automerge: 3ef5033
...
automerge: 6d98265
* commit '6d9826546d89e03cea170ebb5b3f292d5f4a027b':
Camera2: Allow rendering to arbitrary surface sizes in LEGACY mode.
2014-12-09 23:20:39 +00:00
Ruben Brunk
3ef5033cda
Merge "Camera2: Allow rendering to arbitrary surface sizes in LEGACY mode." into lmp-mr1-dev
2014-12-09 23:09:52 +00:00
John Reck
389baa3951
am 7d74cb6c: am 14c43689: Merge "Fix issue with RNA destruction mid-animation" into lmp-mr1-dev
...
* commit '7d74cb6c6139d42aad65fe1466ab4c5f8e029539':
Fix issue with RNA destruction mid-animation
2014-12-09 22:18:27 +00:00
John Reck
c47c98be04
Fix issue with RNA destruction mid-animation
...
Bug: 18521508
Fix an issue where an RNA's native object was destroyed
before the java-side object was started
Change-Id: I487fb476e0ecdf7000515f4f7320e8cfbc50a52b
2014-12-09 12:35:12 -08:00
Ruben Brunk
f4a637d0be
Camera2: Allow rendering to arbitrary surface sizes in LEGACY mode.
...
Bug: 16030677
Change-Id: Ida04e04f41983b9126609522dd12064a7bf9645f
2014-12-09 11:56:22 -08:00
Sebastien Hertz
70acd9b36a
resolved conflicts for merge of beb84982 to lmp-mr1-dev-plus-aosp
...
Change-Id: Ib420549f3e20c149c15966dfece980b4f150177d
2014-12-09 10:16:46 +01:00
Mathieu Chartier
fb5c932dbb
Merge "Add more -d dalvik details to dumpsys"
2014-12-09 02:05:45 +00:00
Dianne Hackborn
8b33cf4d34
Merge "Work on issue #18640385 : Add procstats test mode" into lmp-mr1-dev
2014-12-09 01:53:37 +00:00
Dianne Hackborn
1a4b5a4f02
Work on issue #18640385 : Add procstats test mode
...
You can now do "adb shell dumpsys procstats --start-testing" to
enable high frequency pss sampling.
Also improved the low on RAM mem reporting to separate out RAM
from memtrack, in case the data we are getting from that is bad.
And fixed meminfo --oom to work correctly again.
Change-Id: I7af17eab110a82298bd7b0ce381f8fa5c96c1f6a
2014-12-08 17:43:31 -08:00
Mathieu Chartier
e417db6d57
am 4ec1bdf5: am 52070f81: Merge "Add more -d dalvik details to dumpsys" into lmp-mr1-dev
...
* commit '4ec1bdf52f5c0d48fd13571796644feddc5a815b':
Add more -d dalvik details to dumpsys
2014-12-09 01:43:00 +00:00
Mathieu Chartier
063028aa68
Add more -d dalvik details to dumpsys
...
Added .NonMoving for the non moving space.
Added .Zygote for the zygote.
Added .IndirectRef for indirect reference tables (jobjects).
Example:
Dalvik Details
.Heap 2264 2264 0 0
.LOS 80 80 0 0
.GC 144 144 0 0
.Zygote 331 196 0 2428
.NonMoving 540 540 0 0
.IndirectRef 20 20 0 0
Bug: 18672069
Change-Id: Id14e5bc92ceb15fe7a17d9fb035f18aa2925e50c
(cherry picked from commit 25c5e2b12d5d5d06739e3f70a0da968d97935b46)
2014-12-08 17:33:56 -08:00
Mathieu Chartier
25c5e2b12d
Add more -d dalvik details to dumpsys
...
Added .NonMoving for the non moving space.
Added .Zygote for the zygote.
Added .IndirectRef for indirect reference tables (jobjects).
Example:
Dalvik Details
.Heap 2264 2264 0 0
.LOS 80 80 0 0
.GC 144 144 0 0
.Zygote 331 196 0 2428
.NonMoving 540 540 0 0
.IndirectRef 20 20 0 0
Bug: 18672069
Change-Id: Id14e5bc92ceb15fe7a17d9fb035f18aa2925e50c
2014-12-08 16:38:20 -08:00
Eric Laurent
7f5eb9fe3c
AudioSystem JNI: Add audio policy custom mixes registration
...
Bug: 16009464.
Change-Id: I3763e79f4fa0331acb56d1d6f575c7a36e0bebd5
2014-12-08 09:37:30 -08:00
Bernhard Rosenkränzer
46c82b4cd2
Adjust format strings to work on both 32-bit and 64-bit builds
...
Adjust format strings to not produce Clang warnings in both 32-bit and
64-bit builds
Change-Id: I76c29d8d5d0fb4b5e9d9518077652370ffe9e871
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-12-05 16:14:07 -08:00
Derek Sollenberger
203c817180
am c1a2f38c: am 4d9da135: Merge "Update AndroidPixelRef to prevent VM from cleaning up memory prematurely." into lmp-mr1-dev
...
* commit 'c1a2f38ce0447b005d0cde6836857f451af84dc6':
Update AndroidPixelRef to prevent VM from cleaning up memory prematurely.
2014-12-04 21:46:39 +00:00
John Reck
a75b0ad384
resolved conflicts for merge of a51a0901 to lmp-mr1-dev-plus-aosp
...
Change-Id: Id7df835f0bd3d5d276b162635ddfb7fe0918dfed
2014-12-04 13:41:04 -08:00
Derek Sollenberger
4d9da135ca
Merge "Update AndroidPixelRef to prevent VM from cleaning up memory prematurely." into lmp-mr1-dev
2014-12-04 13:04:52 +00:00
John Reck
01a5ea35fb
Resume RT-animations after a pauseSurface
...
Bug: 18203577
The issue occurs as a result of performTraversals() both doing
a window relayout call *and* early-returning because it's not dirty.
To fix this pauseSurface() returns whether or not the RT-side is
"dirty" to force ViewRootImpl to do a draw even if mDirty is
otherwise empty.
Change-Id: I534f367e75d18d273ebf14df3927f5c464ef6bef
2014-12-03 13:03:59 -08:00
Derek Sollenberger
f29d5a5b21
Update AndroidPixelRef to prevent VM from cleaning up memory prematurely.
...
bug:18306529
Change-Id: I1ea94df1dcaf4fcf248b63dc8b0a13f36412570a
2014-12-03 13:43:30 -05:00
Adam Lesinski
9438ad1599
am e580d661: am e89a2865: Merge changes If2c7e09f,Ie21f227c
...
* commit 'e580d6617f67a1db5eff7ffe5450684cfc7e1a2b':
RRO idmap: pad with 0xffffffff, not 0x00000000
RRO: reintroduce lost ResTable insert of assets
2014-12-02 23:07:43 +00:00
Adam Lesinski
e89a286541
Merge changes If2c7e09f,Ie21f227c
...
* changes:
RRO idmap: pad with 0xffffffff, not 0x00000000
RRO: reintroduce lost ResTable insert of assets
2014-12-02 22:52:37 +00:00
Jesse Hall
954b325bc3
am 9dec9e9d: am 1ee37776: Merge "Avoid overwriting EGL14.EGL_NO_SURFACE"
...
* commit '9dec9e9d65c9f70b7a45fb3ad8f3f752b7b35fdf':
Avoid overwriting EGL14.EGL_NO_SURFACE
2014-12-02 00:48:33 +00:00
Jesse Hall
1ee377764a
Merge "Avoid overwriting EGL14.EGL_NO_SURFACE"
2014-12-02 00:35:12 +00:00
Eric Laurent
41b2381db7
am 981951e4: am 563e61f5: Merge "AudioRecord JNI: pass attributes to native AudioRecord." into lmp-mr1-dev
...
* commit '981951e4f9bae85dcf6f717023596c08dc245ee7':
AudioRecord JNI: pass attributes to native AudioRecord.
2014-11-27 00:01:23 +00:00
Eric Laurent
4c3fc59b4d
AudioRecord JNI: pass attributes to native AudioRecord.
...
Bug: 16006090.
Change-Id: Ic6448dda0de65dada3a195cfc2ec73698b04b7b2
2014-11-26 09:46:44 -08:00
Elliott Hughes
1fae099132
am f67cc149: am 2657717f: Merge "We have POSIX clocks."
...
* commit 'f67cc149982cefdcf9f8697c9966c710f6512d23':
We have POSIX clocks.
2014-11-25 23:29:14 +00:00
Elliott Hughes
42c569224a
We have POSIX clocks.
...
Change-Id: I70f82074f8c14a26c4ed7eb912ddf6d7da44c168
2014-11-25 15:11:59 -08:00
chh
d7572b84ef
am 3ec380d3: am fc545733: Merge "Remove unused variables and functions, don\'t warn about unused parameters"
...
* commit '3ec380d365cbe5fac23ff19897512cf492a7a8a4':
Remove unused variables and functions, don't warn about unused parameters
2014-11-25 19:04:05 +00:00
Bo Liu
88309159a5
am 38134303: am 84be180e: Merge "Fix crash in getNativeCanvas when canvasHandle is NULL" into lmp-mr1-dev
...
* commit '3813430367591efcf925b2baebc50a99a7666644':
Fix crash in getNativeCanvas when canvasHandle is NULL
2014-11-25 18:46:04 +00:00
Sangkyu Lee
c56c7013e3
Avoid overwriting EGL14.EGL_NO_SURFACE
...
(This is an update after the generator update.)
Both EGL14 and EGLExt have the same initialization codes for
EGL14.EGL_NO_SURFACE, EGL14.EGL_NO_CONTEXT and EGL14.EGL_NO_DISPLAY.
Since EGLExt is initialized later, they are overwritten by EGLExt's
initialization codes.
Therefore, EGL_NO_SURFACE returned by methods in EGL14 is not
actually EGL14.EGL_NO_SURFACE object and it makes several problems in
handling error cases.
For instance, "Let's fish" game application cannot be run on L.
To solve the problem, this patch makes EGL14.EGL_NO_SURFACE,
EGL14.EGL_NO_CONTEXT and EGL14.EGL_NO_DISPLAY initialized just once.
Change-Id: Icce878164ff0b715ad2b5a2cd038a9616c7cf1e9
2014-11-25 10:45:19 +09:00
Bo Liu
de92f4c72b
Fix crash in getNativeCanvas when canvasHandle is NULL
...
BUG: 18261928
Change-Id: I01a5af201fe829d5752433e1bb0db7edc01733d4
2014-11-24 11:25:45 -08:00
Bernhard Rosenkränzer
4048a4bcb1
Remove unused variables and functions, don't warn about unused parameters
...
Remove unused variables and static functions clang complains about,
disable warnings about unused parameters (needed for clang and for gcc
with -Wextra enabled)
Change-Id: I76a22cd0158b3c7375c54e3d4d15bc1ac448591e
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
2014-11-23 22:24:32 +01:00
Ian Rogers
fa1ae7dbb8
Merge branch 'lmp-mr1-dev-plus-aosp' of https://googleplex-android.googlesource.com/_direct/platform/frameworks/base into lmp-mr1-dev-plus-aosp
2014-11-22 01:09:59 +00:00
Chih-hung Hsieh
29d1b12dda
am 05f7c39e: am fc4a7538: Merge "Revert "Frameworks/base: Mask Skia warning in GraphicsJNI""
...
* commit '05f7c39eb45854f8d2a8a2aabb9ad9a4f9b867c1':
Revert "Frameworks/base: Mask Skia warning in GraphicsJNI"
2014-11-22 01:08:42 +00:00
John Reck
cbee971a10
resolved conflicts for merge of 08372601 to lmp-mr1-dev-plus-aosp
...
Change-Id: I86b78ada4f30c23ae1232ac5a509986d5b8dc546
2014-11-21 17:07:17 -08:00
Chih-hung Hsieh
fc4a7538a6
Merge "Revert "Frameworks/base: Mask Skia warning in GraphicsJNI""
2014-11-22 00:24:39 +00:00
John Reck
418c8549dc
Merge "It's super critical to call nStart" into lmp-mr1-dev
2014-11-21 23:32:08 +00:00
John Reck
72d6e4facb
It's super critical to call nStart
...
Bug: 18204974
Even if we are canceling or ending an animation
nStart() *must* be called, otherwise the native-side listener
is not attached (lazy-attached for JNI cyclic reference reasons),
and then Animator::callOnFinishedListener() no-ops as there's
no listener set
Add a lifecycle verifier to ensure that nStart is always
called on animators that are attached and get finished
Change-Id: Ibc345b5be97b6d3f95a11c361ebe020d030fd3b6
2014-11-21 14:27:21 -08:00
Chris Craik
90102e1009
am 1ae8a98e: am 29dc496a: Merge "Revert "Add a way to override Xfermode DO NOT MERGE"" into lmp-mr1-dev
...
* commit '1ae8a98e8a6ba82396955c0b6ab0e02568a3494b':
Revert "Add a way to override Xfermode DO NOT MERGE"
2014-11-21 22:21:02 +00:00
Chris Craik
29dc496a42
Merge "Revert "Add a way to override Xfermode DO NOT MERGE"" into lmp-mr1-dev
2014-11-21 22:11:13 +00:00