Home
last modified time | relevance | path

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

123

/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-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/media/src/android/media/cts/
DMediaItemTest.java40 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testBrowsableMediaItem()
56 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testBrowsableMediaItem()
66 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testPlayableMediaItem()
82 assertEquals(description.toString(), mediaItem.getDescription().toString()); in testPlayableMediaItem()
/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/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DVersion.java99 String getDescription() { in getDescription() method in Version
111 if (!TextUtils.isEmpty(getDescription())) { in toString()
112 sb.append("-").append(getDescription()); in toString()
/cts/tests/app/src/android/app/people/cts/
DConversationStatusTest.java56 assertEquals("playing chess", cs.getDescription()); in testCreation()
75 assertNull(cs.getDescription()); in testParcelEmpty()
101 assertEquals("playing chess", cs.getDescription()); in testParcel()
/cts/tests/app/src/android/app/cts/
DNotificationChannelGroupTest.java41 assertNull(group.getDescription()); in testConstructor()
72 assertEquals("bananas", cloned.getDescription()); in testClone()
DNotificationChannelTest.java51 assertEquals(null, channel.getDescription()); in testConstructor()
108 assertEquals("success", channel.getDescription()); in testDescription()
/cts/hostsidetests/install/src/android/cts/install/host/
DDeviceParameterized.java101 public Description getDescription() { in getDescription() method in DeviceParameterized.DeviceParameterizedRunner
105 super.getDescription().getChildren().forEach(child -> desc.addChild(child)); in getDescription()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextViewActions.java75 public String getDescription() { in getDescription() method in TextViewActions.ViewClickAction
76 return mGeneralClickAction.getDescription(); in getDescription()
/cts/tests/camera/src/android/hardware/camera2/cts/
DConcurrentCameraTest.java259 testSample.combination.getDescription())); in testMandatoryConcurrentStreamCombination()
266 testSample.combination.getDescription(), testSample.cameraId, in testMandatoryConcurrentStreamCombination()
307 testSample.combination.getDescription(), in testMandatoryConcurrentStreamCombination()
318 testSample.cameraId, testSample.combination.getDescription())); in testMandatoryConcurrentStreamCombination()
325 testSample.combination.getDescription(), testSample.cameraId, in testMandatoryConcurrentStreamCombination()
DMultiResolutionImageReaderTest.java284 combination.getDescription() + " on camera: " + cameraId; in testMultiResolutionMandatoryStreamCombination()
316 combination.getDescription())); in testMultiResolutionMandatoryStreamCombination()
338 combination.getDescription(), e.getMessage())); in testMultiResolutionMandatoryStreamCombination()
344 cameraId, combination.getDescription())); in testMultiResolutionMandatoryStreamCombination()
349 combination.getDescription(), e.getMessage())); in testMultiResolutionMandatoryStreamCombination()
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/
DContentInfoTest.java75 assertThat(split.first.getClip().getDescription()).isNotSameInstanceAs( in testPartition_multipleItems()
76 payload.getClip().getDescription()); in testPartition_multipleItems()
77 assertThat(split.second.getClip().getDescription()).isNotSameInstanceAs( in testPartition_multipleItems()
78 payload.getClip().getDescription()); in testPartition_multipleItems()
/cts/tests/tests/content/src/android/content/cts/
DClipDescriptionTest.java113 assertThat(clipData2.getDescription().isStyledText()).isTrue(); in testIsStyledText()
132 assertThat(clipData2.getDescription().isStyledText()).isFalse(); in testNotStyledText()
138 assertThat(clipDataUri.getDescription().isStyledText()).isFalse(); in testNotStyledText()
DClipboardManagerListenerTest.java85 if (clipData.getDescription().getClassificationStatus() in expectedCallbackCount()
/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/libs/vogar-expect/src/vogar/expect/
DExpectation.java70 public String getDescription() { in getDescription() method in Expectation
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/notification/
DNotificationStatsTests.java125 assertThat(pref.getDescription()).isEqualTo("Statsd Cts Channel"); in testNotificationChannelPreferencesExtraction()
163 assertThat(pref.getDescription()).isEqualTo("StatsdCtsGroup Description"); in testNotificationChannelGroupPreferencesExtraction()
/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/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DDeviceTestCompanion.java178 updateStatus("Connecting to " + accessory.getDescription()); in runTest()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityServiceInfoTest.java131 assertEquals(/* expected= */ "Some description", speakingService.getDescription()); in testAccessibilityServiceInfoForEnabledService()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDiagnosticServiceTest.java311 assertNull(mCall.getDetails().getDisconnectCause().getDescription()); in testSetNullDisconnectMessage()
332 assertEquals(OVERRIDE_MESSAGE, mCall.getDetails().getDisconnectCause().getDescription()); in testOverrideDisconnectMessage()
/cts/hostsidetests/utils/src/android/cts/host/utils/
DDeviceJUnit4ClassRunnerWithParameters.java96 public Description getDescription() { in getDescription() method in DeviceJUnit4ClassRunnerWithParameters
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/
DBiometricPromptTest.java94 assertTrue(TextUtils.equals(description, prompt.getDescription())); in test_authenticate_fingerprint()

123