Home
last modified time | relevance | path

Searched refs:testResult (Results 1 – 16 of 16) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DCrashTestStatus.java52 private void handleCompletionNotification(TestResult testResult, in handleCompletionNotification() argument
56 testResult, in handleCompletionNotification()
58 if (mTestResult.compareAndSet(null, testResult)) { in handleCompletionNotification()
61 String.format("Test completed with result %s and msg: %s.\n", testResult, in handleCompletionNotification()
64 … mDisplayMessages.accept(String.format("Test completed with result %s\n", testResult)); in handleCompletionNotification()
DNNPerformanceDegradationTest.java85 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotDegradePerformanceOverThreshold() local
87 testResult); in shouldNotDegradePerformanceOverThreshold()
DNNParallelInferenceTest.java94 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotFailWithParallelThreads() local
96 testResult); in shouldNotFailWithParallelThreads()
DNNClientEarlyTerminationTest.java120 CrashTestStatus.TestResult testResult = activity.testResult(); in testDriverDoesNotFailWithParallelThreads() local
125 testResult); in testDriverDoesNotFailWithParallelThreads()
DNNCrashTestActivity.java66 public CrashTestStatus.TestResult testResult() { in testResult() method in NNCrashTestActivity
DNNMultipleProcessTest.java105 assertEquals(SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelWorkload()
DNNRandomGraphTest.java114 assertEquals(SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelWorkload()
DNNMemoryMappedModelCompilationTest.java112 Assert.assertEquals(CrashTestStatus.TestResult.SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelThreads()
DNNParallelTestActivity.java139 public CrashTestStatus.TestResult testResult() { in testResult() method in NNParallelTestActivity
/test/mlts/benchmark/src/com/android/nn/crashtest/core/
DCrashTestService.java114 final Optional<String> testResult = crashTest.call(); in onBind() local
116 testResult.orElse("success"))); in onBind()
117 notify(testResult.isPresent() ? FAILURE : SUCCESS, testResult.orElse(null)); in onBind()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DCertificationChecksumHelper.java168 Entry<TestDescription, TestResult> testResult, TestRunResult module, in generateTestResultSignature() argument
171 String stacktrace = testResult.getValue().getStackTrace(); in generateTestResultSignature()
178 TestStatus.convertToCompatibilityString(testResult.getValue().getResultStatus()); in generateTestResultSignature()
183 .append(testResult.getKey().toString()) in generateTestResultSignature()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/
DSubPlanHelper.java242 for (ITestResult testResult : caseResult.getResults()) { in createSubPlan()
243 if (!statusesToRun.contains(testResult.getResultStatus())) { in createSubPlan()
245 module.getName(), testResult.getFullName()); in createSubPlan()
254 for (ITestResult testResult : caseResult.getResults()) { in createSubPlan()
255 if (statusesToRun.contains(testResult.getResultStatus())) { in createSubPlan()
257 module.getName(), testResult.getFullName()); in createSubPlan()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DRunModelsInMultipleProcesses.java156 int testResult = multiProcessTest.waitFor(); in call() local
157 Log.i(TAG, String.format("Test process returned %d", testResult)); in call()
158 if (testResult == 0) { in call()
161 return failure(String.format("Test failed with return code %d", testResult)); in call()
DRunModelsInParallel.java200 testResult -> !testResult).count(); in completedSuccessfully()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DCollectorUtil.java192 JSONObject testResult = testResults.getJSONObject(i); in merge() local
193 mergedJson.accumulate(stream, testResult); in merge()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DPreviousResultLoaderTest.java216 File testResult = new File(new CompatibilityBuildHelper(build).getResultDir(), in createFakeBuild() local
218 testResult.createNewFile(); in createFakeBuild()
233 FileUtil.writeToFile(resultContent, testResult); in createFakeBuild()