/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 | 64 String[] options, int defaultValue) { in getAttributeListValue() argument 66 getAttributeValue(namespace, attribute), options, defaultValue); in getAttributeListValue() 70 boolean defaultValue) { in getAttributeBooleanValue() argument 72 getAttributeValue(namespace, attribute), defaultValue); in getAttributeBooleanValue() 76 int defaultValue) { in getAttributeResourceValue() argument 78 getAttributeValue(namespace, attribute), defaultValue); in getAttributeResourceValue() 82 int defaultValue) { in getAttributeIntValue() argument 84 getAttributeValue(namespace, attribute), defaultValue); in getAttributeIntValue() 88 int defaultValue) { in getAttributeUnsignedIntValue() argument 90 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 …]
|
/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/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/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/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/packages/SystemUI/src/com/android/systemui/assist/ |
D | PhenotypeHelper.java | 29 long getLong(String name, long defaultValue) { in getLong() argument 30 return DeviceConfig.getLong(DeviceConfig.NAMESPACE_SYSTEMUI, name, defaultValue); in getLong() 33 int getInt(String name, int defaultValue) { in getInt() argument 34 return DeviceConfig.getInt(DeviceConfig.NAMESPACE_SYSTEMUI, name, defaultValue); in getInt() 38 String getString(String name, @Nullable String defaultValue) { in getString() argument 39 return DeviceConfig.getString(DeviceConfig.NAMESPACE_SYSTEMUI, name, defaultValue); in getString() 42 boolean getBoolean(String name, boolean defaultValue) { in getBoolean() argument 43 return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SYSTEMUI, name, defaultValue); in getBoolean()
|
/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/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 | 387 @Nullable String defaultValue) { in getString() argument 389 return value != null ? value : defaultValue; in getString() 406 boolean defaultValue) { in getBoolean() argument 408 return value != null ? Boolean.parseBoolean(value) : defaultValue; in getBoolean() 424 public static int getInt(@NonNull String namespace, @NonNull String name, int defaultValue) { in getInt() argument 427 return defaultValue; in getInt() 433 return defaultValue; in getInt() 450 public static long getLong(@NonNull String namespace, @NonNull String name, long defaultValue) { in getLong() argument 453 return defaultValue; in getLong() 459 return defaultValue; in getLong() [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/core/java/android/os/ |
D | BaseBundle.java | 870 Object defaultValue, ClassCastException e) { in typeWarning() argument 879 sb.append(defaultValue); in typeWarning() 898 public boolean getBoolean(String key, boolean defaultValue) { in getBoolean() argument 902 return defaultValue; in getBoolean() 907 typeWarning(key, o, "Boolean", defaultValue, e); in getBoolean() 908 return defaultValue; in getBoolean() 932 Byte getByte(String key, byte defaultValue) { in getByte() argument 936 return defaultValue; in getByte() 941 typeWarning(key, o, "Byte", defaultValue, e); in getByte() 942 return defaultValue; in getByte() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | MapEntryLite.java | 52 public final V defaultValue; field in MapEntryLite.Metadata 56 WireFormat.FieldType valueType, V defaultValue) { in Metadata() argument 60 this.defaultValue = defaultValue; in Metadata() 74 WireFormat.FieldType valueType, V defaultValue) { in MapEntryLite() argument 75 this.metadata = new Metadata<K, V>(keyType, defaultKey, valueType, defaultValue); in MapEntryLite() 77 this.value = defaultValue; in MapEntryLite() 105 WireFormat.FieldType valueType, V defaultValue) { in newDefaultInstance() argument 107 keyType, defaultKey, valueType, defaultValue); in newDefaultInstance() 175 V value = metadata.defaultValue; in parseEntry() 204 V value = metadata.defaultValue; in parseInto()
|
/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/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/ex/camera2/portability/src/com/android/ex/camera2/portability/util/ |
D | SystemProperties.java | 37 public static String get(String key, String defaultValue) { in get() argument 41 return (String) get.invoke(null, key, defaultValue); in get() 45 return defaultValue; in get()
|
/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 …]
|