Home
last modified time | relevance | path

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

12345678910>>...45

/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/Contacts/tests/src/com/android/contacts/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/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/services/Telephony/src/com/android/phone/vvm/
DVisualVoicemailPreferences.java58 public Editor putBoolean(String key, boolean value) { in putBoolean()
64 public Editor putFloat(String key, float value) { in putFloat()
69 public Editor putInt(String key, int value) { in putInt()
75 public Editor putLong(String key, long value) { in putLong()
80 public Editor putString(String key, String value) { in putString()
86 public Editor putStringSet(String key, Set<String> value) { in putStringSet()
96 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
101 public float getFloat(String key, float defValue) { in getFloat()
105 public int getInt(String key, int defValue) { in getInt()
110 public long getLong(String key, long defValue) { in getLong()
[all …]
/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/Dialer/java/com/android/dialer/common/
DPerAccountSharedPreferences.java64 public Editor putBoolean(String key, boolean value) { in putBoolean()
69 public Editor putFloat(String key, float value) { in putFloat()
74 public Editor putInt(String key, int value) { in putInt()
79 public Editor putLong(String key, long value) { in putLong()
84 public Editor putString(String key, String value) { in putString()
89 public Editor putStringSet(String key, Set<String> value) { in putStringSet()
99 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
103 public float getFloat(String key, float defValue) { in getFloat()
107 public int getInt(String key, int defValue) { in getInt()
111 public long getLong(String key, long defValue) { in getLong()
[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/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseAccessorTest.java97 String key = "key"; in testGetSliceDataFromKey_validKey_validSliceReturned() local
116 String key = "key"; in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned() local
135 String key = "key"; in testGetSliceDataFromKey_invalidKey_errorThrown() local
142 String key = "key"; in testGetSliceFromUri_validUri_validSliceReturned() local
168 final String key = "oem_key"; in getDescendantUris_platformSlice_doesNotReturnOEMSlice() local
178 final String key = "platform_key"; in getDescendantUris_oemSlice_doesNotReturnPlatformSlice() local
188 final String key = "oem_key"; in getDescendantUris_oemSlice_returnsOEMUriDescendant() local
198 final String key = "platform_key"; in getDescendantUris_platformSlice_returnsPlatformUriDescendant() local
229 String key = "key"; in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned() local
249 String key = "key"; in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned() local
[all …]
/packages/apps/Dialer/java/com/android/dialer/configprovider/
DSharedPrefConfigProvider.java75 String key = intent.getExtras().keySet().iterator().next(); in onHandleIntent() local
80 private void put(String key, Object value) { in put()
97 public void putBoolean(String key, boolean value) { in putBoolean()
101 public void putLong(String key, long value) { in putLong()
105 public void putString(String key, String value) { in putString()
110 public String getString(String key, String defaultValue) { in getString()
117 public long getLong(String key, long defaultValue) { in getLong()
123 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean()
/packages/apps/Dialer/java/com/android/dialer/protos/
DProtoParsers.java35 @NonNull Bundle bundle, @NonNull String key, @NonNull T defaultInstance) in get()
52 @NonNull ContentValues contentValues, @NonNull String key, @NonNull T defaultInstance) in get()
69 @NonNull Bundle bundle, @NonNull String key, @NonNull T defaultInstance) { in getTrusted()
84 @NonNull ContentValues contentValues, @NonNull String key, @NonNull T defaultInstance) { in getTrusted()
98 @NonNull Intent intent, @NonNull String key, @NonNull T defaultInstance) { in getTrusted()
108 @NonNull Bundle bundle, @NonNull String key, @NonNull MessageLite message) { in put()
120 @NonNull Intent intent, @NonNull String key, @NonNull MessageLite message) { in put()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DContactTernarySearchTree.java35 public void put(String key, int value) { in put()
42 private Node put(Node node, String key, int value, int position) { in put()
62 public boolean contains(String key) { in contains()
67 public Set<Integer> get(String key) { in get()
72 private Node get(Node node, String key, int position) { in get()
90 private char key; field in ContactTernarySearchTree.Node
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DWhenToDreamPickerTest.java84 final String key = DreamSettings.getKeyFromSetting(DreamBackend.WHILE_CHARGING); in setDreamWhileCharging() local
91 final String key = DreamSettings.getKeyFromSetting(DreamBackend.WHILE_DOCKED); in setDreamWhileDocked() local
98 final String key = DreamSettings.getKeyFromSetting(DreamBackend.EITHER); in setDreamWhileChargingOrDocked() local
105 final String key = DreamSettings.getKeyFromSetting(DreamBackend.NEVER); in setDreamNever() local
/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/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DAssistConfigBasePreferenceControllerTest.java124 String key = new ComponentName(TEST_PACKAGE_NAME, TEST_SERVICE).flattenToString(); in getAvailabilityStatus_hasAssistComponent_isAvailable() local
126 key, TEST_USER_ID); in getAvailabilityStatus_hasAssistComponent_isAvailable() local
138 String key = new ComponentName(TEST_PACKAGE_NAME, TEST_SERVICE).flattenToString(); in onStart_registersObserver() local
140 key, TEST_USER_ID); in onStart_registersObserver() local
152 String key = new ComponentName(TEST_PACKAGE_NAME, TEST_SERVICE).flattenToString(); in onStop_unregistersObserver() local
154 key, TEST_USER_ID); in onStop_unregistersObserver() local
167 String key = new ComponentName(TEST_PACKAGE_NAME, TEST_SERVICE).flattenToString(); in onChange_changeRegisteredSetting_callsRefreshUi() local
169 key, TEST_USER_ID); in onChange_changeRegisteredSetting_callsRefreshUi() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
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
256 public void performClickOn(final Key key) { in performClickOn()
270 private void simulateTouchEvent(final int touchAction, final Key key) { in simulateTouchEvent()
285 protected void onHoverEnterTo(final Key key) { in onHoverEnterTo()
301 protected void onHoverMoveWithin(final Key key) { } in onHoverMoveWithin()
308 protected void onHoverExitFrom(final Key key) { in onHoverExitFrom()
323 public void performLongClickOn(final Key key) { in performLongClickOn()
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
264 final Key key = getKeyOf(virtualViewId); in performAction() local
278 boolean performActionForKey(final Key key, final int action) { in performActionForKey()
309 void sendAccessibilityEventForKey(final Key key, final int eventType) { in sendAccessibilityEventForKey()
320 private String getKeyDescription(final Key key) { in getKeyDescription()
/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()
/packages/services/Car/service/src/com/android/car/
DSetMultimap.java42 public Set<V> get(K key) { in get()
47 public boolean put(K key, V value) { in put()
52 public boolean containsEntry(K key, V value) { in containsEntry()
58 public boolean remove(K key, V value) { in remove()
/packages/modules/ExtServices/src/android/ext/services/notification/
DAgingHelper.java96 public void onNotificationRemoved(String key) { in onNotificationRemoved()
106 private void scheduleAging(String key, @Category int category, long duration) { in scheduleAging()
117 private void cancelAging(String key) { in cancelAging()
123 private Intent createBaseIntent(String key) { in createBaseIntent()
128 private Intent createAgingIntent(String key, @Category int category) { in createAgingIntent()
136 private PendingIntent createPendingIntent(String key, @Category int category) { in createPendingIntent()
143 private PendingIntent createPendingIntent(String key) { in createPendingIntent()
150 private void demote(String key, @Category int category) { in demote()
157 void sendAdjustment(String key, int newImportance); in sendAdjustment()

12345678910>>...45