Home
last modified time | relevance | path

Searched refs:defaultVal (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/telephony/java/android/telephony/ims/
DRcsConfig.java256 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/
DZenPolicy.java1018 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/
DDataEnabledSettings.java279 boolean defaultVal = TelephonyProperties.mobile_data().orElse(true); in isUserDataEnabled()
282 Settings.Global.MOBILE_DATA, mPhone.getSubId(), defaultVal); in isUserDataEnabled()
DDcTracker.java2919 boolean defaultVal = mDataEnabledSettings.getDefaultDataRoamingEnabled(); in setDefaultDataRoamingEnabled()
2920 mDataEnabledSettings.setDataRoamingEnabled(defaultVal); in setDefaultDataRoamingEnabled()
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp107 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/
DExifTag.java640 Rational defaultVal = new Rational(defaultValue, 1); in getValueAsRational() local
641 return getValueAsRational(defaultVal); in getValueAsRational()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java7513 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/
DSubscriptionController.java628 private String getOptionalStringFromCursor(Cursor cursor, String column, String defaultVal) { in getOptionalStringFromCursor() argument
631 return (columnIndex == -1) ? defaultVal : cursor.getString(columnIndex); in getOptionalStringFromCursor()