aboutsummaryrefslogtreecommitdiffstats
path: root/JniInvocation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use __ANDROID__ instead of HAVE_ANDROID_OS.Elliott Hughes2015-07-311-4/+4
| | | | Change-Id: Iac5ef595dffe890ad06917afe20085b5628ec267
* NativeHelper: Avoid returning local stack stringNingsheng Jian2014-09-291-6/+20
| | | | | | | | Refactor JniInvocation::GetLibrary to not return a stack-allocated string. Instead, provide a char buffer. Bug: 16404669 Change-Id: I34f4a40e28bc491ba630a2b1bff5792e34937101
* NativeHelper: Do not allow arbitrary library strings in user buildsAndreas Gampe2014-08-251-2/+26
| | | | | | | | | | On device, only allow "libart.so" in non-debuggable (user) builds. Bug: 16404669 (cherry picked from commit 5019faa3a6bdde33785ece0537e8b865ea7cf938) Change-Id: Ie163c04ce40c82698dcc98ced651dafef094d8b5
* Move to dalvik.vm.lib.2 to force default to libartBrian Carlstrom2014-05-281-1/+1
| | | | | | | | Bug: 14298175 (cherry picked from commit ddfc32a279eb575380cc3a601cbd989f0177d3be) Change-Id: I901e35bc43fbc18be3052863429897f133c8d37d
* Change JniInvocation default to libart.soNarayan Kamath2014-05-121-1/+1
| | | | | | | In particular, this makes dalvikvm host invocations on host use ART instead of dalvik. Change-Id: I2220c529434f5c7c07687ca2aaa442f7dbcc9733
* Stop setting LD_LIBRARY_PATH.Elliott Hughes2014-04-031-14/+0
| | | | | | | This only causes trouble later for anyone who tries to call exec(2). Bug: 12585421 Change-Id: I33c969cf05ac000489f0cf765555882de68f247b
* libnativehelper: Rename persist.sys.dalvik.vm.lib to allow new defaultBrian Carlstrom2014-01-301-1/+1
| | | | | Bug: 12798969 Change-Id: I00789d967c8443f0e0a1e5d35edc2cd16a472a64
* Set LD_LIBRARY_PATH in Java apps.Elliott Hughes2014-01-131-0/+14
| | | | | | | | | | This is the best place to put this because it handles both command-line and GUI apps. This change is needed to support 64-bit systems, where there may be both 32-bit and 64-bit VMs at the same time. Change-Id: Ifbc0ef18e7d7e5e188c77131ada2ce1e969bc064
* Fallback to a known good runtime if requested one is not availableandroid-sdk-4.4.2_r1.0.1android-sdk-4.4.2_r1android-4.4w_r1android-4.4.4_r2.0.1android-4.4.4_r2android-4.4.4_r1.0.1android-4.4.4_r1android-4.4.3_r1.1.0.1android-4.4.3_r1.1android-4.4.3_r1.0.1android-4.4.3_r1android-4.4.2_r2.0.1android-4.4.2_r2android-4.4.2_r1.0.1android-4.4.2_r1android-4.4.1_r1.0.1android-4.4.1_r1kitkat-wearkitkat-mr2.2-releasekitkat-mr2.1-releasekitkat-mr2-releasekitkat-mr1.1-releasekitkat-mr1-releasekitkat-devBrian Carlstrom2013-10-311-4/+26
| | | | | Bug: 11463182 Change-Id: I478e7ab9eaee179114b7fa6afe660233e66b0614
* Renaming dalvik.vm.lib to persist.sys.dalvik.vm.libBrian Carlstrom2013-07-101-1/+1
| | | | Change-Id: I120e2f85a5f946d5884cca722b3bdc61961eb32b
* Add JNI Invocation API to libnativehelperBrian Carlstrom2013-06-201-0/+120
Change-Id: I15870937ad7bfa4757e21f83acbbb6a7826a0b0b