Home
last modified time | relevance | path

Searched refs:ACTION_VIEW (Results 1 – 25 of 80) sorted by relevance

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsManagerServiceTest.java126 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PHOTO_1).addFlags(FLAG_READ); in testNeeded_normal_sameUser()
144 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PHOTO_1).addFlags(FLAG_READ); in testNeeded_normal_differentUser()
161 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PUBLIC).addFlags(FLAG_READ); in testNeeded_public()
175 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PUBLIC).addFlags(FLAG_READ); in testNeeded_public_differentUser()
192 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_PRIVATE).addFlags(FLAG_READ); in testNeeded_private()
207 final Intent intent = new Intent(Intent.ACTION_VIEW, URI_FORCE) in testNeeded_force()
222 final Intent intent = new Intent(Intent.ACTION_VIEW, uri) in testNeeded_complex_top()
228 final Intent intent = new Intent(Intent.ACTION_VIEW, uri) in testNeeded_complex_top()
238 final Intent intent = new Intent(Intent.ACTION_VIEW, uri) in testNeeded_complex_top()
258 final Intent intent = new Intent(Intent.ACTION_VIEW, uri) in testNeeded_complex_top_differentUser()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DBroadcastSenderTest.kt60 val intent = Intent(Intent.ACTION_VIEW) in sendBroadcast_dispatchesWithWakelock()
70 val intent = Intent(Intent.ACTION_VIEW) in sendBroadcastWithPermission_dispatchesWithWakelock()
81 val intent = Intent(Intent.ACTION_VIEW) in sendBroadcastAsUser_dispatchesWithWakelock()
91 val intent = Intent(Intent.ACTION_VIEW) in sendBroadcastAsUserWithPermission_dispatchesWithWakelock()
102 val intent = Intent(Intent.ACTION_VIEW) in sendBroadcastAsUserWithPermissionAndOptions_dispatchesWithWakelock()
116 val intent = Intent(Intent.ACTION_VIEW) in sendBroadcastAsUserWithPermissionAndAppOp_dispatchesWithWakelock()
/frameworks/base/services/core/java/com/android/server/pm/
DDefaultCrossProfileIntentFiltersUtils.java86 .addAction(Intent.ACTION_VIEW)
103 .addAction(Intent.ACTION_VIEW)
120 .addAction(Intent.ACTION_VIEW)
135 .addAction(Intent.ACTION_VIEW)
186 .addAction(Intent.ACTION_VIEW)
202 .addAction(Intent.ACTION_VIEW)
500 .addAction(Intent.ACTION_VIEW)
514 .addAction(Intent.ACTION_VIEW)
529 .addAction(Intent.ACTION_VIEW)
582 .addAction(Intent.ACTION_VIEW)
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationCollectorTest.kt101 addAction(Intent.ACTION_VIEW) in verifyV1NoValidIntentFilter()
119 addAction(Intent.ACTION_VIEW) in verifyV1NoValidIntentFilter()
280 addAction(Intent.ACTION_VIEW) in mockPkg()
295 addAction(Intent.ACTION_VIEW) in mockPkg()
312 addAction(Intent.ACTION_VIEW) in mockPkg()
329 addAction(Intent.ACTION_VIEW) in mockPkg()
343 addAction(Intent.ACTION_VIEW) in mockPkg()
DDomainVerificationUserSelectionOverrideTest.kt123 addAction(Intent.ACTION_VIEW) in mockPkgState()
138 addAction(Intent.ACTION_VIEW) in mockPkgState()
DDomainVerificationValidIntentTest.kt101 val action: String = Intent.ACTION_VIEW,
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DVersionDialog.java60 activity.startActivity(new Intent(Intent.ACTION_VIEW, in onCreateDialog()
64 activity.startActivity(new Intent(Intent.ACTION_VIEW, in onCreateDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
DQuickAccessWalletControllerTest.java249 assertEquals(intent.getAction(), Intent.ACTION_VIEW); in getQuickAccessUiIntent_hasCards_noPendingIntent_startsWalletActivity()
261 assertEquals(intent.getAction(), Intent.ACTION_VIEW); in getQuickAccessUiIntent_noCards_noPendingIntent_startsWalletActivity()
273 Intent intent = new Intent(Intent.ACTION_VIEW).setClassName( in getQuickAccessUiIntent_targetActivityViaPendingIntent_intentComponentIsCorrect()
285 assertEquals(intent.getAction(), Intent.ACTION_VIEW); in getQuickAccessUiIntent_targetActivityViaPendingIntent_intentComponentIsCorrect()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java288 Intent.ACTION_VIEW, Intent.CATEGORY_BROWSABLE); in forwardToManagedProfile_canForward_selectorIntent()
295 assertEquals(Intent.ACTION_VIEW, intentCaptor.getValue().getAction()); in forwardToManagedProfile_canForward_selectorIntent()
312 assertEquals(Intent.ACTION_VIEW, innerIntent.getAction()); in forwardToManagedProfile_canForward_selectorIntent()
411 .setAction(Intent.ACTION_VIEW) in shouldSkipDisclosure_callIntent_actionViewTel()
477 .setAction(Intent.ACTION_VIEW) in shouldSkipDisclosure_textMessageIntent_actionViewSms()
491 .setAction(Intent.ACTION_VIEW) in shouldSkipDisclosure_textMessageIntent_actionViewSmsto()
505 .setAction(Intent.ACTION_VIEW) in shouldSkipDisclosure_textMessageIntent_actionViewMms()
519 .setAction(Intent.ACTION_VIEW) in shouldSkipDisclosure_textMessageIntent_actionViewMmsto()
546 .setAction(Intent.ACTION_VIEW) in shouldSkipDisclosure_viewBrowsableIntent_invalidUri()
560 .setAction(Intent.ACTION_VIEW) in shouldSkipDisclosure_viewBrowsableIntent_normalUrl()
[all …]
/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/
DBubblePositionerTest.kt270 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testGetExpandedViewHeight_max()
418 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_phoneLandscape()
435 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_phonePortrait()
454 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_smallTabletLandscape()
472 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_smallTabletPortrait()
491 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_largeScreenLandscape()
509 val intent = Intent(Intent.ACTION_VIEW).setPackage(context.packageName) in testExpandedViewY_largeScreenPortrait()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapperTest.kt179 Intent(Intent.ACTION_VIEW), in actionViewDetached_pendingIntentListenersDeregistered()
200 Intent(Intent.ACTION_VIEW), in actionViewUpdated_oldPendingIntentListenersRemoved()
242 Intent(Intent.ACTION_VIEW), in createActionWithPendingIntent()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/app/
DHdrImageViewer.kt35 Intent.ACTION_VIEW -> { in onCreate()
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DSystemServiceCallLoadTest.java54 Intent intent = new Intent(Intent.ACTION_VIEW); in test()
/frameworks/base/core/java/android/text/style/
DURLSpan.java104 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in onClick()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMimeTest.java116 Intent viewIntent = new Intent(Intent.ACTION_VIEW); in resolveMime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryStateNotifier.kt58 val intent = Intent(Intent.ACTION_VIEW, in onBatteryUnknownStateChanged()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppSearchShortcutInfoTest.java49 final Intent shortcutIntent = new Intent(Intent.ACTION_VIEW); in testBuildShortcutAndGetValue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceConfigTest.kt43 assertThat(intent?.action).isEqualTo(Intent.ACTION_VIEW) in appStoreIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceConfig.kt187 return Intent(Intent.ACTION_VIEW).apply { in appStoreIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/ui/activity/
DSwitchToManagedProfileForCallActivity.kt75 Intent.ACTION_VIEW, in onCreate()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DLaunchBubbleActivity.java85 .setIntent(new Intent(Intent.ACTION_VIEW)) in addInboxShortcut()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1544 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcut()
1554 .setIntent(makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class)) in makeShortcutExcludedFromLauncher()
1565 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithTitle()
1571 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithShortLabel()
1580 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithTimestamp()
1592 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithTimestampWithActivity()
1603 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithIcon()
1612 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makePackageShortcut()
1636 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithActivity()
1649 makeIntent(Intent.ACTION_VIEW, ShortcutActivity.class), /* rank =*/ 0); in makeShortcutWithActivityAndTitle()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java107 Intent intent = new Intent(Intent.ACTION_VIEW, mUri); in onClick()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java143 return new Intent(Intent.ACTION_VIEW, Uri.parse(url)).setFlags( in createLearnMoreIntent()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/activity/
DA11yMenuSettingsActivity.java113 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in initializeHelpAndFeedbackPreference()

1234