Commit Graph

453 Commits

Author SHA1 Message Date
Daichi Hirono
878e86f38f Adding FUSE loop thread in app side.
The CL adds FuseAppLoop internal class to the framework. It parses FUSE commands
from the proxy in the system service and invokes a callback provided by
application.

Bug: 29970149
Test: None, will be tested with CTS for StorageManager#openProxyFileDescriptor.
Change-Id: I10b2add4c2743fb91eae3cb194f55843a74fb668
2016-12-01 13:16:14 +09:00
John Reck
5d31a293ad Cleanup Xfermode
We only support PorterDuff Xfermodes

Removes some unneeded JNI and finalizers()

Change-Id: I4988d6b05c6fd113a8ed8f7dcbf95abe0de95060
2016-09-19 12:52:50 -07:00
Andreas Huber
dc26321e0b Adds framework support for hidl-gen Java backend. (to support structs)
Bug: 30575790
Change-Id: Ida30d8fe7a1b210e98f1a0ea5d429a0112f9ef3f
2016-08-25 13:38:40 -07:00
Andreas Huber
c0b6c53076 Initial commit of Java support for hardware binder.
Squashed commit of the following:

    commit a536e55110a62871662d2f0b1771d7b66bb3cb27
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Aug 15 09:04:45 2016 -0700

    start HwBinder thread pool upon service registration

    Change-Id: I8e91d20e29a5647a36aad083c23d1b594fdc68c5

    commit 0a1882999e0021b68ccebb0306905f17962b8a70
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Aug 11 15:41:05 2016 -0700

    IHwInterface, queryLocalInterface.

    also moved looking up a service into HwBinder. HwRemoteBinder is now an
    implementation detail.

    Change-Id: Ic0b818f5b36c42c608e570fe41a2c0272a6e48df

    commit d99b0b065bde6e0f071245719f8ab31ad25d91be
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Aug 8 09:07:51 2016 -0700

    work in progress

    Change-Id: I4f5612944e9ac1c762ad1fa2e238836e37b484da

    commit 64f027e55780284b981f88a1605c00a0a0f091f4
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Aug 4 10:10:52 2016 -0700

    Squashed commit of the following:

    commit d023d5570ef810094a3d4382158f32faff46c480
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Aug 4 10:09:41 2016 -0700

    Some more cleanup, file organization more closely matches existing code in

    frameworks/base/core/jni/..., don't produce a separate shared library, this is
    now linked as part of libandroid_runtime.so

    Change-Id: I91024f137ff0faae26e72aa9a7163b80b97f0d05

    commit 7cf5370748a9a99be68fac0f32c6793f5bfc4a15
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Aug 4 09:37:44 2016 -0700

    Some more cleanup.

    Change-Id: Ibb89280f51234f8a3dd29ca6d57d6eaaf80a03ea

    commit d70638398ed47c29401d6118e03d640245ecc9b2
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Aug 4 09:31:49 2016 -0700

    hidl::{Parcel,Binder & friends} => hardware::\1

    Change-Id: I8f37a260d4a9afe66e02f7266c54af093502869f

    commit 0fc680aea7753d8de91b4a3806b892dcb4fface8
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Aug 1 14:55:17 2016 -0700

    Squashed commit of the following:

    commit daa714921e20bc209bd7c05aea458569ce539993
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Aug 1 12:09:27 2016 -0700

    Switch to NativeAllocationRegistry for pairing java- with native objects.

    Change-Id: I011fda51e8c24d9e03d6a0ddbcdac9196dc8ab72

    commit 3a02606dba870f8313e1db919720647f686273b4
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Jul 28 11:44:26 2016 -0700

    Squashed commit of the following:

    commit e77b8ff331ed1b5554b4c7c1cd99ed99dbed5f45
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Jul 28 11:15:12 2016 -0700

    no more LOCAL_C_INCLUDES, read/writeEmbeddedBuffer APIs changed to take

    a size_t instead of a uint64_t for both handles and offsets.
    Use android-base/logging instead of utils/Log.h for logs/assertions.

    Change-Id: I1129c75da46e4335efbf94a3394f9bde7d0ad0c6

    commit fbc3a7be0a8cde86b334a677a0e127123beb0051
    Author: Andreas Huber <andih@google.com>
    Date:   Wed Jul 27 16:20:24 2016 -0700

    Squashed commit of the following:

    commit bda9396472eaa32c7643927017ccfdcba8a6aeb3
    Author: Andreas Huber <andih@google.com>
    Date:   Wed Jul 27 16:19:57 2016 -0700

    Code review in progress.

    Change-Id: I66cc3a4ec8caf6feac0d526130c0c3902fd8e2cc

    commit 2887d9589562c3e9834e5d6bb513ab5eff9cdb5f
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Jul 25 12:00:38 2016 -0700

    Squashed commit of the following:

    commit 8a565b0282577508db00a9f6146e75d962b854f4
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Jul 25 12:00:13 2016 -0700

    @hide everything

    Change-Id: I54411d1b0d9cd2ddb66acc1444c23b17b98e58a6

    commit e55a1dd871a2c653bca300335ba9dcc78b3c5ea5
    Author: Andreas Huber <andih@google.com>
    Date:   Tue Jul 19 11:19:07 2016 -0700

    Squashed commit of the following:

    commit c9ae58af694ae2c8451486fe83fab0f6e1398047
    Author: Andreas Huber <andih@google.com>
    Date:   Tue Jul 19 10:10:56 2016 -0700

    switch to a better way of finishing/sending stub transactions

    Change-Id: I7e237f57f4dbd69d05caeb62de0876c40feaa1cf

    commit 0af00b5c41bf808f31300a565467d463d8df0636
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Jul 18 15:32:09 2016 -0700

    exceptions >> assertions

    Change-Id: I098d6e170525539b81aae5e8890c8460ec78df18

    commit f5e1363c2e6b7713ae1460cd8dc22872deebedc4
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Jul 18 11:57:04 2016 -0700

    Squashed commit of the following:

    commit b8716cdf75ac1785f6decb6d236d689c087889cd
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Jul 18 11:56:35 2016 -0700

    Support for {read,write}StringVector.

    Change-Id: I816e4fc22afde960a481c0fb4c3d8531bffa6e56

    commit 34279699169c9ba5fdc03055a863432a2edd1901
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Jul 18 10:08:32 2016 -0700

    LEGO -> Hw

    Change-Id: Ib63ef44cfd13e5a2c3a358d055aad162163d8600

    commit eb2b09c4a03ba785363a8b230a89718ef319c35b
    Author: Andreas Huber <andih@google.com>
    Date:   Fri Jul 15 14:01:11 2016 -0700

    Squashed commit of the following:

    commit c657839a54cf6054e1983a59a59bfcc0854cc952
    Author: Andreas Huber <andih@google.com>
    Date:   Fri Jul 15 12:55:04 2016 -0700

    Support for {read,write}StringArray and stubs for {read,write}StringVector

    Also refactored existing code to take advantage of HidlSupport.h

    Change-Id: I55613d0c66706008d1f96576b9f7a500d52b2cd3

    commit 5d29cd53c4f2a9fe0cdc9052e4041c92d0873042
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Jul 14 16:38:09 2016 -0700

    Squashed commit of the following:

    commit 0a7e49f20d18a7eebda889594cc1bc5511ce2fdc
    Author: Andreas Huber <andih@google.com>
    Date:   Tue Jul 12 14:21:56 2016 -0700

    support all primitive array and vector read/write operations on LEGOParcel

    Change-Id: I200d1dccedc0fd752c297714e8e0df967fdb653b

    commit e0401c2fabc548681d7fd304c09b4ca8838bb0b5
    Author: Andreas Huber <andih@google.com>
    Date:   Tue Jul 12 09:53:42 2016 -0700

    Added LEGOParcel.{read,write}{Int8,Int16}

    Change-Id: I0d9cc149802837593db606692694dbce1b12e521

    commit 9187f7a349c0861549df2c534803e03066d22b4a
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Jul 11 16:10:50 2016 -0700

    Better handling of temporary storage in JLEGOParcel

    Change-Id: I31cdf7b6f1f4bd486661288346cf530c9e92beaa

    commit dc2e5f6f0bb737c739e1dab356efeac945c000c3
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Jul 11 14:18:09 2016 -0700

    proper (read/writeBuffer based) marshalling of strings and int32 arrays

    Change-Id: I2fadd2f831cc0acb50a41222525e71f29b57e79e

    commit 6463a03074fa514ea8b7cb61e475c246e6136b43
    Author: Andreas Huber <andih@google.com>
    Date:   Mon Jul 11 13:13:31 2016 -0700

    support for ILEGOBinder marshalling

    Change-Id: I8ceea45dfcb8460e59a05999ccdcad319650dede

    commit 8c26a006ded339043677d3607884da0abb3e742d
    Author: Andreas Huber <andih@google.com>
    Date:   Fri Jul 8 16:42:38 2016 -0700

    A quick and dirty fix for the

    "storage must stay around until transact() returns" issue.

    Change-Id: I75ac09391cdc23dcc6e154b32eff945f29d00cc0

    commit df7d2c1e4e33d6554ab16e33c90bdf30ce2a136d
    Author: Andreas Huber <andih@google.com>
    Date:   Fri Jul 8 08:48:31 2016 -0700

    Squashed commit of the following:

    commit c42764acbaefab5ffc829dd1a3b60aa252643ae6
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Jul 7 16:51:10 2016 -0700

    An attempt at LEGOParcel.{read,write}Int32Vector

    Change-Id: I9dc54828ad10c8cec8ca292db011925cd60893e2

    commit faa502ac98d28f3eff10a4c16443059ca316c76b
    Author: Andreas Huber <andih@google.com>
    Date:   Thu Jul 7 14:58:24 2016 -0700

    Support for LEGOParcel.{read,write}{String,Int32Array}

    Change-Id: I38317f22ff977bed2f8203c24333bbb7de6f1cc5

    commit ba048b13eb014472130094fafd0fe982363d7add
    Author: Andreas Huber <andih@google.com>
    Date:   Wed Jul 6 16:41:14 2016 -0700

    LEGO{Binder,Parcel,RemoteBinder} java classes

