/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
D | TestSuite.java | 80 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/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | ActivityTestBase.java | 117 for (TestCase testCase : testCases) { in tearDown() 118 if (!testCase.wasTestRan) { in tearDown() 133 protected Point runRenderSpec(TestCase testCase) { in runRenderSpec() argument 135 testCase.layoutID, testCase.canvasClient, in runRenderSpec() 136 null, testCase.viewInitializer, testCase.useHardware); in runRenderSpec() 137 testCase.wasTestRan = true; in runRenderSpec() 138 if (testCase.readyFence != null) { in runRenderSpec() 140 testCase.readyFence.await(5, TimeUnit.SECONDS); in runRenderSpec() 151 protected Bitmap captureRenderSpec(TestCase testCase) { in captureRenderSpec() argument 152 Point testOffset = runRenderSpec(testCase); in captureRenderSpec() [all …]
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 1113 PreviewTestCase testCase; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() local 1115 camera_status_t ret = testCase.initWithErrorLog(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() 1121 numCameras = testCase.getNumCameras(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() 1128 const char* cameraId = testCase.getCameraId(i); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() 1134 ret = testCase.openCamera(cameraId); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() 1142 if (testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() 1147 ret = testCase.closeCamera(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() 1155 if (!testCase.isCameraAvailable(cameraId)) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() 1161 ret = testCase.deInit(); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceOpenAndCloseNative() 1365 PreviewTestCase testCase; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSessionOpenAndCloseNative() local [all …]
|
/cts/suite/audio_quality/test/ |
D | AudioHardwareTest.cpp | 39 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()
|
D | ModelBuilderTest.cpp | 29 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/ |
D | AudioHardware.cpp | 77 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestResult.java | 138 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/tests/tests/print/src/android/print/cts/ |
D | PrinterCapabilitiesTest.java | 175 private void testCase(final StubbablePrinterDiscoverySession[] session, in testCase() method in PrinterCapabilitiesTest 311 testCase(session, printerId, false, null, false, null); in testPrinterCapabilityChange() 312 testCase(session, printerId, false, null, false, MediaSize.ISO_A0); in testPrinterCapabilityChange() 313 testCase(session, printerId, false, null, false, MediaSize.ISO_B0); in testPrinterCapabilityChange() 314 testCase(session, printerId, false, null, true, null); in testPrinterCapabilityChange() 315 testCase(session, printerId, false, null, true, MediaSize.ISO_A0); in testPrinterCapabilityChange() 316 testCase(session, printerId, false, null, true, MediaSize.ISO_B0); in testPrinterCapabilityChange() 317 testCase(session, printerId, false, MediaSize.ISO_A0, false, null); in testPrinterCapabilityChange() 318 testCase(session, printerId, false, MediaSize.ISO_A0, false, MediaSize.ISO_A0); in testPrinterCapabilityChange() 319 testCase(session, printerId, false, MediaSize.ISO_A0, false, MediaSize.ISO_B0); in testPrinterCapabilityChange() [all …]
|
D | CustomPrintOptionsTest.java | 127 private void testCase(final boolean copyFromOriginal, final Integer numCopies, in testCase() method in CustomPrintOptionsTest 387 testCase(false, 2, PAGESS[1], MEDIA_SIZES[1], false, COLOR_MODES[1], DUPLEX_MODES[1], in testChangeToChangeEveryThing() 392 testCase(false, null, null, MEDIA_SIZES[1], false, COLOR_MODES[1], DUPLEX_MODES[1], in testChangeToAttributes() 397 testCase(false, 2, PAGESS[1], null, true, null, null, null); in testChangeToNonAttributes() 401 testCase(true, null, null, MEDIA_SIZES[1], false, COLOR_MODES[1], DUPLEX_MODES[1], in testChangeToAttributesNoCopy() 406 testCase(true, 2, PAGESS[1], null, true, null, null, null); in testChangeToNonAttributesNoCopy() 410 testCase(false, 1, DEFAULT_PAGES, DEFAULT_MEDIA_SIZE, DEFAULT_MEDIA_SIZE.isPortrait(), in testChangeToDefault() 415 testCase(true, 1, DEFAULT_PAGES, DEFAULT_MEDIA_SIZE, DEFAULT_MEDIA_SIZE.isPortrait(), in testChangeToDefaultNoCopy() 420 testCase(false, null, null, null, true, null, null, null); in testChangeToNothing() 424 testCase(true, null, null, null, true, null, null, null); in testChangeToNothingNoCopy() [all …]
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
D | TestSuite.java | 57 public void addCase(TestCase testCase) { in addCase() argument 58 mCases.add(testCase); in addCase() 75 for (TestCase testCase : mCases) { in countTests() 76 count += testCase.countTests(); in countTests()
|
D | TestListParser.java | 97 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()
|
D | XmlGenerator.java | 192 for (TestCase testCase : sorted) { in writeTestCases() 193 if (testCase.countTests() == 0) { in writeTestCases() 196 String name = testCase.getName(); in writeTestCases() 200 writeTests(writer, testCase.getTests(), nameCollector); in writeTestCases()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | InstrumentedAccessibilityService.java | 98 InstrumentationTestCase testCase, Class<T> clazz) { in enableService() argument 100 final Context context = testCase.getInstrumentation().getContext(); in enableService() 115 ShellCommandBuilder.create(testCase) in enableService() 123 ShellCommandBuilder.create(testCase) in enableService() 160 public static void disableAllServices(InstrumentationTestCase testCase) { in disableAllServices() argument 162 final Context context = testCase.getInstrumentation().getContext(); in disableAllServices() 171 ShellCommandBuilder.create(testCase) in disableAllServices()
|
D | ShellCommandBuilder.java | 36 public static ShellCommandBuilder create(InstrumentationTestCase testCase) { in create() argument 37 return new ShellCommandBuilder(testCase); in create() 40 private ShellCommandBuilder(InstrumentationTestCase testCase) { in ShellCommandBuilder() argument 41 mTestCase = testCase; in ShellCommandBuilder()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
D | GnssCtsTestResult.java | 136 protected void run(TestCase testCase) { in run() argument 137 if (testCase instanceof GnssTestCase) { in run() 138 GnssTestCase gnssTestCase = (GnssTestCase) testCase; in run() 144 super.run(testCase); in run()
|
/cts/common/util/tests/src/com/android/compatibility/common/util/ |
D | ModuleResultTest.java | 68 ICaseResult testCase = mResult.getOrCreateResult(CLASS); in testCountResults() local 69 testCase.getOrCreateResult(METHOD_1).failed(STACK_TRACE); in testCountResults() 70 testCase.getOrCreateResult(METHOD_2).failed(STACK_TRACE); in testCountResults() 71 testCase.getOrCreateResult(METHOD_3).passed(null); in testCountResults()
|
/cts/suite/audio_quality/lib/include/audio/ |
D | AudioHardware.h | 58 TaskCase* testCase = NULL); 70 virtual bool startPlaybackOrRecordById(const android::String8& id, TaskCase* testCase = NULL);
|
/cts/suite/audio_quality/lib/src/task/ |
D | ModelBuilder.cpp | 204 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/ |
D | OpenGLES20NativeActivityOne.java | 88 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/ |
D | JarHostTest.java | 282 TestCase testCase = (TestCase)testClass.newInstance(); in loadTest() local 283 testCase.setName(testName); in loadTest() 284 return testCase; in loadTest()
|
/cts/tests/tests/icu/tools/android/icu/cts/tools/ |
D | GenerateTestCaseXML.java | 190 TestCase testCase = getTestCase(className); in addTest() local 191 testCase.addMethod(methodName); in addTest()
|
/cts/suite/cts/utils/ |
D | get_csv_report.py | 86 testCase = TestCase(caseName, summary, details, result) 87 cases[caseName] = testCase
|
/cts/tests/app/app/src/android/app/stubs/ |
D | DialogStubActivity.java | 320 ActivityInstrumentationTestCase2<T> testCase, int dialogNumber) { in startDialogActivity() argument 323 testCase.setActivityIntent(intent); in startDialogActivity() 324 return testCase.getActivity(); in startDialogActivity()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | ResultHandler.java | 158 ICaseResult testCase = module.getOrCreateResult(caseName); in getResults() local 162 ITestResult test = testCase.getOrCreateResult(testName); in getResults()
|
/cts/tools/vm-tests-tf/lib/ |
D | junit.jar | META-INF/
META-INF/MANIFEST.MF
junit/
junit/awtui/
junit/ ... |