Home
last modified time | relevance | path

Searched refs:TestResult (Results 1 – 11 of 11) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DCrashTestStatus.java31 public static enum TestResult { enum in CrashTestStatus
43 private final AtomicReference<TestResult>
52 private void handleCompletionNotification(TestResult testResult, in handleCompletionNotification()
77 handleCompletionNotification(TestResult.CRASH, null); in testCrashed()
82 handleCompletionNotification(TestResult.SUCCESS, null); in testSucceeded()
87 handleCompletionNotification(TestResult.FAILURE, reason); in testFailed()
103 public boolean compareAndSetResult(TestResult expect, TestResult update) { in compareAndSetResult()
107 public TestResult result() { in result()
DNNCrashTestActivity.java66 public CrashTestStatus.TestResult testResult() { in testResult()
73 return CrashTestStatus.TestResult.HANG; in testResult()
78 return CrashTestStatus.TestResult.HANG; in testResult()
DNNPerformanceDegradationTest.java85 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotDegradePerformanceOverThreshold()
86 assertEquals("Test didn't complete successfully", CrashTestStatus.TestResult.SUCCESS, in shouldNotDegradePerformanceOverThreshold()
DNNParallelInferenceTest.java94 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotFailWithParallelThreads()
95 assertEquals("Test didn't complete successfully", CrashTestStatus.TestResult.SUCCESS, in shouldNotFailWithParallelThreads()
DNNParallelTestActivity.java20 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.HANG;
139 public CrashTestStatus.TestResult testResult() { in testResult()
DNNClientEarlyTerminationTest.java120 CrashTestStatus.TestResult testResult = activity.testResult(); in testDriverDoesNotFailWithParallelThreads()
124 CrashTestStatus.TestResult.CRASH, in testDriverDoesNotFailWithParallelThreads()
DNNMultipleProcessTest.java19 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.SUCCESS;
DNNRandomGraphTest.java19 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.SUCCESS;
DNNMemoryMappedModelCompilationTest.java112 Assert.assertEquals(CrashTestStatus.TestResult.SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelThreads()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationChecksumHelper.java20 import com.android.tradefed.result.TestResult;
140 for (Entry<TestDescription, TestResult> caseResult in addResults()
168 Entry<TestDescription, TestResult> testResult, TestRunResult module, in generateTestResultSignature()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DApkInstrumentationPreparer.java31 import com.android.tradefed.result.TestResult;
163 for (Entry<TestDescription, TestResult> results : result.getTestResults().entrySet()) { in instrument()