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>
Mon, 27 Jun 2016 22:10:12 +0000 (15:10 -0700)
commitcc241a580cb9b753d0dde0cea578feb74ad517e7
tree1f39f439b3e356bfe32474df23b4116f63fba0e4
parent7f1ca4fe670f63cd21476c96eadd6870922c11c0
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
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