0354bd0eaf24de533e86885b811f816f1e4d15c8 |
|
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
/frameworks/native/cmds/installd/installd_constants.h
|
aef445d1c659698612c0e5a8f3d5f2b9f8a2b778 |
|
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
/frameworks/native/cmds/installd/installd_constants.h
|
4d0f825dd76a1972a3d081e771cde28513a1c6ff |
|
20-Mar-2016 |
Andreas Gampe <agampe@google.com> |
Installd: Separate profile merging and compilation Create a new merge_profiles command to check and merge profiles. (Almost) always pass a profile to a dexopt pass. Require compilation filter input to dexopt and use it for dex2oat (except for hard overrides like safe-mode). Bug: 27689078 Change-Id: I1257857cc15c17e2271d1261ea4cc80752270fcb
/frameworks/native/cmds/installd/installd_constants.h
|
6a1648e2f161cb1d7c46aa9d27e8062521a9f314 |
|
01-Feb-2016 |
Calin Juravle <calin@google.com> |
Extract profile files in their dedicated folder Current profiles (the ones which have not been used for compilation) are stored in /data/misc/profiles/cur/0/pkgname/. Reference profiles (the merged of all user profiles, used for compilation) are stored in /data/misc/profiles/ref/pkgname. The profile analysis flow has been changed to use profman before calling dex2oat. profman decides if there is a need for compilation and does the merging. Bug: 26719109 Bug: 26563023 Bug: 26881016 Change-Id: I5a86ed5fd07a28e2e580f9c108428527ba7993b6
/frameworks/native/cmds/installd/installd_constants.h
|
aa7ddfd8347fa947618a7668b013521e95722c5c |
|
03-Feb-2016 |
Jeff Sharkey <jsharkey@android.com> |
Follow constant refactoring in framework. Bug: 25796509 Change-Id: Ib19aa570fb5fbf26752c5487f1221c9959b1143a
/frameworks/native/cmds/installd/installd_constants.h
|
73dae11162aa61396c06cbdb05b954764e944e02 |
|
19-Nov-2015 |
Andreas Gampe <agampe@google.com> |
Installd: Introduce otapreopt Add a tool for dexopt during OTA. The tool will use /data/ota as an ANDROID_ROOT wrt/ the dalvik-cache, compiling a new boot image and system apps into this directory. Other apps will be compiled to odex files suffixed with ".b". Bug: 25612095 Change-Id: I6ac382973f13850f6b37402a1b2330c0014b47d9
/frameworks/native/cmds/installd/installd_constants.h
|
e37d62803210f258ddb843c7d8d0494127069342 |
|
29-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Remove "updatecmds" feature. This feature is very old and hasn't been used in many releases. In addition, it was never taught about multi-user layouts, and it would be incredibly hard to maintain in the new FBE world where CE keys may not appear until several reboots after an OTA. Bug: 26854442 Change-Id: Ibd8660e2a727469cd5ae41dab5e1014a9cfb6748
/frameworks/native/cmds/installd/installd_constants.h
|
b0fad6d04ba05fbad5ce31c7382be174ed5a70b1 |
|
30-Dec-2015 |
David Brazdil <dbrazdil@google.com> |
installd: Rename USEJIT to EXTRACTONLY Change-Id: I8d68e32dd9bbb7f6eee2f3aad886792d85cb12ca
/frameworks/native/cmds/installd/installd_constants.h
|
c7d1b2250e8245a7e4e144758bc3ccd33b8d6319 |
|
11-Jan-2016 |
Jeff Sharkey <jsharkey@android.com> |
Let callers specify which storage to operate on. Since CE and DE storage can have different availability lifecycles, callers can't operate on both at the same time. Let them use flags to specify which storage to work with. Remove old unused methods, and name consistently in preparation for eventual move to AIDL. Bug: 26466827 Change-Id: Id5d7d03f5d8814864eea801f5a46496c085afdff
/frameworks/native/cmds/installd/installd_constants.h
|
02d0de56c75347a0cb8d5a8565dc8c4ee7616057 |
|
12-Nov-2015 |
Andreas Gampe <agampe@google.com> |
Installd: Refactor in preparation for OTA Refactor installd code so reuse with a few key plugin functions is possible. Do a bit of code cleanup. Bug: 25612095 Change-Id: I544604f0a391583a4c07887a8234343a3a255942
/frameworks/native/cmds/installd/installd_constants.h
|