c093d3a68143f73b0ad89678874086e2b84a5675 |
|
14-Apr-2017 |
Andreas Gampe <agampe@google.com> |
Otapreopt: Remove param count checking in otapreopt_chroot Pass on parameters without a check. This will simplify future updates. Bug: 37256688 Test: m Test: manual OTA Change-Id: I9db3749856a1281a777136436ce255c5dd7f7f3c
/frameworks/native/cmds/installd/otapreopt_chroot.cpp
|
6c2c056193010cf93b4264810d462c120ce801c8 |
|
07-Dec-2016 |
Jeff Sharkey <jsharkey@android.com> |
Final push of installd to Binder; goodbye socket! Move last two straggling installd commands to Binder and destroy the socket-based communication channel forever. Test: builds, boots, apps install fine, pre-OTA dexopt works Bug: 13758960, 30944031 Change-Id: I2ecd604fb6627b9028a7e32f87d0367e4a4afde3
/frameworks/native/cmds/installd/otapreopt_chroot.cpp
|
0274c977e3b10b52936fd5b2eb464857f0ca6358 |
|
06-Dec-2016 |
Jeff Sharkey <jsharkey@android.com> |
Shuffle installd Binder implementation around. Instead of writing wrapper methods in InstalldNativeService.cpp, this change shifts the Binder implementation over into the existing commands.cpp file. This will let us migrate all methods over, and then perform one final file rename to InstalldNativeService.cpp. The downside of this approach is that we no longer have a giant kill switch to quickly switch back. Moves the moveCompleteApp() method over to Binder. Test: builds, boots, apps install fine Bug: 13758960, 30944031 Change-Id: I53550e05bc2b65155c3de18424f67b1a95450a6f
/frameworks/native/cmds/installd/otapreopt_chroot.cpp
|
fd12edaeab839f3f1f087cc75bd18b4d8af5b192 |
|
12-Jul-2016 |
Andreas Gampe <agampe@google.com> |
Otapreopt: Try to mount vendor partition for A/B OTA Vendor apps are usually not preopted, so A/B dexopt should pick them up. update_engine is not mounting the vendor partition, so let otapreopt_chroot do the work. Bug: 25612095 Bug: 29498238 Change-Id: I5a77bdb78a8e478ce10f6c1d0f911a8d6686becb (cherry picked from commit 0ba073ce81fbe544592e0a3cd526b274e83fdf9f)
/frameworks/native/cmds/installd/otapreopt_chroot.cpp
|
d089ca1703769854356a263ca640d3e07ab8548d |
|
27-Jun-2016 |
Andreas Gampe <agampe@google.com> |
Otapreopt: Implement new A/B OTA path Refactor otapreopt_script, otapreopt_chroot and otapreopt such that the actual work will be done as a child of the script driven by update_engine. The script now uses the new OtaDexoptService command to get the right parameters for a dexopt call in otapreopt. As we reach otapreopt_chroot and otapreopt directly, we can add parameters without tainting the regular installd path. Use this to add the target slot suffix, and make naming of the A/B artifacts include the suffix instead of the generic "b." Otapreopt_chroot startup is slightly complicated because all file descriptors must be closed. Otherwise, dex2oat needs selinux permissions to inherit the descriptors from update_engine. Bug: 25612095 Bug: 28069686 Change-Id: I9d7b86ac8ecfdf91af3800f7e96f41534c0afc0f (cherry picked from commit 0354bd0eaf24de533e86885b811f816f1e4d15c8)
/frameworks/native/cmds/installd/otapreopt_chroot.cpp
|
548bdb930895d8fe6651eaada0bc5739ee5248c8 |
|
03-Jun-2016 |
Andreas Gampe <agampe@google.com> |
Otapreopt: Fix after shared-library work Commit b63d91fd2737680351876406277b6c759f4db33c broke the installd to otapreopt connection. Fix this. Also refactor a bit to make an inadvertant break harder. Bug: 25612095 Change-Id: I8e7b944ecbd5457e4ac4d6ffffdb0468618cf65f (cherry picked from commit aef445d1c659698612c0e5a8f3d5f2b9f8a2b778)
/frameworks/native/cmds/installd/otapreopt_chroot.cpp
|
01ad5984dd202311a7e301c8c771a5d4b7c76136 |
|
10-Mar-2016 |
Andreas Gampe <agampe@google.com> |
Otapreopt: Adapt for actual A/B Add postinstall script for update_engine hook. Add otapreopt_chroot as a gateway between installd and otapreopt. Installd will fork and run otapreopt_chroot, which has the permission to set up a chroot in /postinstall and run otapreopt from the B partition. Bug: 25612095 Change-Id: I4264598da00053ced87c849c738ddc0bc5437304
/frameworks/native/cmds/installd/otapreopt_chroot.cpp
|