Searched refs:testResult (Results 1 – 12 of 12) sorted by relevance
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | CrashTestStatus.java | 52 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()
|
D | NNPerformanceDegradationTest.java | 84 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotDegradePerformanceOverThreshold() local 86 testResult); in shouldNotDegradePerformanceOverThreshold()
|
D | NNParallelInferenceTest.java | 92 CrashTestStatus.TestResult testResult = getActivity().testResult(); in shouldNotFailWithParallelThreads() local 94 testResult); in shouldNotFailWithParallelThreads()
|
D | NNClientEarlyTerminationTest.java | 118 CrashTestStatus.TestResult testResult = activity.testResult(); in testDriverDoesNotFailWithParallelThreads() local 123 testResult); in testDriverDoesNotFailWithParallelThreads()
|
D | NNCrashTestActivity.java | 66 public CrashTestStatus.TestResult testResult() { in testResult() method in NNCrashTestActivity
|
D | NNMultipleProcessTest.java | 104 assertEquals(SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelWorkload()
|
D | NNRandomGraphTest.java | 113 assertEquals(SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelWorkload()
|
D | NNMemoryMappedModelCompilationTest.java | 111 Assert.assertEquals(CrashTestStatus.TestResult.SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelThreads()
|
D | NNParallelTestActivity.java | 133 public CrashTestStatus.TestResult testResult() { in testResult() method in NNParallelTestActivity
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/ |
D | CrashTestService.java | 114 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/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | RunModelsInMultipleProcesses.java | 156 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()
|
D | RunModelsInParallel.java | 187 testResult -> !testResult).count(); in completedSuccessfully()
|