Home
last modified time | relevance | path

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

12

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DConfirmationActivity.java9 public static final String EXTRA_TEXT = "text"; field in ConfirmationActivity
16 ((TextView)findViewById(R.id.text)).setText(getTextExtra(EXTRA_TEXT, "text")); in onResume()
DNotificationBuilderTest.java499 intent.putExtra(ConfirmationActivity.EXTRA_TEXT, "id: " + id); in makeDeleteIntent()
507 intent.putExtra(ConfirmationActivity.EXTRA_TEXT, "id: " + id); in makeContentIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DIntentCreatorTest.java102 assertEquals("Test Item", target.getStringExtra(Intent.EXTRA_TEXT)); in test_getShareIntent_plaintext()
115 assertEquals("Some HTML", target.getStringExtra(Intent.EXTRA_TEXT)); in test_getShareIntent_html()
141 assertEquals("Test Item", target.getStringExtra(Intent.EXTRA_TEXT)); in test_getShareIntent_spannableText()
/frameworks/base/core/tests/coretests/src/android/debug/
DAdbNotificationsTest.java58 assertEquals(message, notification.extras.getCharSequence(Notification.EXTRA_TEXT, "")); in testCreateNotification_UsbTransportType()
78 assertEquals(message, notification.extras.getCharSequence(Notification.EXTRA_TEXT, "")); in testCreateNotification_WifiTransportType()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionIntentCreatorTest.kt54 assertThat(wrappedIntent?.getStringExtra(Intent.EXTRA_TEXT)).isNull() in testCreateShareIntent()
79 assertThat(wrappedIntent?.getStringExtra(Intent.EXTRA_TEXT)).isNull() in testCreateShareIntentWithSubject()
104 assertThat(wrappedIntent?.getStringExtra(Intent.EXTRA_TEXT)).isEqualTo(extraText) in testCreateShareIntentWithExtraText()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleTest.java91 mExtras.putCharSequence(Notification.EXTRA_TEXT, msg); in testGetUpdateMessage_default()
99 mExtras.putCharSequence(Notification.EXTRA_TEXT, "A small hello there."); in testGetUpdateMessage_bigText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DActionIntentCreator.kt60 putExtra(Intent.EXTRA_TEXT, extraText) in createShareIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/notifications/
DTvNotificationAdapter.java63 holder.mDetails.setText(notification.extras.getString(Notification.EXTRA_TEXT)); in onBindViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DIntentCreator.java51 Intent.EXTRA_TEXT, clipData.getItemAt(0).coerceToText(context).toString()); in getShareIntent()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationShellCmdTest.java138 assertEquals(aText, captured.extras.getString(Notification.EXTRA_TEXT)); in testBasic()
164 assertEquals(aText, captured.extras.getString(Notification.EXTRA_TEXT)); in testBigText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbContaminantActivity.java102 intent.putExtra(Intent.EXTRA_TEXT, in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridGroupManager.java104 CharSequence contentText = notification.extras.getCharSequence(Notification.EXTRA_TEXT); in resolveText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DDumpTruck.java146 shareIntent.putExtra(Intent.EXTRA_TEXT, body.toString()); in createShareIntent()
DLeakReporter.java142 intent.putExtra(Intent.EXTRA_TEXT, messageBody.toString()); in getIntent()
/frameworks/base/core/java/android/provider/
DBrowser.java224 send.putExtra(Intent.EXTRA_TEXT, stringToSend); in sendString()
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java159 intent.putExtra(Intent.EXTRA_TEXT, "help_url_upgrading");
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/
DStylusUsiPowerUiTest.kt137 notificationCaptor.value.extras.getString(Notification.EXTRA_TEXT), in updateBatteryState_existingNotification_capacityBelowThreshold_updatesNotification()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubble.java928 : underlyingNotif.extras.getCharSequence(Notification.EXTRA_TEXT); in extractFlyoutMessage()
961 underlyingNotif.extras.getCharSequence(Notification.EXTRA_TEXT); in extractFlyoutMessage()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverActivityWorkProfileTest.java337 sendIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createSendImageIntent()
DChooserActivityWorkProfileTest.java361 sendIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createTextIntent()
DResolverListControllerTest.java267 sendIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createSendImageIntent()
DChooserActivityTest.java2892 chooserIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createChooserIntent()
2915 sendIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createSendTextIntent()
2936 sendIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createSendTextIntentWithPreview()
2963 viewIntent.putExtra(Intent.EXTRA_TEXT, "testing intent viewing"); in createViewTextIntent()
/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/
DPaintChipsWidget.kt274 putExtra(Intent.EXTRA_TEXT, text) in makeTextSharePendingIntent()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationUsageStats.java486 if (names.contains(Notification.EXTRA_TEXT) && in countApiUse()
487 !TextUtils.isEmpty(n.extras.getCharSequence(Notification.EXTRA_TEXT))) { in countApiUse()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java491 intent.putExtra(Intent.EXTRA_TEXT, "We are sharing this with you!"); in onCreateOptionsMenu()

12