/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | SensorFeaturesDeactivator.java | 98 protected int getSettingMode(int defaultValue) { in getSettingMode() argument 103 .getInt(contentResolver, Settings.System.AIRPLANE_MODE_ON, defaultValue); in getSettingMode() 106 .getInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, defaultValue); in getSettingMode() 117 public int getSettingMode(int defaultValue) { in getSettingMode() argument 121 defaultValue); in getSettingMode() 131 protected int getSettingMode(int defaultValue) { in getSettingMode() argument 139 return defaultValue; in getSettingMode() 146 return defaultValue; in getSettingMode() 152 defaultValue); in getSettingMode() 163 protected int getSettingMode(int defaultValue) { in getSettingMode() argument [all …]
|
D | SensorSettingContainer.java | 110 protected abstract int getSettingMode(int defaultValue); in getSettingMode() argument
|
/cts/tools/signature-tools/src/signature/model/impl/ |
D | SigAnnotationField.java | 27 private Object defaultValue = Uninitialized.unset(); field in SigAnnotationField 34 return defaultValue; in getDefaultValue() 37 public void setDefaultValue(Object defaultValue) { in setDefaultValue() argument 38 this.defaultValue = defaultValue; in setDefaultValue()
|
/cts/tools/signature-tools/test/signature/converter/ |
D | ConvertAnnotationTest.java | 150 Integer defaultValue = (Integer)annotationField.getDefaultValue(); in testAnnotationDefaultsInt1() local 151 assertEquals(1, defaultValue.intValue()); in testAnnotationDefaultsInt1() 174 Object[] defaultValue = (Object[])field.getDefaultValue(); in testAnnotationDefaultsInt2() local 175 assertEquals(0, defaultValue.length); in testAnnotationDefaultsInt2() 198 Object[] defaultValue = (Object[])field.getDefaultValue(); in testAnnotationDefaultsInt3() local 199 assertEquals(2, defaultValue.length); in testAnnotationDefaultsInt3() 201 Object defaultValue0 = defaultValue[0]; in testAnnotationDefaultsInt3() 206 Object defaultValue1 = defaultValue[1]; in testAnnotationDefaultsInt3() 235 Double defaultValue = (Double)annotationField.getDefaultValue(); in testAnnotationDefaultsDouble1() local 236 assertEquals(1.0, defaultValue.doubleValue()); in testAnnotationDefaultsDouble1() [all …]
|
/cts/libs/vogar-expect/src/vogar/ |
D | AnnotatedOutcome.java | 84 public ResultValue getMostRecentResultValue(ResultValue defaultValue) { in getMostRecentResultValue() argument 87 defaultValue : in getMostRecentResultValue() 140 public Long lastRun(Long defaultValue) { in lastRun() argument 142 return defaultValue; in lastRun() 145 return runTimes.isEmpty() ? defaultValue : runTimes.get(runTimes.size() - 1); in lastRun()
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | CustomPreference.java | 146 Object defaultValue) { in onSetInitialValue() argument 147 super.onSetInitialValue(restorePersistedValue, defaultValue); in onSetInitialValue()
|
/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/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/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/hardware/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 957 public int getSensitivityMinimumOrDefault(int defaultValue) { in getSensitivityMinimumOrDefault() argument 962 "had no valid minimum value; using default of " + defaultValue); in getSensitivityMinimumOrDefault() 963 return defaultValue; in getSensitivityMinimumOrDefault() 990 public int getSensitivityMaximumOrDefault(int defaultValue) { in getSensitivityMaximumOrDefault() argument 995 "had no valid maximum value; using default of " + defaultValue); in getSensitivityMaximumOrDefault() 996 return defaultValue; in getSensitivityMaximumOrDefault() 1010 public long getExposureMinimumOrDefault(long defaultValue) { in getExposureMinimumOrDefault() argument 1015 "had no valid minimum value; using default of " + defaultValue); in getExposureMinimumOrDefault() 1016 return defaultValue; in getExposureMinimumOrDefault() 1043 public long getExposureMaximumOrDefault(long defaultValue) { in getExposureMaximumOrDefault() argument [all …]
|
/cts/tools/signature-tools/templates/model/ |
D | model.stg | 23 $SigField(element = element)$ $if(element.defaultValue)$ default=$element.defaultValue$$endif$
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebChromeClientTest.java | 415 String defaultValue, JsPromptResult result) { in onJsPrompt() argument 416 super.onJsPrompt(view, url, message, defaultValue, result); in onJsPrompt()
|
/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/tools/signature-tools/src/signature/converter/dex/ |
D | DexToSigConverter.java | 484 Object defaultValue) { in convertAnnotationField() argument 487 annotationField.setDefaultValue(defaultValue); in convertAnnotationField()
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletToSigConverter.java | 233 annotationElement.defaultValue())); in convertClass()
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
D | gbemu.js | 10628 GameBoyCore.prototype.getTypedArray = function (length, defaultValue, numberType) { argument 10651 if (defaultValue != 0) { 10654 arrayHandle[index++] = defaultValue; 10663 arrayHandle[index++] = defaultValue;
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/ |
D | jquery.js | 6063 dest.defaultValue = src.defaultValue;
|