5192 Commits

Author SHA1 Message Date
Nicolas Geoffray
0faf1bc43c Merge "Update framework code after new ART options." am: d7d2817ade am: 9da4055766
am: 5d5f055eb6

* commit '5d5f055eb6783dceb51cdb71630aac40feacfedd':
  Update framework code after new ART options.
2015-11-19 16:15:17 +00:00
Nicolas Geoffray
5d5f055eb6 Merge "Update framework code after new ART options." am: d7d2817ade
am: 9da4055766

* commit '9da4055766fc7acf81dcd238204589ea1f484d50':
  Update framework code after new ART options.
2015-11-19 16:05:01 +00:00
Nicolas Geoffray
9da4055766 Merge "Update framework code after new ART options."
am: d7d2817ade

* commit 'd7d2817ade8459a8f6872ff814d3208613502858':
  Update framework code after new ART options.
2015-11-19 15:54:21 +00:00
Nicolas Geoffray
cdf1dfff8f Update framework code after new ART options.
Change-Id: I852a5975701653fe7e0cdd02e3c0b30a2b0b0b59
2015-11-19 14:31:23 +00:00
Andreas Gampe
57db2c0dc6 resolve merge conflicts of e3ad4409a6 to master.
Change-Id: Idc19d27ee359e5434d55d9a29ecdb4b1e30cbfe1
2015-11-18 20:52:39 -08:00
Doris Liu
b10a1d8a93 Merge "VectorDrawable native rendering - Step 2 of MANY" 2015-11-18 22:44:44 +00:00
Doris Liu
804618d086 VectorDrawable native rendering - Step 2 of MANY
Introduced PathData in Java, which is effectively a thin layer around the
native instance. PathData holds the verbs and points which is being used
in path morphing/interpolation. The verbs and points can be interpreted
into skia path commands, which is now done in native and therefore saves
a handful of JNI calls during path creation.

Removed the old PathDataNode mechanism and changed the PathEvaluator
to use PathData instead.

Also added tests and a microbench. Also ran CTS tests for VectorDrawable
and AnimatedVectorDrawable, and passed all of the existing tests.

Change-Id: Ia166f5172ff031fe18b154327967f911a62caec1
2015-11-18 13:38:23 -08:00
Andreas Gampe
e3ad4409a6 Merge "Frameworks/base: Make RuntimeAbort more expressive" am: b61d3dd8a7
am: a7e9f174c1

* commit 'a7e9f174c1f9ae35be6259de02f46aa8fa4d0a3c':
  Frameworks/base: Make RuntimeAbort more expressive
2015-11-18 18:11:11 +00:00
Andreas Gampe
a7e9f174c1 Merge "Frameworks/base: Make RuntimeAbort more expressive"
am: b61d3dd8a7

* commit 'b61d3dd8a773be393c738675cff28fc799497535':
  Frameworks/base: Make RuntimeAbort more expressive
2015-11-18 17:47:52 +00:00
Jun Mukai
28d5615147 Merge "Introduce animated pointer icon for STYLE_WAIT." 2015-11-18 01:46:58 +00:00
Jun Mukai
808196f139 Introduce animated pointer icon for STYLE_WAIT.
Change-Id: I893f8276e09351db6187c553f349008794b95690
2015-11-17 17:36:08 -08:00
Andreas Gampe
b053cce7ae Frameworks/base: Make RuntimeAbort more expressive
Pass a message to FatalError, which will be more prominent in
aborts than "RuntimeAbort."

Change-Id: Icb3b8f50ca0cc15fd1346c530cd8e6452e951879
2015-11-17 16:38:59 -08:00
Calin Juravle
8d40c367b0 Merge "Remove obsolete profile handling from AndroidRuntime." am: 360e95a90d am: e20120031f
am: c3a70ce001

* commit 'c3a70ce0015e9117268040378c6adb6239ead897':
  Remove obsolete profile handling from AndroidRuntime.
2015-11-17 23:07:36 +00:00
Erik Wolsheimer
fa17e61291 Log errno when dup fd cannot be allocated BUG: 25165471 am: 211abad3b9 am: b45defae8e am: 529893f84c am: 7698dd970f
am: ae4ab3501a

* commit 'ae4ab3501a0400940ace2d0bfdf0d7021c740603':
  Log errno when dup fd cannot be allocated BUG: 25165471
2015-11-16 19:26:12 +00:00
Erik Wolsheimer
2fba776ee0 Log errno when dup fd cannot be allocated BUG: 25165471 am: 211abad3b9
am: b45defae8e

* commit 'b45defae8e61a4fa3aba9dd08480861d10f5982a':
  Log errno when dup fd cannot be allocated BUG: 25165471
2015-11-16 19:03:53 +00:00
Erik Wolsheimer
211abad3b9 Log errno when dup fd cannot be allocated
BUG: 25165471

Change-Id: I7342e2b4c566325fc2e15643a7c7b6ba989ee8c7
2015-11-16 10:29:20 -08:00
Mark Salyzyn
45f88d02de Merge "Revert "jni: is loggable speedup, not within signal"" am: 3c54ed00f3
am: c53dad8d16

