Lines Matching refs:key
57 // key under which we store global metadata (individual app metadata
58 // is stored using the package name as a key)
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
244 private static void writeEntity(BackupDataOutput data, String key, byte[] bytes)
246 data.writeEntityHeader(key, bytes.length);
261 String key = data.getKey();
264 if (DEBUG) Slog.v(TAG, " got key=" + key + " dataSize=" + dataSize);
272 if (key.equals(GLOBAL_METADATA_KEY)) {
294 Slog.i(TAG, " read metadata for " + key
300 Slog.w(TAG, "Not restoring package " + key
306 app.packageName = key;
308 sigMap.put(key, new Metadata(versionCode, sigs));
372 // If they mismatch the current system, we'll re-store the metadata key.