Home
last modified time | relevance | path

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

1234567

/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 …]
DTypedXmlPullParser.java201 @NonNull String name, @Nullable byte[] defaultValue) { in getAttributeBytesHex()
216 @NonNull String name, @Nullable byte[] defaultValue) { in getAttributeBytesBase64()
231 int defaultValue) { in getAttributeInt()
246 int defaultValue) { in getAttributeIntHex()
261 long defaultValue) { in getAttributeLong()
276 long defaultValue) { in getAttributeLongHex()
291 float defaultValue) { in getAttributeFloat()
306 double defaultValue) { in getAttributeDouble()
321 boolean defaultValue) { in getAttributeBoolean()
/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/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/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/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.java64 @NonNull String namespace, @NonNull String name, boolean defaultValue) { in getBoolean()
72 @NonNull String namespace, @NonNull String name, float defaultValue) { in getFloat()
79 public int getInt(@NonNull String namespace, @NonNull String name, int defaultValue) { in getInt()
86 public long getLong(@NonNull String namespace, @NonNull String name, long defaultValue) { in getLong()
102 @NonNull String namespace, @NonNull String name, @Nullable String defaultValue) { in getString()
/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()
DDeviceConfig.java834 @Nullable String defaultValue) { in getString()
852 boolean defaultValue) { in getBoolean()
869 public static int getInt(@NonNull String namespace, @NonNull String name, int defaultValue) { in getInt()
894 public static long getLong(@NonNull String namespace, @NonNull String name, long defaultValue) { in getLong()
920 float defaultValue) { in getFloat()
1321 public String getString(@NonNull String name, @Nullable String defaultValue) { in getString()
1334 public boolean getBoolean(@NonNull String name, boolean defaultValue) { in getBoolean()
1348 public int getInt(@NonNull String name, int defaultValue) { in getInt()
1370 public long getLong(@NonNull String name, long defaultValue) { in getLong()
1392 public float getFloat(@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/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxConfigurationDeviceConfigTests.java65 private void testGetFlagForKey_flagIsActive_flagChanges(final String key, boolean defaultValue) in testGetFlagForKey_flagIsActive_flagChanges()
92 boolean defaultValue) throws InterruptedException { in testGetFlagForKey_flagIsNotActive_alwaysReturnDefaultValue()
/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.java107 String getString(String attrName, @NonNull String defaultValue); in getString()
117 boolean getBoolean(String attrName, boolean defaultValue); in getBoolean()
127 int getInt(String attrName, int defaultValue); in getInt()
137 long getLong(String attrName, int defaultValue); in getLong()
220 public String getString(String attrName, @NonNull String defaultValue) { in getString()
234 public boolean getBoolean(String attrName, boolean defaultValue) { in getBoolean()
244 public int getInt(String attrName, int defaultValue) { in getInt()
254 public long getLong(String attrName, int defaultValue) { in getLong()
/frameworks/libs/net/common/device/com/android/net/module/util/
DDeviceConfigUtils.java74 @Nullable String defaultValue) { in getDeviceConfigProperty()
87 int defaultValue) { in getDeviceConfigPropertyInt()
111 int minimumValue, int maximumValue, int defaultValue) { in getDeviceConfigPropertyInt()
125 @NonNull String name, boolean defaultValue) { in getDeviceConfigPropertyBoolean()
254 @BoolRes int configResource, final boolean defaultValue) { in getResBooleanConfig()
/frameworks/base/core/java/android/content/res/
DXmlBlock.java345 String[] options, int defaultValue) { in getAttributeListValue()
353 boolean defaultValue) { in getAttributeBooleanValue()
361 int defaultValue) { in getAttributeResourceValue()
369 int defaultValue) { in getAttributeIntValue()
377 int defaultValue) in getAttributeUnsignedIntValue()
386 float defaultValue) { in getAttributeFloatValue()
395 String[] options, int defaultValue) { in getAttributeListValue()
405 boolean defaultValue) { in getAttributeBooleanValue()
415 public int getAttributeResourceValue(int idx, int defaultValue) { in getAttributeResourceValue()
424 public int getAttributeIntValue(int idx, int defaultValue) { in getAttributeIntValue()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
DDeviceConfigProxyFake.java104 public boolean getBoolean(String namespace, String name, boolean defaultValue) { in getBoolean()
114 public int getInt(String namespace, String name, int defaultValue) { in getInt()
124 public long getLong(String namespace, String name, long defaultValue) { in getLong()
139 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/packages/SystemUI/src/com/android/systemui/
DPrefs.java122 public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { in getBoolean()
130 public static int getInt(Context context, @Key String key, int defaultValue) { in getInt()
138 public static long getLong(Context context, @Key String key, long defaultValue) { in getLong()
146 public static String getString(Context context, @Key String key, String defaultValue) { in getString()
159 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/core/java/android/security/keymaster/
DKeymasterArguments.java102 public int getEnum(int tag, int defaultValue) { in getEnum()
164 public long getUnsignedInt(int tag, long defaultValue) { in getUnsignedInt()
273 public byte[] getBytes(int tag, byte[] defaultValue) { in getBytes()
329 public Date getDate(int tag, Date defaultValue) { in getDate()

1234567