Home
last modified time | relevance | path

Searched refs:mActivity (Results 1 – 3 of 3) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java51 private NNBenchmark mActivity; field in BenchmarkTestBase
75 mActivity.setUseNNApi(useNNApi); in setUseNNApi()
79 mActivity.setCompleteInputSet(completeInputSet); in setCompleteInputSet()
85 mActivity = getActivity(); in prepareTest()
86 mActivity.prepareInstrumentationTest(); in prepareTest()
122 mResult = mActivity.mProcessor.getInstrumentationResult( in run()
147 mActivity.runOnUiThread(action); in runOnUiThread()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DNNTestBase.java76 protected Activity mActivity; field in NNTestBase
139 mActivity = ipact; in setupModel()
152 mEvaluator = mEvaluatorConfig.createEvaluator(mActivity.getAssets()); in setupModel()
177 inOutList.add(ioAsset.readAssets(mActivity.getAssets())); in getInputOutputAssets()
182 inOutList.addAll(dataset.readDataset(mActivity.getAssets(), in getInputOutputAssets()
183 mActivity.getCacheDir())); in getInputOutputAssets()
300 AssetManager assetManager = mActivity.getAssets(); in copyAssetToFile()
304 outFileName = mActivity.getCacheDir().getAbsolutePath() + "/" + modelAssetName; in copyAssetToFile()
/test/vts-testcase/hal/neuralnetworks/V1_2/benchmark/java/src/com/android/nn/benchmark/vts/v1_2/
DNNAccuracyTest.java60 private Activity mActivity; field in NNAccuracyTest
94 mActivity = mActivityRule.getActivity(); in setUp()
107 if (!test.setupModel(mActivity)) { in testDriver()