Change-Id: If1098ab921a11bae8eca2a70a3c3070e4daa0ea2
2016-08-15 09:28:30 -07:00
Dmitriy Filchenko
18e7dbe0b6 Merge \\\\"Handle long process names correctly.\\\\" am: e2994438d2 am: d5a72fae4a am: ea9616e48e
am: a2170b076b

Change-Id: I64722a3adb0f8d66c53d8b8445be5502824ab83e
2016-07-19 00:45:29 +00:00
Dmitriy Filchenko
d5a72fae4a Merge \"Handle long process names correctly.\"
am: e2994438d2

Change-Id: I4edb617030ed2cedb394729f9ce94af080d3e358
2016-07-19 00:19:15 +00:00
Dmitriy Filchenko
f5b6e5590e Handle long process names correctly.
pthread_setname_np() expects 16 or fewer characters for the name argument. When the process name is longer, we should trim it.

Change-Id: I40be3a4212bdaab900c8eb30fa27aeeb7ed1b0d1
2016-07-18 16:03:05 -07:00
Dimitry Ivanov
e543776d59 Merge "Move Vulkan layer path setup to ApplicationLoaders" into nyc-dev am: 7f0708390b am: 76766d29b3
am: 61820a6a63

* commit '61820a6a63e4a10fdab7f9bf7a9e33b0744be253':
  Move Vulkan layer path setup to ApplicationLoaders

