/frameworks/base/core/java/com/android/internal/util/ |
D | ParseUtils.java | 32 public static int parseInt(@Nullable String value, int defValue) { in parseInt() 37 public static int parseIntWithBase(@Nullable String value, int base, int defValue) { in parseIntWithBase() 49 public static long parseLong(@Nullable String value, long defValue) { in parseLong() 54 public static long parseLongWithBase(@Nullable String value, int base, long defValue) { in parseLongWithBase() 66 public static float parseFloat(@Nullable String value, float defValue) { in parseFloat() 78 public static double parseDouble(@Nullable String value, double defValue) { in parseDouble() 90 public static boolean parseBoolean(@Nullable String value, boolean defValue) { in parseBoolean()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeSharedPreferences.java | 37 public String getString(String key, String defValue) { in getString() 47 public int getInt(String key, int defValue) { in getInt() 52 public long getLong(String key, long defValue) { in getLong() 57 public float getFloat(String key, float defValue) { in getFloat() 62 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
|
/frameworks/base/core/java/android/preference/ |
D | PreferenceDataStore.java | 138 default String getString(String key, @Nullable String defValue) { in getString() 161 default int getInt(String key, int defValue) { in getInt() 172 default long getLong(String key, long defValue) { in getLong() 183 default float getFloat(String key, float defValue) { in getFloat() 194 default boolean getBoolean(String key, boolean defValue) { in getBoolean()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 251 public boolean getBoolean(int index, boolean defValue) { in getBoolean() 266 public int getInt(int index, int defValue) { in getInt() 292 public float getFloat(int index, float defValue) { in getFloat() 320 public int getColor(int index, int defValue) { in getColor() 366 public int getInteger(int index, int defValue) { in getInteger() 387 public float getDimension(int index, float defValue) { in getDimension() 425 public int getDimensionPixelOffset(int index, int defValue) { in getDimensionPixelOffset() 448 public int getDimensionPixelSize(int index, int defValue) { in getDimensionPixelSize() 523 public int getLayoutDimension(int index, int defValue) { in getLayoutDimension() 543 public float getFraction(int index, int base, int pbase, float defValue) { in getFraction() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SharedPreferences.java | 287 String getString(String key, @Nullable String defValue); in getString() 320 int getInt(String key, int defValue); in getInt() 334 long getLong(String key, long defValue); in getLong() 348 float getFloat(String key, float defValue); in getFloat() 362 boolean getBoolean(String key, boolean defValue); in getBoolean()
|
/frameworks/base/core/java/android/content/res/ |
D | TypedArray.java | 382 public boolean getBoolean(@StyleableRes int index, boolean defValue) { in getBoolean() 421 public int getInt(@StyleableRes int index, int defValue) { in getInt() 458 public float getFloat(@StyleableRes int index, float defValue) { in getFloat() 507 public int getColor(@StyleableRes int index, @ColorInt int defValue) { in getColor() 628 public int getInteger(@StyleableRes int index, int defValue) { in getInteger() 677 public float getDimension(@StyleableRes int index, float defValue) { in getDimension() 726 public int getDimensionPixelOffset(@StyleableRes int index, int defValue) { in getDimensionPixelOffset() 776 public int getDimensionPixelSize(@StyleableRes int index, int defValue) { in getDimensionPixelSize() 861 public int getLayoutDimension(@StyleableRes int index, int defValue) { in getLayoutDimension() 897 public float getFraction(@StyleableRes int index, int base, int pbase, float defValue) { in getFraction() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferencesLogger.java | 63 public String getString(String key, @Nullable String defValue) { in getString() 73 public int getInt(String key, int defValue) { in getInt() 78 public long getLong(String key, long defValue) { in getLong() 83 public float getFloat(String key, float defValue) { in getFloat() 88 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
|
/frameworks/base/tools/aapt/ |
D | AaptXml.cpp | 49 int32_t defValue, String8* outError) { in getIntegerAttributeAtIndex() 140 const char* attr, int32_t defValue, String8* outError) { in getIntegerAttribute() 148 int32_t getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, in getIntegerAttribute() 158 uint32_t attrRes, int32_t defValue, String8* outError) { in getResolvedIntegerAttribute()
|
/frameworks/base/core/tests/systemproperties/src/android/os/ |
D | SystemPropertiesTest.java | 104 private static void testInt(String setVal, int defValue, int expected) { in testInt() 110 private static void testLong(String setVal, long defValue, long expected) { in testLong()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 307 public String getString(String key, @Nullable String defValue) { in getString() 326 public int getInt(String key, int defValue) { in getInt() 334 public long getLong(String key, long defValue) { in getLong() 342 public float getFloat(String key, float defValue) { in getFloat() 350 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
|
D | NotificationChannel.java | 1470 private static int safeInt(TypedXmlPullParser parser, String att, int defValue) { in safeInt() 1474 private static boolean safeBool(TypedXmlPullParser parser, String att, boolean defValue) { in safeBool() 1478 private static long[] safeLongArray(TypedXmlPullParser parser, String att, long[] defValue) { in safeLongArray()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachineTest.java | 141 public int getGlobalSetting(String key, int defValue) { in getGlobalSetting() 163 protected int getGlobalSetting(String key, int defValue) { in getGlobalSetting()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperDataParser.java | 415 private static int getAttributeInt(TypedXmlPullParser parser, String name, int defValue) { in getAttributeInt() 419 private static float getAttributeFloat(TypedXmlPullParser parser, String name, float defValue) { in getAttributeFloat() 423 private String getAttributeString(XmlPullParser parser, String name, String defValue) { in getAttributeString()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | PersistentSystemFontConfig.java | 123 private static long parseLongAttribute(TypedXmlPullParser parser, String attr, long defValue) { in parseLongAttribute()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | GraphicsUtils.java | 139 public static float getFloat(Context context, int attr, float defValue) { in getFloat()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 901 private static int tryParseInt(String value, int defValue) { in tryParseInt() 910 private static long tryParseLong(String value, long defValue) { in tryParseLong() 919 private static Long tryParseLong(String value, Long defValue) { in tryParseLong() 1521 private static boolean safeBoolean(TypedXmlPullParser parser, String att, boolean defValue) { in safeBoolean() 1525 private static boolean safeBoolean(String val, boolean defValue) { in safeBoolean() 1530 private static int safeInt(TypedXmlPullParser parser, String att, int defValue) { in safeInt() 1546 private static long safeLong(TypedXmlPullParser parser, String att, long defValue) { in safeLong() 2419 private static int tryParseZenMode(String value, int defValue) { in tryParseZenMode()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/ |
D | SatelliteControllerTest.java | 4376 public boolean getBoolean(String key, boolean defValue) { in getBoolean() 4384 public float getFloat(String key, float defValue) { in getFloat() 4392 public int getInt(String key, int defValue) { in getInt() 4400 public long getLong(String key, long defValue) { in getLong() 4408 public String getString(String key, String defValue) { in getString()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppIdleHistory.java | 859 private long getLongValue(XmlPullParser parser, String attrName, long defValue) { in getLongValue() 865 private int getIntValue(XmlPullParser parser, String attrName, int defValue) { in getIntValue()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 983 private void appendUnless(boolean defValue, int prop, StringBuilder builder) { in appendUnless()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 1006 protected int getGlobalSetting(String key, int defValue) { in getGlobalSetting()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | Utils.java | 375 public static int getColorAttrDefaultColor(Context context, int attr, @ColorInt int defValue) { in getColorAttrDefaultColor()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 908 static int getDimensionOrFraction(TypedArray a, int index, int base, int defValue) { in getDimensionOrFraction()
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 961 private int getAttributeInt(XmlPullParser parser, String name, int defValue) { in getAttributeInt()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsManager.java | 267 int getIntegerSubscriptionProperty(int subId, String propKey, int defValue); in getIntegerSubscriptionProperty() 310 public int getIntegerSubscriptionProperty(int subId, String propKey, int defValue) { in getIntegerSubscriptionProperty()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutInfo.java | 702 private CharSequence getResourceString(Resources res, int resId, CharSequence defValue) { in getResourceString()
|