Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationPrototypeController.java193 private boolean getGlobalBool(String name, boolean defaultVal) { in getGlobalBool() argument
194 return Settings.Global.getInt(mContext.getContentResolver(), name, defaultVal ? 1 : 0) == 1; in getGlobalBool()
197 private int getGlobalInt(String name, int defaultVal) { in getGlobalInt() argument
198 return Settings.Global.getInt(mContext.getContentResolver(), name, defaultVal); in getGlobalInt()
/frameworks/base/core/java/android/service/notification/
DZenPolicy.java907 public boolean isCategoryAllowed(@PriorityCategory int category, boolean defaultVal) { in isCategoryAllowed() argument
914 return defaultVal; in isCategoryAllowed()
919 public boolean isVisualEffectAllowed(@VisualEffect int effect, boolean defaultVal) { in isVisualEffectAllowed() argument
926 return defaultVal; in isVisualEffectAllowed()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java240 boolean defaultVal = TelephonyProperties.mobile_data().orElse(true); in isUserDataEnabled()
243 Settings.Global.MOBILE_DATA, mPhone.getSubId(), defaultVal); in isUserDataEnabled()
DDcTracker.java2619 boolean defaultVal = mDataEnabledSettings.getDefaultDataRoamingEnabled(); in setDefaultDataRoamingEnabled()
2620 mDataEnabledSettings.setDataRoamingEnabled(defaultVal); in setDefaultDataRoamingEnabled()
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp107 static constexpr const char *defaultVal = "default"; member
387 std::string defaultValue = getXmlAttribute(child, Attributes::defaultVal); in deserialize()
390 ALOGV("%s: No attribute %s found (but recommanded)", __FUNCTION__, Attributes::defaultVal); in deserialize()
392 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/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java2202 final int defaultVal = mDeps.isTetheringDenied() ? 0 : 1; in isTetheringSupported() local
2204 Settings.Global.TETHER_SUPPORTED, defaultVal) != 0; in isTetheringSupported()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java6826 public static String getTelephonyProperty(int phoneId, String property, String defaultVal) { in getTelephonyProperty() argument
6835 return propVal == null ? defaultVal : propVal; in getTelephonyProperty()
6856 public static String getTelephonyProperty(String property, String defaultVal) { in getTelephonyProperty() argument
6858 return TextUtils.isEmpty(propVal) ? defaultVal : propVal; in getTelephonyProperty()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java438 private String getOptionalStringFromCursor(Cursor cursor, String column, String defaultVal) { in getOptionalStringFromCursor() argument
441 return (columnIndex == -1) ? defaultVal : cursor.getString(columnIndex); in getOptionalStringFromCursor()