Home
last modified time | relevance | path

Searched refs:testCase (Results 1 – 18 of 18) sorted by relevance

/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestSuite.java80 TestCase testCase = getTestCase(testClassName); in findTest() local
81 return testCase.findTest(testName, insertIfMissing); in findTest()
124 TestCase testCase = mChildTestCaseMap.get(testCaseName); in getTestCase() local
125 if (testCase == null) { in getTestCase()
126 testCase = new TestCase(testCaseName); in getTestCase()
127 mChildTestCaseMap.put(testCaseName, testCase); in getTestCase()
129 return testCase; in getTestCase()
175 TestCase testCase = new TestCase(); in parse() local
176 testCase.parse(parser); in parse()
177 insertTestCase(testCase); in parse()
[all …]
/cts/suite/audio_quality/test/
DAudioHardwareTest.cpp39 TaskCase* testCase = new TaskCase(); in TEST_F() local
40 ASSERT_TRUE(testCase != NULL); in TEST_F()
41 android::sp<AudioHardware> playback = AudioHardware::createAudioHw(false, true, testCase); in TEST_F()
43 android::sp<AudioHardware> recording = AudioHardware::createAudioHw(false, false, testCase); in TEST_F()
45 delete testCase; in TEST_F()
DModelBuilderTest.cpp29 TaskGeneric* testCase = mModelBuilder.parseTestDescriptionXml(xmlFile); in TEST_F() local
30 ASSERT_TRUE(testCase != NULL); in TEST_F()
32 delete testCase; in TEST_F()
37 TaskGeneric* testCase = mModelBuilder.parseTestDescriptionXml(xmlFile); in TEST_F() local
38 ASSERT_TRUE(testCase != NULL); in TEST_F()
40 delete testCase; in TEST_F()
/cts/suite/audio_quality/lib/src/audio/
DAudioHardware.cpp77 TaskCase* testCase) in createAudioHw() argument
93 if (testCase != NULL) { in createAudioHw()
95 hw = new AudioRemotePlayback(testCase->getRemoteAudio()); in createAudioHw()
97 hw = new AudioRemoteRecording(testCase->getRemoteAudio()); in createAudioHw()
109 bool AudioHardware::startPlaybackOrRecordById(const android::String8& id, TaskCase* testCase) in startPlaybackOrRecordById() argument
111 if (testCase == NULL) { // default implementation only handles local buffer. in startPlaybackOrRecordById()
114 android::sp<Buffer> buffer = testCase->findBuffer(id); in startPlaybackOrRecordById()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DActivityTestBase.java106 for (TestCase testCase : testCases) { in tearDown()
107 if (!testCase.wasTestRan) { in tearDown()
162 protected Bitmap captureRenderSpec(TestCase testCase) { in captureRenderSpec() argument
164 testCase.layoutID, testCase.canvasClient, in captureRenderSpec()
165 testCase.webViewUrl, testCase.viewInitializer, testCase.useHardware); in captureRenderSpec()
166 testCase.wasTestRan = true; in captureRenderSpec()
244 for (TestCase testCase : mTestCases) { in runWithComparer()
245 Bitmap testCaseBitmap = captureRenderSpec(testCase); in runWithComparer()
247 testCase.getDebugString()); in runWithComparer()
260 for (TestCase testCase : mTestCases) { in runWithVerifier()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestResult.java138 protected void run(TestCase testCase) { in run() argument
139 if (testCase instanceof SensorTestCase) { in run()
140 SensorTestCase sensorTestCase = (SensorTestCase) testCase; in run()
143 sensorTestCase.setCurrentTestNode(new TestNode(testCase)); in run()
148 super.run(testCase); in run()
154 public TestNode(TestCase testCase) { in TestNode() argument
155 mTestCase = testCase; in TestNode()
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DTestListParser.java97 TestCase testCase = new TestCase(caseName); in handleCase() local
98 suite.addCase(testCase); in handleCase()
99 return testCase; in handleCase()
102 private void handleTest(TestCase testCase, String test, int timeout) { in handleTest() argument
103 testCase.addTest(test, timeout); in handleTest()
DTestSuite.java57 public void addCase(TestCase testCase) { in addCase() argument
58 mCases.add(testCase); in addCase()
DXmlGenerator.java189 for (TestCase testCase : sorted) { in writeTestCases()
190 String name = testCase.getName(); in writeTestCases()
194 writeTests(writer, testCase.getTests(), nameCollector); in writeTestCases()
/cts/suite/audio_quality/lib/include/audio/
DAudioHardware.h58 TaskCase* testCase = NULL);
70 virtual bool startPlaybackOrRecordById(const android::String8& id, TaskCase* testCase = NULL);
/cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/
DTestSuite.java44 public void addTestCase(TestCase testCase) { in addTestCase() argument
45 mTestCases.add(testCase); in addTestCase()
DXmlPlanGenerator.java139 for (TestCase testCase : cases) { in writeTestCases()
140 final String caseName = testCase.getName(); in writeTestCases()
143 writeTests(writer, testCase.getTests(), fullname); in writeTestCases()
/cts/suite/audio_quality/lib/src/task/
DModelBuilder.cpp204 UniquePtr<TaskCase> testCase; in parseBatch() local
213 testCase.reset(parseInclude(*inc, path)); in parseBatch()
214 if (testCase.get() == NULL) { in parseBatch()
218 if (!batch.get()->addChild(testCase.get())) { in parseBatch()
221 TaskGeneric* donotuse = testCase.release(); // parent will take care of destruction. in parseBatch()
/cts/tests/tests/opengl/src/android/opengl/cts/
DOpenGLES20NativeActivityOne.java88 public OpenGLES20View(Context context, int category, int testCase, CountDownLatch latch) { in OpenGLES20View() argument
91 mRenderer = new GL2Renderer(category, testCase, latch); in OpenGLES20View()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DJarHostTest.java282 TestCase testCase = (TestCase)testClass.newInstance(); in loadTest() local
283 testCase.setName(testName); in loadTest()
284 return testCase; in loadTest()
/cts/tests/app/src/android/app/cts/
DDialogStubActivity.java295 ActivityInstrumentationTestCase2<T> testCase, int dialogNumber) { in startDialogActivity() argument
298 testCase.setActivityIntent(intent); in startDialogActivity()
299 return testCase.getActivity(); in startDialogActivity()
/cts/suite/cts/utils/
Dget_csv_report.py86 testCase = TestCase(caseName, summary, details, result)
87 cases[caseName] = testCase
/cts/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...