Home
last modified time | relevance | path

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

12345678

/frameworks/native/services/surfaceflinger/
DSurfaceFlingerProperties.cpp39 int64_t vsync_event_phase_offset_ns(int64_t defaultValue) { in vsync_event_phase_offset_ns()
48 int64_t vsync_sf_event_phase_offset_ns(int64_t defaultValue) { in vsync_sf_event_phase_offset_ns()
57 bool use_context_priority(bool defaultValue) { in use_context_priority()
66 int64_t max_frame_buffer_acquired_buffers(int64_t defaultValue) { in max_frame_buffer_acquired_buffers()
75 int32_t max_graphics_width(int32_t defaultValue) { in max_graphics_width()
83 int32_t max_graphics_height(int32_t defaultValue) { in max_graphics_height()
91 bool has_wide_color_display(bool defaultValue) { in has_wide_color_display()
100 bool running_without_sync_framework(bool defaultValue) { in running_without_sync_framework()
108 bool has_HDR_display(bool defaultValue) { in has_HDR_display()
116 int64_t present_time_offset_from_vsync_ns(int64_t defaultValue) { in present_time_offset_from_vsync_ns()
[all …]
/frameworks/base/core/java/android/util/
DAttributeSet.java162 String[] options, int defaultValue); in getAttributeListValue()
174 boolean defaultValue); in getAttributeBooleanValue()
192 int defaultValue); in getAttributeResourceValue()
204 int defaultValue); in getAttributeIntValue()
218 int defaultValue); in getAttributeUnsignedIntValue()
230 float defaultValue); in getAttributeFloatValue()
243 public int getAttributeListValue(int index, String[] options, int defaultValue); in getAttributeListValue()
253 public boolean getAttributeBooleanValue(int index, boolean defaultValue); in getAttributeBooleanValue()
269 public int getAttributeResourceValue(int index, int defaultValue); in getAttributeResourceValue()
279 public int getAttributeIntValue(int index, int defaultValue); in getAttributeIntValue()
[all …]
DXmlPullAttributes.java63 String[] options, int defaultValue) { in getAttributeListValue()
69 boolean defaultValue) { in getAttributeBooleanValue()
75 int defaultValue) { in getAttributeResourceValue()
81 int defaultValue) { in getAttributeIntValue()
87 int defaultValue) { in getAttributeUnsignedIntValue()
93 float defaultValue) { in getAttributeFloatValue()
102 String[] options, int defaultValue) { in getAttributeListValue()
107 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
112 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
117 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DNopAttributeSet.java66 defaultValue) { in getAttributeListValue()
72 boolean defaultValue) { in getAttributeBooleanValue()
77 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue()
82 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue()
88 int defaultValue) { in getAttributeUnsignedIntValue()
94 float defaultValue) { in getAttributeFloatValue()
99 public int getAttributeListValue(int index, String[] options, int defaultValue) { in getAttributeListValue()
104 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
109 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
114 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
[all …]
DBridgeLayoutParamsMapAttributes.java85 String[] options, int defaultValue) { in getAttributeListValue()
91 boolean defaultValue) { in getAttributeBooleanValue()
97 int defaultValue) { in getAttributeResourceValue()
103 int defaultValue) { in getAttributeIntValue()
109 int defaultValue) { in getAttributeUnsignedIntValue()
115 float defaultValue) { in getAttributeFloatValue()
121 String[] options, int defaultValue) { in getAttributeListValue()
126 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
131 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
136 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
[all …]
DBridgeXmlBlockParser.java416 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
422 boolean defaultValue) { in getAttributeBooleanValue()
427 public float getAttributeFloatValue(int index, float defaultValue) { in getAttributeFloatValue()
432 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { in getAttributeFloatValue()
437 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
442 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue()
447 public int getAttributeListValue(int index, String[] options, int defaultValue) { in getAttributeListValue()
453 String[] options, int defaultValue) { in getAttributeListValue()
463 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
468 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DFlagManagerTest.cpp69 std::optional<T> systemPropertyOpt, T defaultValue) { in getValue()
76 const bool defaultValue = false; in TEST_F() local
83 const bool defaultValue = false; in TEST_F() local
91 const bool defaultValue = false; in TEST_F() local
99 int32_t defaultValue = 30; in TEST_F() local
106 int32_t defaultValue = 30; in TEST_F() local
114 std::int32_t defaultValue = 30; in TEST_F() local
122 int64_t defaultValue = 30; in TEST_F() local
129 int64_t defaultValue = 30; in TEST_F() local
137 int64_t defaultValue = 30; in TEST_F() local
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java119 String[] options, int defaultValue) { in getAttributeListValue()
136 boolean defaultValue) { in getAttributeBooleanValue()
152 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue()
159 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue()
201 int defaultValue) { in getAttributeUnsignedIntValue()
218 float defaultValue) { in getAttributeFloatValue()
235 String[] options, int defaultValue) { in getAttributeListValue()
241 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { in getAttributeBooleanValue()
257 public int getAttributeResourceValue(int index, int defaultValue) { in getAttributeResourceValue()
264 public int getAttributeIntValue(int index, int defaultValue) { in getAttributeIntValue()
[all …]
/frameworks/layoutlib/bridge/src/android/provider/
DDeviceConfig_Delegate.java30 public static String getString(String namespace, String name, String defaultValue) { in getString()
35 public static boolean getBoolean(String namespace, String name, boolean defaultValue) { in getBoolean()
40 public static int getInt(String namespace, String name, int defaultValue) { in getInt()
45 public static long getLong(String namespace, String name, long defaultValue) { in getLong()
50 public static float getFloat(String namespace, String name, float defaultValue) { in getFloat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DDeviceConfigHelper.java42 public long getLong(String name, long defaultValue) { in getLong()
47 public int getInt(String name, int defaultValue) { in getInt()
53 public String getString(String name, @Nullable String defaultValue) { in getString()
58 public boolean getBoolean(String name, boolean defaultValue) { in getBoolean()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DDeviceConfigProxy.java56 @NonNull String namespace, @NonNull String name, boolean defaultValue) { in getBoolean()
64 @NonNull String namespace, @NonNull String name, float defaultValue) { in getFloat()
71 public int getInt(@NonNull String namespace, @NonNull String name, int defaultValue) { in getInt()
78 public long getLong(@NonNull String namespace, @NonNull String name, long defaultValue) { in getLong()
94 @NonNull String namespace, @NonNull String name, @Nullable String defaultValue) { in getString()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DTypedXmlPullParser.java199 @NonNull String name, @Nullable byte[] defaultValue) { in getAttributeBytesHex()
214 @NonNull String name, @Nullable byte[] defaultValue) { in getAttributeBytesBase64()
229 int defaultValue) { in getAttributeInt()
244 int defaultValue) { in getAttributeIntHex()
259 long defaultValue) { in getAttributeLong()
274 long defaultValue) { in getAttributeLongHex()
289 float defaultValue) { in getAttributeFloat()
304 double defaultValue) { in getAttributeDouble()
319 boolean defaultValue) { in getAttributeBoolean()
/frameworks/base/core/java/android/provider/
DDeviceConfigInterface.java79 String getString(@NonNull String namespace, @NonNull String name, @NonNull String defaultValue); in getString()
85 int getInt(@NonNull String namespace, @NonNull String name, int defaultValue); in getInt()
91 long getLong(@NonNull String namespace, @NonNull String name, long defaultValue); in getLong()
97 boolean getBoolean(@NonNull String namespace, @NonNull String name, boolean defaultValue); in getBoolean()
103 float getFloat(@NonNull String namespace, @NonNull String name, float defaultValue); in getFloat()
/frameworks/base/core/java/org/apache/http/params/
DHttpParams.java98 long getLongParameter(String name, long defaultValue); in getLongParameter()
119 int getIntParameter(String name, int defaultValue); in getIntParameter()
140 double getDoubleParameter(String name, double defaultValue); in getDoubleParameter()
161 boolean getBooleanParameter(String name, boolean defaultValue); in getBooleanParameter()
/frameworks/libs/net/common/device/com/android/net/module/util/
DDeviceConfigUtils.java85 @Nullable String defaultValue) { in getDeviceConfigProperty()
98 int defaultValue) { in getDeviceConfigPropertyInt()
122 int minimumValue, int maximumValue, int defaultValue) { in getDeviceConfigPropertyInt()
136 @NonNull String name, boolean defaultValue) { in getDeviceConfigPropertyBoolean()
266 @BoolRes int configResource, final boolean defaultValue) { in getResBooleanConfig()
279 @BoolRes int configResource, final int defaultValue) { in getResIntegerConfig()
/frameworks/base/core/java/android/app/
DAppGlobals.java70 public static int getIntCoreSetting(String key, int defaultValue) { in getIntCoreSetting()
86 public static float getFloatCoreSetting(String key, float defaultValue) { in getFloatCoreSetting()
/frameworks/base/services/core/java/com/android/server/pm/
DSettingsXml.java108 String getString(String attrName, @NonNull String defaultValue); in getString()
118 boolean getBoolean(String attrName, boolean defaultValue); in getBoolean()
128 int getInt(String attrName, int defaultValue); in getInt()
138 long getLong(String attrName, int defaultValue); in getLong()
221 public String getString(String attrName, @NonNull String defaultValue) { in getString()
235 public boolean getBoolean(String attrName, boolean defaultValue) { in getBoolean()
245 public int getInt(String attrName, int defaultValue) { in getInt()
255 public long getLong(String attrName, int defaultValue) { in getLong()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
DDeviceConfigProxyFake.java98 public boolean getBoolean(String namespace, String name, boolean defaultValue) { in getBoolean()
108 public int getInt(String namespace, String name, int defaultValue) { in getInt()
118 public long getLong(String namespace, String name, long defaultValue) { in getLong()
133 public String getString(String namespace, String name, String defaultValue) { in getString()
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DFakeDeviceConfigInterface.java155 public String getString(String namespace, String name, String defaultValue) { in getString()
161 public int getInt(String namespace, String name, int defaultValue) { in getInt()
174 public long getLong(String namespace, String name, long defaultValue) { in getLong()
187 public float getFloat(String namespace, String name, float defaultValue) { in getFloat()
200 public boolean getBoolean(String namespace, String name, boolean defaultValue) { in getBoolean()
/frameworks/base/core/java/android/content/res/
DXmlBlock.java393 String[] options, int defaultValue) { in getAttributeListValue()
401 boolean defaultValue) { in getAttributeBooleanValue()
409 int defaultValue) { in getAttributeResourceValue()
417 int defaultValue) { in getAttributeIntValue()
425 int defaultValue) in getAttributeUnsignedIntValue()
434 float defaultValue) { in getAttributeFloatValue()
443 String[] options, int defaultValue) { in getAttributeListValue()
459 boolean defaultValue) { in getAttributeBooleanValue()
475 public int getAttributeResourceValue(int idx, int defaultValue) { in getAttributeResourceValue()
491 public int getAttributeIntValue(int idx, int defaultValue) { in getAttributeIntValue()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPrefs.java124 public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { in getBoolean()
132 public static int getInt(Context context, @Key String key, int defaultValue) { in getInt()
140 public static long getLong(Context context, @Key String key, long defaultValue) { in getLong()
148 public static String getString(Context context, @Key String key, String defaultValue) { in getString()
161 Context context, @Key String key, Set<String> defaultValue) { in getStringSet()
/frameworks/base/packages/WallpaperCropper/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()
/frameworks/base/services/core/java/com/android/server/wm/
DSynchedDeviceConfig.java113 private boolean isDeviceConfigFlagEnabled(@NonNull String key, boolean defaultValue) { in isDeviceConfigFlagEnabled()
137 boolean defaultValue, boolean enabled) { in addDeviceConfigEntry()
170 private SynchedDeviceConfigEntry(@NonNull String flagKey, boolean defaultValue, in SynchedDeviceConfigEntry()
/frameworks/base/core/java/com/android/internal/os/
DZygoteConfig.java93 public static int getInt(String name, int defaultValue) { in getInt()
106 public static boolean getBool(String name, boolean defaultValue) { in getBool()
/frameworks/base/core/java/com/android/internal/flags/
DCoreFlags.java61 private static BooleanFlag booleanFlag(String namespace, String name, boolean defaultValue) { in booleanFlag()
86 String namespace, String name, boolean defaultValue) { in dynamicBooleanFlag()

12345678