Searched refs:key (Results 276 - 300 of 403) sorted by last modified time

<<11121314151617

/frameworks/base/core/java/android/content/
H A DSharedPreferences.java56 * @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 DSyncManager.java1436 final String key = authorityName + "/" + accountKey;
1437 final Long lastEventTime = lastTimeMap.get(key);
1453 lastTimeMap.put(key, eventTime);
H A DSyncOperation.java34 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 DSyncQueue.java86 // - 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);
H A DSyncStorageEngine.java1084 for (String key : b1.keySet()) {
1085 if (!b2.containsKey(key)) {
1088 if (!b1.get(key).equals(b2.get(key))) {
1791 for (String key : extras.keySet()) {
1793 out.attribute(null, "name", key);
1794 final Object value = extras.get(key);
/frameworks/base/core/java/android/content/res/
H A DResources.java1905 final long key = isColorDrawable ? value.data :
1908 Drawable dr = getCachedDrawable(isColorDrawable ? mColorDrawableCache : mDrawableCache, key);
1915 ? sPreloadedColorDrawables.get(key)
1917 ? sPreloadedDrawables.get(key) : null);
1987 sPreloadedColorDrawables.put(key, cs);
1989 sPreloadedDrawables.put(key, cs);
1995 // Integer.toHexString(key.intValue())
1998 mColorDrawableCache.put(key, new WeakReference<Drawable.ConstantState>(cs));
2000 mDrawableCache.put(key, new WeakReference<Drawable.ConstantState>(cs));
2012 long key) {
2010 getCachedDrawable( LongSparseArray<WeakReference<ConstantState>> drawableCache, long key) argument
2117 getCachedColorStateList(long key) argument
[all...]
H A DStringBlock.java276 String key = tag.substring(t + 1, eq);
279 buffer.setSpan(new Annotation(key, value),
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java400 * return the collation key
402 * @return the collation key
414 * return the collation key in hex format
416 * @return the collation key in hex format
581 * @param values The {@link ContentValues} to put the value into, with the field as the key
606 * @param values The {@link ContentValues} to put the value into, with the field as the key
607 * @param key The key to store the value with in the map
610 ContentValues values, String key) {
611 values.put(key, curso
609 cursorStringToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
633 cursorIntToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
663 cursorLongToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
694 cursorDoubleToContentValues(Cursor cursor, String field, ContentValues values, String key) argument
1119 getColumnIndex(String key) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnection.java417 // Update foreign key mode.
1249 protected void entryRemoved(boolean evicted, String key, argument
/frameworks/base/core/java/android/gesture/
H A DGestureStore.java244 final String key = entry.getKey();
249 out.writeUTF(key);
/frameworks/base/core/java/android/hardware/
H A DCamera.java1719 // Parameter key suffix for supported values.
2017 * semi-colon delimited key-value pairs
2037 * @param flattened a String of parameters (key-value paired) that
2056 public void remove(String key) { argument
2057 mMap.remove(key);
2063 * @param key the key name for the parameter
2066 public void set(String key, String value) { argument
2067 if (key.indexOf('=') != -1 || key
2085 set(String key, int value) argument
2089 set(String key, List<Area> areas) argument
2120 get(String key) argument
2130 getInt(String key) argument
3632 getFloat(String key, float defaultValue) argument
3641 getInt(String key, int defaultValue) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java87 /** Default key width */
90 /** Default key height */
99 /** Key instance for the shift key, if present */
102 /** Key index for the shift key, if present */
105 /** Current key width, while loading the keyboard */
108 /** Current key height, while loading the keyboard */
144 /** Number of key widths from current touch point to search for nearest keys. */
151 * Some of the key size defaults can be overridden per row from what the {@link Keyboard}
161 /** Default width of a key in this row. */
163 /** Default height of a key i
[all...]
H A DKeyboardView.java58 * detecting key presses and touch movements.
77 * Called when the user presses a key. This is sent before the {@link #onKey} is called.
79 * @param primaryCode the unicode of the key being pressed. If the touch is not on a valid
80 * key, the value will be zero.
85 * Called when the user releases a key. This is sent after the {@link #onKey} is called.
87 * @param primaryCode the code of the key that was released
92 * Send a key press to the listener.
93 * @param primaryCode this is the key that was pressed
95 * with the primary code being the first. If the primary key code is
97 * will include other characters that may be on the same key o
835 getPreviewText(Key key) argument
[all...]
/frameworks/base/core/java/android/net/
H A DLinkCapabilities.java46 * can request for a certain requirement corresponding to that key.
48 * can read the value of that key from the socket but cannot request
52 * define the syntax for each value string associated with a key.
90 * This key is set via the needs map.
225 * Given the key return the capability string
227 * @param key
230 public String get(int key) { argument
231 return mCapabilities.get(key);
235 * Store the key/value capability pair
237 * @param key
240 put(int key, String value) argument
251 containsKey(int key) argument
[all...]
H A DUri.java1470 * Encodes the key and value and then appends the parameter to the
1473 * @param key which will be encoded
1476 public Builder appendQueryParameter(String key, String value) { argument
1480 String encodedParameter = encode(key, null) + "="
1589 * Searches the query string for parameter values with the given key.
1591 * @param key which will be encoded
1594 * @throws NullPointerException if key is null
1597 public List<String> getQueryParameters(String key) { argument
1601 if (key == null) {
1602 throw new NullPointerException("key");
1660 getQueryParameter(String key) argument
1714 getBooleanQueryParameter(String key, boolean defaultValue) argument
[all...]
/frameworks/base/core/java/android/net/nsd/
H A DDnsSdTxtRecord.java65 * Set a key/value pair. Setting an existing key will replace its value.
66 * @param key Must be ascii with no '='
67 * @param value matching value to key
69 public void set(String key, String value) { argument
83 keyBytes = key.getBytes("US-ASCII");
86 throw new IllegalArgumentException("key should be US-ASCII");
91 throw new IllegalArgumentException("= is not a valid character in key");
99 int currentLoc = remove(key);
107 * Get a value for a key
112 get(String key) argument
118 remove(String key) argument
150 contains(String key) argument
[all...]
H A DNsdManager.java139 * The lookup key for an int that indicates whether network service discovery is enabled
382 int key;
385 key = mListenerKey++;
386 } while (key == INVALID_LISTENER_KEY);
387 mListenerMap.put(key, listener);
388 mServiceMap.put(key, s);
390 return key;
393 private Object getListener(int key) { argument
394 if (key == INVALID_LISTENER_KEY) return null;
396 return mListenerMap.get(key);
400 getNsdService(int key) argument
406 removeListener(int key) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DINfcTag.aidl40 int formatNdef(int nativeHandle, in byte[] key);
/frameworks/base/core/java/android/nfc/tech/
H A DMifareClassic.java48 * authenticating with a key. {@see #authenticateSectorWithKeyA} and
55 * <li>{@link #KEY_DEFAULT} is the default factory key for MIFARE Classic.
56 * <li>{@link #KEY_MIFARE_APPLICATION_DIRECTORY} is the well-known key for
59 * <li>{@link #KEY_NFC_FORUM} is the well-known key for MIFARE Classic cards that
77 * The default factory key.
82 * The well-known key for tags formatted according to the
88 * The well-known key for tags formatted according to the
316 * Authenticate a sector with key A.
318 * <p>Successful authentication of a sector with key A enables other
319 * I/O operations on that sector. The set of operations granted by key
338 authenticateSectorWithKeyA(int sectorIndex, byte[] key) argument
365 authenticateSectorWithKeyB(int sectorIndex, byte[] key) argument
369 authenticate(int sector, byte[] key, boolean keyA) argument
[all...]
/frameworks/base/core/java/android/os/
H A DBundle.java136 * Make a Bundle for a single key/value pair.
140 public static Bundle forPair(String key, String value) { argument
143 b.putString(key, value);
264 * Returns true if the given key is contained in the mapping
267 * @param key a String key
268 * @return true if the key is part of the mapping, false otherwise
270 public boolean containsKey(String key) { argument
272 return mMap.containsKey(key);
276 * Returns the entry with the given key a
281 get(String key) argument
291 remove(String key) argument
394 putBoolean(String key, boolean value) argument
406 putByte(String key, byte value) argument
418 putChar(String key, char value) argument
430 putShort(String key, short value) argument
442 putInt(String key, int value) argument
454 putLong(String key, long value) argument
466 putFloat(String key, float value) argument
478 putDouble(String key, double value) argument
490 putString(String key, String value) argument
502 putCharSequence(String key, CharSequence value) argument
514 putParcelable(String key, Parcelable value) argument
528 putParcelableArray(String key, Parcelable[] value) argument
542 putParcelableArrayList(String key, ArrayList<? extends Parcelable> value) argument
557 putSparseParcelableArray(String key, SparseArray<? extends Parcelable> value) argument
571 putIntegerArrayList(String key, ArrayList<Integer> value) argument
583 putStringArrayList(String key, ArrayList<String> value) argument
595 putCharSequenceArrayList(String key, ArrayList<CharSequence> value) argument
607 putSerializable(String key, Serializable value) argument
619 putBooleanArray(String key, boolean[] value) argument
631 putByteArray(String key, byte[] value) argument
643 putShortArray(String key, short[] value) argument
655 putCharArray(String key, char[] value) argument
667 putIntArray(String key, int[] value) argument
679 putLongArray(String key, long[] value) argument
691 putFloatArray(String key, float[] value) argument
703 putDoubleArray(String key, double[] value) argument
715 putStringArray(String key, String[] value) argument
727 putCharSequenceArray(String key, CharSequence[] value) argument
739 putBundle(String key, Bundle value) argument
755 putIBinder(String key, IBinder value) argument
767 getBoolean(String key) argument
773 typeWarning(String key, Object value, String className, Object defaultValue, ClassCastException e) argument
789 typeWarning(String key, Object value, String className, ClassCastException e) argument
801 getBoolean(String key, boolean defaultValue) argument
822 getByte(String key) argument
834 getByte(String key, byte defaultValue) argument
855 getChar(String key) argument
867 getChar(String key, char defaultValue) argument
888 getShort(String key) argument
900 getShort(String key, short defaultValue) argument
921 getInt(String key) argument
933 getInt(String key, int defaultValue) argument
954 getLong(String key) argument
966 getLong(String key, long defaultValue) argument
987 getFloat(String key) argument
999 getFloat(String key, float defaultValue) argument
1020 getDouble(String key) argument
1032 getDouble(String key, double defaultValue) argument
1054 getString(String key) argument
1076 getString(String key, String defaultValue) argument
1098 getCharSequence(String key) argument
1120 getCharSequence(String key, CharSequence defaultValue) argument
1142 getBundle(String key) argument
1164 getParcelable(String key) argument
1186 getParcelableArray(String key) argument
1208 getParcelableArrayList(String key) argument
1231 getSparseParcelableArray(String key) argument
1253 getSerializable(String key) argument
1275 getIntegerArrayList(String key) argument
1297 getStringArrayList(String key) argument
1319 getCharSequenceArrayList(String key) argument
1341 getBooleanArray(String key) argument
1363 getByteArray(String key) argument
1385 getShortArray(String key) argument
1407 getCharArray(String key) argument
1429 getIntArray(String key) argument
1451 getLongArray(String key) argument
1473 getFloatArray(String key) argument
1495 getDoubleArray(String key) argument
1517 getStringArray(String key) argument
1539 getCharSequenceArray(String key) argument
1565 getIBinder(String key) argument
[all...]
H A DParcel.java128 * for key/value maps of heterogeneous values. This has many optimizations
2225 Object key = readValue(loader);
2227 outVal.put(key, value);
2254 int key = readInt();
2256 //Log.i(TAG, "Unmarshalling key=" + key + " value=" + value);
2257 outVal.append(key, value);
2265 int key = readInt();
2267 //Log.i(TAG, "Unmarshalling key=" + key
[all...]
H A DPerformanceCollector.java81 * @param results memory and runtime metrics stored as key/value pairs,
143 * In a results Bundle, this key references a List of iteration Bundles.
147 * In an iteration Bundle, this key describes the iteration.
151 * In a results Bundle, this key reports the cpu time of the code block
156 * In a results Bundle, this key reports the execution time of the code
161 * In a snapshot Bundle, this key reports the number of received
166 * In a snapshot Bundle, this key reports the number of transactions sent by
171 * In a snapshot Bundle, this key reports the number of received
176 * In a snapshot Bundle, this key reports the number of transactions sent by
181 * In a snapshot Bundle, this key report
[all...]
H A DSystemProperties.java26 * store contains a list of string key-value pairs.
37 private static native String native_get(String key); argument
38 private static native String native_get(String key, String def); argument
39 private static native int native_get_int(String key, int def); argument
40 private static native long native_get_long(String key, long def); argument
41 private static native boolean native_get_boolean(String key, boolean def); argument
42 private static native void native_set(String key, String def); argument
46 * Get the value for the given key.
47 * @return an empty string if the key isn't found
48 * @throws IllegalArgumentException if the key exceed
50 get(String key) argument
62 get(String key, String def) argument
77 getInt(String key, int def) argument
92 getLong(String key, long def) argument
112 getBoolean(String key, boolean def) argument
124 set(String key, String val) argument
[all...]
H A DUEventObserver.java127 // collection of key=value pairs parsed from the uevent message
140 // key is before the equals sign, and value is after
149 public String get(String key) { argument
150 return mMap.get(key);
153 public String get(String key, String defaultValue) { argument
154 String result = mMap.get(key);
196 final String key = (String)mKeysAndObservers.get(i);
197 if (message.contains(key)) {
224 /** Removes every key/value pair where value=observer from mObservers */
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java254 public int createSecureContainer(String id, int sizeMb, String fstype, String key, argument
264 _data.writeString(key);
323 * Mount a secure container with the specified key and owner UID.
326 public int mountSecureContainer(String id, String key, int ownerUid) argument
334 _data.writeString(key);
487 * key and only allows the calling process's UID access to the
492 public void mountObb(String rawPath, String canonicalPath, String key, argument
500 _data.writeString(key);
938 String key;
939 key
1166 createSecureContainer(String id, int sizeMb, String fstype, String key, int ownerUid, boolean external) argument
1247 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
1254 mountSecureContainer(String id, String key, int ownerUid) argument
[all...]

Completed in 3574 milliseconds

<<11121314151617