/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | CrashTestStatus.java | 31 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()
|
D | NNCrashTestActivity.java | 66 public CrashTestStatus.TestResult testResult() { in testResult() 73 return CrashTestStatus.TestResult.HANG; in testResult() 78 return CrashTestStatus.TestResult.HANG; in testResult()
|
D | NNPerformanceDegradationTest.java | 84 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotDegradePerformanceOverThreshold() 85 assertEquals("Test didn't complete successfully", CrashTestStatus.TestResult.SUCCESS, in shouldNotDegradePerformanceOverThreshold()
|
D | NNParallelInferenceTest.java | 92 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotFailWithParallelThreads() 93 assertEquals("Test didn't complete successfully", CrashTestStatus.TestResult.SUCCESS, in shouldNotFailWithParallelThreads()
|
D | NNClientEarlyTerminationTest.java | 118 CrashTestStatus.TestResult testResult = activity.testResult(); in testDriverDoesNotFailWithParallelThreads() 122 CrashTestStatus.TestResult.CRASH, in testDriverDoesNotFailWithParallelThreads()
|
D | NNParallelTestActivity.java | 20 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.HANG; 137 public CrashTestStatus.TestResult testResult() { in testResult()
|
D | NNMultipleProcessTest.java | 19 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.SUCCESS;
|
D | NNRandomGraphTest.java | 19 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.SUCCESS;
|
D | NNMemoryMappedModelCompilationTest.java | 111 Assert.assertEquals(CrashTestStatus.TestResult.SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelThreads()
|
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | TestResultTest.java | 30 private TestResult mResult; 35 mResult = new TestResult(mCase, METHOD_1); in setUp()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationChecksumHelperTest.java | 24 import com.android.tradefed.result.TestResult; 82 for (Entry<TestDescription, TestResult> entry : run1.getTestResults().entrySet()) { in testCreateChecksum() 86 for (Entry<TestDescription, TestResult> entry : run2.getTestResults().entrySet()) { in testCreateChecksum()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationChecksumHelper.java | 19 import com.android.ddmlib.testrunner.TestResult.TestStatus; 21 import com.android.tradefed.result.TestResult; 175 for (Entry<TestDescription, TestResult> caseResult in addResults() 188 Entry<TestDescription, TestResult> testResult, TestRunResult moduleResult, in containsTestResult() 214 Entry<TestDescription, TestResult> testResult, TestRunResult module, in generateTestResultSignature()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | ApkInstrumentationPreparer.java | 20 import com.android.ddmlib.testrunner.TestResult.TestStatus; 31 import com.android.tradefed.result.TestResult; 138 for (Entry<TestDescription, TestResult> results : result.getTestResults().entrySet()) { in instrument()
|
/test/vts/runners/target/gtest/ |
D | gtest_main.cpp | 142 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/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | TestResult.java | 23 public class TestResult implements ITestResult { class 41 public TestResult(ICaseResult parent, String name) { in TestResult() method in TestResult
|
D | CaseResult.java | 55 result = new TestResult(this, testName); in getOrCreateResult()
|
/test/vts/runners/host/ |
D | records.py | 217 class TestResult(object): class 259 if not isinstance(r, TestResult): 263 sum_result = TestResult()
|
D | test_runner.py | 189 self.results = records.TestResult()
|
D | base_test.py | 139 self.results = records.TestResult()
|