af0264bbe9f5e1228eb8fb486fa3d0d8e6e8605e |
|
02-May-2017 |
Dimitry Ivanov <dimitry@google.com> |
Load vendor public libraries to sphal namespace Load vendor public libraries to sphal namespace if it exists - preserve old behavior of loading these libraries to default namespace if sphal namespace is not present on the device. Bug: http://b/37410104 Test: cts-tradefed run singleCommand cts --skip-preconditions -m CtsJniTestCases on marlin (with enabled sphal configuration) and on angler where ld.config.txt is not present. Change-Id: Iaa3fa437ba2900acc2e5b9c78039fe1553e4c9dd
/system/core/include/nativebridge/native_bridge.h
|
caf7750f3f3d658512f5221ad72d1d3d19e0a55c |
|
27-Feb-2017 |
Zhenhua WANG <zhenhua.wang@intel.com> |
NativeBridge: add "linked namespace" semantic corresponding to linker For dynamic linking perspective, semantics of NativeBridge needs to align with dynamic linker. This patch adds "linked namespace" semantic which shares some libraries from one namespace to another. Bug: 37123321 Test: Fugu: netflix, play movies, youtube Test: make test-art-host-run-test-115-native-bridge cherry picked from commit e8fb11dfa1b376124d0a1a349c8800799f25606a Change-Id: I71ce1dde19d61363d5eb9731fd4795a8c315b3a0
/system/core/include/nativebridge/native_bridge.h
|
d836ab005a3fd70e477a01d4200483131a285c9a |
|
03-Nov-2016 |
Dimitry Ivanov <dimitry@google.com> |
Allow different namespace types for different classloaders An app should be able to make cross-arch calls to different apps via other app's Context.getClassLoader() Bug: 32542970 Test: Boot fugu. Check that there are no linker-namespace related errors in the log. Change-Id: I1593f4688bcde0121a5e24a707441a4935fa7dc4
/system/core/include/nativebridge/native_bridge.h
|
f2804e59854c2c7e7d3d5b58f987e5ec5cdc5b66 |
|
30-May-2016 |
Zhenhua WANG <zhenhua.wang@intel.com> |
Upgrade native bridge to version 3 to support namespace Native bridge implements namespace related interfaces in version 3. The namespace semantic here is same as Android dynamic linker's. Native loader wraps library loading functions of dynamic linker and native bridge. Thus, Android runtime is able to load native library of different ISA on one device by calling native loader directly. Bug: http://b/28242460 Test: mm && make test-art-host -j48 Change-Id: Idde2b9d99fb6ebe547407c716b5478a231f745a7 Signed-off-by: Zhenhua WANG <zhenhua.wang@intel.com>
/system/core/include/nativebridge/native_bridge.h
|
a6ac9ce98bd38099a4e89010111d14e4d5fc190e |
|
01-May-2015 |
Andreas Gampe <agampe@google.com> |
LibNativeBridge: Version 2 Add a callback function to retrieve "signal handler" from the bridge, if the bridge wants it to be managed by the runtime. The signal handler will be invoked after the runtime's own one, and before any other chained handler. Add a callback function to check compatibility of the bridge with the library. Add a function to expose the native bridge version. Add a test for this function. Bug: 20217701 Change-Id: Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23
/system/core/include/nativebridge/native_bridge.h
|
f9d9e2a2d96559c3165405d572b08e260156074a |
|
17-Oct-2014 |
Calin Juravle <calin@google.com> |
Handle code_cache dir creation in libnativebridge Also: - add kPreInitiliazed state to native bridge with check transition: kOpened->kPreInitialized->kInitialized - made sure we free the memory for the code_cache_path - tidy up some error messages - tidy up tests - add a dummy native bridge to test with Bug: 18027433 Bug: 18097480 Change-Id: I39f74c93580f2e224080dd3df2ffaa9cf9f8cd9c
/system/core/include/nativebridge/native_bridge.h
|
ab0da5a9a6860046619629b8e6b83692d35dff86 |
|
10-Sep-2014 |
jgu21 <jinghui.gu@intel.com> |
LibNativeBridge: Add early init & env setup Add a method to set up /proc/cpuinfo with enough privileges. Set up the environment for an app in InitializeNativeBridge(). Turn on -Wall for libnativebridge. Change-Id: I0b93da93251c6b4638de786bf98cf99df07c3fc2
/system/core/include/nativebridge/native_bridge.h
|
035bd7541ed909344348b6a4e17a7ef01a434653 |
|
03-Sep-2014 |
Andreas Gampe <agampe@google.com> |
NativeBridge: Refactor for new initialization flow Setup becomes Load, have explicit Initialize and Unload. Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
/system/core/include/nativebridge/native_bridge.h
|
049249ce7addafaa0bd09480cd8858cd2c54138f |
|
20-Aug-2014 |
Andreas Gampe <agampe@google.com> |
NativeBridge: Tighten security on libnativebridge Do not allow arbitrary paths for the native bridge - only allow simple names. Do not allow re-setup of the native bridge. Bug: 16404669 (cherry picked from commit cd2ef4c1af69727231b84ebc82864c170ff0e8ad) Change-Id: Ie22de356d2307fe2758f9094a85d44e61a4098a1
/system/core/include/nativebridge/native_bridge.h
|
961ae12dea419ff0965f00e50dd16ef07181fba5 |
|
11-Aug-2014 |
Calin Juravle <calin@google.com> |
Move native bridge library in system/core Bug: 16884833 Change-Id: I73aab8e212860ba5aee9444d801806d3da326a41
/system/core/include/nativebridge/native_bridge.h
|