Home
last modified time | relevance | path

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

123

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputContentInfoTest.java48 assertEquals(1, info.getDescription().getMimeTypeCount()); in testInputContentInfo()
49 assertEquals("image/png", info.getDescription().getMimeType(0)); in testInputContentInfo()
50 assertEquals("sample content", info.getDescription().getLabel()); in testInputContentInfo()
61 assertEquals(info.getDescription().getMimeTypeCount(), in testInputContentInfo()
62 targetInfo.getDescription().getMimeTypeCount()); in testInputContentInfo()
63 assertEquals(info.getDescription().getMimeType(0), in testInputContentInfo()
64 targetInfo.getDescription().getMimeType(0)); in testInputContentInfo()
65 assertEquals(info.getDescription().getLabel(), targetInfo.getDescription().getLabel()); in testInputContentInfo()
77 assertEquals(1, info.getDescription().getMimeTypeCount()); in testOptionalConstructorParam()
78 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/bettertogether/src/android/media/bettertogether/cts/
DMediaItemTest.java52 assertThat(mediaItem.getDescription().toString()).isEqualTo(description.toString()); in testBrowsableMediaItem()
69 assertThat(mediaItemFromParcel.getDescription().toString()) in testBrowsableMediaItem()
82 assertThat(mediaItem.getDescription().toString()).isEqualTo(description.toString()); in testPlayableMediaItem()
99 assertThat(mediaItemFromParcel.getDescription().toString()) in testPlayableMediaItem()
DMediaMetadataTest.java236 public void getDescription() { in getDescription() method in MediaMetadataTest
253 MediaDescription mediaDescription = metadata.getDescription(); in getDescription()
257 assertThat(mediaDescription.getDescription()).isEqualTo(testDescription); in getDescription()
/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/extensions/util/
DVersion.java99 String getDescription() { in getDescription() method in Version
112 if (!TextUtils.isEmpty(getDescription())) { in toString()
113 sb.append("-").append(getDescription()); in toString()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DConversationStatusTest.java64 assertEquals("playing chess", cs.getDescription().toString()); in testCreation()
84 assertNull(cs.getDescription()); in testParcelEmpty()
111 assertEquals("playing chess", cs.getDescription().toString()); in testParcel()
DNotificationChannelGroupTest.java48 assertNull(group.getDescription()); in testConstructor()
82 assertEquals("bananas", cloned.getDescription()); in testClone()
/cts/hostsidetests/install/src/android/cts/install/host/
DDeviceParameterized.java133 public Description getDescription() { in getDescription() method in DeviceParameterized.DeviceParameterizedRunner
137 super.getDescription().getChildren().forEach(child -> desc.addChild(child)); 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.java283 combination.getDescription() + " on camera: " + cameraId; in testMultiResolutionMandatoryStreamCombination()
315 combination.getDescription())); in testMultiResolutionMandatoryStreamCombination()
337 combination.getDescription(), e.getMessage())); in testMultiResolutionMandatoryStreamCombination()
343 cameraId, combination.getDescription())); in testMultiResolutionMandatoryStreamCombination()
348 combination.getDescription(), e.getMessage())); in testMultiResolutionMandatoryStreamCombination()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothHidDeviceAppSdpSettingsTest.java38 assertEquals(description, settings.getDescription()); in testGetters()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioDataPathsBaseActivity.java448 String getDescription() { in getDescription() method in AudioDataPathsBaseActivity.TestModule
608 Log.d(TAG, "startTest(" + api + ") - " + getDescription()); in startTest()
643 Log.d(TAG, " Invalid MMAP request - " + getDescription()); in startTest()
681 Log.w(TAG, " Invalid Sharing Mode - " + getDescription()); in startTest()
697 Log.w(TAG, " Neither stream is MMAP - " + getDescription()); in startTest()
704 Log.e(TAG, " Couldn't start duplex streams - " + getDescription()); in startTest()
710 Log.w(TAG, " Invalid Routing - " + getDescription()); in startTest()
717 Log.w(TAG, " Both streams aren't MMAP - " + getDescription()); in startTest()
737 .appendText(getDescription()); in generateReport()
913 getDescription(), in generateReportLog()
[all …]
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DBedsteadRunListener.java100 mTestNameToIndex.get(getTestName(failure.getDescription()))); in testFailure()
113 mTestNameToIndex.get(getTestName(failure.getDescription()))); in testAssumptionFailure()
/cts/tests/tests/nfc/src/android/nfc/cts/
DApduServiceInfoTest.java121 assertEquals(apduServiceInfo.getDescription(), ""); in test_Constructor()
165 assertEquals(apduServiceInfo.getDescription(), "Foreground CTS Nfc Test Service"); in test_Constructor_ParseManifest_ForegroundService()
195 assertEquals(apduServiceInfo.getDescription(), newApduServiceInfo.getDescription()); in test_ReadWriteParcel()
DNfcFServiceInfoTest.java113 assertEquals(nfcFServiceInfo.getDescription(), ""); in test_Constructor()
131 assertEquals(newNfcFServiceInfo.getDescription(), ""); in test_ReadWriteParcel()
/cts/libs/vogar-expect/src/vogar/expect/
DExpectation.java70 public String getDescription() { in getDescription() method in Expectation
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/
DContentInfoTest.java83 assertThat(split.first.getClip().getDescription()) in testPartition_multipleItems()
84 .isNotSameInstanceAs(payload.getClip().getDescription()); in testPartition_multipleItems()
85 assertThat(split.second.getClip().getDescription()) in testPartition_multipleItems()
86 .isNotSameInstanceAs(payload.getClip().getDescription()); in testPartition_multipleItems()
/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/apps/CtsVerifier/src/com/android/cts/verifier/clipboard/
DClipboardPreviewTestActivity.java63 cd.getDescription().setExtras(pb); in setClipboardData()
/cts/tests/tests/content/src/android/content/cts/
DClipDescriptionTest.java132 assertThat(clipData2.getDescription().isStyledText()).isTrue(); in testIsStyledText()
153 assertThat(clipData2.getDescription().isStyledText()).isFalse(); in testNotStyledText()
159 assertThat(clipDataUri.getDescription().isStyledText()).isFalse(); in testNotStyledText()
DClipboardManagerListenerTest.java95 if (clipData.getDescription().getClassificationStatus() in expectedCallbackCount()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/notification/
DNotificationStatsTests.java126 assertThat(pref.getDescription()).isEqualTo("Statsd Cts Channel"); in testNotificationChannelPreferencesExtraction()
164 assertThat(pref.getDescription()).isEqualTo("StatsdCtsGroup Description"); in testNotificationChannelGroupPreferencesExtraction()
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/model/
DMovie.java72 public String getDescription() { in getDescription() method in Movie
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java63 public Description getDescription() { in getDescription() method in GtestRunner

123