Searched refs:viewIntent (Results 1 – 6 of 6) sorted by relevance
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ext/ |
D | IntentExtTest.kt | 80 val viewIntent = Intent(Intent.ACTION_VIEW) in ifMatch_notMatched() constant 82 viewIntent.ifMatch(hasSendAction) { addFlags(Intent.FLAG_ACTIVITY_MATCH_EXTERNAL) } in ifMatch_notMatched() 83 assertWithMessage("viewIntent flags").that(viewIntent.flags).isEqualTo(0) in ifMatch_notMatched()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | ApplicationFeatureProviderImplTest.java | 264 final Intent viewIntent = new Intent(Intent.ACTION_VIEW); in testFindPersistentPreferredActivities() local 270 when(mPackageManagerService.findPersistentPreferredActivity(viewIntent, MAIN_USER_ID)) in testFindPersistentPreferredActivities() 272 when(mPackageManagerService.findPersistentPreferredActivity(viewIntent, MANAGED_PROFILE_ID)) in testFindPersistentPreferredActivities() 293 new Intent[]{viewIntent, editIntent, sendIntent})) in testFindPersistentPreferredActivities() 296 new Intent[]{viewIntent, editIntent, sendIntent})) in testFindPersistentPreferredActivities()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ShowOrCreateActivity.java | 181 final Intent viewIntent = new Intent(Intent.ACTION_VIEW, contactUri); in onQueryComplete() local 182 ImplicitIntentsUtil.startActivityInApp(this, viewIntent); in onQueryComplete()
|
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivityTest.java | 596 final CompletableFuture<Intent> viewIntent = new CompletableFuture<>(); in testUnsupportedScheme() local 597 mActivityScenario.onActivity(a -> a.mOpenInBrowserIntent.thenAccept(viewIntent::complete)); in testUnsupportedScheme() 604 viewIntent.get(TEST_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testUnsupportedScheme()
|
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/ |
D | ChooserActivityTest.java | 351 Intent viewIntent = createViewTextIntent(); in customTitle() local 356 Intent.createChooser(viewIntent, "chooser test")); in customTitle() 2780 Intent viewIntent = createSendTextIntent(); in chooserDisabledWhileDeviceFrpLocked() local 2782 Intent.createChooser(viewIntent, "chooser test")); in chooserDisabledWhileDeviceFrpLocked() 2899 Intent viewIntent = new Intent(); in createViewTextIntent() local 2900 viewIntent.setAction(Intent.ACTION_VIEW); in createViewTextIntent() 2901 viewIntent.putExtra(Intent.EXTRA_TEXT, "testing intent viewing"); in createViewTextIntent() 2902 return viewIntent; in createViewTextIntent()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.kt | 285 val viewIntent: PendingIntent = in <lambda>() constant 290 val info = AlarmClockInfo(alarmTime, viewIntent) in <lambda>()
|