Home
last modified time | relevance | path

Searched refs:ResultType (Results 1 – 25 of 61) sorted by relevance

123

/cts/tests/leanbackjank/src/android/leanbackjank/cts/
DCtsJankTestBase.java27 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-axt/src/com/android/compatibility/common/util/
DMediaPerfUtils.java22 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 …]
DDeviceReportLog.java71 public void addValue(String source, String message, double value, ResultType type, in addValue()
85 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue()
98 public void addValues(String source, String message, double[] values, ResultType type, in addValues()
112 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues()
125 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue()
137 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue()
149 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue()
161 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue()
173 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue()
185 public void addValues(String message, int[] values, ResultType type, ResultUnit unit) { in addValues()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DCtsVerifierReportLog.java24 import com.android.compatibility.common.util.ResultType;
100 public void addValues(String message, double[] values, ResultType type, ResultUnit unit) { in addValues()
109 public void addValues(String source, String message, double[] values, ResultType type, in addValues()
119 public void addValue(String message, double value, ResultType type, ResultUnit unit) { in addValue()
131 public void addValue(String source, String message, double value, ResultType type, in addValue()
144 public void addValue(String message, int value, ResultType type, ResultUnit unit) { in addValue()
156 public void addValue(String message, long value, ResultType type, ResultUnit unit) { in addValue()
168 public void addValue(String message, float value, ResultType type, ResultUnit unit) { in addValue()
180 public void addValue(String message, boolean value, ResultType type, ResultUnit unit) { in addValue()
192 public void addValue(String message, String value, ResultType type, ResultUnit unit) { in addValue()
[all …]
/cts/tests/sample/src/android/sample/cts/
DSampleDeviceReportLogTest.java22 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()
DSampleDeviceResultTest.java24 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java40 import com.android.compatibility.common.util.ResultType;
102 "Initialize failed", 0, ResultType.NEUTRAL, ResultUnit.NONE); in activitySetUp()
164 "Record failed", 0, ResultType.NEUTRAL, ResultUnit.NONE); in activitySetUp()
190 ResultType.NEUTRAL, ResultUnit.NONE); in activitySetUp()
195 "Analysis succeed", 1, ResultType.NEUTRAL, ResultUnit.NONE); in activitySetUp()
198 ResultType.LOWER_BETTER, ResultUnit.RADIAN); in activitySetUp()
200 ResultType.LOWER_BETTER, ResultUnit.RADIAN); in activitySetUp()
202 ResultType.LOWER_BETTER, ResultUnit.RADIAN); in activitySetUp()
205 ResultType.LOWER_BETTER, ResultUnit.RADIAN); in activitySetUp()
207 ResultType.LOWER_BETTER, ResultUnit.RADIAN); in activitySetUp()
[all …]
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DNavigationBarColorVerifier.java52 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()
DLightNavigationBarVerifier.java51 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/simplecpu/src/android/simplecpu/cts/
DSimpleCpuTest.java23 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/tests/openglperf2/src/android/opengl2/cts/reference/
DGLReferenceBenchmark.java21 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/
DRobustnessResultDialog.java45 … 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()
DBaseResultsDialog.java34 public enum ResultType { enum in BaseResultsDialog
43 protected HashMap<ResultType, TextView> mTextViews;
56 for (ResultType resultType : mResult.getResults().keySet()) { in onCreateDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
DRobustnessTest.java75 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/tests/keystore/src/android/keystore/cts/
DPerformanceTestBase.java26 import com.android.compatibility.common.util.ResultType;
68 ResultType.NEUTRAL, in measure()
71 "test_name", measurable.getName(), ResultType.NEUTRAL, ResultUnit.NONE); in measure()
73 "sample_count", result.getSampleCount(), ResultType.NEUTRAL, ResultUnit.COUNT); in measure()
75 "setup_time", result.getSetupTime(), ResultType.LOWER_BETTER, ResultUnit.MS); in measure()
77 "mean_time", result.getMean(), ResultType.LOWER_BETTER, ResultUnit.MS); in measure()
81 ResultType.LOWER_BETTER, in measure()
84 "median_time", result.getMedian(), ResultType.LOWER_BETTER, ResultUnit.MS); in measure()
88 ResultType.LOWER_BETTER, in measure()
93 ResultType.LOWER_BETTER, in measure()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ResultObjects/
DResultObject.java27 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/filesystem/src/android/filesystem/cts/
DSequentialRWTest.java30 import com.android.compatibility.common.util.ResultType;
85 report.addValue("files", numberOfFiles, ResultType.NEUTRAL, ResultUnit.COUNT); in testSingleSequentialWrite()
99 report.addValues("write_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialWrite()
100 report.addValues("write_amount", wrAmount, ResultType.NEUTRAL, ResultUnit.BYTE); in testSingleSequentialWrite()
102 report.setSummary("write_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, in testSingleSequentialWrite()
140 report.addValue("file_size", fileSize, ResultType.NEUTRAL, ResultUnit.NONE); in testSingleSequentialRead()
143 ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialRead()
162 report.addValues("read_throughput", mbps, ResultType.HIGHER_BETTER, ResultUnit.MBPS); in testSingleSequentialRead()
164 report.setSummary("read_throughput_average", stat.mAverage, ResultType.HIGHER_BETTER, in testSingleSequentialRead()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java26 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/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DDeviceReportTest.java55 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/tests/camera/src/android/hardware/cts/
DLegacyCameraPerformanceTest.java30 import com.android.compatibility.common.util.ResultType;
80 reportLog.addValue("camera_id", id, ResultType.NEUTRAL, ResultUnit.NONE); in testLegacyApiPerformance()
179 reportLog.addValues("camera_open_time", cameraOpenTimes, ResultType.LOWER_BETTER, in testLegacyApiPerformance()
182 ResultType.LOWER_BETTER, ResultUnit.MS); in testLegacyApiPerformance()
185 ResultType.LOWER_BETTER, ResultUnit.MS); in testLegacyApiPerformance()
188 ResultType.LOWER_BETTER, ResultUnit.MS); in testLegacyApiPerformance()
190 ResultType.LOWER_BETTER, ResultUnit.MS); in testLegacyApiPerformance()
192 ResultType.LOWER_BETTER, ResultUnit.MS); in testLegacyApiPerformance()
201 Stat.getAverage(avgCameraTakePictureTimes), ResultType.LOWER_BETTER, in testLegacyApiPerformance()
/cts/tests/tvprovider/src/android/tvprovider/cts/
DTvProviderPerfTest.java39 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/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DWifiRttTest.java31 import com.android.compatibility.common.util.ResultType;
185 reportLog.addValues("status_codes", statuses, ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTest11mcAp()
187 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTest11mcAp()
189 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTest11mcAp()
190 reportLog.addValues("rssi_dbm", Arrays.copyOf(rssis, numGoodResults), ResultType.NEUTRAL, in testRangingToTest11mcAp()
193 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTest11mcAp()
195 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTest11mcAp()
197 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTest11mcAp()
557 reportLog.addValues("status_codes", statuses, ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTestNon11mcAp()
559 ResultType.NEUTRAL, ResultUnit.NONE); in testRangingToTestNon11mcAp()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DAudioTrack_ListenerTest.java29 import com.android.compatibility.common.util.ResultType;
212 log.addValue("average_marker_diff", markerStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
214 log.addValue("maximum_marker_abs_diff", markerStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
216 log.addValue("average_marker_abs_diff", markerStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
218 log.addValue("average_periodic_diff", periodicStat.getAvg(), ResultType.LOWER_BETTER, in doTest()
220 log.addValue("maximum_periodic_abs_diff", periodicStat.getMaxAbs(), ResultType.LOWER_BETTER, in doTest()
222 log.addValue("average_periodic_abs_diff", periodicStat.getAvgAbs(), ResultType.LOWER_BETTER, in doTest()
225 ResultType.LOWER_BETTER, ResultUnit.MS); in doTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralNotificationsTest.java37 import com.android.compatibility.common.util.ResultType;
166 ResultType.NEUTRAL, in reportPlugIntent()
198 ResultType.NEUTRAL, in scanDevices()
208 ResultType.NEUTRAL, in scanDevices()
220 ResultType.NEUTRAL, in scanDevices()
230 ResultType.NEUTRAL, in scanDevices()
DAudioLoopbackLatencyActivity.java36 import com.android.compatibility.common.util.ResultType;
412 ResultType.LOWER_BETTER, in recordTestResults()
418 ResultType.HIGHER_BETTER, in recordTestResults()
424 ResultType.NEUTRAL, in recordTestResults()
430 ResultType.NEUTRAL, in recordTestResults()
436 ResultType.NEUTRAL, in recordTestResults()
442 ResultType.NEUTRAL, in recordTestResults()
448 ResultType.NEUTRAL, in recordTestResults()
454 ResultType.NEUTRAL, in recordTestResults()
460 ResultType.NEUTRAL, in recordTestResults()
[all …]

123