/packages/services/Telephony/src/com/android/phone/vvm/ |
D | VisualVoicemailPreferences.java | 96 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 97 return getValue(key, defValue); in getBoolean() 101 public float getFloat(String key, float defValue) { in getFloat() argument 102 return getValue(key, defValue); in getFloat() 105 public int getInt(String key, int defValue) { in getInt() argument 106 return getValue(key, defValue); in getInt() 110 public long getLong(String key, long defValue) { in getLong() argument 111 return getValue(key, defValue); in getLong() 114 public String getString(String key, String defValue) { in getString() argument 115 return getValue(key, defValue); in getString() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | PerAccountSharedPreferences.java | 99 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 100 return getValue(key, defValue); in getBoolean() 103 public float getFloat(String key, float defValue) { in getFloat() argument 104 return getValue(key, defValue); in getFloat() 107 public int getInt(String key, int defValue) { in getInt() argument 108 return getValue(key, defValue); in getInt() 111 public long getLong(String key, long defValue) { in getLong() argument 112 return getValue(key, defValue); in getLong() 115 public String getString(String key, String defValue) { in getString() argument 116 return getValue(key, defValue); in getString() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ComboPreferences.java | 84 public String getString(String key, String defValue) { in getString() argument 86 return mPrefGlobal.getString(key, defValue); in getString() 88 return mPrefLocal.getString(key, defValue); in getString() 92 public int getInt(String key, int defValue) { in getInt() argument 94 return mPrefGlobal.getInt(key, defValue); in getInt() 96 return mPrefLocal.getInt(key, defValue); in getInt() 100 public long getLong(String key, long defValue) { in getLong() argument 102 return mPrefGlobal.getLong(key, defValue); in getLong() 104 return mPrefLocal.getLong(key, defValue); in getLong() 108 public float getFloat(String key, float defValue) { in getFloat() argument [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | MockSharedPreferences.java | 48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 52 return defValue; in getBoolean() 55 public float getFloat(String key, float defValue) { in getFloat() argument 59 return defValue; in getFloat() 62 public int getInt(String key, int defValue) { in getInt() argument 66 return defValue; in getInt() 69 public long getLong(String key, long defValue) { in getLong() argument 73 return defValue; in getLong() 76 public String getString(String key, String defValue) { in getString() argument 79 return defValue; in getString()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | MockSharedPreferences.java | 48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 52 return defValue; in getBoolean() 55 public float getFloat(String key, float defValue) { in getFloat() argument 59 return defValue; in getFloat() 62 public int getInt(String key, int defValue) { in getInt() argument 66 return defValue; in getInt() 69 public long getLong(String key, long defValue) { in getLong() argument 73 return defValue; in getLong() 76 public String getString(String key, String defValue) { in getString() argument 79 return defValue; in getString()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | FakeSharedPreferences.java | 48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 52 return defValue; in getBoolean() 56 public float getFloat(String key, float defValue) { in getFloat() argument 60 return defValue; in getFloat() 64 public int getInt(String key, int defValue) { in getInt() argument 68 return defValue; in getInt() 72 public long getLong(String key, long defValue) { in getLong() argument 76 return defValue; in getLong() 80 public String getString(String key, String defValue) { in getString() argument 83 return defValue; in getString()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 242 public static float getFraction(final TypedArray a, final int index, final float defValue) { in getFraction() argument 245 return defValue; in getFraction() 247 return a.getFraction(index, 1, 1, defValue); in getFraction() 263 final float defValue) { in getDimensionOrFraction() argument 266 return defValue; in getDimensionOrFraction() 269 return a.getFraction(index, base, base, defValue); in getDimensionOrFraction() 271 return a.getDimension(index, defValue); in getDimensionOrFraction() 273 return defValue; in getDimensionOrFraction() 276 public static int getEnumValue(final TypedArray a, final int index, final int defValue) { in getEnumValue() argument 279 return defValue; in getEnumValue() [all …]
|
/packages/modules/ExtServices/src/android/ext/services/notification/ |
D | ChannelImpressions.java | 198 private static int safeInt(XmlPullParser parser, String att, int defValue) { in safeInt() argument 200 return tryParseInt(val, defValue); in safeInt() 203 private static int tryParseInt(String value, int defValue) { in tryParseInt() argument 204 if (TextUtils.isEmpty(value)) return defValue; in tryParseInt() 208 return defValue; in tryParseInt()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/ |
D | PluginEnablerImpl.java | 66 public boolean getBoolean(String key, boolean defValue) { in getBoolean() argument 67 return mSharedPrefs.getBoolean(key, defValue); in getBoolean()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/ |
D | DisclaimerItem.java | 120 private boolean getBooleanSharedPrefs(String key, boolean defValue) { in getBooleanSharedPrefs() argument 123 return prefs.getBoolean(key + mSubId, defValue); in getBooleanSharedPrefs()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | DisclaimerItem.java | 120 private boolean getBooleanSharedPrefs(String key, boolean defValue) { in getBooleanSharedPrefs() argument 123 return prefs.getBoolean(key + mSubId, defValue); in getBooleanSharedPrefs()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | Settings.java | 438 final SharedPreferences prefs, final int defValue) { in readLastShownEmojiCategoryId() argument 439 return prefs.getInt(PREF_LAST_SHOWN_EMOJI_CATEGORY_ID, defValue); in readLastShownEmojiCategoryId()
|