Searched refs:defaultVal (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsConfig.java | 256 public @Nullable String getString(@NonNull String tag, @Nullable String defaultVal) { in getString() argument 258 return value != null ? value : defaultVal; in getString() 269 public int getInteger(@NonNull String tag, int defaultVal) { in getInteger() argument 275 return defaultVal; in getInteger() 286 public boolean getBoolean(@NonNull String tag, boolean defaultVal) { in getBoolean() argument 288 return value != null ? Boolean.parseBoolean(value) : defaultVal; in getBoolean()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenPolicy.java | 1018 public boolean isCategoryAllowed(@PriorityCategory int category, boolean defaultVal) { in isCategoryAllowed() argument 1025 return defaultVal; in isCategoryAllowed() 1030 public boolean isVisualEffectAllowed(@VisualEffect int effect, boolean defaultVal) { in isVisualEffectAllowed() argument 1037 return defaultVal; in isVisualEffectAllowed()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataEnabledSettings.java | 279 boolean defaultVal = TelephonyProperties.mobile_data().orElse(true); in isUserDataEnabled() 282 Settings.Global.MOBILE_DATA, mPhone.getSubId(), defaultVal); in isUserDataEnabled()
|
D | DcTracker.java | 2919 boolean defaultVal = mDataEnabledSettings.getDefaultDataRoamingEnabled(); in setDefaultDataRoamingEnabled() 2920 mDataEnabledSettings.setDataRoamingEnabled(defaultVal); in setDefaultDataRoamingEnabled()
|
/frameworks/av/services/audiopolicy/engine/config/src/ |
D | EngineConfig.cpp | 107 static constexpr const char *defaultVal = "default"; member 401 std::string defaultValue = getXmlAttribute(child, Attributes::defaultVal); in deserialize() 404 ALOGV("%s: No attribute %s found (but recommanded)", __FUNCTION__, Attributes::defaultVal); in deserialize() 406 ALOGV("%s: %s = %s", __FUNCTION__, Attributes::defaultVal, defaultValue.c_str()); in deserialize()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifTag.java | 640 Rational defaultVal = new Rational(defaultValue, 1); in getValueAsRational() local 641 return getValueAsRational(defaultVal); in getValueAsRational()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 7513 public static String getTelephonyProperty(int phoneId, String property, String defaultVal) { in getTelephonyProperty() argument 7522 return propVal == null ? defaultVal : propVal; in getTelephonyProperty() 7543 public static String getTelephonyProperty(String property, String defaultVal) { in getTelephonyProperty() argument 7545 return TextUtils.isEmpty(propVal) ? defaultVal : propVal; in getTelephonyProperty()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SubscriptionController.java | 628 private String getOptionalStringFromCursor(Cursor cursor, String column, String defaultVal) { in getOptionalStringFromCursor() argument 631 return (columnIndex == -1) ? defaultVal : cursor.getString(columnIndex); in getOptionalStringFromCursor()
|