* commit 'c53dad8d16c552d06ac4acb8ddbd937bda2d26d7':
  Revert "jni: is loggable speedup, not within signal"
2015-11-16 16:42:51 +00:00
Mark Salyzyn
c53dad8d16 Merge "Revert "jni: is loggable speedup, not within signal""
am: 3c54ed00f3

* commit '3c54ed00f390e0ce9c555eb517594628b362705f':
  Revert "jni: is loggable speedup, not within signal"
2015-11-16 16:35:58 +00:00
Mark Salyzyn
3c54ed00f3 Merge "Revert "jni: is loggable speedup, not within signal"" 2015-11-16 16:30:57 +00:00
Mark Salyzyn
9f5de191e8 Merge "Revert "jni: is loggable speedup, not within signal"" 2015-11-16 16:30:42 +00:00
Mark Salyzyn
b761d04824 Revert "jni: is loggable speedup, not within signal"
(cherry pick of commit 421d434818aae0977b5b044dd88555a2261efac1)

This reverts commit c954fde0b6e31ec99509faf0bbc33c4c9e4d012a.

Bug: 25693940
Change-Id: I568051aad39e215d677318cd5758962e562187ef
2015-11-16 08:29:03 -08:00
Mark Salyzyn
421d434818 Revert "jni: is loggable speedup, not within signal"
This reverts commit c954fde0b6e31ec99509faf0bbc33c4c9e4d012a.

Bug: 25693940
Change-Id: I568051aad39e215d677318cd5758962e562187ef
2015-11-16 16:26:44 +00:00
Calin Juravle
c3a70ce001 Merge "Remove obsolete profile handling from AndroidRuntime." am: 360e95a90d
am: e20120031f

* commit 'e20120031fd573c3beef4892f6917ba1553db6a8':
  Remove obsolete profile handling from AndroidRuntime.
2015-11-16 11:35:56 +00:00
Calin Juravle
e20120031f Merge "Remove obsolete profile handling from AndroidRuntime."
am: 360e95a90d

* commit '360e95a90dab2c2522aa3ba13c6b2a3df737e626':
  Remove obsolete profile handling from AndroidRuntime.
2015-11-16 11:20:55 +00:00
Calin Juravle
360e95a90d Merge "Remove obsolete profile handling from AndroidRuntime." 2015-11-16 11:08:06 +00:00
Chris Craik
4bc507851c Merge "Add error check for float parsing and fix tests" 2015-11-14 00:00:05 +00:00
Doris Liu
1e67f08963 Add error check for float parsing and fix tests
Change-Id: Ia4f4863d415536b3796edbcdb83c951b6cff02cf
2015-11-13 15:58:49 -08:00
Mark Salyzyn
530dcda9a5 Merge "jni: is loggable speedup, not within signal" am: 96e780c99c am: 33a0db92aa
am: 5f6b645985

* commit '5f6b6459853700c85d71906eb7b758a17ffb32ba':
  jni: is loggable speedup, not within signal
2015-11-13 15:36:07 +00:00
Mark Salyzyn
5f6b645985 Merge "jni: is loggable speedup, not within signal" am: 96e780c99c
am: 33a0db92aa

* commit '33a0db92aaf1f50cefaab0215b59e7e513f55d32':
  jni: is loggable speedup, not within signal
2015-11-13 15:29:35 +00:00
Mark Salyzyn
33a0db92aa Merge "jni: is loggable speedup, not within signal"
am: 96e780c99c

* commit '96e780c99c46e805989b7f1d6486cef96c7d2c27':
  jni: is loggable speedup, not within signal
2015-11-13 15:22:05 +00:00
Mark Salyzyn
c954fde0b6 jni: is loggable speedup, not within signal
Speedup by telling __android_is_loggable interface it will not
be called within a signal handler. This saves two system calls.

Bug: 25563384
Change-Id: Ib8188641c8c76e5aa848476da98596be6b8e5040
2015-11-12 15:40:51 -08:00
Doris Liu
cdd23f9d45 Add hooks in JNI to start using native path parsing
Change-Id: Iaa0d3c2c1936c248146ed7f186a13e8e79be818e
2015-11-11 17:54:52 -08:00
Calin Juravle
9c99c7935d Merge "Parse method-trace properties only in debug builds." am: 8fa7e93050 am: 61abae774e
am: d75fdb6fe3

* commit 'd75fdb6fe3745805561dec630540e8449d97e2f8':
  Parse method-trace properties only in debug builds.
2015-11-11 17:13:14 +00:00
Calin Juravle
d75fdb6fe3 Merge "Parse method-trace properties only in debug builds." am: 8fa7e93050
am: 61abae774e

* commit '61abae774e7cf3fd298ecab821692ac17417f4c5':
  Parse method-trace properties only in debug builds.
2015-11-11 17:05:42 +00:00
Calin Juravle
61abae774e Merge "Parse method-trace properties only in debug builds."
am: 8fa7e93050

