Home
last modified time | relevance | path

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

12345678910>>...18

/packages/services/Car/car-lib/src/android/car/
DICarInfo.aidl27 int[] getInt(String key) = 0; field
32 float[] getFloat(String key) = 1; field
37 long[] getLong(String key) = 2; field
38 String getString(String key) = 3; field
39 Bundle getBundle(String key) = 4; field
DCarInfoManager.java83 public Float getFloat(String key) throws CarNotConnectedException, IllegalArgumentException { in getFloat()
97 public Integer getInt(String key) throws CarNotConnectedException, IllegalArgumentException { in getInt()
111 public Long getLong(String key) throws CarNotConnectedException, IllegalArgumentException { in getLong()
125 public String getString(String key) throws CarNotConnectedException, IllegalArgumentException { in getString()
146 public Bundle getBundle(String key) throws CarNotConnectedException, IllegalArgumentException { in getBundle()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DMockSharedPreferences.java40 public boolean contains(String key) { in contains()
48 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
55 public float getFloat(String key, float defValue) { in getFloat()
62 public int getInt(String key, int defValue) { in getInt()
69 public long getLong(String key, long defValue) { in getLong()
76 public String getString(String key, String defValue) { in getString()
83 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet()
100 public Editor putBoolean(String key, boolean value) { in putBoolean()
105 public Editor putFloat(String key, float value) { in putFloat()
110 public Editor putInt(String key, int value) { in putInt()
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/
DFakeSharedPreferences.java38 public boolean contains(String key) { in contains()
48 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
56 public float getFloat(String key, float defValue) { in getFloat()
64 public int getInt(String key, int defValue) { in getInt()
72 public long getLong(String key, long defValue) { in getLong()
80 public String getString(String key, String defValue) { in getString()
88 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet()
108 public Editor putBoolean(String key, boolean value) { in putBoolean()
114 public Editor putFloat(String key, float value) { in putFloat()
120 public Editor putInt(String key, int value) { in putInt()
[all …]
/packages/apps/Email/tests/src/com/android/email/
DMockSharedPreferences.java42 public boolean contains(String key) { in contains()
50 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
57 public float getFloat(String key, float defValue) { in getFloat()
64 public int getInt(String key, int defValue) { in getInt()
71 public long getLong(String key, long defValue) { in getLong()
78 public String getString(String key, String defValue) { in getString()
85 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet()
102 public Editor putBoolean(String key, boolean value) { in putBoolean()
107 public Editor putFloat(String key, float value) { in putFloat()
112 public Editor putInt(String key, int value) { in putInt()
[all …]
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockSharedPreferences.java40 public boolean contains(String key) { in contains()
48 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
55 public float getFloat(String key, float defValue) { in getFloat()
62 public int getInt(String key, int defValue) { in getInt()
69 public long getLong(String key, long defValue) { in getLong()
76 public String getString(String key, String defValue) { in getString()
83 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet()
100 public Editor putBoolean(String key, boolean value) { in putBoolean()
105 public Editor putFloat(String key, float value) { in putFloat()
110 public Editor putInt(String key, int value) { in putInt()
[all …]
/packages/apps/Settings/src/com/android/settings/
DSharedPreferencesLogger.java48 public String getString(String key, @Nullable String defValue) { in getString()
53 public Set<String> getStringSet(String key, @Nullable Set<String> defValues) { in getStringSet()
58 public int getInt(String key, int defValue) { in getInt()
63 public long getLong(String key, long defValue) { in getLong()
68 public float getFloat(String key, float defValue) { in getFloat()
73 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
78 public boolean contains(String key) { in contains()
97 private void logValue(String key, String value) { in logValue()
101 private void logPackageName(String key, String value) { in logPackageName()
107 private void safeLogValue(String key, String value) { in safeLogValue()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/util/
DFakeBuglePrefs.java28 public int getInt(final String key, final int defaultValue) { in getInt()
33 public long getLong(final String key, final long defaultValue) { in getLong()
38 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
43 public String getString(final String key, final String defaultValue) { in getString()
48 public byte[] getBytes(String key) { in getBytes()
53 public void putInt(final String key, final int value) { in putInt()
57 public void putLong(final String key, final long value) { in putLong()
61 public void putBoolean(final String key, final boolean value) { in putBoolean()
65 public void putString(final String key, final String value) { in putString()
69 public void putBytes(String key, byte[] value) { in putBytes()
[all …]
DFakeBugleGservices.java31 public long getLong(final String key, final long defaultValue) { in getLong()
36 public int getInt(final String key, final int defaultValue) { in getInt()
41 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
46 public String getString(final String key, final String defaultValue) { in getString()
51 public float getFloat(String key, float defaultValue) { in getFloat()
/packages/apps/Messaging/src/com/android/messaging/util/
DBuglePrefs.java76 public abstract int getInt(final String key, final int defaultValue); in getInt()
84 public abstract long getLong(final String key, final long defaultValue); in getLong()
91 public abstract boolean getBoolean(final String key, final boolean defaultValue); in getBoolean()
98 public abstract String getString(final String key, final String defaultValue); in getString()
104 public abstract byte[] getBytes(final String key); in getBytes()
110 public abstract void putInt(final String key, final int value); in putInt()
116 public abstract void putLong(final String key, final long value); in putLong()
122 public abstract void putBoolean(final String key, final boolean value); in putBoolean()
128 public abstract void putString(final String key, final String value); in putString()
134 public abstract void putBytes(final String key, final byte[] value); in putBytes()
[all …]
DBuglePrefsImpl.java39 protected void validateKey(String key) { in validateKey()
43 public int getInt(final String key, final int defaultValue) { in getInt()
51 public long getLong(final String key, final long defaultValue) { in getLong()
59 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
67 public String getString(final String key, final String defaultValue) { in getString()
75 public byte[] getBytes(String key) { in getBytes()
81 public void putInt(final String key, final int value) { in putInt()
91 public void putLong(final String key, final long value) { in putLong()
101 public void putBoolean(final String key, final boolean value) { in putBoolean()
111 public void putString(final String key, final String value) { in putString()
[all …]
DBugleGservicesImpl.java35 private void assertKeyAndWaitForGservices(final String key) { in assertKeyAndWaitForGservices()
40 public long getLong(final String key, final long defaultValue) { in getLong()
46 public int getInt(final String key, final int defaultValue) { in getInt()
52 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
58 public String getString(final String key, final String defaultValue) { in getString()
64 public float getFloat(final String key, final float defaultValue) { in getFloat()
DBugleGservices.java42 public abstract long getLong(final String key, final long defaultValue); in getLong()
50 public abstract int getInt(final String key, final int defaultValue); in getInt()
57 public abstract boolean getBoolean(final String key, final boolean defaultValue); in getBoolean()
64 public abstract String getString(final String key, final String defaultValue); in getString()
71 public abstract float getFloat(final String key, final float defaultValue); in getFloat()
DLongSparseSet.java35 public boolean contains(long key) { in contains()
47 public void add(long key) { in add()
56 public void remove(long key) { in remove()
/packages/apps/LegacyCamera/src/com/android/camera/
DComboPreferences.java75 private static boolean isGlobal(String key) { in isGlobal()
84 public String getString(String key, String defValue) { in getString()
92 public int getInt(String key, int defValue) { in getInt()
100 public long getLong(String key, long defValue) { in getLong()
108 public float getFloat(String key, float defValue) { in getFloat()
116 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
125 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet()
129 public boolean contains(String key) { in contains()
162 public Editor remove(String key) { in remove()
168 public Editor putString(String key, String value) { in putString()
[all …]
/packages/services/Car/car-support-lib/src/android/support/car/
DCarInfoManager.java64 public abstract Float getFloat(String key) in getFloat()
67 public abstract Integer getInt(String key) in getInt()
70 public abstract Long getLong(String key) in getLong()
73 public abstract String getString(String key) in getString()
86 public abstract Bundle getBundle(String key) in getBundle()
DCarInfoManagerEmbedded.java38 public Float getFloat(String key) throws CarNotConnectedException, IllegalArgumentException { in getFloat()
47 public Integer getInt(String key) throws CarNotConnectedException, IllegalArgumentException { in getInt()
56 public Long getLong(String key) throws CarNotConnectedException, IllegalArgumentException { in getLong()
65 public String getString(String key) throws CarNotConnectedException, IllegalArgumentException { in getString()
84 public Bundle getBundle(String key) throws CarNotConnectedException, IllegalArgumentException { in getBundle()
/packages/services/Car/service/src/com/android/car/
DCarInfoService.java61 public int[] getInt(String key) { in getInt()
75 public float[] getFloat(String key) { in getFloat()
89 public long[] getLong(String key) { in getLong()
103 public String getString(String key) { in getString()
122 public Bundle getBundle(String key) { in getBundle()
146 private synchronized Object findFromCache(String key) { in findFromCache()
150 private synchronized void storeToCache(String key, Object value) { in storeToCache()
154 private void assertType(String key, Class type) throws IllegalArgumentException { in assertType()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyboardAccessibilityNodeProvider.java114 private int getVirtualViewIdOf(final Key key) { in getVirtualViewIdOf()
138 public AccessibilityEvent createAccessibilityEvent(final Key key, final int eventType) { in createAccessibilityEvent()
151 public void onHoverEnterTo(final Key key) { in onHoverEnterTo()
165 public void onHoverExitFrom(final Key key) { in onHoverExitFrom()
211 final Key key = sortedKeys.get(index); in createAccessibilityNodeInfo() local
222 final Key key = getKeyOf(virtualViewId); in createAccessibilityNodeInfo() local
267 final Key key = getKeyOf(virtualViewId); in performAction() local
281 boolean performActionForKey(final Key key, final int action) { in performActionForKey()
312 void sendAccessibilityEventForKey(final Key key, final int eventType) { in sendAccessibilityEventForKey()
323 private String getKeyDescription(final Key key) { in getKeyDescription()
DKeyboardAccessibilityDelegate.java88 protected final void setLastHoverKey(final Key key) { in setLastHoverKey()
197 final Key key = getHoverKeyOf(event); in onHoverEnter() local
214 final Key key = getHoverKeyOf(event); in onHoverMove() local
242 final Key key = getHoverKeyOf(event); in onHoverExit() local
257 public void performClickOn(final Key key) { in performClickOn()
271 private void simulateTouchEvent(final int touchAction, final Key key) { in simulateTouchEvent()
286 protected void onHoverEnterTo(final Key key) { in onHoverEnterTo()
302 protected void onHoverMoveWithin(final Key key) { } in onHoverMoveWithin()
309 protected void onHoverExitFrom(final Key key) { in onHoverExitFrom()
324 public void performLongClickOn(final Key key) { in performLongClickOn()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTransitionStore.java24 public void put(Object key, Object value) { in put()
28 public <T> void putIfNotPresent(Object key, T valueIfNull) { in putIfNotPresent()
33 public <T> T get(Object key) { in get()
38 public <T> T get(Object key, T valueIfNull) { in get()
/packages/apps/Camera2/src/com/android/camera/processing/memory/
DLruPool.java59 void entryEvicted(TKey key, TValue value) { } in entryEvicted()
69 TValue create(TKey key) { in create()
80 int sizeOf(TKey key, TValue value) { in sizeOf()
145 public final TValue acquire(TKey key) { in acquire()
171 public final void add(TKey key, TValue value) { in add()
228 TKey key = mLruKeyList.removeLast(); in unsafeTrimToSize() local
250 private int checkedSizeOf(TKey key, TValue value) { in checkedSizeOf()
DSimpleLruResourcePool.java44 public Resource<TValue> acquire(TKey key) { in acquire()
62 protected abstract TValue create(TKey key); in create()
68 protected TValue recycle(TKey key, TValue value) { in recycle()
75 private void release(TKey key, TValue value) { in release()
95 TKey key, TValue value) { in SynchronizedResource()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DImportantNoticeUtilsTests.java52 private Integer getInt(final String key) { in getInt()
59 public Long getLong(final String key) { in getLong()
66 private void putInt(final String key, final Integer value) { in putInt()
74 private void putLong(final String key, final Long value) { in putLong()
82 private void removePreference(final String key) { in removePreference()
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
DSparseIntArray.java38 public void put(final int key, final int value) { in put()
42 public int get(final int key) { in get()
46 public int get(final int key, final int valueIfKeyNotFound) { in get()
50 public int indexOfKey(final int key) { in indexOfKey()

12345678910>>...18