android_system_core/rootdir
Jiyong Park a07f3057d0 vendor apk is unbundled
For devices where VNDK restrictions are all enforced, vendor apks are
recognized as unbundled; since system partition and vendor partition can
be updated independently from each other.

However, since vendor apks are still bundled in the vendor partition,
they are allowed to do more than ordinaly unbundled apks that are
downloaded and installed to the data partition.

1) /vendor/lib is allowed. So the path is added to the search_paths and
permitted paths of the classloader namespace.
2) LLNDK libs are allowed in addition to the NDK libs. So, LLNDK lib list
from llndk.libraries.txt is added to the list from public.libraries.txt.
3) VNDK-SP libs are allowed. To do so, the classloader namespace is
linked to the 'vndk' namespace where VNDK-SP libs are searched and
loaded from. The list of available VNDK-SP libs is read from
vndksp.libraries.txt file.
4) Name of the namespace is changed to 'vendor-classloader-namespace'
since the namespace is configured differently from the ordinary
'classloader-namespace'.

Bug: 63553457
Test: 2017 pixel devices build and boots to the UI
Test: a vendor apk (e.g. TimeService.apk) works. Turn the airplain mode on.
Set time. Reboot the device. The time is not reset.
Test: 1) set target as 2017 pixel
2) m -j CtsVendorJniTestCases
3) copy the built apk into /vendor/app/CtsVendorJniTestCases
4) reboot / factory reset
5) adb shell am instrument -w android.jni.vendor.cts

Change-Id: I447452eb025c0a0fd076b5c9ac081d453dc6074e
2017-09-07 20:26:10 +09:00
..
etc vendor apk is unbundled 2017-09-07 20:26:10 +09:00
Android.mk add llndk|vndksp.libraries.txt to vndk_package 2017-09-07 11:51:29 +09:00
asan.options Asan.options: Use abort_on_error 2016-08-16 15:45:56 -07:00
asan.options.off.template Rootdir: Add more asan.options support 2016-06-23 14:45:35 -07:00
asan_extract.rc Asan_extract: Use sys.powerctl 2017-04-19 18:32:27 -07:00
asan_extract.sh Asan_extract: Use sys.powerctl 2017-04-19 18:32:27 -07:00
init-debug.rc init-debug.rc: don't mount debugfs 2017-03-14 21:56:24 -07:00
init.environ.rc.in Add global GCOV_PREFIX option. 2017-02-27 15:00:18 -08:00
init.rc init.rc: Lock down access to /proc/net/fib_trie 2017-08-25 12:55:52 -07:00
init.usb.configfs.rc Move adbd stopped trigger for configfs into core. 2017-04-27 14:59:48 -07:00
init.usb.rc Move adbd from root to system 2017-08-14 17:59:08 +08:00
init.zygote32.rc Restart wificond when zygote died 2017-01-07 19:45:42 -08:00
init.zygote32_64.rc Reapply 1339871138: Only apply schedTune boost to top-app tasks 2017-02-13 17:34:51 +00:00
init.zygote64.rc Restart wificond when zygote died 2017-01-07 19:45:42 -08:00
init.zygote64_32.rc Merge "Revert "Revert "Lazily preload secondary zygote resources.""" 2017-02-16 12:31:02 +00:00
ueventd.rc Merge "Adding 'uhid' permission for access to /dev/uhid." am: cecbc9993d am: 04daed4793 2017-05-12 01:00:46 +00:00