/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/ |
D | IAutoSUWHelper.java | 59 private final String value; field in IAutoSUWHelper.EnableDisable 61 EnableDisable(String value) { in EnableDisable() argument 62 this.value = value; in EnableDisable() 66 return value; in getValue() 79 private final String value; field in IAutoSUWHelper.ButtonID 81 ButtonID(String value) { in ButtonID() argument 82 this.value = value; in ButtonID() 86 return value; in getID() 99 private final String value; field in IAutoSUWHelper.ButtonText 101 ButtonText(String value) { in ButtonText() argument [all …]
|
D | IAutoSettingHelper.java | 34 private final int value; field in IAutoSettingHelper.DayNightMode 36 DayNightMode(int value) { in DayNightMode() argument 37 this.value = value; in DayNightMode() 41 return value; in getValue() 159 void setValue(String setting, int value); in setValue() argument
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | InfoStore.java | 73 abstract void addResult(String name, int value) throws IOException; in addResult() argument 78 abstract void addResult(String name, long value) throws IOException; in addResult() argument 83 abstract void addResult(String name, float value) throws IOException; in addResult() argument 88 abstract void addResult(String name, double value) throws IOException; in addResult() argument 93 abstract void addResult(String name, boolean value) throws IOException; in addResult() argument 98 abstract void addResult(String name, String value) throws IOException; in addResult() argument 177 protected static String checkString(String value) { in checkString() argument 178 if (value == null || value.isEmpty()) { in checkString() 181 if (value.length() > MAX_STRING_LENGTH) { in checkString() 182 return value.substring(0, MAX_STRING_LENGTH); in checkString() [all …]
|
D | ResultType.java | 42 public static ResultType parseReportString(String value) { in parseReportString() argument 43 return ResultType.valueOf(value.toUpperCase()); in parseReportString()
|
D | ResultUnit.java | 56 public static ResultUnit parseReportString(String value) { in parseReportString() argument 57 return ResultUnit.valueOf(value.toUpperCase()); in parseReportString()
|
D | TestStatus.java | 47 static TestStatus getStatus(String value) { in getStatus() argument 49 if (value.compareToIgnoreCase(status.getValue()) == 0) { in getStatus()
|
/platform_testing/libraries/collectors-helper/utilities/src/com/android/helpers/ |
D | MetricUtility.java | 47 resultMap.compute(metricKey, (key, value) -> (value == null) ? in addMetric() 48 new StringBuilder().append(metric) : value.append(METRIC_SEPARATOR).append(metric)); in addMetric() 62 (key, value) -> in addMetric() 63 (value == null ? new StringBuilder() : value.append(METRIC_SEPARATOR)) in addMetric() 75 resultMap.compute(metricKey, (key, value) -> (value == null) ? 1 : value + 1); in addMetric() 92 String value = resultMap.get(metricKey).toString(); in getMetricDoubles() local 93 if (value.length() == 0) { in getMetricDoubles() 97 String[] values = value.split(METRIC_SEPARATOR); in getMetricDoubles() 106 metricKey, i, value)); in getMetricDoubles()
|
/platform_testing/libraries/power-helper/src/com/android/helper/ |
D | PowerTestHelper.java | 80 String value = getProperty(key); in getPropertyString() local 81 if (value != null && !value.isEmpty()) in getPropertyString() 82 return value; in getPropertyString() 103 String value = getProperty(key); in getPropertyLong() local 104 if (value != null && !value.trim().isEmpty()) in getPropertyLong() 105 return Long.valueOf(value.trim()); in getPropertyLong() 111 String value; in getProperty() local 117 value = prop.getProperty(key); in getProperty() 120 return value; in getProperty()
|
/platform_testing/libraries/health/options/tests/src/android/platform/test/options/ |
D | StringOptionTest.java | 43 public void stubValue(String value) { in stubValue() argument 44 mArguments.putString(mName, value); in stubValue() 52 String value = "val"; in testRetrieval() local 53 option.stubValue(value); in testRetrieval() 58 Assert.assertEquals(value, option.get()); in testRetrieval()
|
D | IntegerOptionTest.java | 47 public void stubValue(String value) { in stubValue() argument 48 mArguments.putString(mName, value); in stubValue() 57 Integer value = 7; in testParsing_valid() local 58 option.stubValue(String.valueOf(value)); in testParsing_valid() 63 Assert.assertEquals(value, option.get()); in testParsing_valid()
|
D | DoubleOptionTest.java | 47 public void stubValue(String value) { in stubValue() argument 48 mArguments.putString(mName, value); in stubValue() 57 Double value = 1.1; in testParsing_valid() local 58 option.stubValue(String.valueOf(value)); in testParsing_valid() 63 Assert.assertEquals(value, option.get()); in testParsing_valid()
|
D | LongOptionTest.java | 47 public void stubValue(String value) { in stubValue() argument 48 mArguments.putString(mName, value); in stubValue() 57 Long value = 7L; in testParsing_valid() local 58 option.stubValue(String.valueOf(value)); in testParsing_valid() 63 Assert.assertEquals(value, option.get()); in testParsing_valid()
|
/platform_testing/libraries/health/runners/longevity/platform/tests/assets/ |
D | testExtraArgs_unregisteredAfterTest.textpb | 7 value: "class-level-override" 14 value: "class-level-option" 21 value: "test-level-override" 28 value: "test-level-option" 35 value: "in-test-override" 42 value: "in-test-option"
|
D | testExtraArgs_registeredBeforeTest.textpb | 7 value: "class-level-override" 14 value: "test-level-override" 21 value: "in-test-override"
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | DataRecord.java | 40 public void addStringMetric(String key, String value) { in addStringMetric() argument 41 mCurrentStringMetrics.put(key, value); in addStringMetric() 51 public void addFileMetric(String fileKey, File value) { in addFileMetric() argument 52 mCurrentFileMetrics.put(fileKey, value); in addFileMetric() 61 public void addBinaryMetric(String key, byte[] value) { in addBinaryMetric() argument 62 mCurrentBinaryMetrics.put(key, value); in addBinaryMetric()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/ |
D | Condition.kt | 50 fun isSatisfied(value: T): Boolean { in isSatisfied() 51 return condition.invoke(value) in isSatisfied() 65 open fun getMessage(value: T): String = "$message(passed=${isSatisfied(value)})"
|
D | FloatFormatter.kt | 28 fun format(value: Float): String { in format() 29 val strValue = value.toString() in format()
|
D | ConditionList.kt | 39 override fun getMessage(value: T): String = conditions in getMessage() 40 .joinToString(" and ") { it.getMessage(value) } in getMessage()
|
/platform_testing/libraries/health/options/src/android/platform/test/option/ |
D | StringOption.java | 25 protected String parseValueFromString(String value) { in parseValueFromString() argument 26 return value; in parseValueFromString()
|
D | LongOption.java | 25 protected Long parseValueFromString(String value) { in parseValueFromString() argument 26 return Long.valueOf(value); in parseValueFromString()
|
D | DoubleOption.java | 25 protected Double parseValueFromString(String value) { in parseValueFromString() argument 26 return Double.valueOf(value); in parseValueFromString()
|
D | IntegerOption.java | 25 protected Integer parseValueFromString(String value) { in parseValueFromString() argument 26 return Integer.valueOf(value); in parseValueFromString()
|
D | BooleanOption.java | 25 protected Boolean parseValueFromString(String value) { in parseValueFromString() argument 26 return Boolean.valueOf(value); in parseValueFromString()
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityHelper.java | 76 public void setTalkBackSetting(SwitchStatus value) throws Exception { in setTalkBackSetting() argument 81 if (swtBar != null && !swtBar.getText().equals(value.toString())) { in setTalkBackSetting() 102 public void setHighContrast(SwitchStatus value) throws Exception { in setHighContrast() argument 104 setSettingSwitchValue("High contrast text", value); in setHighContrast() 147 private boolean setSettingSwitchValue(String settingTag, SwitchStatus value) in setSettingSwitchValue() argument 152 if (!cellSwitch.getText().equals(value.toString())) { in setSettingSwitchValue() 160 return cellSwitch.getText().equals(value.toString()); in setSettingSwitchValue()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | DeviceConfigHelper.java | 27 public static String setConfigValue(String namespace, String setting, String value) { in setConfigValue() argument 30 String command = String.format("device_config put %s %s %s", namespace, setting, value); in setConfigValue()
|