Home
last modified time | relevance | path

Searched defs:defaultValue (Results 1 – 25 of 132) sorted by relevance

123456

/packages/apps/Messaging/tests/src/com/android/messaging/util/
DFakeBugleGservices.java31 public long getLong(final String key, final long defaultValue) { in getLong()
36 public int getInt(final String key, final int defaultValue) { in getInt()
41 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
46 public String getString(final String key, final String defaultValue) { in getString()
51 public float getFloat(String key, float defaultValue) { in getFloat()
DFakeBuglePrefs.java28 public int getInt(final String key, final int defaultValue) { in getInt()
33 public long getLong(final String key, final long defaultValue) { in getLong()
38 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
43 public String getString(final String key, final String defaultValue) { in getString()
/packages/apps/Messaging/src/com/android/messaging/util/
DBugleGservices.java42 public abstract long getLong(final String key, final long defaultValue); in getLong()
50 public abstract int getInt(final String key, final int defaultValue); in getInt()
57 public abstract boolean getBoolean(final String key, final boolean defaultValue); in getBoolean()
64 public abstract String getString(final String key, final String defaultValue); in getString()
71 public abstract float getFloat(final String key, final float defaultValue); in getFloat()
DBugleGservicesImpl.java40 public long getLong(final String key, final long defaultValue) { in getLong()
46 public int getInt(final String key, final int defaultValue) { in getInt()
52 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
58 public String getString(final String key, final String defaultValue) { in getString()
64 public float getFloat(final String key, final float defaultValue) { in getFloat()
DBuglePrefs.java76 public abstract int getInt(final String key, final int defaultValue); in getInt()
84 public abstract long getLong(final String key, final long defaultValue); in getLong()
91 public abstract boolean getBoolean(final String key, final boolean defaultValue); in getBoolean()
98 public abstract String getString(final String key, final String defaultValue); in getString()
DBuglePrefsImpl.java43 public int getInt(final String key, final int defaultValue) { in getInt()
51 public long getLong(final String key, final long defaultValue) { in getLong()
59 public boolean getBoolean(final String key, final boolean defaultValue) { in getBoolean()
67 public String getString(final String key, final String defaultValue) { in getString()
/packages/apps/Dialer/java/com/android/dialer/configprovider/
DConfigProvider.java22 String getString(String key, String defaultValue); in getString()
24 long getLong(String key, long defaultValue); in getLong()
26 boolean getBoolean(String key, boolean defaultValue); in getBoolean()
DSharedPrefConfigProvider.java110 public String getString(String key, String defaultValue) { in getString()
117 public long getLong(String key, long defaultValue) { in getLong()
123 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java93 public static Object invoke(final Object receiver, final Object defaultValue, in invoke()
107 public static Object getFieldValue(final Object receiver, final Object defaultValue, in getFieldValue()
146 final T defaultValue, final Class<?>... parameterTypes) { in getMethod()
151 public ToIntMethodWrapper getPrimitiveMethod(final String name, final int defaultValue, in getPrimitiveMethod()
157 public ToFloatMethodWrapper getPrimitiveMethod(final String name, final float defaultValue, in getPrimitiveMethod()
164 final boolean defaultValue, final Class<?>... parameterTypes) { in getPrimitiveMethod()
173 public ToObjectMethodWrapper(final Method method, final T defaultValue) { in ToObjectMethodWrapper()
186 public ToIntMethodWrapper(final Method method, final int defaultValue) { in ToIntMethodWrapper()
198 public ToFloatMethodWrapper(final Method method, final float defaultValue) { in ToFloatMethodWrapper()
210 public ToBooleanMethodWrapper(final Method method, final boolean defaultValue) { in ToBooleanMethodWrapper()
/packages/apps/TV/common/src/com/android/tv/common/dev/
DDeveloperPreference.java35 public static DeveloperPreference<Boolean> create(String key, boolean defaultValue) { in create()
50 public static DeveloperPreference<Integer> create(String key, int defaultValue) { in create()
58 private DeveloperPreference(String key, T defaultValue) { in DeveloperPreference()
101 private DeveloperBooleanPreference(String key, Boolean defaultValue) { in DeveloperBooleanPreference()
118 private DeveloperIntegerPreference(String key, Integer defaultValue) { in DeveloperIntegerPreference()
/packages/apps/TV/common/src/com/android/tv/common/feature/
DPropertyFeature.java29 public static PropertyFeature create(String key, boolean defaultValue) { in create()
41 private PropertyFeature(String key, boolean defaultValue) { in PropertyFeature()
/packages/apps/TV/common/src/com/android/tv/common/
DBooleanSystemProperty.java47 public BooleanSystemProperty(String key, boolean defaultValue) { in BooleanSystemProperty()
66 private static boolean getBoolean(String key, boolean defaultValue) { in getBoolean()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dpointer.h504 …ValueType& GetWithDefault(ValueType& root, const ValueType& defaultValue, typename ValueType::Allo… in GetWithDefault()
511 …ValueType& GetWithDefault(ValueType& root, const Ch* defaultValue, typename ValueType::AllocatorTy… in GetWithDefault()
519 …ValueType& GetWithDefault(ValueType& root, const std::basic_string<Ch>& defaultValue, typename Val… in GetWithDefault()
532 …GetWithDefault(ValueType& root, T defaultValue, typename ValueType::AllocatorType& allocator) cons… in GetWithDefault()
538 …typename ValueType::AllocatorType, stackAllocator>& document, const ValueType& defaultValue) const… in GetWithDefault()
544 …Type, typename ValueType::AllocatorType, stackAllocator>& document, const Ch* defaultValue) const { in GetWithDefault()
551 …me ValueType::AllocatorType, stackAllocator>& document, const std::basic_string<Ch>& defaultValue)… in GetWithDefault()
562 …EncodingType, typename ValueType::AllocatorType, stackAllocator>& document, T defaultValue) const { in GetWithDefault()
1066 …, const GenericPointer<typename T::ValueType>& pointer, const typename T::ValueType& defaultValue,… in GetValueByPointerWithDefault()
1071 …oot, const GenericPointer<typename T::ValueType>& pointer, const typename T::Ch* defaultValue, typ… in GetValueByPointerWithDefault()
[all …]
/packages/apps/Camera2/src/com/android/camera/settings/
DDefaultsStore.java48 public Defaults(String defaultValue, String[] possibleValues) { in Defaults()
70 public void storeDefaults(String key, String defaultValue, String[] possibleValues) { in storeDefaults()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DTestableFrameworkWrapper.java29 public int getBootUserOverrideId(int defaultValue) { in getBootUserOverrideId()
/packages/apps/Camera2/src_pd/com/android/camera/util/
DSystemProperties.java21 public static String get(String key, String defaultValue) { in get()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DDebugSettingsFragment.java153 private void setupKeyPreviewAnimationScale(final String prefKey, final float defaultValue) { in setupKeyPreviewAnimationScale()
205 private void setupKeyPreviewAnimationDuration(final String prefKey, final int defaultValue) { in setupKeyPreviewAnimationDuration()
243 private void setupKeyboardHeight(final String prefKey, final float defaultValue) { in setupKeyboardHeight()
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/
DMainActivity.java42 private String getBluetoothDongleMacFromPreferences(String defaultValue) { in getBluetoothDongleMacFromPreferences()
47 private int getScanDelayFromPreferences(int defaultValue) { in getScanDelayFromPreferences()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DDialerFutures.java47 T defaultValue) { in firstMatching()
54 T defaultValue) { in firstMatchingImpl()
/packages/modules/DnsResolver/
Dutil.cpp43 int getExperimentFlagInt(const std::string& flagName, int defaultValue) { in getExperimentFlagInt()
/packages/services/Telephony/src/com/android/phone/vvm/
DVisualVoicemailSmsFilterConfig.java160 private int getInt(String key, int defaultValue) { in getInt()
164 private String getString(String key, String defaultValue) { in getString()
168 private boolean getBoolean(String key, boolean defaultValue) { in getBoolean()
172 private List<String> getStringSet(String key, List<String> defaultValue) { in getStringSet()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifTag.java559 public String getValueAsString(String defaultValue) { in getValueAsString()
590 public byte getValueAsByte(byte defaultValue) { in getValueAsByte()
621 public Rational getValueAsRational(Rational defaultValue) { in getValueAsRational()
639 public Rational getValueAsRational(long defaultValue) { in getValueAsRational()
674 public int getValueAsInt(int defaultValue) { in getValueAsInt()
705 public long getValueAsLong(long defaultValue) { in getValueAsLong()
728 public long forceGetValueAsLong(long defaultValue) { in forceGetValueAsLong()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifTag.java559 public String getValueAsString(String defaultValue) { in getValueAsString()
590 public byte getValueAsByte(byte defaultValue) { in getValueAsByte()
621 public Rational getValueAsRational(Rational defaultValue) { in getValueAsRational()
639 public Rational getValueAsRational(long defaultValue) { in getValueAsRational()
674 public int getValueAsInt(int defaultValue) { in getValueAsInt()
705 public long getValueAsLong(long defaultValue) { in getValueAsLong()
728 public long forceGetValueAsLong(long defaultValue) { in forceGetValueAsLong()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifTag.java559 public String getValueAsString(String defaultValue) { in getValueAsString()
590 public byte getValueAsByte(byte defaultValue) { in getValueAsByte()
621 public Rational getValueAsRational(Rational defaultValue) { in getValueAsRational()
639 public Rational getValueAsRational(long defaultValue) { in getValueAsRational()
674 public int getValueAsInt(int defaultValue) { in getValueAsInt()
705 public long getValueAsLong(long defaultValue) { in getValueAsLong()
728 public long forceGetValueAsLong(long defaultValue) { in forceGetValueAsLong()
/packages/modules/NetworkStack/src/android/net/util/
DNetworkStackUtils.java305 @Nullable String defaultValue) { in getDeviceConfigProperty()
318 int defaultValue) { in getDeviceConfigPropertyInt()
338 int minimumValue, int maximumValue, int defaultValue) { in getDeviceConfigPropertyInt()
352 @NonNull String name, boolean defaultValue) { in getDeviceConfigPropertyBoolean()
479 @BoolRes int configResource, final boolean defaultValue) { in getResBooleanConfig()

123456