Searched refs:activity (Results 1 – 5 of 5) sorted by relevance
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | NNClientEarlyTerminationTest.java | 94 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()
|
D | NNMemoryMappedModelCompilationTest.java | 98 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()
|
D | NNMultipleProcessTest.java | 93 final NNMultiProcessTestActivity activity = getActivity(); in testDriverDoesNotFailWithParallelWorkload() local 100 new DriverLivenessChecker(activity, mAcceleratorName, modelForLivenessTest.get()); in testDriverDoesNotFailWithParallelWorkload() 104 assertEquals(SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelWorkload()
|
D | NNRandomGraphTest.java | 111 final NNRandomGraphTestActivity activity = getActivity(); in testDriverDoesNotFailWithParallelWorkload() local 113 assertEquals(SUCCESS, activity.testResult()); in testDriverDoesNotFailWithParallelWorkload()
|
/test/mlts/benchmark/src/com/android/nn/benchmark/util/ |
D | TestExternalStorageActivity.java | 40 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()
|