Home
last modified time | relevance | path

Searched refs:setIntent (Results 1 – 25 of 186) sorted by relevance

12345678

/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/sdksandbox/
DSandboxedActivityTest.java97 sandboxedActivity.setIntent(intent); in testSandboxedActivityCreation()
118 sandboxedActivity.setIntent(new Intent()); in testSandboxedActivityFinishIfNoIntentExtras()
137 sandboxedActivity.setIntent(intent); in testSandboxedActivityFinishIfNoIntentExtrasNotHavingTheHandlerToken()
158 sandboxedActivity.setIntent(intent); in testSandboxedActivityFinishIfHandlerTokenIsWrongType()
174 sandboxedActivity.setIntent(intent); in testSandboxedActivityFinishIfHandlerNotRegistered()
194 sandboxedActivity1.setIntent(intent); in testMultipleSandboxedActivitiesForTheSameHandler()
199 sandboxedActivity2.setIntent(intent); in testMultipleSandboxedActivitiesForTheSameHandler()
219 sandboxedActivity.setIntent(intent); in testAttachBaseContextWrapsTheBaseContextIfCustomizedSdkContextFlagIsEnabled()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DLegalState.java67 termsPreference.setIntent(new Intent().setAction("android.settings.TERMS")); in onCreate()
72 licensePreference.setIntent(new Intent().setAction("android.settings.LICENSE")); in onCreate()
77 copyrightPreference.setIntent(new Intent().setAction("android.settings.COPYRIGHT")); in onCreate()
82 webViewLicensePreference.setIntent(new Intent() in onCreate()
88 adsPreference.setIntent(new Intent() in onCreate()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/configuration/
DConfigurationManagerTest.kt202 configurationManager.setIntent(Intent("TEST_ACTION")) in testSetIntentUpdatesConfiguration()
239 configurationManager.setIntent(intent) in testSetIntentSetsSelectionLimit()
279 configurationManager.setIntent(intent) in testSetIntentSetsSelectionLimitThrowsOnIllegalConfiguration()
323 configurationManager.setIntent(intentTooHigh) in testSetIntentSetsSelectionLimitThrowsOnIllegalRange()
328 configurationManager.setIntent(intentTooLow) in testSetIntentSetsSelectionLimitThrowsOnIllegalRange()
/packages/services/Telephony/src/com/android/phone/
DGsmUmtsCallOptions.java103 callForwardingPref.setIntent( in init()
120 additionalGsmSettingsPref.setIntent( in init()
133 callBarringPref.setIntent(subInfoHelper.getIntent(GsmUmtsCallBarringOptions.class)); in init()
DCallFeaturesSetting.java386 mVoicemailSettingsScreen.setIntent(mSubscriptionInfoHelper.getIntent( in onResume()
413 fdnButton.setIntent(mSubscriptionInfoHelper.getIntent(FdnSetting.class)); in onResume()
415 cdmaOptions.setIntent(mSubscriptionInfoHelper.getIntent(CdmaCallOptions.class)); in onResume()
416 gsmOptions.setIntent(mSubscriptionInfoHelper.getIntent(GsmUmtsCallOptions.class)); in onResume()
434 cdmaOptions.setIntent(mSubscriptionInfoHelper.getIntent(CdmaCallOptions.class)); in onResume()
502 mButtonWifiCalling.setIntent(intent); in updateVtWfc()
594 setIntent(newIntent); in onNewIntent()
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
DMainlineModuleVersionPreferenceController.java97 preference.setIntent(MODULE_UPDATE_V2_INTENT); in updateState()
105 preference.setIntent(MODULE_UPDATE_INTENT); in updateState()
109 preference.setIntent(null); in updateState()
/packages/apps/DeskClock/src/com/android/deskclock/controller/
DShortcutController.kt85 .setIntent(intent) in createNewAlarmShortcut()
102 .setIntent(intent) in createNewTimerShortcut()
134 .setIntent(intent) in createStopwatchShortcut()
150 .setIntent(intent) in createScreensaverShortcut()
/packages/apps/Settings/src/com/android/settings/backup/
DBackupSettingsPreferenceController.java53 backupSettings.setIntent(mBackupSettingsIntent); in displayPreference()
56 manufacturerSettings.setIntent(mManufacturerIntent); in displayPreference()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageFragment.java172 mMigratePref.setIntent( in refresh()
181 mEjectPref.setIntent(UnmountActivity.getIntent(getContext(), mVolumeInfo.getId(), in refresh()
185 mErasePref.setIntent( in refresh()
189 mErasePref.setIntent( in refresh()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/
DWallpaperTypePreferenceControllerTest.java62 mPreference.setIntent(null); in testHandlePreferenceTreeClick_intentNull_shouldDoNothing()
71 mPreference.setIntent(mIntent); in testHandlePreferenceTreeClick_shouldLaunchIntent()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkFragment.java210 networkDiagnosticsPref.setIntent(networkDiagnosticsIntent); in onCreatePreferences()
341 mEthernetProxyPref.setIntent(EditProxySettingsActivity.createEthernetIntent( in updateConnectivity()
354 mEthernetDhcpPref.setIntent(EditIpSettingsActivity.createEthernetIntent(getContext(), in updateConnectivity()
430 pref.setIntent(null); in updateWifiList()
440 pref.setIntent(null); in updateWifiList()
443 pref.setIntent(WifiConnectionActivity.createIntent(getContext(), accessPoint)); in updateWifiList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsagePreferenceTest.java67 verify(mPreference).setIntent(null); in setTemplate_noDataUsage_shouldDisablePreference()
79 verify(mPreference).setIntent(any(Intent.class)); in setTemplate_hasDataUsage_shouldNotDisablePreference()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DShortcutInfoFactory.java71 .setIntent(intent) in buildShortcutInfos()
93 .setIntent(info.getIntent()) in withUpdatedIcon()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenModeSetTriggerLinkPreferenceController.java73 switchPref.setIntent(new SubSettingLauncher(mContext) in updateState()
83 switchPref.setIntent(new SubSettingLauncher(mContext) in updateState()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackActivity.java48 setIntent(createProgramIntent(getIntent())); in onCreate()
64 setIntent(createProgramIntent(intent)); in onNewIntent()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsagePreference.java67 setIntent(getIntent()); in setTemplate()
69 setIntent(null); in setTemplate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsInitializeTest.java60 .setIntent(intent) in refreshExistingShortcuts_shouldUpdateLaunchIntentFlagsForExistingShortcut()
86 .setIntent(new Intent(Intent.ACTION_DEFAULT)) in refreshExistingShortcuts_shouldNotUpdateImmutableShortcut()
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DBackupSettingsPreferenceControllerTest.java84 verify(mBackupPreference).setIntent(sBackupIntent); in testDisplayPreference()
87 verify(mManufacturerPreference).setIntent(sManufacturerIntent); in testDisplayPreference()
/packages/apps/Dialer/java/com/android/bubble/
DBubbleInfo.java102 .setIntent(action.getIntent()) in from()
120 public abstract Builder setIntent(@NonNull PendingIntent intent); in setIntent() method in BubbleInfo.Action.Builder
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/network/
DAccessPointPreferenceController.java82 mPreferenceCompat.setIntent(null); in init()
87 mPreferenceCompat.setIntent(i); in init()
/packages/apps/Dialer/java/com/android/incallui/
DReturnToCallController.java325 .setIntent(fullScreen) in generateActions()
334 .setIntent(toggleMute) in generateActions()
348 .setIntent(speakerButtonInfo.nonBluetoothMode ? toggleSpeaker : showSpeakerSelect) in generateActions()
354 .setIntent(endCall) in generateActions()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DPairNewDevicePreferenceControllerUnitTest.java172 mSwitchPreference.setIntent(intent); in preferenceClicked_triggersCustomPairingFlow_whenSystemApplicationIsFound()
202 mSwitchPreference.setIntent(intent); in preferenceClicked_triggersDefaultPairingFlow_whenNoMatchingApplicationsFound()
225 mSwitchPreference.setIntent(intent); in preferenceClicked_triggersDefaultPairingFlow_whenNonSystemApplicationIsFound()
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
DVoicemailSettingsFragment.java280 voicemailChangePinPreference.setIntent(changePinIntent); in setupVoicemailChangePinPreference()
299 voicemailNotificationPreference.setIntent(getNotificationSettingsIntent()); in setupNotificationsPreference()
322 changeGreetingPreference.setIntent(changeGreetingIntent); in setupChangeGreetingPreference()
343 advancedSettingsPreference.setIntent(advancedSettingsIntent); in setupAdvancedSettingsPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DLocaleListEditorTest.java410 mActivity.setIntent(intent); in showDiallogForAddedLocale_invalidLocale_noDialog()
424 mActivity.setIntent(intent); in showDiallogForAddedLocale_noDialogType_noDialog()
439 mActivity.setIntent(intent); in showDiallogForAddedLocale_inSystemLocale_noDialog()
452 mActivity.setIntent(intent); in initIntentAndResourceForLocaleDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeSetTriggerLinkPreferenceControllerTest.java167 verify(mPreference).setIntent(captor.capture()); in testRuleLink_calendar()
192 verify(mPreference).setIntent(captor.capture()); in testRuleLink_schedule()

12345678