0e72f130abb5ac52b8cdafe32ab85c43ac3a3f71 |
|
08-May-2017 |
Jesse Hall <jessehall@google.com> |
Require targetSdkVersion>=O for updated graphics driver packages In O, graphics drivers are loaded into a new restricted linker namespace. Drivers built for previous versions of the OS may not work under those restrictions, so require an updated driver package to declare compatibility by setting targetSdkVersion >= O. Bug: 34228255 Test: manually construct packages with and without targetSdkVersion >= O, confirm driver is used/not-used as expected. Change-Id: I4518360433a6de5c6e1e792a6eedddf8c6bf4394
/frameworks/base/core/jni/android_app_ApplicationLoaders.cpp
|
15e74c9614888d5b6acabc620e42d4e9e09cd5b1 |
|
28-Jun-2016 |
Chia-I Wu <olv@google.com> |
Use the first Vulkan layer path The loader will scan the current layer path once when the first valid Vulkan command call is made. To avoid confusions and data races, never set the layer path more than once. This assumes the first layer path to be the app's library search path, which should be the case. Bug: 29780602 Change-Id: Ibb9e4de95902ee89413d213d237ea4f62ea35b38
/frameworks/base/core/jni/android_app_ApplicationLoaders.cpp
|
0997908c95151ce24609c10731990e648156b95d |
|
19-Apr-2016 |
Dimitry Ivanov <dimitry@google.com> |
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
/frameworks/base/core/jni/android_app_ApplicationLoaders.cpp
|
b1ef62bb3834af6bdf8017e56b2cc614a566229e |
|
20-Apr-2016 |
Dimitry Ivanov <dimitry@google.com> |
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 5d7d777fa6f47ade2097e77d3d9ddb52c26d77d6)
/frameworks/base/core/jni/android_app_ApplicationLoaders.cpp
|
a55c7f15a3c386ec643f21eeb2f4e9fd7b03ba70 |
|
23-Feb-2016 |
Dimitry Ivanov <dimitry@google.com> |
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
/frameworks/base/core/jni/android_app_ApplicationLoaders.cpp
|