Lines Matching refs:key
98 // want to cache the existence of a key, but not store its value.
586 // Put methods - new value is in the args bundle under the key named by
610 // Looks up value 'key' in 'table' and returns either a single-pair Bundle,
613 final SettingsCache cache, String key) {
615 Slog.e(TAG, "cache is null for user " + UserHandle.getCallingUserId() + " : key=" + key);
619 Bundle value = cache.get(key);
639 cursor = db.query(table, COLUMN_VALUE, "name=?", new String[]{key},
643 return cache.putIfAbsent(key, cursor.getString(0));
651 cache.putIfAbsent(key, null);
853 // If this is an insert() of a key that has been migrated to the global store,
858 if (LOCAL_LOGV) Slog.i(TAG, "Rewrite of insert() of now-global key " + name);
1089 protected void entryRemoved(boolean evicted, String key, Bundle oldValue, Bundle newValue) {
1102 public Bundle putIfAbsent(String key, String value) {
1106 if (get(key) == null) {
1107 put(key, bundle);
1115 * Populates a key in a given (possibly-null) cache.