/frameworks/base/core/java/android/os/ |
D | Bundle.java | 191 public static Bundle forPair(String key, String value) { in forPair() 289 public void remove(String key) { in remove() 347 public void putObject(@Nullable String key, @Nullable Object value) { in putObject() 403 public void putByte(@Nullable String key, byte value) { in putByte() 415 public void putChar(@Nullable String key, char value) { in putChar() 427 public void putShort(@Nullable String key, short value) { in putShort() 439 public void putFloat(@Nullable String key, float value) { in putFloat() 451 public void putCharSequence(@Nullable String key, @Nullable CharSequence value) { in putCharSequence() 462 public void putParcelable(@Nullable String key, @Nullable Parcelable value) { in putParcelable() 475 public void putSize(@Nullable String key, @Nullable Size value) { in putSize() [all …]
|
D | BaseBundle.java | 349 final Object getValue(String key) { in getValue() 355 final <T> T getValue(String key, @Nullable Class<T> clazz) { in getValue() 372 final <T> T getValue(String key, @Nullable Class<T> clazz, @Nullable Class<?>... itemTypes) { in getValue() 656 public boolean containsKey(String key) { in containsKey() 672 public Object get(String key) { in get() 693 <T> T get(@Nullable String key, @NonNull Class<T> clazz) { in get() 708 public void remove(String key) { in remove() 745 public void putObject(@Nullable String key, @Nullable Object value) { in putObject() 780 public void putBoolean(@Nullable String key, boolean value) { in putBoolean() 792 void putByte(@Nullable String key, byte value) { in putByte() [all …]
|
D | SystemProperties.java | 77 private static void onKeyAccess(String key) { in onKeyAccess() 102 private static String native_get(String key) { in native_get() 108 private static native String native_get(String key, String def); in native_get() 111 private static native int native_get_int(String key, int def); in native_get_int() 114 private static native long native_get_long(String key, long def); in native_get_long() 117 private static native boolean native_get_boolean(String key, boolean def); in native_get_boolean() 132 private static native void native_set(String key, String def); in native_set() 147 public static String get(@NonNull String key) { in get() 163 public static String get(@NonNull String key, @Nullable String def) { in get() 178 public static int getInt(@NonNull String key, int def) { in getInt() [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/core/java/android/content/ |
D | ContentValues.java | 119 public void put(String key, String value) { in put() 138 public void put(String key, Byte value) { in put() 148 public void put(String key, Short value) { in put() 158 public void put(String key, Integer value) { in put() 168 public void put(String key, Long value) { in put() 178 public void put(String key, Float value) { in put() 188 public void put(String key, Double value) { in put() 198 public void put(String key, Boolean value) { in put() 208 public void put(String key, byte[] value) { in put() 217 public void putNull(String key) { in putNull() [all …]
|
D | SharedPreferences.java | 71 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key); in onSharedPreferenceChanged() 93 Editor putString(String key, @Nullable String value); in putString() 106 Editor putStringSet(String key, @Nullable Set<String> values); in putStringSet() 118 Editor putInt(String key, int value); in putInt() 130 Editor putLong(String key, long value); in putLong() 142 Editor putFloat(String key, float value); in putFloat() 154 Editor putBoolean(String key, boolean value); in putBoolean() 170 Editor remove(String key); in remove() 270 String getString(String key, @Nullable String defValue); in getString() 289 Set<String> getStringSet(String key, @Nullable Set<String> defValues); in getStringSet() [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 | 54 bool getValue(const android::String16& key, T* out, const map<android::String16, T>& map) { in getValue() 85 #define RETURN_IF_ENTRY_ERASED(map, key) \ argument 158 size_t PersistableBundle::erase(const String16& key) { in erase() 172 void PersistableBundle::putBoolean(const String16& key, bool value) { in putBoolean() 177 void PersistableBundle::putInt(const String16& key, int32_t value) { in putInt() 182 void PersistableBundle::putLong(const String16& key, int64_t value) { in putLong() 187 void PersistableBundle::putDouble(const String16& key, double value) { in putDouble() 192 void PersistableBundle::putString(const String16& key, const String16& value) { in putString() 197 void PersistableBundle::putBooleanVector(const String16& key, const vector<bool>& value) { in putBooleanVector() 202 void PersistableBundle::putIntVector(const String16& key, const vector<int32_t>& value) { in putIntVector() [all …]
|
/frameworks/libs/net/common/device/com/android/net/module/util/ |
D | BpfMap.java | 75 Pair<String, Integer> key = Pair.create(path, mode); in cachedBpfFdGet() local 98 public BpfMap(@NonNull final String path, final int flag, final Class<K> key, in BpfMap() 115 protected BpfMap(final Class<K> key, final Class<V> value) { in BpfMap() 128 public void updateEntry(K key, V value) throws ErrnoException { in updateEntry() 137 public void insertEntry(K key, V value) in insertEntry() 154 public void replaceEntry(K key, V value) in replaceEntry() 173 public boolean insertOrReplaceEntry(K key, V value) in insertOrReplaceEntry() 200 public boolean deleteEntry(K key) throws ErrnoException { in deleteEntry() 210 private K getNextKeyInternal(@Nullable K key) throws ErrnoException { in getNextKeyInternal() 227 public K getNextKey(@NonNull K key) throws ErrnoException { in getNextKey() [all …]
|
D | IBpfMap.java | 34 void updateEntry(K key, V value) throws ErrnoException; in updateEntry() 37 void insertEntry(K key, V value) throws ErrnoException, IllegalStateException; in insertEntry() 40 void replaceEntry(K key, V value) throws ErrnoException, NoSuchElementException; in replaceEntry() 47 boolean insertOrReplaceEntry(K key, V value) throws ErrnoException; in insertOrReplaceEntry() 50 boolean deleteEntry(K key) throws ErrnoException; in deleteEntry() 56 K getNextKey(@NonNull K key) throws ErrnoException; in getNextKey() 62 boolean containsKey(@NonNull K key) throws ErrnoException; in containsKey() 65 V getValue(@NonNull K key) throws ErrnoException; in getValue()
|
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/ |
D | TestBpfMap.java | 47 public TestBpfMap(final Class<K> key, final Class<V> value) { in TestBpfMap() 61 public void updateEntry(K key, V value) throws ErrnoException { in updateEntry() 66 public void insertEntry(K key, V value) throws ErrnoException, in insertEntry() 76 public void replaceEntry(K key, V value) throws ErrnoException, NoSuchElementException { in replaceEntry() 82 public boolean insertOrReplaceEntry(K key, V value) throws ErrnoException { in insertOrReplaceEntry() 90 public boolean deleteEntry(Struct key) throws ErrnoException { in deleteEntry() 100 public K getNextKey(@NonNull K key) { in getNextKey() 120 public boolean containsKey(@NonNull K key) throws ErrnoException { in containsKey() 125 public V getValue(@NonNull K key) throws ErrnoException { in getValue()
|
/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/native/include/ftl/ |
D | small_map.h | 126 bool contains(const key_type& key) const { in contains() 177 auto get(const key_type& key, F f) { in get() 183 const_iterator find(const key_type& key) const { return const_cast<SmallMap&>(*this).find(key); } in find() 184 iterator find(const key_type& key) { return find(key, begin()); } in find() 193 std::pair<iterator, bool> try_emplace(const key_type& key, Args&&... args) { in try_emplace() 214 iterator try_replace(const key_type& key, Args&&... args) { in try_replace() 233 std::pair<iterator, bool> emplace_or_replace(const key_type& key, Args&&... args) { in emplace_or_replace() 245 bool erase(const key_type& key) { return erase(key, begin()); } in erase() 254 iterator find(const key_type& key, iterator first) { in find() 259 bool erase(const key_type& key, iterator first) { in erase() [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/core/java/android/util/ |
D | SparseArray.java | 116 public boolean contains(int key) { in contains() 124 public E get(int key) { in get() 133 public E get(int key, E valueIfKeyNotFound) { in get() 146 public void delete(int key) { in delete() 161 public E removeReturnOld(int key) { in removeReturnOld() 178 public void remove(int key) { in remove() 250 public void set(int key, E value) { in set() 259 public void put(int key, E value) { in put() 384 public int indexOfKey(int key) { in indexOfKey() 464 public void append(int key, E value) { in append() [all …]
|
D | SparseArrayMap.java | 38 public void add(int key, @NonNull K mapKey, @Nullable V obj) { in add() 55 public boolean contains(int key, @NonNull K mapKey) { in contains() 60 public void delete(int key) { in delete() 78 public V delete(int key, @NonNull K mapKey) { in delete() 90 public V get(int key, @NonNull K mapKey) { in get() 103 public V getOrDefault(int key, @NonNull K mapKey, V defaultValue) { in getOrDefault() 114 public int indexOfKey(int key) { in indexOfKey() 123 public int indexOfKey(int key, @NonNull K mapKey) { in indexOfKey() 148 public int numElementsForKey(int key) { in numElementsForKey() 185 void accept(int key, K mapKey, V value); in accept()
|
D | SparseDoubleArray.java | 83 public double get(int key) { in get() 91 public double get(int key, double valueIfKeyNotFound) { in get() 104 public void put(int key, double value) { in put() 116 public void incrementValue(int key, double summand) { in incrementValue() 131 public int indexOfKey(int key) { in indexOfKey() 181 public void delete(int key) { in delete() 209 int key = keyAt(i); in toString() local
|
D | SparseBooleanArray.java | 92 public boolean get(int key) { in get() 100 public boolean get(int key, boolean valueIfKeyNotFound) { in get() 113 public void delete(int key) { in delete() 139 public void put(int key, boolean value) { in put() 228 public void setKeyAt(int index, int key) { in setKeyAt() 241 public int indexOfKey(int key) { in indexOfKey() 272 public void append(int key, boolean value) { in append() 335 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() 176 public void incrementValue(int key, long summand) { in incrementValue() 274 public int indexOfKey(int key) { in indexOfKey() 305 public void append(int key, long value) { in append() 333 int key = keyAt(i); in toString() local
|
/frameworks/libs/net/common/native/bpf_headers/include/bpf/ |
D | BpfMap.h | 76 base::Result<Key> getNextKey(const Key& key) const { in getNextKey() 84 base::Result<void> writeValue(const Key& key, const Value& value, uint64_t flags) { in writeValue() 91 base::Result<Value> readValue(const Key key) const { in readValue() 99 base::Result<void> deleteValue(const Key& key) { in deleteValue() 204 auto key = getFirstKey(); in clear() local 220 auto key = getFirstKey(); in isEmpty() local 235 const std::function<base::Result<void>(const Key& key, const BpfMap<Key, Value>& map)>& in iterate() 250 const std::function<base::Result<void>(const Key& key, const Value& value, in iterateWithValue() 267 const std::function<base::Result<void>(const Key& key, BpfMap<Key, Value>& map)>& filter) { in iterate() 281 const std::function<base::Result<void>(const Key& key, const Value& value, in iterateWithValue()
|
/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/base/services/core/java/com/android/server/notification/ |
D | NotificationDelegate.java | 30 void onNotificationClick(int callingUid, int callingPid, String key, in onNotificationClick() 32 void onNotificationActionClick(int callingUid, int callingPid, String key, int actionIndex, in onNotificationActionClick() 35 String pkg, int userId, String key, in onNotificationClear() 48 void onNotificationExpansionChanged(String key, boolean userAction, boolean expanded, in onNotificationExpansionChanged() 50 void onNotificationDirectReplied(String key); in onNotificationDirectReplied() 51 void onNotificationSettingsViewed(String key); in onNotificationSettingsViewed() 59 void onNotificationBubbleChanged(String key, boolean isBubble, int flags); in onNotificationBubbleChanged() 63 void onBubbleMetadataFlagChanged(String key, int flags); in onBubbleMetadataFlagChanged() 69 void grantInlineReplyUriPermission(String key, Uri uri, UserHandle user, String packageName, in grantInlineReplyUriPermission() 75 void clearInlineReplyUriPermissions(String key, int callingUid); in clearInlineReplyUriPermissions() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationAssistantService.java | 245 public void onNotificationVisibilityChanged(@NonNull String key, boolean isVisible) { in onNotificationVisibilityChanged() 256 public void onNotificationExpansionChanged( in onNotificationExpansionChanged() 263 public void onNotificationDirectReplied(@NonNull String key) {} in onNotificationDirectReplied() 271 public void onSuggestedReplySent(@NonNull String key, @NonNull CharSequence reply, in onSuggestedReplySent() 281 public void onActionInvoked(@NonNull String key, @NonNull Notification.Action action, in onActionInvoked() 289 public void onNotificationClicked(@NonNull String key) { in onNotificationClicked() 308 public void onNotificationFeedbackReceived(@NonNull String key, @NonNull RankingMap rankingMap, in onNotificationFeedbackReceived() 359 public final void unsnoozeNotification(@NonNull String key) { in unsnoozeNotification() 440 public void onNotificationVisibilityChanged(String key, boolean isVisible) { in onNotificationVisibilityChanged() 449 public void onNotificationExpansionChanged(String key, boolean isUserAction, in onNotificationExpansionChanged() [all …]
|
/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()
|