/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 189 * <p>There are three key loops you may be interested in monitoring within your 500 * your data even more aggressively at key times during your 516 * more information about content providers. These are a key aspect of how 984 private static String savedDialogKeyFor(int key) { argument 985 return SAVED_DIALOG_KEY_PREFIX + key; 988 private static String savedDialogArgsKeyFor(int key) { argument 989 return SAVED_DIALOG_ARGS_KEY_PREFIX + key; 1227 final int key = mManagedDialogs.keyAt(i); 1228 ids[i] = key; 1230 dialogState.putBundle(savedDialogKeyFor(key), m [all...] |
H A D | ActivityThread.java | 1658 ResourcesKey key = new ResourcesKey(resDir, 1668 WeakReference<Resources> wr = mActiveResources.get(key); 1690 //Slog.i(TAG, "Resource: key=" + key + ", display metrics=" + metrics); 1694 if (!isDefaultDisplay || key.mOverrideConfiguration != null) { 1699 if (key.mOverrideConfiguration != null) { 1700 config.updateFrom(key.mOverrideConfiguration); 1713 WeakReference<Resources> wr = mActiveResources.get(key); 1723 mActiveResources.put(key, new WeakReference<Resources>(r)); 4545 final ProviderKey key 4972 getIntCoreSetting(String key, int defaultValue) argument [all...] |
H A D | AppGlobals.java | 53 * @param key The setting key. 57 public static int getIntCoreSetting(String key, int defaultValue) { argument 60 return currentActivityThread.getIntCoreSetting(key, defaultValue);
|
H A D | DownloadManager.java | 718 private void putIfNonNull(ContentValues contentValues, String key, Object value) { argument 720 contentValues.put(key, value.toString());
|
H A D | FragmentManager.java | 280 * @param key The name of the entry in the bundle. 283 public abstract void putFragment(Bundle bundle, String key, Fragment fragment); argument 290 * @param key The name of the entry in the bundle. 294 public abstract Fragment getFragment(Bundle bundle, String key); argument 557 public void putFragment(Bundle bundle, String key, Fragment fragment) { argument 562 bundle.putInt(key, fragment.mIndex); 566 public Fragment getFragment(Bundle bundle, String key) { argument 567 int index = bundle.getInt(key, -1); 572 throwException(new IllegalStateException("Fragement no longer exists for key " 573 + key [all...] |
H A D | Instrumentation.java | 62 * If included in the status or final bundle sent to an IInstrumentationWatcher, this key 68 * If included in the status or final bundle sent to an IInstrumentationWatcher, this key 71 * this key should also include the complete set of raw key/value pairs, so that the 829 * Sends the key events corresponding to the text to the app being 855 * Send a key event to the currently focused window/view and wait for it to 892 * Sends an up and down key event sync to the currently focused window. 894 * @param key The integer keycode for the event. 896 public void sendKeyDownUpSync(int key) { argument 897 sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, key)); 1272 addValue(String key, int value, Bundle results) argument [all...] |
H A D | SharedPreferencesImpl.java | 221 public String getString(String key, String defValue) { argument 224 String v = (String)mMap.get(key); 229 public Set<String> getStringSet(String key, Set<String> defValues) { argument 232 Set<String> v = (Set<String>) mMap.get(key); 237 public int getInt(String key, int defValue) { argument 240 Integer v = (Integer)mMap.get(key); 244 public long getLong(String key, long defValue) { argument 247 Long v = (Long)mMap.get(key); 251 public float getFloat(String key, float defValue) { argument 254 Float v = (Float)mMap.get(key); 258 getBoolean(String key, boolean defValue) argument 266 contains(String key) argument 307 putString(String key, String value) argument 313 putStringSet(String key, Set<String> values) argument 320 putInt(String key, int value) argument 326 putLong(String key, long value) argument 332 putFloat(String key, float value) argument 338 putBoolean(String key, boolean value) argument 345 remove(String key) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | AbsoluteFileBackupHelper.java | 68 String key = data.getKey(); 69 if (isKeyInList(key, mFiles)) { 70 File f = new File(key);
|
H A D | BackupDataInput.java | 43 * String key = data.getKey(); 46 * if (key.equals(MY_BACKUP_KEY_ONE)) { 54 * } else if (key.equals(MY_BACKUP_KEY_TO_IGNORE) { 55 * // a key we recognize but wish to discard 68 String key; field in class:BackupDataInput.EntityHeader 117 * Report the key associated with the current entity in the restore stream 118 * @return the current entity's key string 123 return mHeader.key;
|
H A D | BackupDataInputStream.java | 29 * {@link BackupDataInput}. The entity's key string and total data size are available 40 String key; field in class:BackupDataInputStream 98 * Report the key string associated with this entity within the backup data set. 100 * @return The key string for this entity, equivalent to calling 104 return this.key;
|
H A D | BackupDataOutput.java | 29 * as a set of "entities," key/value pairs in which each binary data record "value" is 30 * named with a string "key." 34 * onBackup()} method first writes an "entity header" that supplies the key string for the record 40 * Entity key strings are considered to be unique within a given application's backup 41 * data set. If a backup agent writes a new entity under an existing key string, its value will 44 * existing record's key, but supplying a negative <code>dataSize</code> parameter. 79 * @param key A string key that uniquely identifies the data record within the application 81 * of -1 indicates that the record under this key should be deleted. 85 public int writeEntityHeader(String key, in argument 127 writeEntityHeader_native(int mBackupWriter, String key, int dataSize) argument [all...] |
H A D | BackupHelperDispatcher.java | 120 stream.key = rawKey.substring(pos+1);
|
H A D | FileBackupHelper.java | 96 String key = data.getKey(); 97 if (isKeyInList(key, mFiles)) { 98 File f = new File(mFilesDir, key);
|
H A D | FileBackupHelperBase.java | 109 boolean isKeyInList(String key, String[] list) { argument 111 if (s.equals(key)) {
|
H A D | SharedPreferencesBackupHelper.java | 122 String key = data.getKey(); 123 if (DEBUG) Log.d(TAG, "got entity '" + key + "' size=" + data.size()); 125 if (isKeyInList(key, mPrefGroups)) { 126 File f = context.getSharedPrefsFile(key).getAbsoluteFile();
|
H A D | WallpaperBackupHelper.java | 118 final String key = data.getKey(); 119 if (isKeyInList(key, mKeys)) { 120 if (key.equals(WALLPAPER_IMAGE_KEY)) { 155 } else if (key.equals(WALLPAPER_INFO_KEY)) {
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderOperation.java | 273 * key refers to a column and the value is an index of the back reference whose 296 String key = entry.getKey(); 297 Integer backRefIndex = mValuesBackReferences.getAsInteger(key); 300 throw new IllegalArgumentException("values backref " + key + " is not an integer"); 302 values.put(key, backRefToValue(backRefs, numBackRefs, backRefIndex)); 309 * the key is an index into the selection argument array (see {@link Builder#withSelection}) 440 * Add a {@link ContentValues} of back references. The key is the name of the column 464 public Builder withValueBackReference(String key, int previousResult) { argument 472 mValuesBackReferences.put(key, previousResult); 517 * @param key th 522 withValue(String key, Object value) argument [all...] |
H A D | ContentResolver.java | 854 * @param values The initial values for the newly inserted row. The key is the column name for 915 * @param values The initial values for the newly inserted rows. The key is the column name for 977 * @param values The new field values. The key is the column name for the field. 1377 for (String key : extras.keySet()) { 1378 Object value = extras.get(key);
|
H A D | ContentValues.java | 92 * @param key the name of the value to put 95 public void put(String key, String value) { argument 96 mValues.put(key, value); 111 * @param key the name of the value to put 114 public void put(String key, Byte value) { argument 115 mValues.put(key, value); 121 * @param key the name of the value to put 124 public void put(String key, Short value) { argument 125 mValues.put(key, value); 131 * @param key th 134 put(String key, Integer value) argument 144 put(String key, Long value) argument 154 put(String key, Float value) argument 164 put(String key, Double value) argument 174 put(String key, Boolean value) argument 184 put(String key, byte[] value) argument 193 putNull(String key) argument 211 remove(String key) argument 228 containsKey(String key) argument 239 get(String key) argument 249 getAsString(String key) argument 260 getAsLong(String key) argument 285 getAsInteger(String key) argument 310 getAsShort(String key) argument 335 getAsByte(String key) argument 360 getAsDouble(String key) argument 385 getAsFloat(String key) argument 410 getAsBoolean(String key) argument 433 getAsByteArray(String key) argument 488 putStringArrayList(String key, ArrayList<String> value) argument 498 getStringArrayList(String key) argument [all...] |
H A D | DefaultDataHandler.java | 165 String key = atts.getValue(0); 167 if (key != null && key.length() > 0 && value != null && value.length() > 0) { 171 mValues.put(key, value);
|
H A D | Intent.java | 1202 * search key. 2041 * extra field, {@link #EXTRA_KEY_EVENT}, containing the key event that 2049 * extra field, {@link #EXTRA_KEY_EVENT}, containing the key event that 2643 * <p>NOTE: This should not be used as the primary key of an Intent, 2655 * <p>NOTE: This should not be used as the primary key of an Intent, 2667 * <p>NOTE: This should not be used as the primary key of an Intent, 2679 * <p>NOTE: This should not be used as the primary key of an Intent, 2691 * <p>NOTE: This should not be used as the primary key of an Intent, 2704 * <p>NOTE: This should not be used as the primary key of an Intent, 2716 * <p>NOTE: This should not be used as the primary key o [all...] |
H A D | SharedPreferences.java | 56 * @param key The key of the preference that was changed, added, or 59 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); argument 73 * @param key The name of the preference to modify. 79 Editor putString(String key, String value); argument 85 * @param key The name of the preference to modify. 90 Editor putStringSet(String key, Set<String> values); argument 96 * @param key The name of the preference to modify. 102 Editor putInt(String key, int value); argument 108 * @param key Th 114 putLong(String key, long value) argument 126 putFloat(String key, float value) argument 138 putBoolean(String key, boolean value) argument 154 remove(String key) argument 253 getString(String key, String defValue) argument 271 getStringSet(String key, Set<String> defValues) argument 285 getInt(String key, int defValue) argument 299 getLong(String key, long defValue) argument 313 getFloat(String key, float defValue) argument 327 getBoolean(String key, boolean defValue) argument 336 contains(String key) argument [all...] |
H A D | SyncManager.java | 1436 final String key = authorityName + "/" + accountKey; 1437 final Long lastEventTime = lastTimeMap.get(key); 1453 lastTimeMap.put(key, eventTime);
|
H A D | SyncOperation.java | 34 public final String key; field in class:SyncOperation 69 this.key = toKey(); 90 this.key = toKey(); 144 for (String key : bundle.keySet()) { 145 sb.append(key).append("=").append(bundle.get(key)).append(" ");
|
H A D | SyncQueue.java | 86 // - if an operation with the same key exists and this one should run earlier, 88 // - if an operation with the same key exists and if this one should run 91 final String operationKey = operation.key; 147 SyncOperation operationToRemove = mOperationsMap.remove(operation.key);
|