History log of /frameworks/base/services/core/java/com/android/server/pm/PackageManagerServiceUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dab38e000436bf8234955b0333eaecf389e65b6f 10-Sep-2016 Andreas Gampe <agampe@google.com> OtaDexopt: Downgrade apps when low on space

When running low on space, attempt to "downgrade" apps to lower
states in the optimization flow to free up space before starting
the OTA.

Bug: 31347757
Change-Id: I3a44b106b83d86d7290f4c557267b319f28de12a
/frameworks/base/services/core/java/com/android/server/pm/PackageManagerServiceUtils.java
d3e07d46d41e8411def67c2150a0bae064e900dc 07-Sep-2016 Andreas Gampe <agampe@google.com> Package Manager: Sort list of packages to dexopt

Sort the list by last-use-time, if available. Interleave the
dependencies with the packages.

Clean up the code a bit for better code reuse and ease of writing
filters.

This should help with prioritization under space constraints.

Bug: 31347757
Change-Id: Ia0ec62faf013a379dc4c80b18fd6b2bfbfa470c4
/frameworks/base/services/core/java/com/android/server/pm/PackageManagerServiceUtils.java
fa78b219b7dc006a2863fc0a6d2ff68324797f8f 26-May-2016 Nicolas Geoffray <ngeoffray@google.com> Look at last used app when filtering.

In order to cover cases where a device hasn't been used
for a while.

bug:28969280
Change-Id: I897e833ed83912b848f25a7a81fe59f0ee655be1
/frameworks/base/services/core/java/com/android/server/pm/PackageManagerServiceUtils.java
6d99f796711882ba60977c211d0f92252fe7ad4a 16-May-2016 Narayan Kamath <narayan@google.com> PackageManager: Fix reference profile canonicalization.

Foreign dex markers are named in the runtime by calling realpath(3) on the input
dexfile path and replacing "/" with "@". On the Java side, we're using
File.getCanonicalPath, which is similar but isn't quite the same. It tries
to call realpath() directly, but if that fails, it resorts to a series of
increasingly desperate measures to calculate a "canonical path". We just
use realpath instead.

Also, don't attempt to delete a profile if canonicalization fails.

bug: 28740848
Change-Id: Ie5d5af590187e793db633342a42b923865e5c005
/frameworks/base/services/core/java/com/android/server/pm/PackageManagerServiceUtils.java
90e269917e1d8f9fadb12c3528b8c360b2271e82 18-Apr-2016 David Brazdil <dbrazdil@google.com> Change app selection policy for post-OTA verification

Changes the policy for selecting packages which will be pre-verified
during post-OTA boot animation.

For Nx to Ny, an app is pre-verified if used in the foreground in the
last 7 days, or if its APK was loaded by other apps.

For M to N (or early N builds without detailed stats), an app is
pre-verified if it has any recorded use in the last 7 days.

Bug: 27902702
Bug: 27350503
Change-Id: I2b38daf017ecd0e5aa5ed596ed9351cffa03dbcb
/frameworks/base/services/core/java/com/android/server/pm/PackageManagerServiceUtils.java
ca82e616d3131570bf2ee29778f4796f343720d5 20-Apr-2016 Brian Carlstrom <bdc@google.com> Add reasons to notifyPackageUse calls

This is so we can record more specific times in PackageUsage.
If file with only one timestamp per package is found, the value is
copied to all usage slots.

Bug: 27902702
Change-Id: I8affe43c735e54620a9204433aad367cfddfded7
/frameworks/base/services/core/java/com/android/server/pm/PackageManagerServiceUtils.java
d5896630f6a2f21da107031cab216dc93bdcd851 05-Mar-2016 Jeff Sharkey <jsharkey@android.com> Move more PM calls to ParceledListSlice.

Since the data returned by these calls can grow unbounded based on
various GET flags, we need to switch 'em over.

Bug: 27391893
Change-Id: Ie849ca30dbaaa91158da4c83675657715629a0ee
/frameworks/base/services/core/java/com/android/server/pm/PackageManagerServiceUtils.java
b62d690e7e931a07a9503ccbd7cc107b1af3fc64 11-Feb-2016 David Brazdil <dbrazdil@google.com> Address minor comments after go/ag/858723

Change-Id: I549bd3290ae47d46b2ef10553466db2c29296ee9
/frameworks/base/services/core/java/com/android/server/pm/PackageManagerServiceUtils.java
6b4736d604fd91aaedc6f3fe9be5a1e757aab86c 04-Feb-2016 David Brazdil <dbrazdil@google.com> Apply 'used in last 7 days' filter to OTA package extraction

Bug: 26813999

Change-Id: I5f1eddb1d5e9f0bbaab62d86e6ccf3cc097c4edb
(cherry picked from commit e292175fbd495a63b48560439d2a84b239f91e18)
/frameworks/base/services/core/java/com/android/server/pm/PackageManagerServiceUtils.java