Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 449) sorted by relevance

12345678910>>...18

/frameworks/base/core/java/android/os/
DBundle.java123 public static Bundle forPair(String key, String value) { in forPair()
262 public void putByte(String key, byte value) { in putByte()
274 public void putChar(String key, char value) { in putChar()
286 public void putShort(String key, short value) { in putShort()
298 public void putFloat(String key, float value) { in putFloat()
310 public void putCharSequence(String key, CharSequence value) { in putCharSequence()
321 public void putParcelable(String key, Parcelable value) { in putParcelable()
334 public void putSize(String key, Size value) { in putSize()
346 public void putSizeF(String key, SizeF value) { in putSizeF()
359 public void putParcelableArray(String key, Parcelable[] value) { in putParcelableArray()
[all …]
DBaseBundle.java268 public boolean containsKey(String key) { in containsKey()
279 public Object get(String key) { in get()
289 public void remove(String key) { in remove()
332 public void putBoolean(String key, boolean value) { in putBoolean()
344 void putByte(String key, byte value) { in putByte()
356 void putChar(String key, char value) { in putChar()
368 void putShort(String key, short value) { in putShort()
380 public void putInt(String key, int value) { in putInt()
392 public void putLong(String key, long value) { in putLong()
404 void putFloat(String key, float value) { in putFloat()
[all …]
DSystemProperties.java35 private static native String native_get(String key); in native_get()
36 private static native String native_get(String key, String def); in native_get()
37 private static native int native_get_int(String key, int def); in native_get_int()
38 private static native long native_get_long(String key, long def); in native_get_long()
39 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean()
40 private static native void native_set(String key, String def); in native_set()
48 public static String get(String key) { in get()
60 public static String get(String key, String def) { in get()
75 public static int getInt(String key, int def) { in getInt()
90 public static long getLong(String key, long def) { in getLong()
[all …]
/frameworks/base/core/java/android/content/
DContentValues.java95 public void put(String key, String value) { in put()
114 public void put(String key, Byte value) { in put()
124 public void put(String key, Short value) { in put()
134 public void put(String key, Integer value) { in put()
144 public void put(String key, Long value) { in put()
154 public void put(String key, Float value) { in put()
164 public void put(String key, Double value) { in put()
174 public void put(String key, Boolean value) { in put()
184 public void put(String key, byte[] value) { in put()
193 public void putNull(String key) { in putNull()
[all …]
DSharedPreferences.java59 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); in onSharedPreferenceChanged()
81 Editor putString(String key, String value); in putString()
94 Editor putStringSet(String key, Set<String> values); in putStringSet()
106 Editor putInt(String key, int value); in putInt()
118 Editor putLong(String key, long value); in putLong()
130 Editor putFloat(String key, float value); in putFloat()
142 Editor putBoolean(String key, boolean value); in putBoolean()
158 Editor remove(String key); in remove()
257 String getString(String key, String defValue); in getString()
275 Set<String> getStringSet(String key, Set<String> defValues); in getStringSet()
[all …]
/frameworks/support/v4/api21/android/support/v4/media/
DMediaMetadataCompatApi21.java30 public static Bitmap getBitmap(Object metadataObj, String key) { in getBitmap()
34 public static long getLong(Object metadataObj, String key) { in getLong()
38 public static Object getRating(Object metadataObj, String key) { in getRating()
42 public static CharSequence getText(Object metadataObj, String key) { in getText()
51 public static void putBitmap(Object builderObj, String key, Bitmap value) { in putBitmap()
55 public static void putLong(Object builderObj, String key, long value) { in putLong()
59 public static void putRating(Object builderObj, String key, Object ratingObj) { in putRating()
63 public static void putText(Object builderObj, String key, CharSequence value) { in putText()
67 public static void putString(Object builderObj, String key, String value) { in putString()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeSharedPreferences.java37 public String getString(String key, String defValue) { in getString()
42 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet()
47 public int getInt(String key, int defValue) { in getInt()
52 public long getLong(String key, long defValue) { in getLong()
57 public float getFloat(String key, float defValue) { in getFloat()
62 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
67 public boolean contains(String key) { in contains()
/frameworks/base/keystore/java/android/security/
DKeyStore.java104 public byte[] get(String key) { in get()
113 public boolean put(String key, byte[] value, int uid, int flags) { in put()
122 public boolean delete(String key, int uid) { in delete()
131 public boolean delete(String key) { in delete()
135 public boolean contains(String key, int uid) { in contains()
144 public boolean contains(String key) { in contains()
207 public boolean generate(String key, int uid, int keyType, int keySize, int flags, in generate()
217 public boolean importKey(String keyName, byte[] key, int uid, int flags) { in importKey()
226 public byte[] getPubkey(String key) { in getPubkey()
235 public boolean delKey(String key, int uid) { in delKey()
[all …]
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
DSessionMap.h50 bool addValue(int key, TValue value) { in addValue()
66 TValue getValue(int key) { in getValue()
104 void removeValue(int key) { in removeValue()
117 bool isCreated(int key) { in isCreated()
167 bool isCreatedInternal(int key) { in isCreatedInternal()
178 TValue getValueInternal(int key) { in getValueInternal()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DSystemProperties_Delegate.java37 /*package*/ static String native_get(String key) { in native_get()
42 /*package*/ static String native_get(String key, String def) { in native_get()
52 /*package*/ static int native_get_int(String key, int def) { in native_get_int()
63 /*package*/ static long native_get_long(String key, long def) { in native_get_long()
78 /*package*/ static boolean native_get_boolean(String key, boolean def) { in native_get_boolean()
96 /*package*/ static void native_set(String key, String def) { in native_set()
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java118 final String key = nextArgRequired(); in parseArgs() local
122 final String key = nextArgRequired(); in parseArgs() local
125 final String key = nextArgRequired(); in parseArgs() local
129 final String key = nextArgRequired(); in parseArgs() local
133 final String key = nextArgRequired(); in parseArgs() local
137 final String key = nextArgRequired(); in parseArgs() local
141 final String key = nextArgRequired(); in parseArgs() local
/frameworks/av/media/libmedia/
DAudioParameter.cpp47 String8 key = String8(pair, eqIdx); in AudioParameter() local
87 status_t AudioParameter::add(const String8& key, const String8& value) in add()
98 status_t AudioParameter::addInt(const String8& key, const int value) in addInt()
109 status_t AudioParameter::addFloat(const String8& key, const float value) in addFloat()
120 status_t AudioParameter::remove(const String8& key) in remove()
130 status_t AudioParameter::get(const String8& key, String8& value) in get()
140 status_t AudioParameter::getInt(const String8& key, int& value) in getInt()
156 status_t AudioParameter::getFloat(const String8& key, float& value) in getFloat()
172 status_t AudioParameter::getAt(size_t index, String8& key, String8& value) in getAt()
/frameworks/av/media/libstagefright/
DMetaData.cpp48 bool MetaData::remove(uint32_t key) { in remove()
60 bool MetaData::setCString(uint32_t key, const char *value) { in setCString()
64 bool MetaData::setInt32(uint32_t key, int32_t value) { in setInt32()
68 bool MetaData::setInt64(uint32_t key, int64_t value) { in setInt64()
72 bool MetaData::setFloat(uint32_t key, float value) { in setFloat()
76 bool MetaData::setPointer(uint32_t key, void *value) { in setPointer()
81 uint32_t key, in setRect()
96 bool MetaData::findCString(uint32_t key, const char **value) { in findCString()
109 bool MetaData::findInt32(uint32_t key, int32_t *value) { in findInt32()
124 bool MetaData::findInt64(uint32_t key, int64_t *value) { in findInt64()
[all …]
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
DCamera2RequestSettingsSet.java83 public <T> boolean set(Key<T> key, T value) { in set()
111 public boolean unset(Key<?> key) { in unset()
134 public <T> T get(Key<T> key) { in get()
155 public boolean contains(Key<?> key) { in contains()
172 public <T> boolean matches(Key<T> key, T value) { in matches()
247 private <T> void setRequestFieldIfNonNull(Builder requestBuilder, Key<T> key) { in setRequestFieldIfNonNull()
/frameworks/compile/mclinker/unittests/
DHashTableTest.cpp111 int key = 100; in TEST_F() local
129 for (int key=0; key<100; ++key) { in TEST_F() local
151 for (unsigned int key=0; key<100; ++key) in TEST_F() local
158 for (unsigned int key=0; key<100; ++key) { in TEST_F() local
176 for (unsigned int key=0; key<100; ++key) { in TEST_F() local
183 for (unsigned int key=0; key<100; ++key) { in TEST_F() local
199 for (unsigned int key=0; key<100; ++key) { in TEST_F() local
206 for (unsigned int key=0; key<20; ++key) { in TEST_F() local
214 for (unsigned int key=20; key<100; ++key) { in TEST_F() local
219 for (unsigned int key=0; key<20; ++key) { in TEST_F() local
[all …]
/frameworks/base/core/java/android/util/
DSparseIntArray.java92 public int get(int key) { in get()
100 public int get(int key, int valueIfKeyNotFound) { in get()
113 public void delete(int key) { in delete()
135 public void put(int key, int value) { in put()
191 public int indexOfKey(int key) { in indexOfKey()
222 public void append(int key, int value) { in append()
250 int key = keyAt(i); in toString() local
DLongSparseLongArray.java94 public long get(long key) { in get()
102 public long get(long key, long valueIfKeyNotFound) { in get()
115 public void delete(long key) { in delete()
137 public void put(long key, long value) { in put()
193 public int indexOfKey(long key) { in indexOfKey()
224 public void append(long key, long value) { in append()
252 long key = keyAt(i); in toString() local
DSparseLongArray.java92 public long get(int key) { in get()
100 public long get(int key, long valueIfKeyNotFound) { in get()
113 public void delete(int key) { in delete()
135 public void put(int key, long value) { in put()
191 public int indexOfKey(int key) { in indexOfKey()
222 public void append(int key, long value) { in append()
250 int key = keyAt(i); in toString() local
DSparseBooleanArray.java89 public boolean get(int key) { in get()
97 public boolean get(int key, boolean valueIfKeyNotFound) { in get()
110 public void delete(int key) { in delete()
132 public void put(int key, boolean value) { in put()
193 public int indexOfKey(int key) { in indexOfKey()
224 public void append(int key, boolean value) { in append()
252 int key = keyAt(i); in toString() local
DLongSparseArray.java103 public E get(long key) { in get()
112 public E get(long key, E valueIfKeyNotFound) { in get()
125 public void delete(long key) { in delete()
139 public void remove(long key) { in remove()
186 public void put(long key, E value) { in put()
281 public int indexOfKey(long key) { in indexOfKey()
328 public void append(long key, E value) { in append()
362 long key = keyAt(i); in toString() local
/frameworks/volley/src/com/android/volley/toolbox/
DNoCache.java30 public Entry get(String key) { in get()
35 public void put(String key, Entry entry) { in put()
39 public void invalidate(String key, boolean fullExpire) { in invalidate()
43 public void remove(String key) { in remove()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java220 public String getString(String key, String defValue) { in getString()
228 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet()
236 public int getInt(String key, int defValue) { in getInt()
243 public long getLong(String key, long defValue) { in getLong()
250 public float getFloat(String key, float defValue) { in getFloat()
257 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
265 public boolean contains(String key) { in contains()
306 public Editor putString(String key, String value) { in putString()
312 public Editor putStringSet(String key, Set<String> values) { in putStringSet()
319 public Editor putInt(String key, int value) { in putInt()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DContentValuesBuilder.java31 public ContentValuesBuilder put(String key, String value) { in put()
47 public ContentValuesBuilder put(String key, Integer value) { in put()
73 public ContentValuesBuilder put(String key, byte[] value) { in put()
78 public ContentValuesBuilder putNull(String key) { in putNull()
/frameworks/opt/bitmap/src/com/android/bitmap/
DContiguousFIFOAggregator.java94 public void expect(final T key, final Callback<T> callback) { in expect()
126 public void forget(final T key) { in forget()
165 public void execute(final T key, final Runnable task) { in execute()
223 private void onFirstExpectedChanged(final T key) { in onFirstExpectedChanged()
239 private boolean contains(final T key) { in contains()
256 final T key = it.next(); in prettyPrint() local
292 void onBecomeFirstExpected(final T key); in onBecomeFirstExpected()
/frameworks/support/v4/java/android/support/v4/util/
DLruCache.java77 public final V get(K key) { in get()
131 public final V put(K key, V value) { in put()
163 K key; in trimToSize() local
192 public final V remove(K key) { in remove()
227 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} in entryRemoved()
244 protected V create(K key) { in create()
248 private int safeSizeOf(K key, V value) { in safeSizeOf()
263 protected int sizeOf(K key, V value) { in sizeOf()

12345678910>>...18