OSDN Git Service

Frameworks/base: Add new flow to OtaDexoptService
authorAndreas Gampe <agampe@google.com>
Fri, 24 Jun 2016 03:27:12 +0000 (20:27 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 6 Sep 2016 17:39:56 +0000 (10:39 -0700)
commitd15300cf38ae3840309dc6cb6c093b17713fc277
treef986de4877b64b212f4fd08b325c4e35dd8db379
parentff8ab4c9fade0dd95bac6df6506e1ce14dbd8e42
Frameworks/base: Add new flow to OtaDexoptService

Add functionality to capture/intercept installd communication, and
use this to return the full communication for dexopt. These parameters
can be used to drive otapreopt_chroot directly.

Keep the old direct invocation alive until devices have transitioned
to a service that exposes this API.

In preparation for renaming of A/B OTA artifacts to include target
slot names.

Bug: 25612095
Bug: 28069686
Change-Id: I14728ee1266f3882cada8f08dd21891ed5f7a0cb
(cherry picked from commit cc241a580cb9b753d0dde0cea578feb74ad517e7)
core/java/android/content/pm/IOtaDexopt.aidl
services/core/java/com/android/server/pm/Installer.java
services/core/java/com/android/server/pm/OtaDexoptService.java
services/core/java/com/android/server/pm/OtaDexoptShellCommand.java