OSDN Git Service

Start removing remaining pm code to package manager
authorDianne Hackborn <hackbod@google.com>
Fri, 20 Oct 2017 23:16:32 +0000 (16:16 -0700)
committerDianne Hackborn <hackbod@google.com>
Wed, 25 Oct 2017 19:19:26 +0000 (12:19 -0700)
commitc81983a0c3d7bfe8384dbf48909f4bcf300e36d2
tree5bde759ec82eb5330ff0f79f277d137b9efb1be4
parent8664028d4f0642ea44c83f87a85184813ac39972
Start removing remaining pm code to package manager

Everything is now moved out of the pm command except for
the various install commands.  I am going to hold of on
those since they require doing some resolution with the
current implementations in the package manager to make
sure they match and behave identically to the implementations
currently in the pm command.  But other than that, everything
in pm is now just redirecting over to "cmd package".

Also fix up some of the dumpsys output of a few other sevices
when asking to print the data for a particular package, so
the "pm dump" command gives a little more sane result.

Test: manual

Change-Id: I139e06e560203b72243d7eea9543c2240db0f8f8
cmds/pm/src/com/android/commands/pm/Pm.java
core/java/android/app/ActivityManager.java
core/java/android/os/BatteryStats.java
core/java/android/os/Binder.java
core/java/android/os/ShellCommand.java
services/core/java/com/android/server/am/ActivityManagerService.java
services/core/java/com/android/server/pm/PackageManagerShellCommand.java
services/usage/java/com/android/server/usage/AppIdleHistory.java
services/usage/java/com/android/server/usage/AppStandbyController.java
services/usage/java/com/android/server/usage/UsageStatsService.java
services/usage/java/com/android/server/usage/UserUsageStatsService.java