Home
last modified time | relevance | path

Searched refs:TestResult (Results 1 – 13 of 13) 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.java84 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotDegradePerformanceOverThreshold()
85 assertEquals("Test didn't complete successfully", CrashTestStatus.TestResult.SUCCESS, in shouldNotDegradePerformanceOverThreshold()
DNNParallelInferenceTest.java92 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotFailWithParallelThreads()
93 assertEquals("Test didn't complete successfully", CrashTestStatus.TestResult.SUCCESS, in shouldNotFailWithParallelThreads()
DNNParallelTestActivity.java20 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.HANG;
133 public CrashTestStatus.TestResult testResult() { in testResult()
DNNClientEarlyTerminationTest.java118 CrashTestStatus.TestResult testResult = activity.testResult(); in testDriverDoesNotFailWithParallelThreads()
122 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.java111 Assert.assertEquals(CrashTestStatus.TestResult.SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelThreads()
/test/vts/runners/target/gtest/
Dgtest_main.cpp142 enum TestResult { TEST_SUCCESS = 0, TEST_FAILED, TEST_TIMEOUT }; enum
151 void SetResult(TestResult result) { result_ = result; } in SetResult()
153 TestResult GetResult() const { return result_; } in GetResult()
167 TestResult result_;
200 void SetTestResult(size_t test_id, TestResult result) { in SetTestResult()
205 TestResult GetTestResult(size_t test_id) const { in GetTestResult()
346 TestResult result = testcase.GetTestResult(test_id); in OnTestEndPrint()
375 TestResult result = testcase.GetTestResult(i); in OnTestIterationEndPrint()
810 static TestResult WaitForOneChild(pid_t pid) { in WaitForOneChild()
814 TestResult test_result = TEST_SUCCESS; in WaitForOneChild()
/test/vts/runners/host/
Drecords.py217 class TestResult(object): class
259 if not isinstance(r, TestResult):
263 sum_result = TestResult()
Dtest_runner.py189 self.results = records.TestResult()
Dbase_test.py139 self.results = records.TestResult()