Home
last modified time | relevance | path

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

123456789

/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/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/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/Contacts/tests/src/com/android/contacts/tests/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/Camera/src/com/android/camera/
DComboPreferences.java76 private static boolean isGlobal(String key) { in isGlobal()
86 public String getString(String key, String defValue) { in getString()
95 public int getInt(String key, int defValue) { in getInt()
104 public long getLong(String key, long defValue) { in getLong()
113 public float getFloat(String key, float defValue) { in getFloat()
122 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
132 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet()
137 public boolean contains(String key) { in contains()
174 public Editor remove(String key) { in remove()
181 public Editor putString(String key, String value) { in putString()
[all …]
/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DAccessibilityEntityProvider.java114 public AccessibilityEvent createAccessibilityEvent(Key key, int eventType) { in createAccessibilityEvent()
172 final Key key = mVirtualViewIdToKey.get(virtualViewId); in createAccessibilityNodeInfo() local
217 void simulateKeyPress(Key key) { in simulateKeyPress()
235 final Key key = mVirtualViewIdToKey.get(virtualViewId); in performAction() local
253 boolean performActionForKey(Key key, int action, Bundle arguments) { in performActionForKey()
284 void sendAccessibilityEventForKey(Key key, int eventType) { in sendAccessibilityEventForKey()
295 private String getKeyDescription(Key key) { in getKeyDescription()
336 private static int generateVirtualViewIdForKey(Key key) { in generateVirtualViewIdForKey()
DKeyCodeDescriptionMapper.java96 public String getDescriptionForKey(Context context, Keyboard keyboard, Key key, in getDescriptionForKey()
210 private String getDescriptionForActionKey(Context context, Keyboard keyboard, Key key) { in getDescriptionForActionKey()
268 private String getDescriptionForKeyCode(Context context, Keyboard keyboard, Key key, in getDescriptionForKeyCode()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DLruCache.java49 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry()
64 public synchronized boolean containsKey(K key) { in containsKey()
69 public synchronized V put(K key, V value) { in put()
77 public synchronized V get(K key) { in get()
DLongSparseArray.java73 public E get(long key) { in get()
82 public E get(long key, E valueIfKeyNotFound) { in get()
95 public void delete(long key) { in delete()
109 public void remove(long key) { in remove()
156 public void put(long key, E value) { in put()
260 public int indexOfKey(long key) { in indexOfKey()
307 public void append(long key, E value) { in append()
337 private static int binarySearch(long[] a, int start, int len, long key) { in binarySearch()
/packages/apps/Mms/src/com/android/mms/util/
DSendingProgressTokenManager.java36 synchronized public static long get(Object key) { in get()
44 synchronized public static void put(Object key, long token) { in put()
51 synchronized public static void remove(Object key) { in remove()
DSimpleCache.java102 public V get(Object key) { in get()
110 public V put(K key, V value) { in put()
130 public V remove(K key) { in remove()
/packages/apps/Email/src/com/android/email/mail/store/imap/
DImapList.java115 /* package */ final ImapElement getKeyedElementOrNull(String key, boolean prefixMatch) { in getKeyedElementOrNull()
128 public final ImapList getKeyedListOrEmpty(String key) { in getKeyedListOrEmpty()
136 public final ImapList getKeyedListOrEmpty(String key, boolean prefixMatch) { in getKeyedListOrEmpty()
145 public final ImapString getKeyedStringOrEmpty(String key) { in getKeyedStringOrEmpty()
153 public final ImapString getKeyedStringOrEmpty(String key, boolean prefixMatch) { in getKeyedStringOrEmpty()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DIdentityCache.java37 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry()
51 public synchronized V put(K key, V value) { in put()
58 public synchronized V get(K key) { in get()
/packages/apps/Gallery/src/com/android/camera/gallery/
DLruCache.java45 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry()
60 public synchronized V put(K key, V value) { in put()
68 public synchronized V get(K key) { in get()
/packages/apps/Contacts/src/com/android/contacts/util/
DExpirableCache.java173 public CachedValue<V> getCachedValue(K key) { in getCachedValue()
189 public V getPossiblyExpired(K key) { in getPossiblyExpired()
204 public V get(K key) { in get()
217 public void put(K key, V value) { in put()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarCache.java147 public void writeData(String key, String value) throws CacheException { in writeData()
170 protected void writeDataLocked(SQLiteDatabase db, String key, String value) in writeDataLocked()
200 public String readData(String key) throws CacheException { in readData()
215 protected String readDataLocked(SQLiteDatabase db, String key) throws CacheException { in readDataLocked()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java79 public void invalidateKey(Key key); in invalidateKey()
424 private boolean callListenerOnPressAndCheckKeyboardLayoutChange(final Key key) { in callListenerOnPressAndCheckKeyboardLayoutChange()
450 private void callListenerOnCodeInput(final Key key, final int primaryCode, final int x, in callListenerOnCodeInput()
482 private void callListenerOnRelease(final Key key, final int primaryCode, in callListenerOnRelease()
555 private void setReleasedKeyGraphics(final Key key) { in setReleasedKeyGraphics()
591 private void setPressedKeyGraphics(final Key key, final long eventTime) { in setPressedKeyGraphics()
630 private void updateReleaseKeyGraphics(final Key key) { in updateReleaseKeyGraphics()
635 private void updatePressKeyGraphics(final Key key) { in updatePressKeyGraphics()
688 private void mayStartBatchInput(final Key key) { in mayStartBatchInput()
709 private void mayUpdateBatchInput(final long eventTime, final Key key) { in mayUpdateBatchInput()
[all …]
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/
DIKeyChainServiceTestSupport.aidl35 boolean keystorePut(String key, in byte[] value); in keystorePut()
36 boolean keystoreImportKey(String key, in byte[] value); in keystoreImportKey()
/packages/apps/Browser/src/com/android/browser/homepages/
DTemplate.java56 void writeValue(OutputStream stream, String key) throws IOException; in writeValue()
57 ListEntityIterator getListIterator(String key); in getListIterator()
84 public SimpleEntity(String key) { in SimpleEntity()
100 public ListEntity(Context context, String key, String subTemplate) { in ListEntity()
135 public ListEntityIterator getListIterator(String key) { in getListIterator()
154 public ListEntityIterator getListIterator(String key) { in getListIterator()
159 public void writeValue(OutputStream stream, String key) throws IOException { in writeValue()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDelta.java615 public boolean containsKey(String key) { in containsKey()
620 public String getAsString(String key) { in getAsString()
630 public byte[] getAsByteArray(String key) { in getAsByteArray()
640 public Long getAsLong(String key) { in getAsLong()
650 public Integer getAsInteger(String key) { in getAsInteger()
654 public Integer getAsInteger(String key, Integer defaultValue) { in getAsInteger()
664 public boolean isChanged(String key) { in isChanged()
782 public void put(String key, String value) { in put()
787 public void put(String key, byte[] value) { in put()
792 public void put(String key, int value) { in put()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DStringUtils.java36 public static boolean containsInArray(String key, String[] array) { in containsInArray()
43 public static boolean containsInCsv(String key, String csv) { in containsInCsv()
48 public static String appendToCsvIfNotExists(String key, String csv) { in appendToCsvIfNotExists()
54 public static String removeFromCsvIfExists(String key, String csv) { in removeFromCsvIfExists()
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DLruCacheUnitTests.java10 Integer key = Integer.valueOf(1); in testPut() local
18 Integer key = Integer.valueOf(1); in testTracingInUsedObject() local
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java116 String key = getChannelKey(remoteDevice, uuid); in getChannel() local
141 String key = getChannelKey(remoteDevice, uuid); in setChannel() local
150 String key = getChannelKey(remoteDevice, uuid); in removeChannel() local

123456789