更新package流程
$ adb logcat |find "wenfeng"
01-01 23:47:18.460 29333 29707 W wenfeng : killProcess
01-01 23:47:18.460 29333 29707 W wenfeng : java.lang.Throwable
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.Settings.addPackageSettingLPw(Settings.java:1013)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.Settings.insertPackageSettingLPw(Settings.java:1006)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.PackageManagerService.commitPackageSettings(PackageManagerService.java:13054)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.PackageManagerService.scanPackageDirtyLI(PackageManagerService.java:12543)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:12025)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.PackageManagerService.scanPackageTracedLI(PackageManagerService.java:12001)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.PackageManagerService.installNewPackageLIF(PackageManagerService.java:19277)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:20582)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.PackageManagerService.installPackageTracedLI(PackageManagerService.java:20073)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.PackageManagerService.-wrap35(Unknown Source:0)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.pm.PackageManagerService$11.run(PackageManagerService.java:17498)
01-01 23:47:18.460 29333 29707 W wenfeng : at android.os.Handler.handleCallback(Handler.java:790)
01-01 23:47:18.460 29333 29707 W wenfeng : at android.os.Handler.dispatchMessage(Handler.java:99)
01-01 23:47:18.460 29333 29707 W wenfeng : at android.os.Looper.loop(Looper.java:183)
01-01 23:47:18.460 29333 29707 W wenfeng : at android.os.HandlerThread.run(HandlerThread.java:65)
01-01 23:47:18.460 29333 29707 W wenfeng : at com.android.server.ServiceThread.run(ServiceThread.java:46)
packageinstall
01-02 22:33:39.427 32274 831 E wenfeng : commit
01-02 22:33:39.427 32274 831 E wenfeng : java.lang.Throwable
01-02 22:33:39.427 32274 831 E wenfeng : at com.android.server.pm.PackageInstallerSession.commit(PackageInstallerSession.java:697)
01-02 22:33:39.427 32274 831 E wenfeng : at android.content.pm.PackageInstaller$Session.commit(PackageInstaller.java:922)
01-02 22:33:39.427 32274 831 E wenfeng : at com.android.server.pm.PackageManagerShellCommand.doCommitSession(PackageManagerShellCommand.java:1478)
01-02 22:33:39.427 32274 831 E wenfeng : at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:213)
01-02 22:33:39.427 32274 831 E wenfeng : at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:109)
01-02 22:33:39.427 32274 831 E wenfeng : at android.os.ShellCommand.exec(ShellCommand.java:96)
01-02 22:33:39.427 32274 831 E wenfeng : at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:24667)
01-02 22:33:39.427 32274 831 E wenfeng : at android.os.Binder.shellCommand(Binder.java:594)
01-02 22:33:39.427 32274 831 E wenfeng : at android.os.Binder.onTransact(Binder.java:492)
01-02 22:33:39.427 32274 831 E wenfeng : at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2785)
01-02 22:33:39.427 32274 831 E wenfeng : at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4478)
01-02 22:33:39.427 32274 831 E wenfeng : at android.os.Binder.execTransact(Binder.java:697)
网友评论