Home
last modified time | relevance | path

Searched refs:wrappedIntent (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionIntentCreatorTest.kt52 val wrappedIntent = output.getParcelableExtra(Intent.EXTRA_INTENT, Intent::class.java) in testCreateShare() constant
54 assertThatIntent(wrappedIntent).hasAction(Intent.ACTION_SEND) in testCreateShare()
55 assertThatIntent(wrappedIntent).hasData(uri) in testCreateShare()
56 assertThatIntent(wrappedIntent).hasType("image/png") in testCreateShare()
57 assertThatIntent(wrappedIntent).extras().doesNotContainKey(Intent.EXTRA_SUBJECT) in testCreateShare()
58 assertThatIntent(wrappedIntent).extras().doesNotContainKey(Intent.EXTRA_TEXT) in testCreateShare()
59 assertThatIntent(wrappedIntent).extras().parcelable<Uri>(Intent.EXTRA_STREAM).isEqualTo(uri) in testCreateShare()
87 val wrappedIntent = output.getParcelableExtra(Intent.EXTRA_INTENT, Intent::class.java) in testCreateShareWithSubject() constant
88 assertThatIntent(wrappedIntent).hasAction(Intent.ACTION_SEND) in testCreateShareWithSubject()
89 assertThatIntent(wrappedIntent).hasData(uri) in testCreateShareWithSubject()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DSaveImageInBackgroundTask.java267 Intent wrappedIntent = new Intent(mContext, SmartActionsReceiver.class) in createQuickShareAction() local
278 addIntentExtras(screenshotId, wrappedIntent, actionType, true /* smartActionsEnabled */); in createQuickShareAction()
280 PendingIntent.getBroadcast(mContext, mRandom.nextInt(), wrappedIntent, in createQuickShareAction()