Home
last modified time | relevance | path

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

12345678910>>...31

/frameworks/base/core/java/android/os/
DBundle.java137 public static Bundle forPair(String key, String value) { in forPair()
236 public void remove(String key) { in remove()
389 public void putByte(@Nullable String key, byte value) { in putByte()
401 public void putChar(@Nullable String key, char value) { in putChar()
413 public void putShort(@Nullable String key, short value) { in putShort()
425 public void putFloat(@Nullable String key, float value) { in putFloat()
437 public void putCharSequence(@Nullable String key, @Nullable CharSequence value) { in putCharSequence()
448 public void putParcelable(@Nullable String key, @Nullable Parcelable value) { in putParcelable()
461 public void putSize(@Nullable String key, @Nullable Size value) { in putSize()
473 public void putSizeF(@Nullable String key, @Nullable SizeF value) { in putSizeF()
[all …]
DBaseBundle.java434 public boolean containsKey(String key) { in containsKey()
446 public Object get(String key) { in get()
456 public void remove(String key) { in remove()
499 public void putBoolean(@Nullable String key, boolean value) { in putBoolean()
511 void putByte(@Nullable String key, byte value) { in putByte()
523 void putChar(@Nullable String key, char value) { in putChar()
535 void putShort(@Nullable String key, short value) { in putShort()
547 public void putInt(@Nullable String key, int value) { in putInt()
559 public void putLong(@Nullable String key, long value) { in putLong()
571 void putFloat(@Nullable String key, float value) { in putFloat()
[all …]
DSystemProperties.java58 private static void onKeyAccess(String key) { in onKeyAccess()
78 private static native String native_get(String key); in native_get()
79 private static native String native_get(String key, String def); in native_get()
80 private static native int native_get_int(String key, int def); in native_get_int()
81 private static native long native_get_long(String key, long def); in native_get_long()
82 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean()
83 private static native void native_set(String key, String def); in native_set()
91 public static String get(String key) { in get()
100 public static String get(String key, String def) { in get()
112 public static int getInt(String key, int def) { in getInt()
[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.java60 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); in onSharedPreferenceChanged()
82 Editor putString(String key, @Nullable String value); in putString()
95 Editor putStringSet(String key, @Nullable Set<String> values); in putStringSet()
107 Editor putInt(String key, int value); in putInt()
119 Editor putLong(String key, long value); in putLong()
131 Editor putFloat(String key, float value); in putFloat()
143 Editor putBoolean(String key, boolean value); in putBoolean()
159 Editor remove(String key); in remove()
259 String getString(String key, @Nullable String defValue); in getString()
278 Set<String> getStringSet(String key, @Nullable Set<String> defValues); in getStringSet()
[all …]
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceDataStore.java54 public void putString(String key, @Nullable String value) { in putString()
67 public void putStringSet(String key, @Nullable Set<String> values) { in putStringSet()
80 public void putInt(String key, int value) { in putInt()
93 public void putLong(String key, long value) { in putLong()
106 public void putFloat(String key, float value) { in putFloat()
119 public void putBoolean(String key, boolean value) { in putBoolean()
132 public String getString(String key, @Nullable String defValue) { in getString()
145 public Set<String> getStringSet(String key, @Nullable Set<String> defValues) { in getStringSet()
157 public int getInt(String key, int defValue) { in getInt()
169 public long getLong(String key, long defValue) { in getLong()
[all …]
/frameworks/base/core/java/android/preference/
DPreferenceDataStore.java54 default void putString(String key, @Nullable String value) { in putString()
67 default void putStringSet(String key, @Nullable Set<String> values) { in putStringSet()
80 default void putInt(String key, int value) { in putInt()
93 default void putLong(String key, long value) { in putLong()
106 default void putFloat(String key, float value) { in putFloat()
119 default void putBoolean(String key, boolean value) { in putBoolean()
131 default String getString(String key, @Nullable String defValue) { in getString()
143 default Set<String> getStringSet(String key, @Nullable Set<String> defValues) { in getStringSet()
154 default int getInt(String key, int defValue) { in getInt()
165 default long getLong(String key, long defValue) { in getLong()
[all …]
/frameworks/native/libs/binder/
DPersistableBundle.cpp48 bool getValue(const android::String16& key, T* out, const map<android::String16, T>& map) { in getValue()
79 #define RETURN_IF_ENTRY_ERASED(map, key) \ argument
152 size_t PersistableBundle::erase(const String16& key) { in erase()
166 void PersistableBundle::putBoolean(const String16& key, bool value) { in putBoolean()
171 void PersistableBundle::putInt(const String16& key, int32_t value) { in putInt()
176 void PersistableBundle::putLong(const String16& key, int64_t value) { in putLong()
181 void PersistableBundle::putDouble(const String16& key, double value) { in putDouble()
186 void PersistableBundle::putString(const String16& key, const String16& value) { in putString()
191 void PersistableBundle::putBooleanVector(const String16& key, const vector<bool>& value) { in putBooleanVector()
196 void PersistableBundle::putIntVector(const String16& key, const vector<int32_t>& value) { in putIntVector()
[all …]
/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/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java390 Key<Float> key = CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE; in getMinimumFocusDistanceChecked() local
423 Key<Integer> key = CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION; in getFocusDistanceCalibrationChecked() local
481 Key<int[]> key = CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES; in getAeAvailableAntiBandingModesChecked() local
519 Key<Boolean> key = CameraCharacteristics.FLASH_INFO_AVAILABLE; in getFlashInfoChecked() local
531 Key<int[]> key = in getAvailableTestPatternModesChecked() local
553 Key<Size[]> key = CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES; in getAvailableThumbnailSizesChecked() local
581 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_FOCAL_LENGTHS; in getAvailableFocalLengthsChecked() local
602 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_APERTURES; in getAvailableAperturesChecked() local
623 Key<int[]> key = CameraCharacteristics.HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES; in getAvailableHotPixelModesChecked() local
659 Key<int[]> key = CameraCharacteristics.STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES; in getAvailableFaceDetectModesChecked() local
[all …]
/frameworks/support/media-compat/api21/android/support/v4/media/
DMediaMetadataCompatApi21.java33 public static Bitmap getBitmap(Object metadataObj, String key) { in getBitmap()
37 public static long getLong(Object metadataObj, String key) { in getLong()
41 public static Object getRating(Object metadataObj, String key) { in getRating()
45 public static CharSequence getText(Object metadataObj, String key) { in getText()
62 public static void putBitmap(Object builderObj, String key, Bitmap value) { in putBitmap()
66 public static void putLong(Object builderObj, String key, long value) { in putLong()
70 public static void putRating(Object builderObj, String key, Object ratingObj) { in putRating()
74 public static void putText(Object builderObj, String key, CharSequence value) { in putText()
78 public static void putString(Object builderObj, String key, String value) { in putString()
/frameworks/base/core/java/android/os/health/
DHealthStats.java199 public boolean hasTimer(int key) { in hasTimer()
212 public TimerStat getTimer(int key) { in getTimer()
227 public int getTimerCount(int key) { in getTimerCount()
242 public long getTimerTime(int key) { in getTimerTime()
274 public boolean hasMeasurement(int key) { in hasMeasurement()
284 public long getMeasurement(int key) { in getMeasurement()
316 public boolean hasStats(int key) { in hasStats()
326 public Map<String,HealthStats> getStats(int key) { in getStats()
358 public boolean hasTimers(int key) { in hasTimers()
368 public Map<String,TimerStat> getTimers(int key) { in getTimers()
[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/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/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/av/media/libstagefright/foundation/
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/base/services/core/java/com/android/server/connectivity/
DMockableSystemProperties.java23 public String get(String key) { in get()
27 public int getInt(String key, int def) { in getInt()
31 public boolean getBoolean(String key, boolean def) { in getBoolean()
35 public void set(String key, String value) { in set()
/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.cpp95 int key = 100; in TEST_F() local
114 for (int key = 0; key < 100; ++key) { in TEST_F() local
136 for (unsigned int key = 0; key < 100; ++key) in TEST_F() local
143 for (unsigned int key = 0; key < 100; ++key) { in TEST_F() local
161 for (unsigned int key = 0; key < 100; ++key) { in TEST_F() local
168 for (unsigned int key = 0; key < 100; ++key) { in TEST_F() local
184 for (unsigned int key = 0; key < 100; ++key) { in TEST_F() local
191 for (unsigned int key = 0; key < 20; ++key) { in TEST_F() local
199 for (unsigned int key = 20; key < 100; ++key) { in TEST_F() local
204 for (unsigned int key = 0; key < 20; ++key) { in TEST_F() local
[all …]
/frameworks/base/core/java/android/util/
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
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
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()
189 public void setKeyAt(int index, int key) { in setKeyAt()
198 public int indexOfKey(int key) { in indexOfKey()
229 public void append(int key, boolean value) { in append()
292 int key = keyAt(i); in toString() local
DSparseArray.java103 public E get(int key) { in get()
112 public E get(int key, E valueIfKeyNotFound) { in get()
125 public void delete(int key) { in delete()
140 public E removeReturnOld(int key) { in removeReturnOld()
157 public void remove(int key) { in remove()
223 public void put(int key, E value) { in put()
326 public int indexOfKey(int key) { in indexOfKey()
406 public void append(int key, E value) { in append()
440 int key = keyAt(i); in toString() local
/frameworks/av/media/libmedia/
DAudioParameter.cpp60 String8 key = String8(pair, eqIdx); in AudioParameter() local
102 status_t AudioParameter::add(const String8& key, const String8& value) in add()
113 status_t AudioParameter::addKey(const String8& key) in addKey()
118 status_t AudioParameter::addInt(const String8& key, const int value) in addInt()
129 status_t AudioParameter::addFloat(const String8& key, const float value) in addFloat()
140 status_t AudioParameter::remove(const String8& key) in remove()
150 status_t AudioParameter::get(const String8& key, String8& value) const in get() argument
160 status_t AudioParameter::getInt(const String8& key, int& value) const in getInt() argument
176 status_t AudioParameter::getFloat(const String8& key, float& value) const in getFloat() argument
202 status_t AudioParameter::getAt(size_t index, String8& key, String8& value) const in getAt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPrefs.java73 public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { in getBoolean()
77 public static void putBoolean(Context context, @Key String key, boolean value) { in putBoolean()
81 public static int getInt(Context context, @Key String key, int defaultValue) { in getInt()
85 public static void putInt(Context context, @Key String key, int value) { in putInt()
89 public static long getLong(Context context, @Key String key, long defaultValue) { in getLong()
93 public static void putLong(Context context, @Key String key, long value) { in putLong()
97 public static String getString(Context context, @Key String key, String defaultValue) { in getString()
101 public static void putString(Context context, @Key String key, String value) { in putString()
109 public static void remove(Context context, @Key String key) { in remove()

12345678910>>...31