/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | SensorFeaturesDeactivator.java | 99 protected int getSettingMode(int defaultValue) { in getSettingMode() argument 104 .getInt(contentResolver, Settings.System.AIRPLANE_MODE_ON, defaultValue); in getSettingMode() 107 .getInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, defaultValue); in getSettingMode() 125 public int getSettingMode(int defaultValue) { in getSettingMode() argument 129 defaultValue); in getSettingMode() 139 protected int getSettingMode(int defaultValue) { in getSettingMode() argument 143 defaultValue); in getSettingMode() 154 protected int getSettingMode(int defaultValue) { in getSettingMode() argument 158 defaultValue); in getSettingMode() 169 protected int getSettingMode(int defaultValue) { in getSettingMode() argument [all …]
|
D | SensorSettingContainer.java | 114 protected abstract int getSettingMode(int defaultValue); in getSettingMode() argument
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceDataStoreTest.java | 211 assertEquals(TEST_DEFAULT_STR, mPreference.defaultValue); in testDefaultStringValue() 504 public Object defaultValue; field in PreferenceDataStoreTest.PreferenceWrapper 514 String getString(String defaultValue) { in getString() argument 515 return getPersistedString(defaultValue); in getString() 530 int getInt(int defaultValue) { in getInt() argument 531 return getPersistedInt(defaultValue); in getInt() 538 long getLong(long defaultValue) { in getLong() argument 539 return getPersistedLong(defaultValue); in getLong() 546 float getFloat(float defaultValue) { in getFloat() argument 547 return getPersistedFloat(defaultValue); in getFloat() [all …]
|
D | CustomPreference.java | 143 Object defaultValue) { in onSetInitialValue() argument 144 super.onSetInitialValue(restorePersistedValue, defaultValue); in onSetInitialValue()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeSettings.java | 70 public boolean fullscreenModeAllowed(boolean defaultValue) { in fullscreenModeAllowed() argument 71 return mBundle.getBoolean(FULLSCREEN_MODE_ALLOWED, defaultValue); in fullscreenModeAllowed() 104 public boolean getHardKeyboardConfigurationBehaviorAllowed(boolean defaultValue) { in getHardKeyboardConfigurationBehaviorAllowed() argument 105 return mBundle.getBoolean(HARD_KEYBOARD_CONFIGURATION_BEHAVIOR_ALLOWED, defaultValue); in getHardKeyboardConfigurationBehaviorAllowed()
|
/cts/hostsidetests/userspacereboot/src/com/android/cts/userspacereboot/host/ |
D | UserspaceRebootHostTest.java | 276 final String defaultValue = getProperty("init.userspace_reboot.watchdog.timeoutmillis", ""); in testUserspaceRebootWatchdogTriggers() local 284 getDevice().setProperty("init.userspace_reboot.watchdog.timeoutmillis", defaultValue); in testUserspaceRebootWatchdogTriggers() 371 private String getProperty(String name, String defaultValue) throws Exception { in getProperty() argument 373 return ret == null ? defaultValue : ret; in getProperty()
|
/cts/tests/tests/content/src/android/content/cts/util/ |
D | XmlUtils.java | 61 convertValueToList(CharSequence value, String[] options, int defaultValue) in convertValueToList() argument 70 return defaultValue; in convertValueToList() 74 convertValueToBoolean(CharSequence value, boolean defaultValue) in convertValueToBoolean() argument 79 return defaultValue; in convertValueToBoolean() 90 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt() argument 93 return defaultValue; in convertValueToInt() 135 public static int convertValueToUnsignedInt(String value, int defaultValue) { in convertValueToUnsignedInt() argument 137 return defaultValue; in convertValueToUnsignedInt() 1522 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute() argument 1527 return defaultValue; in readIntAttribute() [all …]
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | XmlUtils.java | 58 convertValueToList(CharSequence value, String[] options, int defaultValue) in convertValueToList() argument 67 return defaultValue; in convertValueToList() 71 convertValueToBoolean(CharSequence value, boolean defaultValue) in convertValueToBoolean() argument 76 return defaultValue; in convertValueToBoolean() 87 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt() argument 90 return defaultValue; in convertValueToInt() 132 public static int convertValueToUnsignedInt(String value, int defaultValue) { in convertValueToUnsignedInt() argument 134 return defaultValue; in convertValueToUnsignedInt() 1494 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute() argument 1499 return defaultValue; in readIntAttribute() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | XmlUtils.java | 59 convertValueToList(CharSequence value, String[] options, int defaultValue) in convertValueToList() argument 68 return defaultValue; in convertValueToList() 72 convertValueToBoolean(CharSequence value, boolean defaultValue) in convertValueToBoolean() argument 77 return defaultValue; in convertValueToBoolean() 88 convertValueToInt(CharSequence charSeq, int defaultValue) in convertValueToInt() argument 91 return defaultValue; in convertValueToInt() 133 public static int convertValueToUnsignedInt(String value, int defaultValue) { in convertValueToUnsignedInt() argument 135 return defaultValue; in convertValueToUnsignedInt() 1495 public static int readIntAttribute(XmlPullParser in, String name, int defaultValue) { in readIntAttribute() argument 1500 return defaultValue; in readIntAttribute() [all …]
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_mmap.cpp | 45 static int getSystemPropertyInt(const char *propName, int defaultValue) { in getSystemPropertyInt() argument 48 return defaultValue; in getSystemPropertyInt()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 1042 public int getSensitivityMinimumOrDefault(int defaultValue) { in getSensitivityMinimumOrDefault() argument 1047 "had no valid minimum value; using default of " + defaultValue); in getSensitivityMinimumOrDefault() 1048 return defaultValue; in getSensitivityMinimumOrDefault() 1075 public int getSensitivityMaximumOrDefault(int defaultValue) { in getSensitivityMaximumOrDefault() argument 1080 "had no valid maximum value; using default of " + defaultValue); in getSensitivityMaximumOrDefault() 1081 return defaultValue; in getSensitivityMaximumOrDefault() 1095 public long getExposureMinimumOrDefault(long defaultValue) { in getExposureMinimumOrDefault() argument 1100 "had no valid minimum value; using default of " + defaultValue); in getExposureMinimumOrDefault() 1101 return defaultValue; in getExposureMinimumOrDefault() 1128 public long getExposureMaximumOrDefault(long defaultValue) { in getExposureMaximumOrDefault() argument [all …]
|
/cts/hostsidetests/sustainedperf/shadertoy_android/src/ |
D | GLtestView.java | 213 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib() argument 218 return defaultValue; in findConfigAttrib()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundPlayerObject.java | 545 private final int getMediaFormatInteger(MediaFormat mf, String name, int defaultValue) { in getMediaFormatInteger() argument 550 " field does not exist. Using default " + defaultValue); /* no such field */ in getMediaFormatInteger() 555 return defaultValue; in getMediaFormatInteger()
|
/cts/tests/vr/src/android/vr/cts/ |
D | OpenGLESActivity.java | 372 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib() argument 378 return defaultValue; in findConfigAttrib()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebChromeClientTest.java | 530 String defaultValue, JsPromptResult result) { in onJsPrompt() argument 531 super.onJsPrompt(view, url, message, defaultValue, result); in onJsPrompt()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SubscriptionManagerTest.java | 744 private <T, U> T executeWithShellPermissionAndDefault(T defaultValue, U targetObject, in executeWithShellPermissionAndDefault() argument 751 return defaultValue; in executeWithShellPermissionAndDefault()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 901 final int defaultValue = -1; in testIgnoreNonexistentPackage() local 906 int bucket = bucketMap.getOrDefault(fakePackageName, defaultValue); in testIgnoreNonexistentPackage() 913 bucket = bucketMap.getOrDefault(fakePackageName, defaultValue); in testIgnoreNonexistentPackage()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 962 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib() argument 967 return defaultValue; in findConfigAttrib()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 554 protected boolean getBooleanSystemProperty(String key, boolean defaultValue) in getBooleanSystemProperty() argument 560 return defaultValue; in getBooleanSystemProperty()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 7867 final int defaultValue = 1; // 1px. 7870 assertEquals(defaultValue, textView.getAutoSizeStepGranularity());
|