/cts/tests/leanbackjank/src/android/leanbackjank/cts/ |
D | CtsJankTestBase.java | 27 import com.android.compatibility.common.util.ResultType; 38 ResultType resultType, ResultUnit resultUnit) { in printIntValueWithKey() 46 ResultType resultType, ResultUnit resultUnit) { in printDoubleValueWithKey() 62 ResultType.HIGHER_BETTER, ResultUnit.FPS); in afterTest() 65 ResultType.LOWER_BETTER, ResultUnit.MS); in afterTest() 67 ResultType.LOWER_BETTER, ResultUnit.COUNT); in afterTest() 70 ResultType.LOWER_BETTER, ResultUnit.COUNT); in afterTest() 73 ResultType.LOWER_BETTER, ResultUnit.COUNT); in afterTest() 75 ResultType.LOWER_BETTER, ResultUnit.MS); in afterTest() 77 ResultType.LOWER_BETTER, ResultUnit.MS); in afterTest() [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 22 import com.android.compatibility.common.util.ResultType; 61 log.addValue("round", round, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 62 log.addValue("codec_name", codecName, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 63 log.addValue("mime_type", mime, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 64 log.addValue("width", width, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 65 log.addValue("height", height, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 67 ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 69 ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 71 ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 80 log.addValue("reported_low", reported.getLower(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog() [all …]
|
D | DeviceReportLog.java | 75 public void addValue(String source, String message, double value, ResultType type, in addValue() 89 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() 102 public void addValues(String source, String message, double[] values, ResultType type, in addValues() 116 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() 129 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() 141 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() 153 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue() 165 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue() 177 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue() 189 public void addValues(String message, int[] values, ResultType type, ResultUnit unit) { in addValues() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaPerfUtils.java | 22 import com.android.compatibility.common.util.ResultType; 61 log.addValue("round", round, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 62 log.addValue("codec_name", codecName, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 63 log.addValue("mime_type", mime, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 64 log.addValue("width", width, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 65 log.addValue("height", height, ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 67 ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 69 ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 71 ResultType.NEUTRAL, ResultUnit.NONE); in addPerformanceHeadersToLog() 80 log.addValue("reported_low", reported.getLower(), ResultType.NEUTRAL, ResultUnit.FPS); in addPerformanceHeadersToLog() [all …]
|
D | DeviceReportLog.java | 75 public void addValue(String source, String message, double value, ResultType type, in addValue() 89 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue() 102 public void addValues(String source, String message, double[] values, ResultType type, in addValues() 116 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues() 129 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue() 141 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue() 153 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue() 165 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue() 177 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue() 189 public void addValues(String message, int[] values, ResultType type, ResultUnit unit) { in addValues() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckTestActivity.java | 37 import com.android.compatibility.common.util.ResultType; 98 "Initialize failed", 0, ResultType.NEUTRAL, ResultUnit.NONE); in activitySetUp() 159 "Record failed", 0, ResultType.NEUTRAL, ResultUnit.NONE); in activitySetUp() 185 ResultType.NEUTRAL, ResultUnit.NONE); in activitySetUp() 190 "Analysis succeed", 1, ResultType.NEUTRAL, ResultUnit.NONE); in activitySetUp() 193 ResultType.LOWER_BETTER, ResultUnit.RADIAN); in activitySetUp() 195 ResultType.LOWER_BETTER, ResultUnit.RADIAN); in activitySetUp() 197 ResultType.LOWER_BETTER, ResultUnit.RADIAN); in activitySetUp() 200 ResultType.LOWER_BETTER, ResultUnit.RADIAN); in activitySetUp() 202 ResultType.LOWER_BETTER, ResultUnit.RADIAN); in activitySetUp() [all …]
|
/cts/tests/sample/src/android/sample/cts/ |
D | SampleDeviceReportLogTest.java | 22 import com.android.compatibility.common.util.ResultType; 71 reportLog.addValue(EXPECTED_PRODUCT_TAG, 1.0 * MULTIPLICATION_RESULT, ResultType.NEUTRAL, in testMultiplication() 73 reportLog.addValue(ACTUAL_PRODUCT_TAG, 1.0 * product, ResultType.NEUTRAL, ResultUnit.NONE); in testMultiplication() 74 … reportLog.setSummary(ACTUAL_PRODUCT_TAG, 1.0 * product, ResultType.NEUTRAL, ResultUnit.NONE); in testMultiplication() 120 reportLog.addValue(START_TAG, 1.0 * start, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper() 121 reportLog.addValue(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper() 122 reportLog.setSummary(END_TAG, 1.0 * end, ResultType.NEUTRAL, ResultUnit.NONE); in countHelper()
|
D | SampleDeviceResultTest.java | 24 import com.android.compatibility.common.util.ResultType; 87 reportLog.addValues("times", result, ResultType.LOWER_BETTER, ResultUnit.MS); in testSort() 88 reportLog.addValue("min", stat.mMin, ResultType.LOWER_BETTER, ResultUnit.MS); in testSort() 89 reportLog.addValue("max", stat.mMax, ResultType.LOWER_BETTER, ResultUnit.MS); in testSort() 91 reportLog.setSummary("average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS); in testSort()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | NavigationBarColorVerifier.java | 52 public enum ResultType { enum in NavigationBarColorVerifier 65 public final ResultType mResult; 69 Result(@NonNull ResultType result, @NonNull String assertionMessage) { in Result() 75 public ResultType getResult() { in getResult() 110 assertEquals(result.getAssertionMessage(), ResultType.SUPPORTED, result.getResult()); in expectNavigationBarColorSupported() 122 assertEquals(result.getAssertionMessage(), ResultType.NOT_SUPPORTED, result.getResult()); in expectNavigationBarColorNotSupported() 168 return new Result(ResultType.SUPPORTED, assertionMessage); in verifyInternal() 171 return new Result(ResultType.NOT_SUPPORTED, assertionMessage); in verifyInternal()
|
D | LightNavigationBarVerifier.java | 51 public enum ResultType { enum in LightNavigationBarVerifier 68 public final ResultType mResult; 72 Result(@NonNull ResultType result, in Result() 79 public ResultType getResult() { in getResult() 98 assertEquals(result.getAssertionMessage(), ResultType.SUPPORTED, result.getResult()); in expectLightNavigationBarSupported() 110 assertEquals(result.getAssertionMessage(), ResultType.NOT_SUPPORTED, result.getResult()); in expectLightNavigationBarNotSupported() 164 return new Result(ResultType.NOT_SUPPORTED, () -> dumpDiffStreams(channelDiffs)); in verify() 176 return new Result(ResultType.SUPPORTED, () -> dumpDiffStreams(channelDiffs)); in verify() 187 return new Result(ResultType.NOT_SUPPORTED, () -> dumpDiffStreams(channelDiffs)); in verify() 190 return new Result(ResultType.UNKNOWN, () -> dumpDiffStreams(channelDiffs)); in verify()
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | SequentialRWTest.java | 28 import com.android.compatibility.common.util.ResultType; 65 report.addValue("files", numberOfFiles, ResultType.NEUTRAL, ResultUnit.COUNT); in testSingleSequentialWrite() 79 report.addValues("write_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialWrite() 80 report.addValues("write_amount", wrAmount, ResultType.NEUTRAL, ResultUnit.BYTE); in testSingleSequentialWrite() 82 report.setSummary("write_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, in testSingleSequentialWrite() 112 report.addValue("file_size", fileSize, ResultType.NEUTRAL, ResultUnit.NONE); in testSingleSequentialRead() 115 ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialRead() 134 report.addValues("read_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialRead() 136 report.setSummary("read_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, in testSingleSequentialRead()
|
/cts/tests/simplecpu/src/android/simplecpu/cts/ |
D | SimpleCpuTest.java | 23 import com.android.compatibility.common.util.ResultType; 104 report.addValue("array_length", arrayLength, ResultType.NEUTRAL, ResultUnit.NONE); in doTestSort() 105 report.addValues("sorting_time", result, ResultType.LOWER_BETTER, ResultUnit.MS); in doTestSort() 110 … report.setSummary("sorting_time_average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS); in doTestSort() 128 report.addValue("matrix_dimension", n, ResultType.NEUTRAL, ResultUnit.NONE); in doMatrixMultiplication() 129 report.addValues("matrix_mutiplication_time", result, ResultType.LOWER_BETTER, in doMatrixMultiplication() 136 ResultType.LOWER_BETTER, ResultUnit.MS); in doMatrixMultiplication()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/ |
D | RobustnessTest.java | 75 HashMap<BaseResultsDialog.ResultType, Boolean> robustnessTestResults; in executeRobustnessTests() 77 robustnessTestResults.put(BaseResultsDialog.ResultType.TIME, timerTest()); in executeRobustnessTests() 78 robustnessTestResults.put(BaseResultsDialog.ResultType.ROTATION, rotationTest()); in executeRobustnessTests() 185 HashMap<BaseResultsDialog.ResultType, Boolean> testFailed = new HashMap<>(); in getRotationData() 186 testFailed.put(BaseResultsDialog.ResultType.WAYPOINT, false); in getRotationData() 187 testFailed.put(BaseResultsDialog.ResultType.PATH, false); in getRotationData() 188 testFailed.put(BaseResultsDialog.ResultType.TIME, false); in getRotationData() 189 testFailed.put(BaseResultsDialog.ResultType.ROTATION, false); in getRotationData()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | LegacyCameraPerformanceTest.java | 29 import com.android.compatibility.common.util.ResultType; 69 reportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testLegacyApiPerformance() 168 reportLog.addValues("camera_open_time", cameraOpenTimes, ResultType.LOWER_BETTER, in testLegacyApiPerformance() 171 ResultType.LOWER_BETTER, ResultUnit.MS); in testLegacyApiPerformance() 174 ResultType.LOWER_BETTER, ResultUnit.MS); in testLegacyApiPerformance() 177 ResultType.LOWER_BETTER, ResultUnit.MS); in testLegacyApiPerformance() 179 ResultType.LOWER_BETTER, ResultUnit.MS); in testLegacyApiPerformance() 181 ResultType.LOWER_BETTER, ResultUnit.MS); in testLegacyApiPerformance() 190 Stat.getAverage(avgCameraTakePictureTimes), ResultType.LOWER_BETTER, in testLegacyApiPerformance()
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
D | GLReferenceBenchmark.java | 21 import com.android.compatibility.common.util.ResultType; 69 report.addValues("set_up_times", setUpTimes, ResultType.LOWER_BETTER, ResultUnit.MS); in testReferenceBenchmark() 70 report.addValue("update_time_average", updateAverage, ResultType.LOWER_BETTER, in testReferenceBenchmark() 72 report.addValue("render_time_average", renderAverage, ResultType.LOWER_BETTER, in testReferenceBenchmark() 76 report.setSummary("total_time_average", totalTime, ResultType.LOWER_BETTER, in testReferenceBenchmark()
|
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
D | DeviceReportTest.java | 55 private static final ResultType TEST_TYPE_1 = ResultType.HIGHER_BETTER; 59 private static final ResultType TEST_TYPE_2 = ResultType.LOWER_BETTER; 63 private static final ResultType TEST_TYPE_3 = ResultType.LOWER_BETTER; 67 private static final ResultType TEST_TYPE_4 = ResultType.LOWER_BETTER;
|
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | DeviceReportTest.java | 55 private static final ResultType TEST_TYPE_1 = ResultType.HIGHER_BETTER; 59 private static final ResultType TEST_TYPE_2 = ResultType.LOWER_BETTER; 63 private static final ResultType TEST_TYPE_3 = ResultType.LOWER_BETTER; 67 private static final ResultType TEST_TYPE_4 = ResultType.LOWER_BETTER;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
D | SampleTestActivity.java | 20 import com.android.compatibility.common.util.ResultType; 80 getReportLog().setSummary("Sample Summary", 1.0, ResultType.HIGHER_BETTER, in recordMetricsExample() 82 getReportLog().addValues("Sample Values", metricValues, ResultType.NEUTRAL, in recordMetricsExample() 87 reportLog.setSummary("Sample Summary", 1.0, ResultType.HIGHER_BETTER, ResultUnit.BYTE); in recordMetricsExample() 88 reportLog.addValues("Sample Values", metricValues, ResultType.NEUTRAL, ResultUnit.FPS); in recordMetricsExample()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | PerformanceTest.java | 56 import com.android.compatibility.common.util.ResultType; 144 mReportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testCameraLaunch() 209 mReportLog.addValues("camera_open_time", cameraOpenTimes, ResultType.LOWER_BETTER, in testCameraLaunch() 212 ResultType.LOWER_BETTER, ResultUnit.MS); in testCameraLaunch() 214 ResultType.LOWER_BETTER, ResultUnit.MS); in testCameraLaunch() 216 ResultType.LOWER_BETTER, ResultUnit.MS); in testCameraLaunch() 218 ResultType.LOWER_BETTER, ResultUnit.MS); in testCameraLaunch() 220 ResultType.LOWER_BETTER, ResultUnit.MS); in testCameraLaunch() 266 Stat.getAverage(avgCameraLaunchTimes), ResultType.LOWER_BETTER, ResultUnit.MS); in testCameraLaunch() 320 mReportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testSingleCaptureForFormat() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/ |
D | RobustnessResultDialog.java | 45 … mTextViews.put(ResultType.WAYPOINT, (TextView) mRootView.findViewById(R.id.tvWaypointResult)); in onCreateDialog() 46 mTextViews.put(ResultType.PATH, (TextView) mRootView.findViewById(R.id.tvPathResult)); in onCreateDialog() 47 mTextViews.put(ResultType.TIME, (TextView) mRootView.findViewById(R.id.tvTimeResult)); in onCreateDialog() 48 … mTextViews.put(ResultType.ROTATION, (TextView) mRootView.findViewById(R.id.tvRotationResult)); in onCreateDialog()
|
/cts/tests/tests/net/src/android/net/wifi/rtt/cts/ |
D | WifiRttTest.java | 25 import com.android.compatibility.common.util.ResultType; 147 reportLog.addValues("status_codes", statuses, ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTestAp() 149 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTestAp() 151 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTestAp() 152 reportLog.addValues("rssi_dbm", Arrays.copyOf(rssis, numGoodResults), ResultType.NEUTRAL, in testRangingToTestAp() 155 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTestAp() 157 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTestAp() 159 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTestAp()
|
/cts/tests/tvprovider/src/android/tvprovider/cts/ |
D | TvProviderPerfTest.java | 39 import com.android.compatibility.common.util.ResultType; 117 report.addValues("elapsed_time_for_insert", applyBatchTimes, ResultType.LOWER_BETTER, in testChannels() 145 report.addValues("elapsed_time_for_update", applyBatchTimes, ResultType.LOWER_BETTER, in testChannels() 162 ResultType.LOWER_BETTER, ResultUnit.MS); in testChannels() 182 ResultType.LOWER_BETTER, ResultUnit.MS); in testChannels() 192 report.addValues("elapsed_time_for_delete", applyBatchTimes, ResultType.LOWER_BETTER, in testChannels() 197 + "delete", averages, ResultType.LOWER_BETTER, ResultUnit.MS); in testChannels() 255 report.addValues("elapsed_time_for_insert", applyBatchTimes, ResultType.LOWER_BETTER, in testPrograms() 290 report.addValues("elapsed_time_for_update", applyBatchTimes, ResultType.LOWER_BETTER, in testPrograms() 307 ResultType.LOWER_BETTER, ResultUnit.MS); in testPrograms() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ResultObjects/ |
D | ResultObject.java | 27 private HashMap<BaseResultsDialog.ResultType, Boolean> mResults; 34 public ResultObject(HashMap<BaseResultsDialog.ResultType, Boolean> results) { in ResultObject() argument 53 public HashMap<AccuracyResultDialog.ResultType, Boolean> getResults() { in getResults()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrack_ListenerTest.java | 29 import com.android.compatibility.common.util.ResultType; 211 log.addValue("average_marker_diff", markerStat.getAvg(), ResultType.LOWER_BETTER, in doTest() 213 log.addValue("maximum_marker_abs_diff", markerStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest() 215 log.addValue("average_marker_abs_diff", markerStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest() 217 log.addValue("average_periodic_diff", periodicStat.getAvg(), ResultType.LOWER_BETTER, in doTest() 219 log.addValue("maximum_periodic_abs_diff", periodicStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest() 221 log.addValue("average_periodic_abs_diff", periodicStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest() 224 ResultType.LOWER_BETTER, ResultUnit.MS); in doTest()
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostResultTest.java | 23 import com.android.compatibility.common.util.ResultType; 145 report.addValues("times", result, ResultType.LOWER_BETTER, ResultUnit.MS); in testTransferTime() 146 report.addValue("min", stat.mMin, ResultType.LOWER_BETTER, ResultUnit.MS); in testTransferTime() 147 report.addValue("max", stat.mMax, ResultType.LOWER_BETTER, ResultUnit.MS); in testTransferTime() 149 report.setSummary("average", stat.mAverage, ResultType.LOWER_BETTER, ResultUnit.MS); in testTransferTime()
|