/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlingerProperties.h | 32 int64_t vsync_event_phase_offset_ns(int64_t defaultValue); 34 int64_t vsync_sf_event_phase_offset_ns(int64_t defaultValue); 36 bool use_context_priority(bool defaultValue); 38 int64_t max_frame_buffer_acquired_buffers(int64_t defaultValue); 40 bool has_wide_color_display(bool defaultValue); 42 bool running_without_sync_framework(bool defaultValue); 44 bool has_HDR_display(bool defaultValue); 46 int64_t present_time_offset_from_vsync_ns(int64_t defaultValue); 48 bool force_hwc_copy_for_virtual_displays(bool defaultValue); 50 int64_t max_virtual_display_dimension(int64_t defaultValue); [all …]
|
D | SurfaceFlingerProperties.cpp | 35 int64_t vsync_event_phase_offset_ns(int64_t defaultValue) { in vsync_event_phase_offset_ns() argument 41 defaultValue); in vsync_event_phase_offset_ns() 44 int64_t vsync_sf_event_phase_offset_ns(int64_t defaultValue) { in vsync_sf_event_phase_offset_ns() argument 50 defaultValue); in vsync_sf_event_phase_offset_ns() 53 bool use_context_priority(bool defaultValue) { in use_context_priority() argument 59 defaultValue); in use_context_priority() 62 int64_t max_frame_buffer_acquired_buffers(int64_t defaultValue) { in max_frame_buffer_acquired_buffers() argument 68 defaultValue); in max_frame_buffer_acquired_buffers() 71 bool has_wide_color_display(bool defaultValue) { in has_wide_color_display() argument 77 defaultValue); in has_wide_color_display() [all …]
|
/frameworks/base/core/java/android/util/ |
D | XmlPullAttributes.java | 63 String[] options, int defaultValue) { in getAttributeListValue() argument 65 getAttributeValue(namespace, attribute), options, defaultValue); in getAttributeListValue() 69 boolean defaultValue) { in getAttributeBooleanValue() argument 71 getAttributeValue(namespace, attribute), defaultValue); in getAttributeBooleanValue() 75 int defaultValue) { in getAttributeResourceValue() argument 77 getAttributeValue(namespace, attribute), defaultValue); in getAttributeResourceValue() 81 int defaultValue) { in getAttributeIntValue() argument 83 getAttributeValue(namespace, attribute), defaultValue); in getAttributeIntValue() 87 int defaultValue) { in getAttributeUnsignedIntValue() argument 89 getAttributeValue(namespace, attribute), defaultValue); in getAttributeUnsignedIntValue() [all …]
|
D | AttributeSet.java | 162 String[] options, int defaultValue); in getAttributeListValue() argument 174 boolean defaultValue); in getAttributeBooleanValue() argument 192 int defaultValue); in getAttributeResourceValue() argument 204 int defaultValue); in getAttributeIntValue() argument 218 int defaultValue); in getAttributeUnsignedIntValue() argument 230 float defaultValue); in getAttributeFloatValue() argument 243 public int getAttributeListValue(int index, String[] options, int defaultValue); in getAttributeListValue() argument 253 public boolean getAttributeBooleanValue(int index, boolean defaultValue); in getAttributeBooleanValue() argument 269 public int getAttributeResourceValue(int index, int defaultValue); in getAttributeResourceValue() argument 279 public int getAttributeIntValue(int index, int defaultValue); in getAttributeIntValue() argument [all …]
|
D | KeyValueListParser.java | 225 public IntValue(String key, int defaultValue) { in IntValue() argument 227 mDefaultValue = defaultValue; in IntValue() 278 public LongValue(String key, long defaultValue) { in LongValue() argument 280 mDefaultValue = defaultValue; in LongValue() 331 public StringValue(String key, String defaultValue) { in StringValue() argument 333 mDefaultValue = defaultValue; in StringValue() 384 public FloatValue(String key, float defaultValue) { in FloatValue() argument 386 mDefaultValue = defaultValue; in FloatValue()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ConfigParser.java | 78 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean() argument 89 getLegacySettings().getBoolean(key, defaultValue)); in getBoolean() 91 value = getLegacySettings().getBoolean(key, defaultValue); in getBoolean() 101 public int getInt(String key, int defaultValue) { in getInt() argument 112 getLegacySettings().getInt(key, defaultValue)); in getInt() 114 value = getLegacySettings().getInt(key, defaultValue); in getInt() 124 public float getFloat(String key, float defaultValue) { in getFloat() argument 135 getLegacySettings().getFloat(key, defaultValue)); in getFloat() 137 value = getLegacySettings().getFloat(key, defaultValue); in getFloat() 147 public String getString(String key, String defaultValue) { in getString() argument [all …]
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 123 String[] options, int defaultValue) { in getAttributeListValue() argument 132 return XmlUtils.convertValueToList(value, options, defaultValue); in getAttributeListValue() 135 return defaultValue; in getAttributeListValue() 140 boolean defaultValue) { in getAttributeBooleanValue() argument 149 return XmlUtils.convertValueToBoolean(value, defaultValue); in getAttributeBooleanValue() 152 return defaultValue; in getAttributeBooleanValue() 156 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() argument 159 return resolveResourceValue(value, defaultValue); in getAttributeResourceValue() 163 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() argument 166 return defaultValue; in getAttributeIntValue() [all …]
|
/frameworks/layoutlib/bridge/src/android/provider/ |
D | DeviceConfig_Delegate.java | 30 public static String getString(String namespace, String name, String defaultValue) { in getString() argument 31 return defaultValue; in getString() 35 public static boolean getBoolean(String namespace, String name, boolean defaultValue) { in getBoolean() argument 36 return defaultValue; in getBoolean() 40 public static int getInt(String namespace, String name, int defaultValue) { in getInt() argument 41 return defaultValue; in getInt() 45 public static long getLong(String namespace, String name, long defaultValue) { in getLong() argument 46 return defaultValue; in getLong() 50 public static float getFloat(String namespace, String name, float defaultValue) { in getFloat() argument 51 return defaultValue; in getFloat()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | NopAttributeSet.java | 66 defaultValue) { in getAttributeListValue() argument 72 boolean defaultValue) { in getAttributeBooleanValue() argument 77 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() argument 82 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() argument 88 int defaultValue) { in getAttributeUnsignedIntValue() argument 94 float defaultValue) { in getAttributeFloatValue() argument 99 public int getAttributeListValue(int index, String[] options, int defaultValue) { in getAttributeListValue() argument 104 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue() argument 109 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue() argument 114 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() argument [all …]
|
D | BridgeLayoutParamsMapAttributes.java | 85 String[] options, int defaultValue) { in getAttributeListValue() argument 91 boolean defaultValue) { in getAttributeBooleanValue() argument 97 int defaultValue) { in getAttributeResourceValue() argument 103 int defaultValue) { in getAttributeIntValue() argument 109 int defaultValue) { in getAttributeUnsignedIntValue() argument 115 float defaultValue) { in getAttributeFloatValue() argument 121 String[] options, int defaultValue) { in getAttributeListValue() argument 126 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue() argument 131 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue() argument 136 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() argument [all …]
|
D | BridgeXmlBlockParser.java | 409 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue() argument 410 return mAttrib.getAttributeBooleanValue(index, defaultValue); in getAttributeBooleanValue() 415 boolean defaultValue) { in getAttributeBooleanValue() argument 416 return mAttrib.getAttributeBooleanValue(namespace, attribute, defaultValue); in getAttributeBooleanValue() 420 public float getAttributeFloatValue(int index, float defaultValue) { in getAttributeFloatValue() argument 421 return mAttrib.getAttributeFloatValue(index, defaultValue); in getAttributeFloatValue() 425 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { in getAttributeFloatValue() argument 426 return mAttrib.getAttributeFloatValue(namespace, attribute, defaultValue); in getAttributeFloatValue() 430 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue() argument 431 return mAttrib.getAttributeIntValue(index, defaultValue); in getAttributeIntValue() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | XmlBlock.java | 334 String[] options, int defaultValue) { in getAttributeListValue() argument 337 return getAttributeListValue(idx, options, defaultValue); in getAttributeListValue() 339 return defaultValue; in getAttributeListValue() 342 boolean defaultValue) { in getAttributeBooleanValue() argument 345 return getAttributeBooleanValue(idx, defaultValue); in getAttributeBooleanValue() 347 return defaultValue; in getAttributeBooleanValue() 350 int defaultValue) { in getAttributeResourceValue() argument 353 return getAttributeResourceValue(idx, defaultValue); in getAttributeResourceValue() 355 return defaultValue; in getAttributeResourceValue() 358 int defaultValue) { in getAttributeIntValue() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | DeviceConfigHelper.java | 39 public long getLong(String name, long defaultValue) { in getLong() argument 40 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_SYSTEMUI, name, defaultValue); in getLong() 43 public int getInt(String name, int defaultValue) { in getInt() argument 44 return DeviceConfig.getInt(DeviceConfig.NAMESPACE_SYSTEMUI, name, defaultValue); in getInt() 48 public String getString(String name, @Nullable String defaultValue) { in getString() argument 49 return DeviceConfig.getString(DeviceConfig.NAMESPACE_SYSTEMUI, name, defaultValue); in getString() 52 public boolean getBoolean(String name, boolean defaultValue) { in getBoolean() argument 53 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SYSTEMUI, name, defaultValue); in getBoolean()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SystemPropertyService.java | 22 public String get(String key, String defaultValue) { in get() argument 23 return android.os.SystemProperties.get(key, defaultValue); in get() 32 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean() argument 33 return android.os.SystemProperties.getBoolean(key, defaultValue); in getBoolean() 37 public String getString(String key, String defaultValue) { in getString() argument 38 return android.os.SystemProperties.get(key, defaultValue); in getString()
|
D | PropertyService.java | 31 String get(String key, String defaultValue); in get() argument 44 boolean getBoolean(String key, boolean defaultValue); in getBoolean() argument 50 String getString(String key, String defaultValue); in getString() argument
|
/frameworks/base/core/java/android/provider/ |
D | DeviceConfig.java | 417 @Nullable String defaultValue) { in getString() argument 419 return value != null ? value : defaultValue; in getString() 436 boolean defaultValue) { in getBoolean() argument 438 return value != null ? Boolean.parseBoolean(value) : defaultValue; in getBoolean() 454 public static int getInt(@NonNull String namespace, @NonNull String name, int defaultValue) { in getInt() argument 457 return defaultValue; in getInt() 463 return defaultValue; in getInt() 480 public static long getLong(@NonNull String namespace, @NonNull String name, long defaultValue) { in getLong() argument 483 return defaultValue; in getLong() 489 return defaultValue; in getLong() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BaseBundle.java | 877 Object defaultValue, ClassCastException e) { in typeWarning() argument 886 sb.append(defaultValue); in typeWarning() 905 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean() argument 909 return defaultValue; in getBoolean() 914 typeWarning(key, o, "Boolean", defaultValue, e); in getBoolean() 915 return defaultValue; in getBoolean() 939 Byte getByte(String key, byte defaultValue) { in getByte() argument 943 return defaultValue; in getByte() 948 typeWarning(key, o, "Byte", defaultValue, e); in getByte() 949 return defaultValue; in getByte() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/ |
D | TestableDeviceConfig.java | 168 boolean defaultValue = invocation.getArgument(1); 172 return defaultValue; 179 float defaultValue = invocation.getArgument(1); 184 return defaultValue; 187 return defaultValue; 194 int defaultValue = invocation.getArgument(1); 199 return defaultValue; 202 return defaultValue; 209 long defaultValue = invocation.getArgument(1); 214 return defaultValue; [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadataEditor.java | 332 public synchronized long getLong(int key, long defaultValue) in getLong() argument 337 return mEditorMetadata.getLong(String.valueOf(key), defaultValue); in getLong() 348 public synchronized String getString(int key, String defaultValue) in getString() argument 353 return mEditorMetadata.getString(String.valueOf(key), defaultValue); in getString() 364 public synchronized Bitmap getBitmap(int key, Bitmap defaultValue) in getBitmap() argument 369 return (mEditorArtwork != null ? mEditorArtwork : defaultValue); in getBitmap() 381 public synchronized Object getObject(int key, Object defaultValue) in getObject() argument 388 return defaultValue; in getObject() 394 return defaultValue; in getObject() 400 return defaultValue; in getObject() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 108 public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { in getBoolean() argument 109 return get(context).getBoolean(key, defaultValue); in getBoolean() 116 public static int getInt(Context context, @Key String key, int defaultValue) { in getInt() argument 117 return get(context).getInt(key, defaultValue); in getInt() 124 public static long getLong(Context context, @Key String key, long defaultValue) { in getLong() argument 125 return get(context).getLong(key, defaultValue); in getLong() 132 public static String getString(Context context, @Key String key, String defaultValue) { in getString() argument 133 return get(context).getString(key, defaultValue); in getString() 145 Context context, @Key String key, Set<String> defaultValue) { in getStringSet() argument 146 return get(context).getStringSet(key, defaultValue); in getStringSet()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/ |
D | AbstractLogdSizePreferenceController.java | 95 String defaultValue = SystemProperties.get(SELECT_LOGD_DEFAULT_SIZE_PROPERTY); in defaultLogdSizeValue() local 96 if ((defaultValue == null) || (defaultValue.length() == 0)) { in defaultLogdSizeValue() 98 defaultValue = SELECT_LOGD_SVELTE_DEFAULT_SIZE_VALUE; in defaultLogdSizeValue() 100 defaultValue = SELECT_LOGD_DEFAULT_SIZE_VALUE; in defaultLogdSizeValue() 103 return defaultValue; in defaultLogdSizeValue() 177 String defaultValue = defaultLogdSizeValue(); in writeLogdSizeOption() local 179 newValue.toString() : defaultValue; in writeLogdSizeOption() 180 SystemProperties.set(SELECT_LOGD_SIZE_PROPERTY, defaultValue.equals(size) ? "" : size); in writeLogdSizeOption()
|
/frameworks/base/core/java/org/apache/http/params/ |
D | HttpParams.java | 98 long getLongParameter(String name, long defaultValue); in getLongParameter() argument 119 int getIntParameter(String name, int defaultValue); in getIntParameter() argument 140 double getDoubleParameter(String name, double defaultValue); in getDoubleParameter() argument 161 boolean getBooleanParameter(String name, boolean defaultValue); in getBooleanParameter() argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
D | ExifTag.java | 559 public String getValueAsString(String defaultValue) { in getValueAsString() argument 562 return defaultValue; in getValueAsString() 590 public byte getValueAsByte(byte defaultValue) { in getValueAsByte() argument 593 return defaultValue; in getValueAsByte() 621 public Rational getValueAsRational(Rational defaultValue) { in getValueAsRational() argument 624 return defaultValue; in getValueAsRational() 639 public Rational getValueAsRational(long defaultValue) { in getValueAsRational() argument 640 Rational defaultVal = new Rational(defaultValue, 1); in getValueAsRational() 674 public int getValueAsInt(int defaultValue) { in getValueAsInt() argument 677 return defaultValue; in getValueAsInt() [all …]
|
/frameworks/base/core/java/android/app/ |
D | AppGlobals.java | 61 public static int getIntCoreSetting(String key, int defaultValue) { in getIntCoreSetting() argument 64 return currentActivityThread.getIntCoreSetting(key, defaultValue); in getIntCoreSetting() 66 return defaultValue; in getIntCoreSetting()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsState.java | 396 String oldDefaultValue = (oldState != null) ? oldState.defaultValue : null; in insertSettingLocked() 442 null, oldState.defaultValue, null); in deleteSettingLocked() 779 String name, String value, String defaultValue, String packageName, in writeSingleSetting() argument 792 if (defaultValue != null) { in writeSingleSetting() 794 version, serializer, defaultValue); in writeSingleSetting() 916 String defaultValue = getValueAttribute(parser, ATTR_DEFAULT_VALUE, in parseSettingsLocked() local 920 if (defaultValue != null) { in parseSettingsLocked() 925 mSettings.put(name, new Setting(name, value, defaultValue, packageName, tag, in parseSettingsLocked() 973 private String defaultValue; field in SettingsState.Setting 983 defaultValue = other.defaultValue; in Setting() [all …]
|