Change-Id: Iee0980f34860e51e64aa6d0f9d12abf730d4343f
2016-05-12 21:26:16 +00:00
Dimitry Ivanov
0997908c95 Move Vulkan layer path setup to ApplicationLoaders
ThreadedRenderer was never the right place for this anyway, and
ApplicationLoaders can provide both the full library search path (not
just the extracted native library dir) as well as the application loader
namespace.

Bug: 28213888
Change-Id: Ibcc0a9178da4dba6f3f3105932fdac1a1d0261af
2016-05-11 22:59:10 -07:00
Calin Juravle
7116e4b999 Read -Xjittransitionweight from system properties.
Bug: 27865109

(cherry picked from commit 8d74de5546)

Change-Id: Id4f0668ea212f0fd82d32437ea251118bfce1ae2
2016-04-28 16:34:40 +01:00
The Android Automerger
750ccd5333 Manually merge branch 'nyc-mr1-dev-plus-aosp' to shortcircuit automerger b/28407115 2016-04-27 22:14:50 +00:00
Dimitry Ivanov
cda22ed541 resolve merge conflicts from goog/stage-aosp-master to goog/nyc-dev-plus-aosp
Change-Id: I09c5c2881947b28547a40febf32f02722b03ef81
2016-04-27 13:16:17 -07:00
Dimitry Ivanov
b1ef62bb38 Extract pathclassloader initialization to a separate class
To be able to reuse this code when creating a classloader for
the system_server.

