Home
last modified time | relevance | path

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

12

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputContentInfoTest.java45 assertEquals(1, info.getDescription().getMimeTypeCount()); in testInputContentInfo()
46 assertEquals("image/png", info.getDescription().getMimeType(0)); in testInputContentInfo()
47 assertEquals("sample content", info.getDescription().getLabel()); in testInputContentInfo()
58 assertEquals(info.getDescription().getMimeTypeCount(), in testInputContentInfo()
59 targetInfo.getDescription().getMimeTypeCount()); in testInputContentInfo()
60 assertEquals(info.getDescription().getMimeType(0), in testInputContentInfo()
61 targetInfo.getDescription().getMimeType(0)); in testInputContentInfo()
62 assertEquals(info.getDescription().getLabel(), targetInfo.getDescription().getLabel()); in testInputContentInfo()
74 assertEquals(1, info.getDescription().getMimeTypeCount()); in testOptionalConstructorParam()
75 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/app/src/android/app/cts/
DNotificationChannelGroupTest.java41 assertNull(group.getDescription()); in testConstructor()
71 assertEquals("bananas", cloned.getDescription()); in testClone()
DNotificationChannelTest.java50 assertEquals(null, channel.getDescription()); in testConstructor()
82 assertEquals("success", channel.getDescription()); in testDescription()
DNotificationManagerTest.java177 assertEquals(ncg.getDescription(), ncgs.get(0).getDescription()); in testCreateChannelGroup()
200 assertEquals(ncg.getDescription(), actual.getDescription()); in testGetChannelGroup()
1040 assertEquals(expected.getDescription(), actual.getDescription()); in compareChannels()
/cts/tools/utils/
DVogarUtils.java60 String description = expectation.getDescription(); in isVogarKnownFailure()
101 if (expectation == null || expectation.getDescription().isEmpty()) { in extractSupportedAbis()
107 supportedAbiSet.removeAll(AbiUtils.parseAbiList(expectation.getDescription())); in extractSupportedAbis()
/cts/tests/tests/media/src/android/media/cts/
DMediaItemTest.java38 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testBrowsableMediaItem()
61 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testPlayableMediaItem()
DMediaSessionTest.java208 assertEquals(TEST_VALUE, mCallback.mQueue.get(0).getDescription().getMediaId()); in testConfigureSession()
213 assertEquals(TEST_VALUE, controller.getQueue().get(0).getDescription().getMediaId()); in testConfigureSession()
510 assertEquals("media-id", item.getDescription().getMediaId()); in testQueueItem()
511 assertEquals("title", item.getDescription().getTitle()); in testQueueItem()
DMediaBrowserServiceTest.java235 Bundle rootHints = item.getDescription().getExtras(); in assertRootHints()
DDecodeAccuracyTest.java235 final int golden = getGoldenId(vf.getDescription(), vf.getOriginalSize()); in runTest()
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java48 public Description getDescription() { in getDescription() method in GtestRunner
/cts/libs/vogar-expect/src/vogar/
DExpectation.java70 public String getDescription() { in getDescription() method in Expectation
/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/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DScopedDirectoryAccessClientTest.java146 final String volumeDesc = volume.getDescription(getInstrumentation().getContext()); in testNotAskedAgain()
167 final String volumeDesc = volume.getDescription(getInstrumentation().getContext()); in testNotAskedAgainOnRoot()
272 final String volumeLabel = volume.getDescription(context); in userAcceptsTest()
288 final String volumeDesc = volume.getDescription(context); in userAcceptsTest()
470 volumeDesc = volume.getDescription(getInstrumentation().getContext()); in UiAlertDialog()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityServiceInfoTest.java70 assertEquals("Some description", speakingService.getDescription()); in testAccessibilityServiceInfoForEnabledService()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/
DMovie.java72 public String getDescription() { in getDescription() method in Movie
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DDeviceJUnit4ClassRunnerWithParameters.java83 public Description getDescription() { in getDescription() method in DeviceJUnit4ClassRunnerWithParameters
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralActivity.java86 mProfileDescriptionTx.setText(mSelectedProfile.getDescription()); in showProfileStatus()
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DDeviceTestCompanion.java178 updateStatus("Connecting to " + accessory.getDescription()); in runTest()
/cts/hostsidetests/incident/src/com/android/server/cts/
DPrintProtoTest.java110 assertTrue(pip.getDescription().isEmpty()); in verifyPrinterInfoProto()
/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
/cts/tests/tests/telecom/src/android/telecom/cts/
DDataObjectUnitTests.java175 assertEquals(description, cause.getDescription()); in testDisconnectCause()
188 assertEquals(description, parcelCause.getDescription()); in testDisconnectCause()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvViewTest.java318 assertEquals(track.getDescription(), selectedTrack.getDescription()); in selectTrackAndVerify()
/cts/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java276 .getDescription() != description in createFirstMockPrinterDiscoverySessionCallbacks()

12