Home | History | Annotate | Download | only in server

Lines Matching defs:Metadata

57     // key under which we store global metadata (individual app metadata
64 private HashMap<String, Metadata> mRestoredSignatures;
66 private HashMap<String, Metadata> mStateVersions = new HashMap<String, Metadata>();
73 public class Metadata {
77 Metadata(int version, Signature[] sigs) {
96 public Metadata getRestoredMetadata(String packageName) {
98 Slog.w(TAG, "getRestoredMetadata() before metadata read!");
107 Slog.w(TAG, "getRestoredPackages() before metadata read!");
130 // of the metadata. We force this by removing everything from the
134 Slog.i(TAG, "Previous metadata " + mStoredIncrementalVersion + " mismatch vs "
141 * Global metadata:
150 if (DEBUG) Slog.v(TAG, "Storing global metadata key");
155 if (DEBUG) Slog.v(TAG, "Global metadata key already stored");
165 // We've already handled the metadata key; skip it here
183 // metadata again. In either case, take it out of mExisting so that
198 // We need to store this app's metadata
200 * Metadata for each package:
212 Slog.v(TAG, "+ writing metadata for " + packName
226 if (DEBUG) Slog.v(TAG, "- removing metadata for deleted pkg " + app);
256 HashMap<String, Metadata> sigMap = new HashMap<String, Metadata>();
290 // it's a file metadata record
294 Slog.i(TAG, " read metadata for " + key
308 sigMap.put(key, new Metadata(versionCode, sigs));
370 // with the exception of the metadata block, to which is also appended the
372 // If they mismatch the current system, we'll re-store the metadata key.
385 Slog.e(TAG, "No global metadata in state file!");
389 // The global metadata was first; now read all the apps
394 mStateVersions.put(pkg, new Metadata(versionCode, null));
410 // by the time we get here we know we've stored the global metadata record