Searched refs:mActivity (Results 1 – 3 of 3) sorted by relevance
51 private NNBenchmark mActivity; field in BenchmarkTestBase75 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()
76 protected Activity mActivity; field in NNTestBase139 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()
60 private Activity mActivity; field in NNAccuracyTest94 mActivity = mActivityRule.getActivity(); in setUp()107 if (!test.setupModel(mActivity)) { in testDriver()