Home
last modified time | relevance | path

Searched refs:activity (Results 1 – 5 of 5) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DNNClientEarlyTerminationTest.java94 final NNParallelTestActivity activity = getActivity(); in testDriverDoesNotFailWithParallelThreads() local
97 … AcceleratorSpecificTestSupport.findTestModelRunningOnAccelerator(activity, mAcceleratorName); in testDriverDoesNotFailWithParallelThreads()
101 final DriverLivenessChecker driverLivenessChecker = new DriverLivenessChecker(activity, in testDriverDoesNotFailWithParallelThreads()
112 activity.killTestProcess(); in testDriverDoesNotFailWithParallelThreads()
118 CrashTestStatus.TestResult testResult = activity.testResult(); in testDriverDoesNotFailWithParallelThreads()
DNNMemoryMappedModelCompilationTest.java98 final NNParallelTestActivity activity = getActivity(); in testDriverDoesNotFailWithParallelThreads() local
101 … AcceleratorSpecificTestSupport.findTestModelRunningOnAccelerator(activity, mAcceleratorName); in testDriverDoesNotFailWithParallelThreads()
106 final DriverLivenessChecker driverLivenessChecker = new DriverLivenessChecker(activity, in testDriverDoesNotFailWithParallelThreads()
111 Assert.assertEquals(CrashTestStatus.TestResult.SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelThreads()
DNNMultipleProcessTest.java93 final NNMultiProcessTestActivity activity = getActivity(); in testDriverDoesNotFailWithParallelWorkload() local
100 new DriverLivenessChecker(activity, mAcceleratorName, modelForLivenessTest.get()); in testDriverDoesNotFailWithParallelWorkload()
104 assertEquals(SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelWorkload()
DNNRandomGraphTest.java111 final NNRandomGraphTestActivity activity = getActivity(); in testDriverDoesNotFailWithParallelWorkload() local
113 assertEquals(SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelWorkload()
/test/mlts/benchmark/src/com/android/nn/benchmark/util/
DTestExternalStorageActivity.java40 public static boolean testWriteExternalStorage(Activity activity, boolean request) { in testWriteExternalStorage() argument
42 if (activity.checkSelfPermission(android.Manifest.permission.WRITE_EXTERNAL_STORAGE) in testWriteExternalStorage()
47 activity.requestPermissions( in testWriteExternalStorage()