Bug: http://b/27245894
Bug: http://b/27702070
Change-Id: I928175a39a1beb0446d863a5b8f5edf94686e768
(cherry picked from commit 5d7d777fa6)
2016-04-27 11:38:41 -07:00
The Android Automerger
8bdf39e19c Manually merge branch 'nyc-mr1-dev-plus-aosp' to fix automerger blockage b/28407115 2016-04-27 17:58:24 +00:00
Calin Juravle
8d74de5546 Read -Xjittransitionweight from system properties.
Bug: 27865109
Change-Id: I4a752a68693ac7d764d006f1282398c2e95ef1d0
2016-04-27 15:08:11 +01:00
Dimitry Ivanov
5d7d777fa6 Extract pathclassloader initialization to a separate class
To be able to reuse this code when creating a classloader for
the system_server.

Bug: http://b/27245894
Bug: http://b/27702070
Change-Id: I928175a39a1beb0446d863a5b8f5edf94686e768
2016-04-26 13:16:54 -07:00
Svet Ganov
db2174dcb8 Merge "Ensure local settings caches are not stale" into nyc-dev am: f71d7fe am: d4bc15b
am: 0010741

* commit '0010741818127e6c9449fc49490f0bad14a76240':
  Ensure local settings caches are not stale

Change-Id: I26c4f1f72eda3b2ebfb3ca6e086a0381d357471c
2016-04-26 18:54:37 +00:00
Svet Ganov
53a441ca8e Ensure local settings caches are not stale
We used the system proterties as a shared memory mechanism
to propagate information to local settings caches when the
content has changed and the cache should be cleared. The
system properties are unfortunately updated asynchronously
leading to cases where clients may read stale data.

This change adds a simple int array data structure backed
by shared memory which guarantees individual values are
atomically read and updated without memory tear. Multi-
index opearations are not synchronized between each other.

The settings provider is using the new data structure to
propagate the settings generation which drives when caches
are purged.

We have a single memory array keeping the generation for
different settings tables per user. Since memory array is
not a compact data structure and the user space exceeds
the memory array size we use an in-memory map from keys
to indices in the memory array where the generation id of
a key is stored. A key is derived by the setting type in
the 4 most significant bits and the user id in the 28 least
significant bits.

The mapping from a key to an index is cleared if the user is
removed and the corresponding index in the memory arry is
reset to make it available for other users. The size of the
memory array is derived from the max user count that can be
created at the same time.

bug:18826179

Change-Id: I64009cc5105309ef9aa83aba90b82afc8ad8c659
2016-04-26 11:31:55 -07:00
Calin Juravle
e86e8a659e Handle dalvik.vm.usejitprofiles property
Bug: 26080105

Partial cherry picked from commit
db4a79a5d7

Change-Id: Ifef4ec0d153b8d30941a339d7f9052889631f84c
2016-04-22 16:40:50 +01:00
Calin Juravle
215851b441 resolve merge conflicts of 5ec9766 to nyc-dev-plus-aosp
am: 823b117

* commit '823b1173f167c195cca8b7b09307331a8fb2ff07':
  Handle dalvik.vm.jitprithreadweight property

Change-Id: Ia10ccbcc747cdb46412029f0957950fe20267674
2016-04-13 13:29:38 +00:00
Calin Juravle
823b1173f1 resolve merge conflicts of 5ec9766 to nyc-dev-plus-aosp
Change-Id: I503978b0ebabee4401ae955d92d0c073b8ff9b14
2016-04-13 14:19:13 +01:00
Calin Juravle
aa9ecac10b Handle dalvik.vm.jitprithreadweight property
Bug: 28065407
Bug: 27865109
Change-Id: I8cebc22a9e072fd1d6d765427a0cd59ba2201bf6