* commit '8fa7e93050f5b3d7ccac8775fee302f1f4394d4f':
  Parse method-trace properties only in debug builds.
2015-11-11 17:00:22 +00:00
Calin Juravle
92290b8963 Parse method-trace properties only in debug builds.
Bug: 25612377
Change-Id: Ia1d8e6c5afbdd70486d5aa8c059e70e27b03367d
2015-11-11 10:36:47 +00:00
Pablo Ceballos
4873103e75 Merge "jni: Regenerated EGL/GLES JNI files to support null arguments" 2015-11-10 21:41:53 +00:00
Roozbeh Pournader
0d02bd8442 Removed unused setLocale() method.
The setLocale() method in android.content.res.AssetManager was not
used. Removing it to reduce maintenance cost.

Change-Id: I1b168fe84c2465d1ebc2b62bb965eda885e1220a
2015-11-07 11:22:24 -08:00
Matt Sarett
746f86815b Rename SkBitmapRegionDecoder to BitmapRegionDecoder
This is temporary, we are planning to delete this class.
Renaming will allow us to have an SkBitmapRegionDecoder class
in Skia.

Change-Id: I8d24d481d4e8cf782f578fa6deb6e3245c998a37
2015-11-06 16:30:34 +00:00
Pablo Ceballos
6aff9068f9 jni: Regenerated EGL/GLES JNI files to support null arguments
Bug 9321681

Change-Id: I397c1fbdfcc38a697b4f608546822a739e55e1d9
2015-11-05 20:14:34 -08:00
Sanket Agarwal
a00acdd1b4 Fix signature for a function in java (int (I) -> long (L) ).
Change-Id: Icd632ca9ba79be7f4dc322b35c25ca9f853258a3
2015-11-05 15:45:47 -08:00
Sanket Agarwal
7058e4ca58 Radio features for Automotive usecase.
1. Add clock to metadata - If the CAR does not have a clock (no network
or bad clock) then Radio RDS could be used as a proxy.
2. Add support for emergency announcement - If the CAR wants to make an
emergency announcement.
    2.1 Add support for callbacks.

Bug: b/24807501
Bug: b/22701655

Change-Id: Ib3131de03a022181559fd31da6701d9d3fa8698d
(cherry picked from commit 659688a129189f2a9aa353ddf9e107d5f293c4ca)
2015-11-05 22:50:59 +00:00
Dan Albert
a76bafdc44 Merge "Don\'t apply clang flag to gcc builds." am: d9a1b35df6 am: a41288b88f
am: e0bcc4efe9

* commit 'e0bcc4efe96f196104e6de681b28de295d70fb84':
  Don't apply clang flag to gcc builds.
2015-11-05 18:33:51 +00:00
Dan Albert
e0bcc4efe9 Merge "Don\'t apply clang flag to gcc builds." am: d9a1b35df6
am: a41288b88f

* commit 'a41288b88f18273a61ed0af977408761598216cf':
  Don't apply clang flag to gcc builds.
2015-11-05 18:28:19 +00:00
Dan Albert
a41288b88f Merge "Don\'t apply clang flag to gcc builds."
am: d9a1b35df6

* commit 'd9a1b35df62eddc56f69281aea1534d187b63205':
  Don't apply clang flag to gcc builds.
2015-11-05 18:22:57 +00:00
Dan Albert
0eadf57cad Don't apply clang flag to gcc builds.
For whatever reason GCC doesn't fail the build on unknown flags unless
there is also a warning emitted. Since we're now deprecating
UniquePtr, the warning is thrown here and the build fails (despite not
being -Werror).

Bug: http://b/22403888
Change-Id: I4af7911a51f7af9aa47a596a76f3e9d79535585b
2015-11-05 00:59:09 -08:00
Calin Juravle
8e6714ba2b Remove obsolete profile handling from AndroidRuntime.
Bug: 24698874
Change-Id: I61193800e8b1f285b0a8edd05a0430a3c779e5b1
2015-11-04 14:54:37 +00:00
Ian Pedowitz
18896e0893 Merge "Limit persistent ashmem backed fds to a minimum of 128kB." into mnc-dr-dev am: 966d6040c6 am: 95fc53b029 am: d6f3e38738
am: 87455c7397

* commit '87455c7397605fba4bf3ad04af8df3c599a7a6ba':
  Limit persistent ashmem backed fds to a minimum of 128kB.
2015-11-03 23:34:54 +00:00
Ian Pedowitz
87455c7397 Merge "Limit persistent ashmem backed fds to a minimum of 128kB." into mnc-dr-dev am: 966d6040c6 am: 95fc53b029
am: d6f3e38738

* commit 'd6f3e38738c88821b28b2571d034fc1b189a35de':
  Limit persistent ashmem backed fds to a minimum of 128kB.
2015-11-03 22:21:48 +00:00
Nicolas Capens
ac465cef41 Assume OpenGL ES 2.0 support for qemu.gles > 0
Bug 25435727

Change-Id: I1d11c2f03849f1244bdd83e47aa53776acfba6fd
2015-11-03 17:18:35 -05:00