/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | ConfirmationActivity.java | 9 public static final String EXTRA_TEXT = "text"; field in ConfirmationActivity 16 ((TextView)findViewById(R.id.text)).setText(getTextExtra(EXTRA_TEXT, "text")); in onResume()
|
D | NotificationBuilderTest.java | 499 intent.putExtra(ConfirmationActivity.EXTRA_TEXT, "id: " + id); in makeDeleteIntent() 507 intent.putExtra(ConfirmationActivity.EXTRA_TEXT, "id: " + id); in makeContentIntent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/ |
D | DeviceStateNotificationControllerTest.java | 143 notification.extras.getString(Notification.EXTRA_TEXT)); in test_activeNotification() 173 notification.extras.getString(Notification.EXTRA_TEXT)); in test_powerSaveNotification() 187 assertEquals(POWER_SAVE_CONTENT_2, notification.extras.getString(Notification.EXTRA_TEXT)); in test_powerSaveNotification() 209 notification.extras.getString(Notification.EXTRA_TEXT)); in test_thermalNotification() 223 assertEquals(THERMAL_CONTENT_2, notification.extras.getString(Notification.EXTRA_TEXT)); in test_thermalNotification()
|
/frameworks/base/core/tests/coretests/src/android/debug/ |
D | AdbNotificationsTest.java | 58 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/clipboardoverlay/ |
D | IntentCreatorTest.java | 103 assertEquals("Test Item", target.getStringExtra(Intent.EXTRA_TEXT)); in test_getShareIntent_plaintext() 116 assertEquals("Some HTML", target.getStringExtra(Intent.EXTRA_TEXT)); in test_getShareIntent_html() 143 assertEquals("Test Item", target.getStringExtra(Intent.EXTRA_TEXT)); in test_getShareIntent_spannableText()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ActionIntentCreatorTest.kt | 58 assertThatIntent(wrappedIntent).extras().doesNotContainKey(Intent.EXTRA_TEXT) in testCreateShare() 92 assertThatIntent(wrappedIntent).extras().doesNotContainKey(Intent.EXTRA_TEXT) in testCreateShareWithSubject() 116 assertThatIntent(wrappedIntent).extras().string(Intent.EXTRA_TEXT).isEqualTo(extraText) in testCreateShareWithText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationContentDescription.kt | 32 val text = n.extras?.getCharSequence(Notification.EXTRA_TEXT) in contentDescForNotification()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/ |
D | BubbleTest.java | 95 mExtras.putCharSequence(Notification.EXTRA_TEXT, msg); in testGetUpdateMessage_default() 103 mExtras.putCharSequence(Notification.EXTRA_TEXT, "A small hello there."); in testGetUpdateMessage_bigText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
D | IntentCreator.java | 59 Intent.EXTRA_TEXT, clipData.getItemAt(0).coerceToText(context).toString()); in getShareIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ActionIntentCreator.kt | 61 text?.let { putExtra(Intent.EXTRA_TEXT, text) } in createShare()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbContaminantActivity.java | 107 intent.putExtra(Intent.EXTRA_TEXT, in onClick()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationShellCmdTest.java | 137 assertEquals(aText, captured.extras.getString(Notification.EXTRA_TEXT)); in testBasic() 163 assertEquals(aText, captured.extras.getString(Notification.EXTRA_TEXT)); in testBigText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | LeakReporter.java | 142 intent.putExtra(Intent.EXTRA_TEXT, messageBody.toString()); in getIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | HybridGroupManager.java | 129 CharSequence contentText = notification.extras.getCharSequence(Notification.EXTRA_TEXT); in resolveText()
|
/frameworks/base/core/java/android/provider/ |
D | Browser.java | 224 send.putExtra(Intent.EXTRA_TEXT, stringToSend); in sendString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/ui/ |
D | TaskSwitcherNotificationCoordinatorTest.kt | 176 val text = notification.value.extras.getCharSequence(Notification.EXTRA_TEXT) in assertNotification()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 159 intent.putExtra(Intent.EXTRA_TEXT, "help_url_upgrading");
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/stylus/ |
D | StylusUsiPowerUiTest.kt | 163 notificationCaptor.value.extras.getString(Notification.EXTRA_TEXT), in updateBatteryState_existingNotification_capacityBelowThreshold_updatesNotification()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | Bubble.java | 1069 : underlyingNotif.extras.getCharSequence(Notification.EXTRA_TEXT); in extractFlyoutMessage() 1102 underlyingNotif.extras.getCharSequence(Notification.EXTRA_TEXT); in extractFlyoutMessage()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityWorkProfileTest.java | 363 sendIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createTextIntent()
|
D | ResolverActivityWorkProfileTest.java | 339 sendIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createSendImageIntent()
|
D | ResolverListControllerTest.java | 302 sendIntent.putExtra(Intent.EXTRA_TEXT, "testing intent sending"); in createSendImageIntent()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/ |
D | PaintChipsWidget.kt | 274 putExtra(Intent.EXTRA_TEXT, text) in makeTextSharePendingIntent()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationUsageStats.java | 500 if (names.contains(Notification.EXTRA_TEXT) && in countApiUse() 501 !TextUtils.isEmpty(n.extras.getCharSequence(Notification.EXTRA_TEXT))) { in countApiUse()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 491 intent.putExtra(Intent.EXTRA_TEXT, "We are sharing this with you!"); in onCreateOptionsMenu()
|