(cherry picked from commit 0de80b9f55)
2016-04-13 12:48:12 +01:00
Calin Juravle
0de80b9f55 Handle dalvik.vm.jitprithreadweight property
Bug: 28065407
Bug: 27865109
Change-Id: I8cebc22a9e072fd1d6d765427a0cd59ba2201bf6
2016-04-12 18:39:50 +01:00
Matt Sarett
002c43ef7b Delete references to SkImageDecoder
SkImageDecoder is no longer used by Android and will be deleted
by Skia.

Change-Id: Ied813559a1cbdbbbad953dad2ff1c3f181afa5d5
2016-03-24 15:27:31 +00:00
Rubin Xu
c7605b838b Merge "Unifying method names and comments to security logging, not device logging" into nyc-dev 2016-03-17 11:23:55 +00:00
Ashutosh Joshi
ac329d3e34 Merge "Exposing Context Hub service." into nyc-dev 2016-03-16 17:21:33 +00:00
Michal Karpinski
6235a94ffa Unifying method names and comments to security logging, not device logging
Also move SecurityLog to android.app.admin package.

Bug: 27531824
Bug: 27532560
Bug: 27532564
Bug: 27532425
Change-Id: I2677afdb5685bc5d21e52c41b381b57a41e364b6
2016-03-16 14:32:09 +00:00
Peng Xu
9ff7d22354 Exposing Context Hub service.
Adding the Context hub service. This is the service that exposes
the context hub HAL to the system. The API exposed is a System API.

Change-Id: I854141714ecd21f6386e6b15b7bc9a997483ccf6
2016-03-15 15:18:56 -07:00
Brian Carlstrom
66f4831aa1 frameworks/base: Make Thread::run threadName argument required
Bug: 27557176
Change-Id: Icff15e51fb7c99387ac8317181d12749f343439a
2016-03-12 16:07:48 -08:00
Dimitry Ivanov
4449ef5b6a Display Toast with linker warnings after Activity.onStart()
Displays list of problems linker encountered with app's
native code including
1. Unauthorized access to private platform libraries.
2. Text relocations
3. Invalid DT_NEEDED entires

This change is intended only for preview/beta releases and to
be reverted before the first release build.

Bug: http://b/27365747
Change-Id: I08735472059248c901ef22042682d574fb2b0c92
2016-02-26 18:16:14 -08:00
Dimitry Ivanov
ea90281082 Create linker-namespace for the classloader
With this change ApplicationLoaders.getClassLoader()
creates linker-namespace for the classloader at the
construction time. Before this change the namespace
was created on first load of a jni library.

With this change we ensure that every classloader
has initialized namespace associated with it.

As an additional advantage we now can avoid storing
namespace-specific fields in the classloaders.

Bug: http://b/27189432
Bug: http://b/22548808
Change-Id: I3b160bd478a55171008682c40b2ebc13bdbd9882
(cherry picked from commit a55c7f15a3)
2016-02-26 10:16:11 -08:00
Dimitry Ivanov
a55c7f15a3 Create linker-namespace for the classloader
With this change ApplicationLoaders.getClassLoader()
creates linker-namespace for the classloader at the
construction time. Before this change the namespace
was created on first load of a jni library.

With this change we ensure that every classloader
has initialized namespace associated with it.

As an additional advantage we now can avoid storing
namespace-specific fields in the classloaders.

Bug: http://b/27189432
Bug: http://b/22548808
Change-Id: I3b160bd478a55171008682c40b2ebc13bdbd9882
2016-02-25 14:57:55 -08:00
Polina Bondarenko
f8754ac212 Added hardwareproperties SystemService
Add HardwarePropertiesManagerService which call native methods to
get CPU, GPU, battery temperatures, CPU usage info, fan speeds.
Restrict hardware properties retrieval only for device and profile
owners.

Bug: 26945055
Change-Id: I4d6b30b78e575532d5e9cfa59ef6cd81355439d4
2016-02-19 18:24:29 +01:00
Doris Liu
766431aa57 Revert "Revert "VectorDrawable native rendering - Step 4 of MANY""
This reverts commit 5a11e8d0ba.

Change-Id: I7a48b59c4f930dad65ddc8590c25a12636244ea2
2016-02-04 16:29:51 -08:00
Doris Liu
5a11e8d0ba Revert "VectorDrawable native rendering - Step 4 of MANY"
b/26949340 and b/26975469, b/26975079 as well 

This reverts commit f276acd984.

