Home
last modified time | relevance | path

Searched refs:getDescription (Results 1 – 25 of 40) sorted by relevance

12

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputContentInfoTest.java46 assertEquals(1, info.getDescription().getMimeTypeCount()); in testInputContentInfo()
47 assertEquals("image/png", info.getDescription().getMimeType(0)); in testInputContentInfo()
48 assertEquals("sample content", info.getDescription().getLabel()); in testInputContentInfo()
59 assertEquals(info.getDescription().getMimeTypeCount(), in testInputContentInfo()
60 targetInfo.getDescription().getMimeTypeCount()); in testInputContentInfo()
61 assertEquals(info.getDescription().getMimeType(0), in testInputContentInfo()
62 targetInfo.getDescription().getMimeType(0)); in testInputContentInfo()
63 assertEquals(info.getDescription().getLabel(), targetInfo.getDescription().getLabel()); in testInputContentInfo()
75 assertEquals(1, info.getDescription().getMimeTypeCount()); in testOptionalConstructorParam()
76 assertEquals("image/png", info.getDescription().getMimeType(0)); in testOptionalConstructorParam()
[all …]
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DTestNgRunner.java61 public Description getDescription() { in getDescription() method in TestNgRunner
68 if (!descriptionHasChildren(getDescription())) { // Avoid NPE when description is null. in testCount()
73 return getDescription().testCount(); in testCount()
81 if (!descriptionHasChildren(getDescription())) { // Avoid NPE when description is null. in filter()
98 if (!descriptionHasChildren(getDescription())) { // Avoid NPE when description is null. in run()
103 for (Description child : getDescription().getChildren()) { in run()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DTestNgRunner.java61 public Description getDescription() { in getDescription() method in TestNgRunner
68 if (!descriptionHasChildren(getDescription())) { // Avoid NPE when description is null. in testCount()
73 return getDescription().testCount(); in testCount()
81 if (!descriptionHasChildren(getDescription())) { // Avoid NPE when description is null. in filter()
98 if (!descriptionHasChildren(getDescription())) { // Avoid NPE when description is null. in run()
103 for (Description child : getDescription().getChildren()) { in run()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_status.cpp204 ContainsSubstring(ScopedAStatus::fromExceptionCode(EX_TRANSACTION_FAILED).getDescription(), in TEST()
207 ScopedAStatus::fromExceptionCodeWithMessage(EX_TRANSACTION_FAILED, "asdf").getDescription(), in TEST()
210 ContainsSubstring(ScopedAStatus::fromServiceSpecificError(42).getDescription(), "42")); in TEST()
212 ScopedAStatus::fromServiceSpecificErrorWithMessage(42, "asdf").getDescription(), "asdf")); in TEST()
214 ContainsSubstring(ScopedAStatus::fromStatus(STATUS_BAD_TYPE).getDescription(), "BAD_TYPE")); in TEST()
/cts/tests/app/src/android/app/cts/
DNotificationChannelGroupTest.java41 assertNull(group.getDescription()); in testConstructor()
72 assertEquals("bananas", cloned.getDescription()); in testClone()
DNotificationChannelTest.java50 assertEquals(null, channel.getDescription()); in testConstructor()
84 assertEquals("success", channel.getDescription()); in testDescription()
DNotificationManagerTest.java480 assertEquals(expected.getDescription(), actual.getDescription()); in compareChannels()
668 assertEquals(ncg.getDescription(), ncgs.get(0).getDescription()); in testCreateChannelGroup()
691 assertEquals(ncg.getDescription(), actual.getDescription()); in testGetChannelGroup()
713 assertEquals(group.getDescription(), ncg.getDescription()); in testGetChannelGroups()
717 assertEquals(group.getDescription(), ncg2.getDescription()); in testGetChannelGroups()
/cts/tests/tests/media/src/android/media/cts/
DMediaItemTest.java39 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testBrowsableMediaItem()
62 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testPlayableMediaItem()
DMediaSessionTest.java212 assertEquals(TEST_VALUE, mCallback.mQueue.get(0).getDescription().getMediaId()); in testConfigureSession()
217 assertEquals(TEST_VALUE, controller.getQueue().get(0).getDescription().getMediaId()); in testConfigureSession()
514 assertEquals("media-id", item.getDescription().getMediaId()); in testQueueItem()
515 assertEquals("title", item.getDescription().getTitle()); in testQueueItem()
DMediaBrowserServiceTest.java236 Bundle rootHints = item.getDescription().getExtras(); in assertRootHints()
DDecodeAccuracyTest.java236 final int golden = getGoldenId(vf.getDescription(), vf.getOriginalSize()); in runTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestActivity.java201 .logTestFail(failure.getDescription().getMethodName(), failure.toString()); in testFailure()
207 .logTestFail(failure.getDescription().getMethodName(), failure.toString()); in testAssumptionFailure()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java354 String log = "Testing mandatory stream combination: " + combination.getDescription() + in testMandatoryStreamCombination()
415 combination.getDescription())); in testMandatoryStreamCombination()
422 combination.getDescription()), !sessionConfigSupport.error); in testMandatoryStreamCombination()
428 "%s", combination.getDescription()), sessionConfigSupport.configSupported); in testMandatoryStreamCombination()
450 combination.getDescription(), e.getMessage())); in testMandatoryStreamCombination()
455 cameraId, combination.getDescription())); in testMandatoryStreamCombination()
460 combination.getDescription(), e.getMessage())); in testMandatoryStreamCombination()
504 combination.getDescription() + " on camera: " + id); in testMandatoryReprocessConfigurations()
585 combination.getDescription() + ", substituteY8 = " + substituteY8 + in testMandatoryReprocessableStreamCombination()
625 combination.getDescription())); in testMandatoryReprocessableStreamCombination()
[all …]
/cts/libs/vogar-expect/src/vogar/expect/
DExpectation.java70 public String getDescription() { in getDescription() method in Expectation
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java63 public Description getDescription() { in getDescription() method in GtestRunner
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/
DMovie.java72 public String getDescription() { in getDescription() method in Movie
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityServiceInfoTest.java73 assertEquals("Some description", speakingService.getDescription()); in testAccessibilityServiceInfoForEnabledService()
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DDeviceTestCompanion.java178 updateStatus("Connecting to " + accessory.getDescription()); in runTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralActivity.java91 mProfileDescriptionTx.setText(mSelectedProfile.getDescription()); in showProfileStatus()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DDeviceJUnit4ClassRunnerWithParameters.java96 public Description getDescription() { in getDescription() method in DeviceJUnit4ClassRunnerWithParameters
/cts/tests/tests/telecom/src/android/telecom/cts/
DDataObjectUnitTests.java179 assertEquals(description, cause.getDescription()); in testDisconnectCause()
192 assertEquals(description, parcelCause.getDescription()); in testDisconnectCause()
/cts/hostsidetests/incident/src/com/android/server/cts/
DPrintProtoTest.java110 assertTrue(pip.getDescription().isEmpty()); in verifyPrinterInfoProto()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvViewTest.java318 assertEquals(track.getDescription(), selectedTrack.getDescription()); in selectTrackAndVerify()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DGnssCtsTestActivity.java238 + failure.getDescription().getMethodName() in testFailure()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DPeripheralProfile.java53 public String getDescription() { return mProfileDescription; } in getDescription() method in PeripheralProfile

12