Home
last modified time | relevance | path

Searched refs:mTest (Results 1 – 8 of 8) sorted by relevance

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DCompatibilityTestTest.java48 private CompatibilityTest mTest; field in CompatibilityTestTest
55 mTest = new CompatibilityTest() { in setUp()
62 mTest.setDevice(mMockDevice); in setUp()
78 Set<IAbi> res = mTest.getAbis(); in testGetAbis()
95 mTest.getAbis(); in testGetAbis_notSupported()
108 OptionSetter setter = new OptionSetter(mTest); in testGetAbis_primaryAbiOnly()
115 Set<IAbi> res = mTest.getAbis(); in testGetAbis_primaryAbiOnly()
128 OptionSetter setter = new OptionSetter(mTest); in testGetAbis_primaryAbiOnly_NotSupported()
134 mTest.getAbis(); in testGetAbis_primaryAbiOnly_NotSupported()
148 OptionSetter setter = new OptionSetter(mTest); in testGetAbis_skipCtsArchCheck()
[all …]
DJarHostTestTest.java60 private JarHostTest mTest; field in JarHostTestTest
80 mTest = new JarHostTest(); in setUp()
83 OptionSetter setter = new OptionSetter(mTest); in setUp()
137 OptionSetter setter = new OptionSetter(mTest); in testSplit_withoutJar()
143 List<IRemoteTest> res = (List<IRemoteTest>)mTest.split(1); in testSplit_withoutJar()
155 mTest = new JarHostTestable(mTestDir); in testSplit_withJar()
156 mTest.setBuild(mStubBuildInfo); in testSplit_withJar()
157 OptionSetter setter = new OptionSetter(mTest); in testSplit_withJar()
161 List<IRemoteTest> res = (List<IRemoteTest>)mTest.split(1); in testSplit_withJar()
205 OptionSetter setter = new OptionSetter(mTest); in testCountTestFails()
[all …]
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsFuzzTestTest.java38 private VtsFuzzTest mTest; field in VtsFuzzTestTest
50 mTest = new VtsFuzzTest() { in setUp()
79 mTest.setDevice(mMockITestDevice); in testRunNormalInput()
90 mTest.setTargetClass("hal_conventional"); in testRunNormalInput()
91 mTest.setTargetType("gps"); in testRunNormalInput()
92 mTest.setTargetVersionMajor(1); in testRunNormalInput()
93 mTest.setTargetVersionMinor(0); in testRunNormalInput()
94 mTest.setTargetComponentPath("libunittest_foo.so"); in testRunNormalInput()
95 mTest.run(mMockInvocationListener); in testRunNormalInput()
105 mTest.setDevice(mMockITestDevice); in testRunAbnormalInput()
[all …]
DVtsMultiDeviceTestTest.java67 private VtsMultiDeviceTest mTest = null; field in VtsMultiDeviceTestTest
76 mTest = new VtsMultiDeviceTest() { in setUp()
87 mTest.setInvocationContext(createMockInvocationContext()); in setUp()
88 mTest.setTestCasePath(TEST_CASE_PATH); in setUp()
89 mTest.setTestConfigPath(VtsMultiDeviceTest.DEFAULT_TESTCASE_CONFIG_PATH); in setUp()
214 mTest.run(mMockInvocationListener);
220 OptionSetter setter = new OptionSetter(mTest);
232 mTest.run(mMockInvocationListener);
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DModuleDef.java66 private IRemoteTest mTest = null; field in ModuleDef
82 mTest = test; in ModuleDef()
128 if (!hasAbiReceiver && !(mTest instanceof IAbiReceiver)) { in checkRequiredInterfaces()
129 throw new IllegalArgumentException(mTest + "does not implement IAbiReceiver" in checkRequiredInterfaces()
131 } else if (!(mTest instanceof IRuntimeHintProvider)) { in checkRequiredInterfaces()
132 throw new IllegalArgumentException(mTest + " does not implement IRuntimeHintProvider" in checkRequiredInterfaces()
134 } else if (!(mTest instanceof ITestCollector)) { in checkRequiredInterfaces()
135 throw new IllegalArgumentException(mTest + " does not implement ITestCollector" in checkRequiredInterfaces()
137 } else if (!(mTest instanceof ITestFilterReceiver)) { in checkRequiredInterfaces()
138 throw new IllegalArgumentException(mTest + " does not implement ITestFilterReceiver" in checkRequiredInterfaces()
[all …]
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNBenchmark.java83 private NNTestBase mTest; field in NNBenchmark.Processor
89 mTest = changeTest(t); in getInstrumentationResult()
102 results = mTest.runBenchmarkCompleteInputSet(1, minTime); in runBenchmarkLoop()
104 results = mTest.runBenchmark(minTime); in runBenchmarkLoop()
107 results = mTest.runInferenceOnce(); in runBenchmarkLoop()
110 mTest.getTestInfo(), in runBenchmarkLoop()
113 results.first, results.second, mTest.getEvaluator()); in runBenchmarkLoop()
124 mTest.checkSdkVersion(); in getBenchmark()
185 if (mTest != null) { in run()
186 mTest.destroy(); in run()
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DIntegrationTest.java85 private CompatibilityTest mTest; field in IntegrationTest
99 mTest = new CompatibilityTest() { in setUp()
111 mTest.setBuild(mMockBuildInfo); in setUp()
112 mTest.setDevice(mMockDevice); in setUp()
142 mTest.setInvocationContext(mContext); in setUp()
210 mTest.run(mReporter); in testSingleModuleRun()
270 mTest.run(myListener); in testSingleModuleRun_checkMetadata()
313 mTest.run(mReporter); in testSingleModuleRun_incomplete()
342 mTest.run(mReporter); in testSingleModuleRun_completeAfterInternalRetry()
382 mTest.run(mReporter); in testSingleModuleRun_incomplete_rerun_incomplete()
[all …]
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DTestFilter.java27 private final String mTest; field in TestFilter
81 mTest = test; in TestFilter()
105 if (mTest != null) { in toString()
107 sb.append(mTest.trim()); in toString()
130 return mTest; in getTest()