| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
(cherry picked from commit a6ac9ce98bd38099a4e89010111d14e4d5fc190e)
Change-Id: Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23
|
|\
| |
| |
| |
| | |
* commit '24dfaac494de3a31e1cd106becc2b2ad38e13bbe':
maybe fix mac build
|
| |\
| | |
| | |
| | |
| | | |
* commit 'c6dead707de7c03bd9759b61143dd33cb1435cbc':
maybe fix mac build
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
system/core/libnativebridge/tests/CodeCacheExists_test.cpp:30:15: error: use of undeclared identifier 'ENOENT'
ASSERT_EQ(ENOENT, errno);
Change-Id: I188074b878a7ec3955a9f4b5dc7d1bfc56e2ccbc
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Ie5db9f745e01bd24faa317af0cd8874e1099ebdf
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '649891267f3b0db1c6c37152fc570a4824d6aa39':
Add code cache tests to libnativebridge.
|
| | |
| | |
| | |
| | |
| | | |
Bug: 18027433
Change-Id: Ie5369c0d5bd147af412174dc0753d8a314196643
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Ie5c1c814ccd819a592d834879173edb8af15a52d
|
| |\ \
| | |/
| | |
| | | |
Change-Id: I566aeb2e2de15813ee199d4635098029457fdf3d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'f0699c11debade875e87efad27d37ddf6fa83ed6':
Fix mac build for nativebridge tests.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 17671501
(cherry picked from commit 2e5e8cc92081da6b0af658d12a60334acea441a1)
Change-Id: Id0d729a25a5cea2fed5005cdea750e9e94f46d21
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit 'aa1f512b93ada06d76c5b2d2692e1a131b38bfd0':
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
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
Setup becomes Load, have explicit Initialize and Unload.
Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
This reverts commit f00de413ed451f1a90d614ea5dce8b3d685e877c.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 18027433
(cherry picked from commit 59a719c466d33479265a3e9c204c8dc9a8f435f1)
Change-Id: I32bcf3ae0d4569d4d8b88168e6c36ddff70b8f7d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
Bug: 17671501
Change-Id: Id0d729a25a5cea2fed5005cdea750e9e94f46d21
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
| |
This reverts commit f00de413ed451f1a90d614ea5dce8b3d685e877c.
Bug: 17645833
Change-Id: Ie5480de9cf4da2c9167db2e6137679019a29f867
|
|
|
|
| |
Bug: 17440362
Change-Id: Ifceeecd39d4ffd948f62212ebb5280ebec9bf6ff
|
|
|
|
|
|
|
|
| |
Setup becomes Load, have explicit Initialize and Unload.
(cherry picked from commit 035bd7541ed909344348b6a4e17a7ef01a434653)
Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
|
|
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
|