Change-Id: I4b55177daf0d289bc03604c71fd4bf579f65073a
2016-02-04 20:59:00 +00:00
Doris Liu
f276acd984 VectorDrawable native rendering - Step 4 of MANY
This CL runs VectorDrawable animation on RenderThread. The changes in this CL
include:
- Convert all the animators in AnimatorSet for AVD into a set of RenderNodeAnimators.
- Hook up the new animators with RenderThread
- Add drawOp in RecordingCanvas for drawing VD so that during the animation
  on RenderThread, all the property changes on VD can be reflected on the screen.

TODO:
- Implement reverse and reset for AVD.

Change-Id: I2df1d754f2db0ad098d9c15dde4bb2bdfafc2315
2016-02-02 15:04:01 -08:00
Polina Bondarenko
8b8b242985 Merge "HardwarePropertiesManager: Add API for hardware properties retrieval" 2016-01-27 13:18:09 +00:00
Polina Bondarenko
965ecbbb3e HardwarePropertiesManager: Add API for hardware properties retrieval
Add serive "hardwareproperties" and methods getDeviceTemperatures,
getCpuUsages and getFanSpeeds to retrieve hardware properties:
device temperatures (CPU, GPU and battery), CPU usages and fan speeds.
This is a public API.

Bug: 22407109
Change-Id: If7efcbba7b160256d41704b60d93a7218dcc79d7
2016-01-22 17:33:37 +01:00
Rubin Xu
900fe2410d Merge "Add JNI bridge to the new logd security buffer." 2016-01-19 23:31:32 +00:00
Calin Juravle
7bdf3cff92 Merge "Enable profile guided compilation on the framework side" 2016-01-19 19:51:51 +00:00
Calin Juravle
db4a79a5d7 Enable profile guided compilation on the framework side
The background compilation service will trigger a profile based
compilation instead of a full one. If no profile information is
available the compilation is skipped (see installd).

Note that the end decision whether or not to compile a package is taken
by dext2oat. We can't make the decision here because this service runs
under system server which cannot read app's profile data.

Bug: 26080105
Change-Id: I457ea8dea0557839c1f7cdc241770055732b0a4a
2016-01-19 11:44:27 -08:00
Rubin Xu
75431fbe36 Add JNI bridge to the new logd security buffer.
Bug: 26127031
Bug: 22860162
Change-Id: I14e08850ece7d9c0229b7213ee2e25cd089defc1
2016-01-15 17:18:49 +00:00
Richard Uhler
775873a66a Use NativeAllocationRegistry for Paint, Canvas, and Bitmap
Bug: 23130675
Change-Id: I3fbd84ba417ac63df75f87ee2c56e3e7f3c9eb46
2016-01-13 16:14:33 -08:00
Doris Liu
4bbc293126 VectorDrawable native rendering - Step 3 of MANY
- Refactored VPathRenderer & VectorDrawableState
- Moved all the VD rendering into native
- Set up hooks for VD's property changes in JNI for animated VD

TODO: JNI calls can be further reduced when we convert the animation
in AVD to use RenderNodeAnimator, in which case animation will be
driven from native and therefore most of the JNI hooks for changing
VD's properties during animation will no longer be needed.

Change-Id: I52021f4d7bea057b83ace54085d870dd45acae0f
2015-12-28 16:08:38 -08:00
Przemyslaw Szczepaniak
6a8ad6d161 Move StrictJarFile from libcore to framework
Bug: 25337946

(cherry picked from commit 8a7c1606d8)

Change-Id: I1bfce4129887d7cbfc02d92641b44920d7cdbbee
2015-12-22 13:10:55 +00:00
Pablo Ceballos
38c1a7e732 Add GLES32 class and JNI
Change-Id: I05ff0c14a35f51c2015edbd762dc9e6fe43347b9
2015-12-18 13:12:58 -08:00
Przemyslaw Szczepaniak
8a7c1606d8 Move StrictJarFile from libcore to framework
Bug: 25337946
Change-Id: Ib4fac6fa9f534b8654e5ca158bbaedb2393772ba
(cherrypicked from 43ea2cc2a81926a6b2ca13d41f4eab089640129e)
2015-11-27 15:33:15 +00:00
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
cdf1dfff8f Update framework code after new ART options.
Change-Id: I852a5975701653fe7e0cdd02e3c0b30a2b0b0b59
2015-11-19 14:31:23 +00: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