Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorFeaturesDeactivator.java104 protected int getSettingMode(int defaultValue) { in getSettingMode()
130 public int getSettingMode(int defaultValue) { in getSettingMode()
144 protected int getSettingMode(int defaultValue) { in getSettingMode()
159 protected int getSettingMode(int defaultValue) { in getSettingMode()
174 protected int getSettingMode(int defaultValue) { in getSettingMode()
188 protected int getSettingMode(int defaultValue) { in getSettingMode()
DSensorSettingContainer.java114 protected abstract int getSettingMode(int defaultValue); in getSettingMode()
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceDataStoreTest.java504 public Object defaultValue; field in PreferenceDataStoreTest.PreferenceWrapper
514 String getString(String defaultValue) { in getString()
530 int getInt(int defaultValue) { in getInt()
538 long getLong(long defaultValue) { in getLong()
546 float getFloat(float defaultValue) { in getFloat()
554 boolean getBoolean(boolean defaultValue) { in getBoolean()
559 protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValue) { in onSetInitialValue()
DCustomPreference.java143 Object defaultValue) { in onSetInitialValue()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeSettings.java77 public boolean fullscreenModeAllowed(boolean defaultValue) { in fullscreenModeAllowed()
115 public boolean isWatermarkEnabled(boolean defaultValue) { in isWatermarkEnabled()
119 public boolean getHardKeyboardConfigurationBehaviorAllowed(boolean defaultValue) { in getHardKeyboardConfigurationBehaviorAllowed()
128 public String getInlineSuggestionViewContentDesc(@Nullable String defaultValue) { in getInlineSuggestionViewContentDesc()
/cts/hostsidetests/userspacereboot/src/com/android/cts/userspacereboot/host/
DUserspaceRebootHostTest.java281 final String defaultValue = getProperty("init.userspace_reboot.watchdog.timeoutmillis", ""); in testUserspaceRebootWatchdogTriggers() local
376 private String getProperty(String name, String defaultValue) throws Exception { in getProperty()
/cts/tests/translation/src/android/translation/cts/unittests/
DTranslationValueTest.java106 final TranslationResponseValue defaultValue = in testTranslationResponseValue_extrasEqualityWhenEmpty() local
/cts/tests/tests/view/src/android/view/cts/util/
DXmlUtils.java58 convertValueToList(CharSequence value, String[] options, int defaultValue) in convertValueToList()
71 convertValueToBoolean(CharSequence value, boolean defaultValue) in convertValueToBoolean()
87 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt()
132 public static int convertValueToUnsignedInt(String value, int defaultValue) { in convertValueToUnsignedInt()
1494 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute()
1517 public static long readLongAttribute(XmlPullParser in, String name, long defaultValue) { in readLongAttribute()
1560 boolean defaultValue) { in readBooleanAttribute()
/cts/tests/tests/content/src/android/content/cts/util/
DXmlUtils.java61 convertValueToList(CharSequence value, String[] options, int defaultValue) in convertValueToList()
74 convertValueToBoolean(CharSequence value, boolean defaultValue) in convertValueToBoolean()
90 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt()
135 public static int convertValueToUnsignedInt(String value, int defaultValue) { in convertValueToUnsignedInt()
1522 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute()
1545 public static long readLongAttribute(XmlPullParser in, String name, long defaultValue) { in readLongAttribute()
1588 boolean defaultValue) { in readBooleanAttribute()
/cts/tests/tests/widget/src/android/widget/cts/util/
DXmlUtils.java59 convertValueToList(CharSequence value, String[] options, int defaultValue) in convertValueToList()
72 convertValueToBoolean(CharSequence value, boolean defaultValue) in convertValueToBoolean()
88 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt()
133 public static int convertValueToUnsignedInt(String value, int defaultValue) { in convertValueToUnsignedInt()
1495 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute()
1518 public static long readLongAttribute(XmlPullParser in, String name, long defaultValue) { in readLongAttribute()
1561 boolean defaultValue) { in readBooleanAttribute()
/cts/tests/tests/nativemedia/aaudio/jni/
Dutils.cpp231 int AAudioExtensions::getIntegerProperty(const char *name, int defaultValue) { in getIntegerProperty()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DFullScreenMagnificationGestureHandlerTest.java283 private int getSecureSettingInt(String key, int defaultValue) { in getSecureSettingInt()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DStaticMetadata.java1079 public int getSensitivityMinimumOrDefault(int defaultValue) { in getSensitivityMinimumOrDefault()
1114 public int getSensitivityMaximumOrDefault(int defaultValue) { in getSensitivityMaximumOrDefault()
1136 public long getExposureMinimumOrDefault(long defaultValue) { in getExposureMinimumOrDefault()
1169 public long getExposureMaximumOrDefault(long defaultValue) { in getExposureMaximumOrDefault()
2718 private <T> T getArrayElementOrDefault(Key<?> key, T defaultValue, String name, int index, in getArrayElementOrDefault()
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestView.java213 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib()
/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java854 int defaultValue = -1; in testSetAttribute() local
922 int defaultValue = -1; in testGetAttributeForNullAndNonExistentTag() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java545 private final int getMediaFormatInteger(MediaFormat mf, String name, int defaultValue) { in getMediaFormatInteger()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSubscriptionManagerTest.java1060 private <T, U> T executeWithShellPermissionAndDefault(T defaultValue, U targetObject, in executeWithShellPermissionAndDefault()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java372 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebChromeClientTest.java530 String defaultValue, JsPromptResult result) { in onJsPrompt()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java962 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java613 protected boolean getBooleanSystemProperty(String key, boolean defaultValue) in getBooleanSystemProperty()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java1292 final int defaultValue = -1; in testIgnoreNonexistentPackage() local