History log of /system/core/libnativebridge/tests/NativeBridgeTest.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/libnativebridge/tests/NativeBridgeTest.h
cef898fa8f4dd52911e2dce1221097cbd2fa1727 01-Jul-2015 jgu21 <jinghui.gu@intel.com> Allow native bridge to work without a code cache

In isolatedProcess, the app_code_cache_dir is not needed
for native bridge. This commit allows native bridge to work
without a code cache in isolatedProcess.

Change-Id: I8580268d5ec6ca8d44e4500c3fafe10408e1e0d3
Signed-off-by: jgu21 <jinghui.gu@intel.com>
/system/core/libnativebridge/tests/NativeBridgeTest.h
59a719c466d33479265a3e9c204c8dc9a8f435f1 28-Oct-2014 Calin Juravle <calin@google.com> Add code cache tests to libnativebridge.

Bug: 18027433
Change-Id: Ie5369c0d5bd147af412174dc0753d8a314196643
/system/core/libnativebridge/tests/NativeBridgeTest.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/libnativebridge/tests/NativeBridgeTest.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/libnativebridge/tests/NativeBridgeTest.h