Home
last modified time | relevance | path

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

12345678

/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/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DAccessibilityEntityProvider.java113 public AccessibilityEvent createAccessibilityEvent(Key key, int eventType) { in createAccessibilityEvent()
171 final Key key = mVirtualViewIdToKey.get(virtualViewId); in createAccessibilityNodeInfo() local
217 void simulateKeyPress(Key key) { in simulateKeyPress()
232 final Key key = mVirtualViewIdToKey.get(virtualViewId); in performAction() local
250 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()
/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()
/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java67 public void invalidateKey(Key key); in invalidateKey()
238 private boolean callListenerOnPressAndCheckKeyboardLayoutChange(Key key) { in callListenerOnPressAndCheckKeyboardLayoutChange()
266 private void callListenerOnCodeInput(Key key, int primaryCode, int x, int y) { in callListenerOnCodeInput()
295 private void callListenerOnRelease(Key key, int primaryCode, boolean withSliding) { in callListenerOnRelease()
346 private void setReleasedKeyGraphics(Key key) { in setReleasedKeyGraphics()
377 private void setPressedKeyGraphics(Key key) { in setPressedKeyGraphics()
416 private void updateReleaseKeyGraphics(Key key) { in updateReleaseKeyGraphics()
421 private void updatePressKeyGraphics(Key key) { in updatePressKeyGraphics()
508 final Key key = getKeyOn(x, y); in onDownEvent() local
520 Key key = onDownKey(x, y, eventTime); in onDownEventInternal() local
[all …]
/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/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/Gallery2/src/com/android/gallery3d/app/
DTransitionStore.java24 public void put(Object key, Object value) { in put()
29 public <T> T get(Object 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/apps/Contacts/src/com/android/contacts/model/
DEntityDelta.java592 public boolean containsKey(String key) { in containsKey()
597 public String getAsString(String key) { in getAsString()
607 public byte[] getAsByteArray(String key) { in getAsByteArray()
617 public Long getAsLong(String key) { in getAsLong()
627 public Integer getAsInteger(String key) { in getAsInteger()
631 public Integer getAsInteger(String key, Integer defaultValue) { in getAsInteger()
641 public boolean isChanged(String key) { in isChanged()
759 public void put(String key, String value) { in put()
764 public void put(String key, byte[] value) { in put()
769 public void put(String key, int value) { in put()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DStringUtils.java34 public static boolean containsInArray(String key, String[] array) { in containsInArray()
41 public static boolean containsInCsv(String key, String csv) { in containsInCsv()
46 public static String appendToCsvIfNotExists(String key, String csv) { in appendToCsvIfNotExists()
52 public static String removeFromCsvIfExists(String key, String csv) { in removeFromCsvIfExists()
/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/apps/Settings/src/com/android/settings/vpn2/
DVpnProfile.java39 final String key; // -1 field in VpnProfile
59 VpnProfile(String key) { in VpnProfile()
63 static VpnProfile decode(String key, byte[] value) { in decode()
/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/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
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewIconCache.java121 public void addOutline(Key key, Bitmap b) { in addOutline()
124 public void removeOutline(Key key) { in removeOutline()
130 public Bitmap getOutline(Key key) { in getOutline()

12345678