History log of /system/core/libnativebridge/native_bridge.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1402fbb13523fed9d96217e801df5678e3c01a6b 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

(cherry picked from commit f9d9e2a2d96559c3165405d572b08e260156074a)

Change-Id: I9ce578949dbe522d5033465df7ca49fdd3aa3cbf
/system/core/libnativebridge/native_bridge.cc
66f0d93c265657e17c7a1ddd74beb61070a8df69 21-Oct-2014 Narayan Kamath <narayan@google.com> Don't allow SUPPORTED_ABIs to be set by the native bridge.

SUPPORTED_ABIs is a prioritized list of all ABIs a device
support, and must not vary depending on whether or not an app
is emulated.

bug: 18061712
Change-Id: I3ec3897d23e37c645b4d9d9e6e32aae9afff952c
/system/core/libnativebridge/native_bridge.cc
00851a53bebe16dd2a0460245505461f40a7a307 01-Oct-2014 Calin Juravle <calin@google.com> Use initUnchangeableSystemProperty for initializing os.arch.

Bug: 17713104
Change-Id: Ic847579981efcd2fd0526c994d786ee8b7a8a316
/system/core/libnativebridge/native_bridge.cc
b3facbfdecf46eb7c063b99529ab8c18a08a6b42 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.

(cherry picked from commit 962eb40abb68eb60077da158755b6a09c306aa41)
(cherry picked from commit ab0da5a9a6860046619629b8e6b83692d35dff86)
(cherry picked from commit 2f71cb24fa16c0388591918f1354d1f8608cc6e5)
(cherry picked from commit 04054e28e24866d76034236843490829b80df40c)
(cherry picked from commit 4390a632366ecf89af5f6c0fed39baf9aab2d0f1)

Bug: 17671501
Change-Id: Id4f4127d82737b5e56a77175e1068ff5cea60f9d
/system/core/libnativebridge/native_bridge.cc
25bacb3ab71ee7e8289c76d0aa0c6473e47340e3 25-Sep-2014 Andreas Gampe <agampe@google.com> Revert "DO NOT MERGE Libnativebridge: Temporarily change back to late dlopen"

This reverts commit f00de413ed451f1a90d614ea5dce8b3d685e877c.

Bug: 17645833
Change-Id: Ie5480de9cf4da2c9167db2e6137679019a29f867
/system/core/libnativebridge/native_bridge.cc
f00de413ed451f1a90d614ea5dce8b3d685e877c 10-Sep-2014 Andreas Gampe <agampe@google.com> DO NOT MERGE Libnativebridge: Temporarily change back to late dlopen

Bug: 17440362
Change-Id: Ifceeecd39d4ffd948f62212ebb5280ebec9bf6ff
/system/core/libnativebridge/native_bridge.cc
41df668c7be461f461b3d70951dee7634ded868f 03-Sep-2014 Andreas Gampe <agampe@google.com> NativeBridge: Refactor for new initialization flow

Setup becomes Load, have explicit Initialize and Unload.

(cherry picked from commit 035bd7541ed909344348b6a4e17a7ef01a434653)

Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
/system/core/libnativebridge/native_bridge.cc
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/native_bridge.cc
4914fcd91bcd75400c0e023974158912f077464c 11-Aug-2014 Calin Juravle <calin@google.com> Move native bridge library in system/core

Bug: 16884833

(cherry picked from commit 961ae12dea419ff0965f00e50dd16ef07181fba5)

Change-Id: I67f037ea81d2a4ede4294afd8b84b7640e534a13
/system/core/libnativebridge/native_bridge.cc