| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Add ART peoples as owners of libnativebridge
Test: N/A
Change-Id: I45b81fb6bb4771828581972d11f0f5eda590c99a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libnativeloader_lazy and libnativebridge_lazy are shim libraries for
libnativeloader and libnativebridge, respectively.
The shim libraries provides the same APIs as their counterparts, but
when the APIs are called, the APIs from the real libraries are
loaded/linked/and executed using dlopen/dlsym.
Bug: 123403798
Bug: 124250621
Test: m
Test: device boots to the UI
Test: mma under system/core/libnativebridge with aosp_cf_x86
adb sync; execute all tests under
/data/nativetest/libnativebridge-lazy-tests
All passes except NativeBridgeTest.V2_Signal which is also failing
in /data/nativetest/libnativebridge-tests.
Change-Id: Ic6484784eaa7872dcdd2decbb30943fb34c1abd7
|
|
|
|
|
|
|
|
|
|
|
| |
This callback replaces getVendorNamespace(). Fix nativeloader
to use NativeBridgeGetExportedNamespace instead of
NativeBridgeGetVendorNamespace.
Bug: http://b/121248172
Bug: http://b/121372395
Test: make
Change-Id: I8fa2081e37815f6f65490c9536bed0687b7f1e77
|
|
|
|
|
|
|
|
| |
Do not use version_script for darwin
Bug: http://b/122886514
Test: make
Change-Id: I8a860e67b0768cce387de1257147e8989f711f06
|
|
|
|
|
|
|
|
| |
This way the list of exported symbols will be limited by symbols
that need to be exported.
Test: make
Change-Id: Iffc8e0b3b589e78f5d213f75971a54b473760c94
|
|\ |
|
| |
| |
| |
| |
| | |
Test: n/a
Change-Id: I74b181f8aca536580b42e7c34f0473aef712dd0e
|
| |
| |
| |
| |
| |
| |
| | |
Fixes mac build
Test: rely on post-submit
Change-Id: I3a6e7fe7d81cd0dfa46e4ded5a543c4cb8c6ca64
|
|/
|
|
|
|
|
| |
This was a copy/paste mistake.
Test: build aosp-build-tools
Change-Id: I9f433644a54d06cb796c7432df6577eec885f95f
|
|
|
|
|
|
|
|
|
| |
In order to move the library into the runtime APEX.
Test: m and boot
Bug: 119840313
Bug: 122710865
Change-Id: I4aac5954d2fb5f9e3ba92e486d69f1e76614df92
|
|
|
|
|
|
|
|
| |
Test: cd system/core; mma
Test: check for mkbootfs in build artifacts
Test: out/host/linux-x86/nativetest64/libcrypto_utils_test/libcrypto_utils_test
Test: out/host/linux-x86/nativetest64/libnativebridge-tests/*_test
Change-Id: I71141bd85f052d5d86763a8b79b219cc4c46aafb
|
|
|
|
|
|
|
|
| |
This code only uses android-base/macros.h.
Bug: 118374951
Test: mmma system/core/libnativebridge && for f in out/host/linux-x86/nativetest{,64}/*/*; do $f; done
Change-Id: Ifa5a5a3c9370bd128ddd301ea352746699715929
|
|
|
|
|
|
|
|
| |
error_msg is set when dlclose/NativeBridgeUnloadLibrary fails.
Bug: https://issuetracker.google.com/79126103
Test: make
Change-Id: I043580209538ff47320e8d9a304a21c00c4b149f
|
|
|
|
|
|
| |
Bug: N/A
Test: builds
Change-Id: I89ad00e1c4c7e0767bc80a7ac7935a4d55e090ac
|
|
|
|
|
|
| |
Bug: N/A
Test: N/A
Change-Id: Ie785058c0f5eb9b4086c98ccba6e63e3ed411b65
|
|
|
|
|
|
|
|
| |
* Fix unused static variable warning.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I9c3a2031ac49368a1833a9d46af8174c3c9cd32e
|
|
|
|
|
|
|
|
|
|
| |
libdl is part of system_shared_libs now. -ldl -lpthread -lm are now defaults
for host_ldlibs on Linux and Darwin. -lrt is a default for host_ldlibs on
Linux.
Test: m host
Change-Id: I0b3c147b00a8ab6ff289b85db55b88836c905f5c
Exempt-From-Owner-Approval: build system cleanup
|
|
|
|
|
| |
Test: make
Change-Id: I8200d7b3232edba43a583c5ff1e1b0f78c768f69
|
|
|
|
|
|
|
|
| |
clang is the default compiler since Android nougat
Test: mma & verified it´s still build with clang
Change-Id: I34adaeef2f6558a09f26027271222bad94780507
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
|
|
|
|
|
| |
Test: links
Change-Id: I2e19d1ba7845b4b3d3fee934fcb1c90151fd7192
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
(cherry picked from commit af0264bbe9f5e1228eb8fb486fa3d0d8e6e8605e)
|
|
|
|
|
|
| |
Bug: 37512442
Test: mmm system/core/libnativebridge/tests
Change-Id: Ib1ca9ef830f58041095226c2ba18d1302c7833b4
|
|
|
|
|
|
|
|
|
| |
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.
Test: make test-art-host-run-test-115-native-bridge
Change-Id: I71ce1dde19d61363d5eb9731fd4795a8c315b3a0
|
|
|
|
|
| |
Test: clang-format.py ...
Change-Id: Ie08ae6a056f0381590e202a597042fb2490af530
|
|
|
|
|
|
| |
Test: compile
Bug: 30465923
Change-Id: Id6d76510819ebd88c3f5003d00d73a0dbe85e943
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Point to log/log.h where necessary, define LOG_TAG where necessary.
Accept that private/android_logger.h is suitable replacement for
log/logger.h and android/log.h.
Correct liblog/README
Effectively a cleanup and controlled select revert of
'system/core: drop or replace log/logger.h' and
'system/core: Replace log/log.h with android/log.h'.
Test: compile
Bug: 30465923
Change-Id: Ic2ad157bad6f5efe2c6af293a73bb753300b17a2
|
|
|
|
|
|
| |
Bug: http://b/32019064
Test: builds
Change-Id: I18a1d816d63b64601485045070851f32d44e85eb
|
|
|
|
|
|
|
|
|
|
|
| |
Should use android/log.h instead of cutils/log.h as a good example
to all others. Adjust header order to comply with Android Coding
standards.
Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I2c9cbbbd64d8dccf2d44356361d9742e4a9b9031
|
|
|
|
|
|
|
| |
These modules have their dependencies satisfied, and aren't doing
anything strange.
Change-Id: I72039a15256cbd5e5eee0d79a15d66d74a6c087d
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LOCAL_LDLIBS should only be used with -l flags for NDK and some host
libraries. Other uses should use LOCAL_SHARED_LIBRARIES.
LOCAL_LDFLAGS should not contain -l entries, they should be in
LOCAL_LDLIBS instead.
LOCAL_CFLAGS should not contain -I entries, those should use
LOCAL_C_INCLUDES instead.
Change-Id: Ic901aa14651572ac682166becd4f0cd86baecc34
|
|
|
|
| |
Change-Id: I8d8d1ab10787899e91abafe269b59ee535e85653
|
|
|
|
|
|
|
|
| |
This reverts commit 6d5017803e5fec20fb0e1ee178412748eb2b7279.
Bug: 26675310
Change-Id: Id56b5e832c85f01fca0a2198499d24224c5a6878
|
|
|
|
|
|
|
| |
115-native-bridge is a flaky tests. This will help tracing the flakiness
cause.
Change-Id: I7b8000738cd97b9cdb1055a0480ff9acbd85cae6
|
|
|
|
| |
Change-Id: I9967f3fd758c2a5b40be5b60ae72be7e2fb75136
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: Ic68ac15b2676e4f475330c8e7bb34e0d48783686
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| | |
* commit '0d385d1c625a5ef3ffdeab3f63a2171eecbb1e44':
Track renaming of initUnchangeableSystemProperty.
|
| |
| |
| |
| |
| |
| | |
It's now setUnchangeableSystemProperty.
Change-Id: Ib42f8ac9f074230dfb7af2eb633e0a536ab7d4b7
|
|\|
| |
| |
| |
| | |
* 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
|
| |\| |
| | | |
| | | |
| | | |
| | | | |
* commit '8cf2ce1064847d5fed0ec728ef6e916e238767c0':
Don't allow SUPPORTED_ABIs to be set by the native bridge.
|
| | |\ \
| | | |/
| | |/| |
|