OSDN Git Service
Nandana Dutt [Mon, 18 Feb 2019 09:11:41 +0000 (01:11 -0800)]
Merge "Fix dumpstate smoke test" am:
917b4d4392
am:
48ea00fbd7
Change-Id: I061d6de05d9f55be44b4def11ac5729b96d573a9
Nandana Dutt [Mon, 18 Feb 2019 09:07:29 +0000 (01:07 -0800)]
Merge "Fix dumpstate smoke test"
am:
917b4d4392
Change-Id: Idaaf794a1a5bc487cee938c11ee913c147f0ac1a
Treehugger Robot [Mon, 18 Feb 2019 09:01:18 +0000 (09:01 +0000)]
Merge "Fix dumpstate smoke test"
Steven Moreland [Sat, 16 Feb 2019 02:08:14 +0000 (18:08 -0800)]
Merge "libbinder_ndk: AServiceManager_checkService # apex" am:
7d3f8168e0
am:
db40a75199
Change-Id: Ieb0fa20813ec1c9393fb134a0cc333ab5041366b
Steven Moreland [Sat, 16 Feb 2019 01:58:25 +0000 (17:58 -0800)]
Merge "libbinder_ndk: AServiceManager_checkService # apex"
am:
7d3f8168e0
Change-Id: I13c6895098e3ed908563207860dbe304c63ee681
Treehugger Robot [Sat, 16 Feb 2019 01:44:15 +0000 (01:44 +0000)]
Merge "libbinder_ndk: AServiceManager_checkService # apex"
Benedict Wong [Fri, 15 Feb 2019 19:09:57 +0000 (11:09 -0800)]
Merge "Add xfrm stats to dumpstate" am:
661d91e832
am:
c67192a5f4
Change-Id: Ibc06998dad87c9d42a22fa8d56dac790ca9e5602
Benedict Wong [Fri, 15 Feb 2019 18:55:33 +0000 (10:55 -0800)]
Merge "Add xfrm stats to dumpstate"
am:
661d91e832
Change-Id: Id935abb239175464161d44f08dcd1c668a10d13e
Steven Moreland [Fri, 15 Feb 2019 18:53:08 +0000 (10:53 -0800)]
libbinder_ndk: AServiceManager_checkService # apex
Feature parity, for faster loading times, etc..
Bug: N/A (requested for use in libnetd_resolv)
Test: ./runtests.sh, noting specifically:
[ RUN ] NdkBinder.CheckServiceThatDoesntExist
[ OK ] NdkBinder.CheckServiceThatDoesntExist (0 ms)
[ RUN ] NdkBinder.CheckServiceThatDoesExist
[ OK ] NdkBinder.CheckServiceThatDoesExist (0 ms)
Change-Id: I36b2a7420f5dd374e6b60898a778bbcedb9bd406
Benedict Wong [Fri, 15 Feb 2019 18:41:07 +0000 (18:41 +0000)]
Merge "Add xfrm stats to dumpstate"
Nandana Dutt [Fri, 15 Feb 2019 15:25:04 +0000 (07:25 -0800)]
Merge "dumpstate: Update readme" am:
afff99c55a
am:
bf245d1ddb
Change-Id: I62430dc6657637eb17dc218a0e17fdb0a37d3643
Nandana Dutt [Fri, 15 Feb 2019 15:24:24 +0000 (15:24 +0000)]
Fix dumpstate smoke test
run_main exits when finished, which is suitable if we want to run
assertions on bugreport file. Instead call an intermediate function.
Test: adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test
Change-Id: I43708325dcaaf8f0f1ca59f181c216bfb25d28bf
Nandana Dutt [Fri, 15 Feb 2019 15:20:50 +0000 (07:20 -0800)]
Merge "dumpstate: Update readme"
am:
afff99c55a
Change-Id: Id8061b2a2088d4b0d39a8c178bf1da2271991760
Treehugger Robot [Fri, 15 Feb 2019 15:07:35 +0000 (15:07 +0000)]
Merge "dumpstate: Update readme"
Nandana Dutt [Fri, 15 Feb 2019 10:01:41 +0000 (10:01 +0000)]
dumpstate: Update readme
Add commands to update the shared libraries for incremental development.
Test: n/a
Change-Id: I6118db5cab4ffa06dfa59e05bf7b2ca87865aeb0
Xin Li [Fri, 15 Feb 2019 00:46:08 +0000 (16:46 -0800)]
[automerger skipped] Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master
am:
13324645d8 -s ours
am skip reason: subject contains skip directive
Change-Id: I6256bf833c8c1830c7b73c11fe3a2bdcde6603c0
Xin Li [Thu, 14 Feb 2019 22:34:01 +0000 (14:34 -0800)]
[automerger skipped] DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master
am:
3b56f52d69 -s ours
am skip reason: subject contains skip directive
Change-Id: I6ce1a2627c9641167e0221deeded36af4f61b572
Xin Li [Thu, 14 Feb 2019 22:11:34 +0000 (22:11 +0000)]
Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master
Erick Reyes [Wed, 13 Feb 2019 23:57:45 +0000 (15:57 -0800)]
Merge "Call dmabuf_dump tool in dumpstate" am:
8678bdeb41
am:
d9e0f6d267
Change-Id: I56599bcfd946da005cdfe0f0aec40881f8023a8a
Erick Reyes [Wed, 13 Feb 2019 23:06:09 +0000 (15:06 -0800)]
Merge "Call dmabuf_dump tool in dumpstate"
am:
8678bdeb41
Change-Id: I7449d290feb58fd00d61a7aa2d59c04e4d0f36de
Treehugger Robot [Wed, 13 Feb 2019 22:39:49 +0000 (22:39 +0000)]
Merge "Call dmabuf_dump tool in dumpstate"
Jiyong Park [Wed, 13 Feb 2019 04:14:55 +0000 (20:14 -0800)]
Merge changes from topic "cut_dependency" am:
1e29946a3e
am:
11d1312db4
Change-Id: Id29f031ee02cbf5596f16c4fe7b3f3173d83e2a8
Jiyong Park [Wed, 13 Feb 2019 04:13:56 +0000 (20:13 -0800)]
Cut the static deps from libvulkan to libnativeloader and libnativebridge am:
2d81f3c409
am:
048e5b4f6a
Change-Id: I7eaa44ca12305478d2ab3829e9b5c9b6c7bbacbc
Jiyong Park [Wed, 13 Feb 2019 03:14:35 +0000 (19:14 -0800)]
Merge changes from topic "cut_dependency"
am:
1e29946a3e
Change-Id: Id38b33ef756ba41f51c161ef247952c387512b2c
Jiyong Park [Wed, 13 Feb 2019 03:13:13 +0000 (19:13 -0800)]
Cut the static deps from libvulkan to libnativeloader and libnativebridge
am:
2d81f3c409
Change-Id: Ibe74e66eef1ac6fb90c9b0ead672ec65e595506c
Treehugger Robot [Wed, 13 Feb 2019 02:17:34 +0000 (02:17 +0000)]
Merge changes from topic "cut_dependency"
* changes:
Revert "Delay start of surfaceflinger until after the Runtime APEX is mounted."
Cut the static deps from libvulkan to libnativeloader and libnativebridge
Erick Reyes [Mon, 11 Feb 2019 22:46:36 +0000 (14:46 -0800)]
Call dmabuf_dump tool in dumpstate
This tool will dump shared buffer information on bug reports. Since it
is being rolled out on specific products, look for the binary in
/product/bin and execute it if found.
Bug:
63860998
Change-Id: If6e4ff48d3bc62e1fa7a88f16cc6ab0d5b05176f
Signed-off-by: Erick Reyes <erickreyes@google.com>
Xin Li [Tue, 12 Feb 2019 17:53:40 +0000 (09:53 -0800)]
DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master
Bug:
124234733
Change-Id: Iff213d95a3da69f58cd95afd129323ad7613c8e4
Steven Moreland [Tue, 12 Feb 2019 17:51:42 +0000 (09:51 -0800)]
Merge "libbinder_ndk: vendor available" am:
658187ca59
am:
1814452fe4
Change-Id: I16b70a5fb8e5a6cfe486e8b817e260c52a4a149e
Steven Moreland [Tue, 12 Feb 2019 17:45:35 +0000 (09:45 -0800)]
Merge "libbinder_ndk: vendor available"
am:
658187ca59
Change-Id: I59fdae284484900e7df197c985af881edc46b108
Steven Moreland [Tue, 12 Feb 2019 17:28:43 +0000 (17:28 +0000)]
Merge "libbinder_ndk: vendor available"
Vladimir Marko [Tue, 12 Feb 2019 14:02:12 +0000 (06:02 -0800)]
Merge "Clear BOOTCLASSPATH for APP AOT compilation." am:
96602ece01
am:
85a962e5f4
Change-Id: Iaff89cb278f7fa4df3bbfd831dbede5bcb5f0681
Vladimir Marko [Tue, 12 Feb 2019 13:57:56 +0000 (05:57 -0800)]
Merge "Clear BOOTCLASSPATH for APP AOT compilation."
am:
96602ece01
Change-Id: I4dfd48704a338117507c2b433ee62e2f240e0104
Vladimir Marko [Tue, 12 Feb 2019 13:45:57 +0000 (13:45 +0000)]
Merge "Clear BOOTCLASSPATH for APP AOT compilation."
Jiyong Park [Mon, 28 Jan 2019 15:36:19 +0000 (00:36 +0900)]
Cut the static deps from libvulkan to libnativeloader and libnativebridge
The dependencies are replaced with *_lazy libraries which dynamically
load and links to the real libraries at runtime using dlopen and dlsym.
This allows libvulkan to be used by early processes that are executed
before the activation of the runtime APEX where libnativeloader and
libnativebridge are provided.
Bug:
123403798
Test: m
Test: device boots to the UI
Change-Id: Id55e7b8b0269b1f39917cf9f5c57f55218a67fc4
Jiyong Park [Mon, 28 Jan 2019 15:43:04 +0000 (00:43 +0900)]
Revert "Delay start of surfaceflinger until after the Runtime APEX is mounted."
This reverts commit
a1ce9e7a833aa4a98ab5530a3a713838df7a4803.
Reason: static deps to libnativeloader and libnativebridge no longer
exist
Bug:
123403798
Test: device boots to the UI
Test: bootanimation is shown from the very beginning
Change-Id: I40fc87e0189e410e8501837517481f87786d5503
Alan Stokes [Tue, 12 Feb 2019 10:04:43 +0000 (02:04 -0800)]
Merge "Add missing error checks in tests." am:
7771604bd2
am:
82ddfc299e
Change-Id: I1638805e52a006b781d325ce286c7b894b4f048c
Alan Stokes [Tue, 12 Feb 2019 10:00:27 +0000 (02:00 -0800)]
Merge "Add missing error checks in tests."
am:
7771604bd2
Change-Id: I39eb243582146e206391da01e849f903f8a75395
Alan Stokes [Tue, 12 Feb 2019 09:49:22 +0000 (09:49 +0000)]
Merge "Add missing error checks in tests."
Steven Moreland [Mon, 11 Feb 2019 23:04:13 +0000 (15:04 -0800)]
libbinder_ndk: vendor available
Bug:
121279086
Test: N/A
Change-Id: Ief1a52d2b51e071728a6379713c3e694f865cec5
Dan Willemsen [Mon, 11 Feb 2019 15:01:56 +0000 (07:01 -0800)]
Merge "Convert libGLES_android to Android.bp" am:
e2c9396283
am:
8964c882f5
Change-Id: Ib4afd31916376cd9dca645ea5b0e56cd65cac290
Dan Willemsen [Mon, 11 Feb 2019 14:57:41 +0000 (06:57 -0800)]
Merge "Convert libGLES_android to Android.bp"
am:
e2c9396283
Change-Id: I12db81b790db898ab0adb4aa6c17293961397902
Treehugger Robot [Mon, 11 Feb 2019 14:48:51 +0000 (14:48 +0000)]
Merge "Convert libGLES_android to Android.bp"
Vladimir Marko [Fri, 8 Feb 2019 15:11:59 +0000 (15:11 +0000)]
Clear BOOTCLASSPATH for APP AOT compilation.
Let dex2oat pick up the boot classpath from the boot image,
excluding the updatable module components. This allows
updating those modules without recompiling apps.
Test: Manually check bootclasspath entry in an oat file
compiled on device.
Bug:
122937705
Change-Id: I353f3862c9ece046a36010aa121d1f88ec9be78f
Roland Levillain [Mon, 11 Feb 2019 11:27:00 +0000 (03:27 -0800)]
Merge "Remove obsolete comment from cmds/installd/otapreopt_chroot.cpp." am:
174ebcf3c0
am:
8dd92bbdf3
Change-Id: I2f87818a13fae7058b8f4a6da48b4c63f2c091b2
Roland Levillain [Mon, 11 Feb 2019 11:22:45 +0000 (03:22 -0800)]
Merge "Remove obsolete comment from cmds/installd/otapreopt_chroot.cpp."
am:
174ebcf3c0
Change-Id: I0020649c9f0030da59c5328928856303efb9d7db
Roland Levillain [Mon, 11 Feb 2019 11:17:20 +0000 (11:17 +0000)]
Merge "Remove obsolete comment from cmds/installd/otapreopt_chroot.cpp."
Dan Willemsen [Mon, 11 Feb 2019 00:42:07 +0000 (16:42 -0800)]
Convert libGLES_android to Android.bp
See build/soong/README.md for more information.
It's split into two libraries since Soong does not support the .cpp.arm
syntax.
Bug:
122332691
Test: treehugger
Change-Id: Ia21e467509832401214c8475486c8a7dd49653f6
Pawin Vongmasa [Sat, 9 Feb 2019 08:31:07 +0000 (00:31 -0800)]
Merge "Add member typedef referring to base interface" am:
fc4aeea853
am:
cb37a52f5a
Change-Id: I0712164c0812b273219b576a311b686ab8c1b2c9
Pawin Vongmasa [Sat, 9 Feb 2019 08:26:56 +0000 (00:26 -0800)]
Merge "Add member typedef referring to base interface"
am:
fc4aeea853
Change-Id: I50776c39f6978bd8ff282253226dd8beed825a13
Pawin Vongmasa [Sat, 9 Feb 2019 08:20:16 +0000 (08:20 +0000)]
Merge "Add member typedef referring to base interface"
android-build-team Robot [Sat, 9 Feb 2019 02:37:08 +0000 (02:37 +0000)]
Snap for
5180536 from
cb5531e3576fec2be6e366f16dd85696a20552b3 to pi-platform-release
Change-Id: I371b04b4aaaec81d980678f6315b920d9b5c27ac
Pawin Vongmasa [Sat, 9 Feb 2019 01:38:49 +0000 (17:38 -0800)]
Add member typedef referring to base interface
A member typedef named "BaseInterface" is added to BnInterface and
BpInterface to refer to the base interface class.
Test: Builds
Bug:
123736523
Change-Id: Iae4c18cb037481edc357fde1edc718acb79ecc23
Marissa Wall [Fri, 8 Feb 2019 23:37:32 +0000 (15:37 -0800)]
Merge "surfaceflinger: Update OWNERS" am:
2c9ea71904
am:
c5f43afca8
Change-Id: Idbd8ba3d21c0ed476585d04108911f6a5f805ebf
Marissa Wall [Fri, 8 Feb 2019 23:33:19 +0000 (15:33 -0800)]
Merge "surfaceflinger: Update OWNERS"
am:
2c9ea71904
Change-Id: I174141cd1206f373eff57521974db9b1903cb777
Treehugger Robot [Fri, 8 Feb 2019 23:11:31 +0000 (23:11 +0000)]
Merge "surfaceflinger: Update OWNERS"
Roland Levillain [Fri, 8 Feb 2019 19:09:07 +0000 (19:09 +0000)]
Remove obsolete comment from cmds/installd/otapreopt_chroot.cpp.
APEX packages are deactivated at the end of `otapreopt_chroot`, so
loop devices used to mount them are returned to the system.
Test: m otapreopt_chroot
Bug:
113373927
Change-Id: I8b55787ffa7abdfe63f9778623f5e2317b8a4525
Marissa Wall [Fri, 8 Feb 2019 18:17:31 +0000 (10:17 -0800)]
surfaceflinger: Update OWNERS
With stoza@ out for the next few months, the San Diego SurfaceFlinger
team needs someone with owners.
Also add zzyiwei@ for TimeStats because he has owned it since the
beginning.
Change-Id: I7c3dd1146327673f6bdfbc43663fdcbb03943061
Orion Hodson [Wed, 6 Feb 2019 09:12:09 +0000 (01:12 -0800)]
Merge "SurfaceFlinger: remove DdmConnection" am:
e55a64f1a7
am:
18b2d1b873
Change-Id: Icb3031dd2c5b534e4d986061435ad6a98c1b4963
Orion Hodson [Wed, 6 Feb 2019 09:03:46 +0000 (01:03 -0800)]
Merge "SurfaceFlinger: remove DdmConnection"
am:
e55a64f1a7
Change-Id: I79597b9133678028ea38586f3ad19564555842fd
Orion Hodson [Wed, 6 Feb 2019 08:51:39 +0000 (08:51 +0000)]
Merge "SurfaceFlinger: remove DdmConnection"
Orion Hodson [Mon, 4 Feb 2019 09:36:10 +0000 (09:36 +0000)]
SurfaceFlinger: remove DdmConnection
DdmConnection dlopen's libart.so which is undesirable for the Runtime Module.
Bug:
120782499
Test: m -j100
Change-Id: Ib9a129329f7bd8d67b954e58810807c683b20b48
Merged-In: Ib9a129329f7bd8d67b954e58810807c683b20b48
Exempt-From-Owner-Approval: Cherry-pick of approved CL in master
Tri Vo [Tue, 5 Feb 2019 21:57:35 +0000 (13:57 -0800)]
Merge "libbinder: keep ashmem size >= 0" am:
5805df43c8
am:
037f268d39
Change-Id: Id3f92e5a235d4287c4a916a5775e50771741e033
Tri Vo [Tue, 5 Feb 2019 21:45:11 +0000 (13:45 -0800)]
Merge "libbinder: keep ashmem size >= 0"
am:
5805df43c8
Change-Id: Id46cf33b6e0d48a1173d39301ffdcde15caff343
Tri Vo [Tue, 5 Feb 2019 21:38:50 +0000 (21:38 +0000)]
Merge "libbinder: keep ashmem size >= 0"
Alan Stokes [Tue, 5 Feb 2019 17:53:24 +0000 (17:53 +0000)]
Add missing error checks in tests.
To ensure we don't get tests spuriously passing when setup has failed.
Test: atest installd_service_test
Bug:
78442602
Change-Id: I32c8dc4f3d2b9d6dc0f289b170fd13198c87cac3
Nikita Ioffe [Tue, 5 Feb 2019 17:28:29 +0000 (09:28 -0800)]
Merge "installd_service_test: fix ServiceTest.CreateAppDataSnapshot_ClearsCache" am:
4febfd6da7
am:
3f3a196a5b
Change-Id: I52182a9a79f3306c57bec5ae1b8843df2951b403
Nikita Ioffe [Tue, 5 Feb 2019 17:24:10 +0000 (09:24 -0800)]
Merge "installd_service_test: fix ServiceTest.CreateAppDataSnapshot_ClearsCache"
am:
4febfd6da7
Change-Id: I1134649531c898a20d524d26a8d40e63aeec9132
Treehugger Robot [Tue, 5 Feb 2019 17:00:28 +0000 (17:00 +0000)]
Merge "installd_service_test: fix ServiceTest.CreateAppDataSnapshot_ClearsCache"
Nikita Ioffe [Sat, 2 Feb 2019 17:26:18 +0000 (17:26 +0000)]
installd_service_test: fix ServiceTest.CreateAppDataSnapshot_ClearsCache
This test is failing on cf_x86_phone-userdebug target, with an error:
Failed copying /data/local/tmp/user_de/0/com.foo to /data/local/tmp/misc_de/0/rollback'
Logs shows that cp fails with "No such file or directory error":
02-05 08:37:49.444 12746 12746 I cp : cp: /data/local/tmp/misc_de/0/rollback: No such file or directory
02-05 08:37:49.445 12746 12746 I cp : cp terminated by exit(1)
Testcase is failing, because it doesn't create
/data/local/tmp/misc_de/0/rollback directory. It is hard to spot, because
other testcases in installd_service_test also create that directory, meaning
that depending on the order in which testcases are run,
CreateAppDataSnapshot_ClearsCache will either fail or succeed.
Verified that this is the case by running only
CreateAppDataSnapshot_ClearsCache testcase:
./data/nativetest/installd_service_test/installd_service_test --gtest_filter=*CreateAppDataSnapshot_ClearsCache*
Bug:
123631551
Fixes:
123631551
Test: ./data/nativetest/installd_service_test/installd_service_test --gtest_filter=*CreateAppDataSnapshot_ClearsCache*
Change-Id: I8277efe6076bac28fd07ea3705a21aae6b8cab14
Alexander Smundak [Tue, 5 Feb 2019 06:01:43 +0000 (22:01 -0800)]
Merge "Use sh_binary instead of cc_prebuilt_binary for shell scripts" am:
5a3804f0cb
am:
65c7b75ca8
Change-Id: Id335d48fd13a04f3962b5fb87f1753a8e3a4c931
Roland Levillain [Tue, 5 Feb 2019 05:04:24 +0000 (21:04 -0800)]
Merge "Have `otapreopt_chroot` bind-mount Bionic artifacts from the Runtime APEX." am:
58ec999387
am:
d7a7b0727d
Change-Id: I84db38b12fe02dbabe5c849085d406c21bf65260
Alexander Smundak [Tue, 5 Feb 2019 02:14:38 +0000 (18:14 -0800)]
Merge "Use sh_binary instead of cc_prebuilt_binary for shell scripts"
am:
5a3804f0cb
Change-Id: I1fed184f753e77b04bd2df05fcad6649dcbbc5eb
Alexander Smundak [Tue, 5 Feb 2019 02:04:18 +0000 (02:04 +0000)]
Merge "Use sh_binary instead of cc_prebuilt_binary for shell scripts"
Sasha Smundak [Mon, 4 Feb 2019 19:20:58 +0000 (11:20 -0800)]
Use sh_binary instead of cc_prebuilt_binary for shell scripts
Bug:
123829926
Test: treehugger
Change-Id: If9d2da84b30aebf8881c6da12efbe99549f5e0cc
Roland Levillain [Mon, 4 Feb 2019 13:47:45 +0000 (05:47 -0800)]
Merge "Have `otapreopt_chroot` bind-mount Bionic artifacts from the Runtime APEX."
am:
58ec999387
Change-Id: I8ffdce4c545d838489cf8818ad75a3c9d8e076f2
Roland Levillain [Mon, 4 Feb 2019 13:40:17 +0000 (13:40 +0000)]
Merge "Have `otapreopt_chroot` bind-mount Bionic artifacts from the Runtime APEX."
Mathieu Chartier [Sat, 2 Feb 2019 01:28:51 +0000 (17:28 -0800)]
Merge "Add handling for PH property dex2oat_resolve_startup_strings" am:
25d4688e91
am:
19ccd48369
Change-Id: Ic42ad5b73227169825c2df701fbf2ca8afd9bd1a
Mathieu Chartier [Sat, 2 Feb 2019 01:24:21 +0000 (17:24 -0800)]
Merge "Add handling for PH property dex2oat_resolve_startup_strings"
am:
25d4688e91
Change-Id: I0a2ec9718664ce5c7664694656e0b6c434589927
Mathieu Chartier [Sat, 2 Feb 2019 01:14:50 +0000 (01:14 +0000)]
Merge "Add handling for PH property dex2oat_resolve_startup_strings"
Makoto Onuki [Fri, 1 Feb 2019 21:46:57 +0000 (13:46 -0800)]
Merge "Add "ls -l /data/anr" output to bugreport" am:
ec22502dc5
am:
8c70dddf55
Change-Id: I6efec07d2473e11bcc4396b83416146318f1b89a
Makoto Onuki [Fri, 1 Feb 2019 21:42:34 +0000 (13:42 -0800)]
Merge "Add "ls -l /data/anr" output to bugreport"
am:
ec22502dc5
Change-Id: I1299d9f2843a5fe34f038f023b600e61e0142a94
Treehugger Robot [Fri, 1 Feb 2019 21:29:39 +0000 (21:29 +0000)]
Merge "Add "ls -l /data/anr" output to bugreport"
Mathieu Chartier [Thu, 31 Jan 2019 20:59:39 +0000 (12:59 -0800)]
Add handling for PH property dex2oat_resolve_startup_strings
Added unit test to verify the property is passed to the oat file.
Test: adb shell /data/nativetest64/installd_dexopt_test/installd_dexopt_test
Bug:
116059983
Bug:
123524494
Change-Id: Ib4fe5401d58c6ac05ef3011bef04e38d1b6d4ba9
Roland Levillain [Fri, 1 Feb 2019 20:24:51 +0000 (12:24 -0800)]
Merge "Refactor the APEX package activation/deactivation logic in `otapreopt_chroot`." am:
fafe4a0ec0
am:
e3ef9446e4
Change-Id: Ia25d178436bc693766c4edc62771fd8f7614d297
Roland Levillain [Fri, 1 Feb 2019 19:29:31 +0000 (11:29 -0800)]
Merge "Refactor the APEX package activation/deactivation logic in `otapreopt_chroot`."
am:
fafe4a0ec0
Change-Id: Ied38a0653016a252f42788c6c71c24c0475a21b1
Makoto Onuki [Fri, 1 Feb 2019 01:08:59 +0000 (17:08 -0800)]
Add "ls -l /data/anr" output to bugreport
Bug:
123720446
Test: with adb bugreport
Change-Id: I2a00d370b8e61b4f0059cdf2d8d67136968a9f20
Roland Levillain [Fri, 1 Feb 2019 16:29:22 +0000 (16:29 +0000)]
Merge "Refactor the APEX package activation/deactivation logic in `otapreopt_chroot`."
Roland Levillain [Thu, 31 Jan 2019 18:30:17 +0000 (18:30 +0000)]
Have `otapreopt_chroot` bind-mount Bionic artifacts from the Runtime APEX.
Have `otapreopt_chroot` bind-mount Bionic artifacts (`linker(64)`,
`libc.so`, `libm.so`, `libdl.so`) from the Runtime APEX
(`/postinstall/apex/com.android.runtime`) into `/postinstall/bionic/`,
much the same way `init` sets up Bionic bind-mounts in the default
mount namespace.
Test: m otapreopt_chroot
Test: A/B OTA update test (asit/dexoptota/self_full).
Bug:
113373927
Bug:
120266448
Change-Id: Ie254a94ae35e62f88375bc89380456f15796566a
Roland Levillain [Fri, 1 Feb 2019 13:15:58 +0000 (13:15 +0000)]
Refactor the APEX package activation/deactivation logic in `otapreopt_chroot`.
This is in prevision of reusing the package deactivation logic as a
clean-up step upon Bionic bind-mounting failure.
Test: m otapreopt_chroot
Test: A/B OTA update test (asit/dexoptota/self_full).
Bug:
113373927
Bug:
120266448
Change-Id: I17b2d57252af7aca1fc27b4c051d6cc9d373c223
Nikita Ioffe [Fri, 1 Feb 2019 13:19:07 +0000 (05:19 -0800)]
Merge "installd: remove restored ce_data if de_data rollback failed" am:
580ae9ca0c
am:
0f84c56b87
Change-Id: I4214a86442f10e2157cf16194ec10850cae282a7
Nikita Ioffe [Fri, 1 Feb 2019 13:09:34 +0000 (05:09 -0800)]
Merge "installd: remove restored ce_data if de_data rollback failed"
am:
580ae9ca0c
Change-Id: Ibfdb902495de3470e916828572b8712c6b4e016f
Nikita Ioffe [Fri, 1 Feb 2019 12:59:55 +0000 (12:59 +0000)]
Merge "installd: remove restored ce_data if de_data rollback failed"
Nikita Ioffe [Fri, 1 Feb 2019 12:11:50 +0000 (04:11 -0800)]
Merge "installd: Add destroyAppDataSnapshot and corresponding binder API" am:
1b3315a657
am:
6fda4136fb
Change-Id: I4c400b3a84daeed6d234d5a7c563040422d1d641
Nikita Ioffe [Fri, 1 Feb 2019 12:07:27 +0000 (04:07 -0800)]
Merge "installd: Add destroyAppDataSnapshot and corresponding binder API"
am:
1b3315a657
Change-Id: I3342b12dcabb10795440e95d31f80c237d29e6a7
Nikita Ioffe [Fri, 1 Feb 2019 11:50:12 +0000 (11:50 +0000)]
Merge "installd: Add destroyAppDataSnapshot and corresponding binder API"
Nikita Ioffe [Fri, 25 Jan 2019 13:54:43 +0000 (13:54 +0000)]
installd: Add destroyAppDataSnapshot and corresponding binder API
- destroyAppDataSnapshot: deletes both ce and de snapshots (controlled
via storageFlags), for ce snapshot fallbacks to deleting it by it's
inode in case snapshot is not accessible (user hasn't unlocked the
phone yet).
- snapshotAppData: in case ce snapshot was requested, it will now return
inode if a folder with the snapshot. Otherwise it will return 0.
Passing ceSnapshotInode to destroyAppDataSnapshot should make logic
inside RollbackManagerService a bit easier. Since it will be able to
delete ce snapshot regardless of user unlocking their phone.
Bug:
112431924
Test: installd_service_test installd_utils_test
Change-Id: I015de12593b87f3000f004cc0a901a9208d0b693
Merged-In: I015de12593b87f3000f004cc0a901a9208d0b693
Andreas Gampe [Thu, 31 Jan 2019 22:34:28 +0000 (14:34 -0800)]
Merge "Installd: Refactor binder tests" am:
a60ff681ff
am:
2ad480f43b
Change-Id: Id8fbadc450391d5d24c88ac7582d06ac23418f6d
Andreas Gampe [Thu, 31 Jan 2019 22:26:13 +0000 (14:26 -0800)]
Merge "Installd: Refactor binder tests"
am:
a60ff681ff
Change-Id: I7ba4b5d8a168ff0b3fa72c9de805bbfc00dce64d
Treehugger Robot [Thu, 31 Jan 2019 22:14:21 +0000 (22:14 +0000)]
Merge "Installd: Refactor binder tests"