Home
last modified time | relevance | path

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

123456789

/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
H A DBluetoothRequestPermissionActivityTest.java86 mActivity.setIntent(intent); in onCreate_requestDisableIntent_hasDisableRequestType()
96 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_hasDiscoverableRequestType()
106 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_noTimeoutSpecified_hasDefaultTimeout()
118 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_timeoutSpecified_hasTimeout()
131 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_bypassforSetup_startsDiscoverableScan()
144 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_noDialog()
156 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_receiverRegistered()
168 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_bypassforSetup_turningOn_enableDiscovery()
195 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_bypassforGeneric_noScanModeChange()
204 mActivity.setIntent(intent); in onCreate_requestEnableIntent_hasEnableRequestType()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
H A DLaunchConversationActivityTest.java137 mActivity.setIntent(mIntent); in testDoNotClearNotificationIfNoKey()
148 mActivity.setIntent(mIntent); in testDoNotClearNotificationIfNoNotificationEntry()
159 mActivity.setIntent(mIntent); in testDoNotClearNotificationIfNoRanking()
170 mActivity.setIntent(mIntent); in testEntryClearsNotificationAndDoesNotOpenBubble()
191 mActivity.setIntent(mIntent); in testBubbleEntryOpensBubbleAndDoesNotClearNotification()
210 mActivity.setIntent(mIntent); in testQuietModeOpensQuietModeDialog()
230 mActivity.setIntent(mIntent); in testBubbleWithNoNotifOpensBubble()
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DGsmUmtsCallOptions.java86 callForwardingPref.setIntent( in init()
101 additionalGsmSettingsPref.setIntent( in init()
112 callBarringPref.setIntent(subInfoHelper.getIntent(GsmUmtsCallBarringOptions.class)); in init()
H A DCallFeaturesSetting.java369 mVoicemailSettingsScreen.setIntent(mSubscriptionInfoHelper.getIntent( in onResume()
396 fdnButton.setIntent(mSubscriptionInfoHelper.getIntent(FdnSetting.class)); in onResume()
398 cdmaOptions.setIntent(mSubscriptionInfoHelper.getIntent(CdmaCallOptions.class)); in onResume()
399 gsmOptions.setIntent(mSubscriptionInfoHelper.getIntent(GsmUmtsCallOptions.class)); in onResume()
417 cdmaOptions.setIntent(mSubscriptionInfoHelper.getIntent(CdmaCallOptions.class)); in onResume()
483 mButtonWifiCalling.setIntent(intent); in updateVtWfc()
575 setIntent(newIntent); in onNewIntent()
/aosp12/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
H A DMainlineModuleVersionPreferenceController.java91 preference.setIntent(MODULE_UPDATE_V2_INTENT); in updateState()
99 preference.setIntent(MODULE_UPDATE_INTENT); in updateState()
103 preference.setIntent(null); in updateState()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DWorkLockActivityTest.java99 mActivity.setIntent(new Intent() in testBackgroundAlwaysOpaque()
106 mActivity.setIntent(new Intent() in testBackgroundAlwaysOpaque()
113 mActivity.setIntent(new Intent() in testBackgroundAlwaysOpaque()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/controller/
H A DShortcutController.kt85 .setIntent(intent)
102 .setIntent(intent)
134 .setIntent(intent)
150 .setIntent(intent)
/aosp12/packages/apps/Settings/src/com/android/settings/backup/
H A DBackupSettingsPreferenceController.java53 backupSettings.setIntent(mBackupSettingsIntent); in displayPreference()
56 manufacturerSettings.setIntent(mManufacturerIntent); in displayPreference()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/
H A DWallpaperTypePreferenceControllerTest.java61 mPreference.setIntent(null); in testHandlePreferenceTreeClick_intentNull_shouldDoNothing()
70 mPreference.setIntent(mIntent); in testHandlePreferenceTreeClick_shouldLaunchIntent()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest2.java96 () -> new ShortcutInfo.Builder(getTestContext(), "id").setIntent(null)); in testShortcutInfoMissingMandatoryFields()
231 .setIntent(makeIntent("action", ShortcutActivity.class)) in testShortcutInfoParcel()
250 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoParcel()
310 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoParcel_resId()
363 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoClone()
511 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoClone_resId()
628 .setIntent(makeIntent("action", ShortcutActivity.class)) in testShortcutInfoClone_minimum()
674 .setIntent(makeIntent("action", ShortcutActivity.class, "key", "val")) in testShortcutInfoCopyNonNullFieldsFrom()
766 .setIntent(makeIntent("action2", ShortcutActivity.class)).build()); in testShortcutInfoCopyNonNullFieldsFrom()
895 .setIntent(makeIntent("action2", ShortcutActivity.class)).build()); in testShortcutInfoCopyNonNullFieldsFrom_resId()
[all …]
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityStarterTests.java273 .setIntent(intent) in verifyStartActivityPreconditionsUntracked()
291 .setIntent(intent) in verifyStartActivityPreconditionsUntracked()
377 .setIntent(intent) in prepareStarter()
784 .setIntent(activity.intent.addFlags( in testBringTaskToFrontWhenFocusedTaskIsFinishing()
822 .setIntent(topActivityOnSecondaryDisplay.intent) in testDeliverIntentToTopActivityOfNonTopDisplay()
867 .setIntent(singleTaskActivity.intent) in testBringTaskToFrontOnSecondaryDisplay()
957 .setIntent(topActivity.intent) in testReparentTopFocusedActivityToSecondaryDisplay()
1019 starter.setReason("testNoActivityInfo").setIntent(intent) in testNoActivityInfo()
1047 starter.setIntent(intent).execute(); in testNotAllowIntentWithFd()
1192 .setIntent(intent) in testLaunchCookie_newAndExistingTask()
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
H A DDataUsagePreferenceTest.java65 verify(mPreference).setIntent(null); in setTemplate_noDataUsage_shouldDisablePreference()
76 verify(mPreference).setIntent(any(Intent.class)); in setTemplate_hasDataUsage_shouldNotDisablePreference()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
H A DStorageFragment.java174 mMigratePref.setIntent( in refresh()
183 mEjectPref.setIntent(UnmountActivity.getIntent(getContext(), mVolumeInfo.getId(), in refresh()
187 mErasePref.setIntent( in refresh()
191 mErasePref.setIntent( in refresh()
/aosp12/packages/apps/Dialer/java/com/android/dialer/shortcuts/
H A DShortcutInfoFactory.java71 .setIntent(intent) in buildShortcutInfos()
93 .setIntent(info.getIntent()) in withUpdatedIcon()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/
H A DPreferenceParcelable.java190 public void setIntent(Intent intent) { in setIntent() method in PreferenceParcelable
234 copy.setIntent(new Intent(intent)); in immutableCopy()
281 preferenceParcelable.setIntent(
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
H A DDvrPlaybackActivity.java48 setIntent(createProgramIntent(getIntent())); in onCreate()
64 setIntent(createProgramIntent(intent)); in onNewIntent()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/
H A DSettingsInitializeTest.java60 .setIntent(intent) in refreshExistingShortcuts_shouldUpdateLaunchIntentFlagsForExistingShortcut()
86 .setIntent(new Intent(Intent.ACTION_DEFAULT)) in refreshExistingShortcuts_shouldNotUpdateImmutableShortcut()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
H A DBackupSettingsPreferenceControllerTest.java84 verify(mBackupPreference).setIntent(sBackupIntent); in testDisplayPreference()
87 verify(mManufacturerPreference).setIntent(sManufacturerIntent); in testDisplayPreference()
/aosp12/packages/apps/Dialer/java/com/android/bubble/
H A DBubbleInfo.java102 .setIntent(action.getIntent()) in from()
120 public abstract Builder setIntent(@NonNull PendingIntent intent); in setIntent() method in BubbleInfo.Action.Builder
/aosp12/packages/apps/Settings/src/com/android/settings/datausage/
H A DDataUsagePreference.java68 setIntent(getIntent()); in setTemplate()
70 setIntent(null); in setTemplate()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DNetworkFragment.java189 mEthernetProxyPref.setIntent(EditProxySettingsActivity.createIntent(getContext(), in onCreatePreferences()
192 mEthernetDhcpPref.setIntent(EditIpSettingsActivity.createIntent(getContext(), in onCreatePreferences()
217 networkDiagnosticsPref.setIntent(networkDiagnosticsIntent); in onCreatePreferences()
404 pref.setIntent(null); in updateWifiList()
407 pref.setIntent(WifiConnectionActivity.createIntent(getContext(), accessPoint)); in updateWifiList()
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A DReturnToCallController.java325 .setIntent(fullScreen) in generateActions()
334 .setIntent(toggleMute) in generateActions()
348 .setIntent(speakerButtonInfo.nonBluetoothMode ? toggleSpeaker : showSpeakerSelect) in generateActions()
354 .setIntent(endCall) in generateActions()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
H A DWorkPolicyInfoPreferenceControllerTest.java188 verify(mPreference, never()).setIntent(any()); in verifyPreferenceIntentNotSet()
192 verify(mPreference).setIntent(showWorkPolicyInfoIntent()); in verifyPreferenceIntentSet()
/aosp12/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
H A DInCallActivity.java110 setIntent(i); in onNewIntent()
132 setIntent(null); in updateVisibility()
/aosp12/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/
H A 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()

123456789