Home
last modified time | relevance | path

Searched refs:hasText (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java242 assertThat(hasText(sliceItems, title, HINT_TITLE)).isTrue(); in assertAnySliceItemContainsTitle()
254 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isTrue(); in assertAnySliceItemContainsSubtitle()
266 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isFalse(); in assertNoSliceItemContainsSubtitle()
269 private static boolean hasText(List<SliceItem> sliceItems, String text, String hints) { in hasText() method in SliceTester
270 boolean hasText = false; in hasText()
280 hasText = true; in hasText()
285 return hasText; in hasText()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DSmartActionsHelperTest.java209 MessageSubject.assertThat(messages.get(0)).hasText(MESSAGE); in testSuggest_nonMessageStyleMessageNotification()
243 MessageSubject.assertThat(firstMessage).hasText("firstMessage"); in testSuggest_messageStyle()
250 MessageSubject.assertThat(secondMessage).hasText("secondMessage"); in testSuggest_messageStyle()
257 MessageSubject.assertThat(thirdMessage).hasText("thirdMessage"); in testSuggest_messageStyle()
263 MessageSubject.assertThat(fourthMessage).hasText("fourthMessage"); in testSuggest_messageStyle()
521 private void hasText(String text) { in hasText() method in SmartActionsHelperTest.MessageSubject
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java330 boolean hasText = false; in makePduBody()
375 hasText = true; in makePduBody()
379 if (hasText) { in makePduBody()
389 hasNonVisualAttachment, hasText); in makePduBody()
596 final boolean hasNonVisualAttachments, final boolean hasText) { in getSmilTemplate() argument
598 return hasText ? sSmilVisualAttachmentsWithText : sSmilVisualAttachmentsOnly; in getSmilTemplate()
601 return hasText ? sSmilNonVisualAttachmentsWithText : sSmilNonVisualAttachmentsOnly; in getSmilTemplate()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationMessageData.java359 public boolean hasText() {
583 return (hasText() && in getCanCopyMessageToClipboard()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java649 String hasText = ""; in setText() local
651 hasText = "yes"; in setText()
655 hasText = "yes"; in setText()
660 hasText = "yes"; in setText()
662 hasText = "no"; in setText()
666 hasText = "yes"; in setText()
669 Log.d(TAG, "setText: " + hasText); in setText()
671 e.setText(hasText); in setText()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java298 if (mData.hasText()) { in shouldShowMessageTextBubble()
466 || mData.hasText() || metadataVisible; in updateViewContent()
DConversationFragment.java345 Assert.isTrue(data.hasText());