History log of /system/core/libnativebridge/tests/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/Android.mk
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/libnativebridge/tests/Android.mk
7a1abfe3b53c873a1e4ce9183d9b974f73ac1737 29-Oct-2014 Calin Juravle <calin@google.com> am 64989126: Merge "Add code cache tests to libnativebridge."

* commit '649891267f3b0db1c6c37152fc570a4824d6aa39':
Add code cache tests to libnativebridge.
4de4e6defce30e7693cea04e9553ee3bb1e72f88 28-Oct-2014 Calin Juravle <calin@google.com> resolved conflicts for merge of e3c22c41 to stage-aosp-master

Change-Id: I566aeb2e2de15813ee199d4635098029457fdf3d
59a719c466d33479265a3e9c204c8dc9a8f435f1 28-Oct-2014 Calin Juravle <calin@google.com> Add code cache tests to libnativebridge.

Bug: 18027433
Change-Id: Ie5369c0d5bd147af412174dc0753d8a314196643
/system/core/libnativebridge/tests/Android.mk
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/Android.mk
e3448987c4074726291f131431a3e9a6a2fe0623 26-Sep-2014 Andreas Gampe <agampe@google.com> am aa1f512b: am 3496e327: Merge "LibNativeBridge: Add testing"

* commit 'aa1f512b93ada06d76c5b2d2692e1a131b38bfd0':
LibNativeBridge: Add testing
04054e28e24866d76034236843490829b80df40c 26-Sep-2014 Andreas Gampe <agampe@google.com> LibNativeBridge: Add testing

Change PreInitializeNativeBridge to have a different path for
the host to allow testing. Add a test (needs root privileges).

Add a test for NeedsNativeBridge.

Change error reporting to use strerror.

Change-Id: Id2d488f0484ff8b0438863b48ef43770e784505f
/system/core/libnativebridge/tests/Android.mk
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/Android.mk
cd2ef4c1af69727231b84ebc82864c170ff0e8ad 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
Change-Id: Ie22de356d2307fe2758f9094a85d44e61a4098a1
/system/core/libnativebridge/tests/Android.mk