/frameworks/base/core/java/android/os/ |
D | Bundle.java | 178 public static Bundle forPair(String key, String value) { in forPair() 278 public void remove(String key) { in remove() 446 public void putByte(@Nullable String key, byte value) { in putByte() 458 public void putChar(@Nullable String key, char value) { in putChar() 470 public void putShort(@Nullable String key, short value) { in putShort() 482 public void putFloat(@Nullable String key, float value) { in putFloat() 494 public void putCharSequence(@Nullable String key, @Nullable CharSequence value) { in putCharSequence() 505 public void putParcelable(@Nullable String key, @Nullable Parcelable value) { in putParcelable() 518 public void putSize(@Nullable String key, @Nullable Size value) { in putSize() 530 public void putSizeF(@Nullable String key, @Nullable SizeF value) { in putSizeF() [all …]
|
D | BaseBundle.java | 515 public boolean containsKey(String key) { in containsKey() 527 public Object get(String key) { in get() 537 public void remove(String key) { in remove() 580 public void putBoolean(@Nullable String key, boolean value) { in putBoolean() 592 void putByte(@Nullable String key, byte value) { in putByte() 604 void putChar(@Nullable String key, char value) { in putChar() 616 void putShort(@Nullable String key, short value) { in putShort() 628 public void putInt(@Nullable String key, int value) { in putInt() 640 public void putLong(@Nullable String key, long value) { in putLong() 652 void putFloat(@Nullable String key, float value) { in putFloat() [all …]
|
D | SystemProperties.java | 79 private static void onKeyAccess(String key) { in onKeyAccess() 104 private static String native_get(String key) { in native_get() 110 private static native String native_get(String key, String def); in native_get() 113 private static native int native_get_int(String key, int def); in native_get_int() 116 private static native long native_get_long(String key, long def); in native_get_long() 119 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean() 134 private static native void native_set(String key, String def); in native_set() 150 public static String get(@NonNull String key) { in get() 167 public static String get(@NonNull String key, @Nullable String def) { in get() 182 public static int getInt(@NonNull String key, int def) { in getInt() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentValues.java | 118 public void put(String key, String value) { in put() 137 public void put(String key, Byte value) { in put() 147 public void put(String key, Short value) { in put() 157 public void put(String key, Integer value) { in put() 167 public void put(String key, Long value) { in put() 177 public void put(String key, Float value) { in put() 187 public void put(String key, Double value) { in put() 197 public void put(String key, Boolean value) { in put() 207 public void put(String key, byte[] value) { in put() 216 public void putNull(String key) { in putNull() [all …]
|
D | SharedPreferences.java | 68 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); in onSharedPreferenceChanged() 90 Editor putString(String key, @Nullable String value); in putString() 103 Editor putStringSet(String key, @Nullable Set<String> values); in putStringSet() 115 Editor putInt(String key, int value); in putInt() 127 Editor putLong(String key, long value); in putLong() 139 Editor putFloat(String key, float value); in putFloat() 151 Editor putBoolean(String key, boolean value); in putBoolean() 167 Editor remove(String key); in remove() 267 String getString(String key, @Nullable String defValue); in getString() 286 Set<String> getStringSet(String key, @Nullable Set<String> defValues); in getStringSet() [all …]
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceDataStore.java | 61 default void putString(String key, @Nullable String value) { in putString() 74 default void putStringSet(String key, @Nullable Set<String> values) { in putStringSet() 87 default void putInt(String key, int value) { in putInt() 100 default void putLong(String key, long value) { in putLong() 113 default void putFloat(String key, float value) { in putFloat() 126 default void putBoolean(String key, boolean value) { in putBoolean() 138 default String getString(String key, @Nullable String defValue) { in getString() 150 default Set<String> getStringSet(String key, @Nullable Set<String> defValues) { in getStringSet() 161 default int getInt(String key, int defValue) { in getInt() 172 default long getLong(String key, long defValue) { in getLong() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferencesLogger.java | 56 public String getString(String key, @Nullable String defValue) { in getString() 61 public Set<String> getStringSet(String key, @Nullable Set<String> defValues) { in getStringSet() 66 public int getInt(String key, int defValue) { in getInt() 71 public long getLong(String key, long defValue) { in getLong() 76 public float getFloat(String key, float defValue) { in getFloat() 81 public boolean getBoolean(String key, boolean defValue) { in getBoolean() 86 public boolean contains(String key) { in contains() 106 protected void logValue(String key, Object value) { in logValue() 110 private void logValue(String key, Object value, boolean forceLog) { in logValue() 162 void logPackageName(String key, String value) { in logPackageName() [all …]
|
/frameworks/native/libs/binder/ |
D | PersistableBundle.cpp | 50 bool getValue(const android::String16& key, T* out, const map<android::String16, T>& map) { in getValue() 81 #define RETURN_IF_ENTRY_ERASED(map, key) \ argument 154 size_t PersistableBundle::erase(const String16& key) { in erase() 168 void PersistableBundle::putBoolean(const String16& key, bool value) { in putBoolean() 173 void PersistableBundle::putInt(const String16& key, int32_t value) { in putInt() 178 void PersistableBundle::putLong(const String16& key, int64_t value) { in putLong() 183 void PersistableBundle::putDouble(const String16& key, double value) { in putDouble() 188 void PersistableBundle::putString(const String16& key, const String16& value) { in putString() 193 void PersistableBundle::putBooleanVector(const String16& key, const vector<bool>& value) { in putBooleanVector() 198 void PersistableBundle::putIntVector(const String16& key, const vector<int32_t>& value) { in putIntVector() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeSharedPreferences.java | 37 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/ |
D | StaticMetadata.java | 390 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/base/core/java/android/os/health/ |
D | HealthStats.java | 201 public boolean hasTimer(int key) { in hasTimer() 214 public TimerStat getTimer(int key) { in getTimer() 229 public int getTimerCount(int key) { in getTimerCount() 244 public long getTimerTime(int key) { in getTimerTime() 276 public boolean hasMeasurement(int key) { in hasMeasurement() 286 public long getMeasurement(int key) { in getMeasurement() 318 public boolean hasStats(int key) { in hasStats() 328 public Map<String,HealthStats> getStats(int key) { in getStats() 360 public boolean hasTimers(int key) { in hasTimers() 370 public Map<String,TimerStat> getTimers(int key) { in getTimers() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | AppTrace.java | 28 public static void start(String key, int cookie) { in start() 35 public static void start(String key) { in start() 42 public static void end(String key) { in end() 49 public static void end(String key, int cookie) { in end() 56 public static void beginSection(String key) { in beginSection()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ConfigParser.java | 78 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean() 101 public int getInt(String key, int defaultValue) { in getInt() 124 public float getFloat(String key, float defaultValue) { in getFloat() 147 public String getString(String key, String defaultValue) { in getString() 170 public List<String> getStringList(String key, List<String> defaultValue) { in getStringList() 198 public float[] getFloatArray(String key, float[] defaultValue) { in getFloatArray() 217 private List<String> getSettingsStringList(String key, List<String> defaultValue) { in getSettingsStringList() 221 private static List<String> getDeviceConfigStringList(String key, List<String> defaultValue) { in getDeviceConfigStringList() 227 private static float[] getDeviceConfigFloatArray(String key, float[] defaultValue) { in getDeviceConfigFloatArray() 233 private float[] getSettingsFloatArray(String key, float[] defaultValue) { in getSettingsFloatArray()
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
D | SessionMap.h | 50 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/layoutlib/bridge/src/android/os/ |
D | SystemProperties_Delegate.java | 37 /*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/services/core/java/com/android/server/connectivity/ |
D | MockableSystemProperties.java | 23 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/ |
D | Camera2RequestSettingsSet.java | 83 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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SystemPropertyService.java | 22 public String get(String key, String defaultValue) { in get() 27 public void set(String key, String val) { in set() 32 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean() 37 public String getString(String key, String defaultValue) { in getString()
|
D | PropertyService.java | 31 String get(String key, String defaultValue); in get() 38 void set(String key, String val); in set() 44 boolean getBoolean(String key, boolean defaultValue); in getBoolean() 50 String getString(String key, String defaultValue); in getString()
|
/frameworks/base/core/java/android/util/ |
D | LongSparseLongArray.java | 99 public long get(long key) { in get() 107 public long get(long key, long valueIfKeyNotFound) { in get() 120 public void delete(long key) { in delete() 142 public void put(long key, long value) { in put() 218 public int indexOfKey(long key) { in indexOfKey() 249 public void append(long key, long value) { in append() 277 long key = keyAt(i); in toString() local
|
D | SparseBooleanArray.java | 91 public boolean get(int key) { in get() 99 public boolean get(int key, boolean valueIfKeyNotFound) { in get() 112 public void delete(int key) { in delete() 138 public void put(int key, boolean value) { in put() 227 public void setKeyAt(int index, int key) { in setKeyAt() 240 public int indexOfKey(int key) { in indexOfKey() 271 public void append(int key, boolean value) { in append() 334 int key = keyAt(i); in toString() local
|
D | SparseLongArray.java | 92 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() 152 public void put(int key, long value) { in put() 228 public int indexOfKey(int key) { in indexOfKey() 259 public void append(int key, long value) { in append() 287 int key = keyAt(i); in toString() local
|
/frameworks/compile/mclinker/unittests/ |
D | HashTableTest.cpp | 95 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/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | SettingsHelper.java | 40 public static void set(@NonNull String namespace, @NonNull String key, @Nullable String value) { in set() 53 @NonNull String key, @Nullable String value) { in syncSet() 75 public static void delete(@NonNull String namespace, @NonNull String key) { in delete() 84 @NonNull String key) { in syncDelete() 102 public static String get(@NonNull String namespace, @NonNull String key) { in get() 106 private static void assertNewValue(@NonNull String namespace, @NonNull String key, in assertNewValue()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ContentValuesBuilder.java | 31 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()
|