Home
last modified time | relevance | path

Searched refs:activityStarter (Results 1 – 25 of 215) sorted by relevance

123456789

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricNotificationDialogFactory.java63 int userId, ActivityStarter activityStarter, BiometricSourceType biometricSourceType, in createReenrollDialog() argument
82 userId, biometricSourceType, activityStarter)); in createReenrollDialog()
108 int userId, BiometricSourceType biometricType, ActivityStarter activityStarter) { in onReenrollDialogConfirm() argument
110 reenrollFace(userId, activityStarter); in onReenrollDialogConfirm()
112 reenrollFingerprint(userId, activityStarter); in onReenrollDialogConfirm()
117 private void reenrollFingerprint(int userId, ActivityStarter activityStarter) { in reenrollFingerprint() argument
152 activityStarter.startActivity(intent); in reenrollFingerprint()
159 private void reenrollFace(int userId, ActivityStarter activityStarter) { in reenrollFace() argument
192 activityStarter.startActivity(intent); in reenrollFace()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/domain/interactor/
DFooterActionsInteractorTest.kt103 val activityStarter = mock<ActivityStarter>() in showSettings_userSetUp() constant
112 activityStarter = activityStarter, in showSettings_userSetUp()
126 verify(activityStarter) in showSettings_userSetUp()
137 val activityStarter = mock<ActivityStarter>() in showSettings_userNotSetUp() constant
145 activityStarter = activityStarter, in showSettings_userNotSetUp()
152 verify(activityStarter).postQSRunnableDismissingKeyguard(any()) in showSettings_userNotSetUp()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/base/actions/
DQSTileIntentUserInputHandlerTest.kt52 @Mock private lateinit var activityStarter: ActivityStarter variable in com.android.systemui.qs.tiles.base.actions.QSTileIntentUserInputHandlerTest
59 underTest = QSTileIntentUserInputHandlerImpl(activityStarter, packageManager, user) in setup()
68 verify(activityStarter).postStartActivityDismissingKeyguard(eq(intent), eq(0), any()) in testPassesIntentToStarter()
77 verify(activityStarter).startActivity(eq(intent), eq(true), any(), eq(true)) in testPassesIntentToStarter_dismissShadeAndShowOverLockScreenWhenLocked()
86 verify(activityStarter).postStartActivityDismissingKeyguard(eq(pendingIntent), any()) in testPassesActivityPendingIntentToStarterAsPendingIntent()
95 verify(activityStarter).postStartActivityDismissingKeyguard(eq(pendingIntent), any()) in testPassesActivityPendingIntentToStarterAsPendingIntentWhenNotRequestingActivityStart()
118 verify(activityStarter) in testPassNonActivityPendingIntentAndRequestStartingActivity_findsIntentAndStarts()
132 verify(activityStarter, never()) in testPassNonActivityPendingIntentAndDoNotRequestStartingActivity_doesNotStartActivity()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeHeaderClockInteractorTest.kt26 import com.android.systemui.plugins.activityStarter
46 private val activityStarter = kosmos.activityStarter constant
55 verify(activityStarter) in launchClockActivity_default()
72 verify(activityStarter).postStartActivityDismissingKeyguard(any()) in launchClockActivity_nextAlarmIntent()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/domain/interactor/
DShadeHeaderClockInteractorKosmos.kt20 import com.android.systemui.plugins.activityStarter
27 activityStarter = activityStarter, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSettingsViewBinder.kt50 activityStarter: ActivityStarter in <lambda>()
80 if (activityStarter != null) { in <lambda>()
86 activityStarter = activityStarter, in <lambda>()
112 activityStarter: ActivityStarter, in <lambda>()
115 activityStarter.postStartActivityDismissingKeyguard( in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/ui/viewmodel/
DShadeHeaderViewModelTest.kt18 import com.android.systemui.plugins.activityStarter
73 val activityStarter = kosmos.activityStarter in onClockClicked_launchesClock() constant
76 verify(activityStarter) in onClockClicked_launchesClock()
86 val activityStarter = kosmos.activityStarter in onShadeCarrierGroupClicked_launchesNetworkSettings() constant
89 verify(activityStarter) in onShadeCarrierGroupClicked_launchesNetworkSettings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeHeaderClockInteractor.kt31 private val activityStarter: ActivityStarter, constant in com.android.systemui.shade.domain.interactor.ShadeHeaderClockInteractor
37 activityStarter.postStartActivityDismissingKeyguard(nextAlarmIntent) in launchClockActivity()
39 activityStarter.postStartActivityDismissingKeyguard( in launchClockActivity()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/
DCallChipViewModelKosmos.kt21 import com.android.systemui.plugins.activityStarter
31 activityStarter = activityStarter, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaRecommendationsInteractorKosmos.kt25 import com.android.systemui.plugins.activityStarter
35 activityStarter = activityStarter, in <lambda>()
DMediaControlInteractorKosmos.kt27 import com.android.systemui.plugins.activityStarter
39 activityStarter = activityStarter, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/interactor/
DScreenRecordTileUserActionInteractorTest.kt33 import com.android.systemui.plugins.activityStarter
58 private val activityStarter = kosmos.activityStarter constant in com.android.systemui.qs.tiles.impl.screenrecord.domain.interactor.ScreenRecordTileUserActionInteractorTest
69 eq(activityStarter), in <lambda>()
95 activityStarter,
127 eq(activityStarter), in <lambda>()
165 eq(activityStarter), in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/
DQuickAccessWalletController.java248 public void startQuickAccessUiIntent(ActivityStarter activityStarter, in startQuickAccessUiIntent() argument
254 startQuickAccessViaPendingIntent(walletPendingIntent, activityStarter, in startQuickAccessUiIntent()
265 startQuickAccessViaIntent(intent, hasCard, activityStarter, in startQuickAccessUiIntent()
278 ActivityStarter activityStarter, in startQuickAccessViaIntent() argument
281 activityStarter.startActivity(intent, true /* dismissShade */, in startQuickAccessViaIntent()
284 activityStarter.postStartActivityDismissingKeyguard( in startQuickAccessViaIntent()
292 ActivityStarter activityStarter, in startQuickAccessViaPendingIntent() argument
294 activityStarter.postStartActivityDismissingKeyguard( in startQuickAccessViaPendingIntent()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/
DQuickSettingsKosmos.kt33 import com.android.systemui.plugins.activityStarter
68 activityStarter, in <lambda>()
77 activityStarter = activityStarter, in <lambda>()
98 activityStarter, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/actions/
DQSTileIntentUserInputHandler.kt54 private val activityStarter: ActivityStarter, constant in com.android.systemui.qs.tiles.base.actions.QSTileIntentUserInputHandlerImpl
69 activityStarter.startActivity( in handle()
76 activityStarter.postStartActivityDismissingKeyguard(intent, 0, animationController) in handle()
91 activityStarter.postStartActivityDismissingKeyguard(pendingIntent, animationController) in handle()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/widgets/
DWidgetInteractionHandlerTest.kt42 private val activityStarter = mock<ActivityStarter>() constant
54 WidgetInteractionHandler(activityStarter) in <lambda>()
67 verify(activityStarter) in launchAnimatorIsUsedForWidgetView()
88 verify(activityStarter) in launchAnimatorIsNotUsedForRegularView()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/smartspace/
DSmartspaceInteractionHandlerTest.kt43 private val activityStarter = mock<ActivityStarter>() constant
55 SmartspaceInteractionHandler(activityStarter) in <lambda>()
68 verify(activityStarter) in launchAnimatorIsUsedForSmartspaceView()
89 verify(activityStarter) in launchAnimatorIsNotUsedForRegularView()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/deviceentry/domain/interactor/
DOccludingAppDeviceEntryInteractorKosmos.kt27 import com.android.systemui.plugins.activityStarter
42 activityStarter = activityStarter, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/shade/ui/viewmodel/
DShadeHeaderViewModelKosmos.kt23 import com.android.systemui.plugins.activityStarter
36 activityStarter = activityStarter, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/interactor/factory/
DMediaControlInteractorFactoryKosmos.kt28 import com.android.systemui.plugins.activityStarter
42 activityStarter = activityStarter, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractorKosmos.kt30 import com.android.systemui.plugins.activityStarter
41 activityStarter = activityStarter, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/brightness/domain/interactor/
DBrightnessPolicyEnforcementInteractorKosmos.kt21 import com.android.systemui.plugins.activityStarter
25 BrightnessPolicyEnforcementInteractor(brightnessPolicyRepository, activityStarter) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemActionInteractorTest.kt32 import com.android.systemui.plugins.activityStarter
196 verify(activityStarter, Mockito.never()) in testOnClick_audioSharingDisabled_shouldNotLaunchSettings()
230 verify(activityStarter, Mockito.never()) in testOnClick_inAudioSharing_clickedDeviceHasSource_shouldNotLaunchSettings()
265 verify(activityStarter) in testOnClick_inAudioSharing_clickedDeviceNoSource_shouldLaunchSettings()
288 verify(activityStarter, Mockito.never()) in testOnClick_noConnectedLeDevice_shouldNotLaunchSettings()
316 verify(activityStarter, Mockito.never()) in testOnClick_hasOneConnectedLeDevice_clickedNonLe_shouldNotLaunchSettings()
347 verify(activityStarter) in testOnClick_hasOneConnectedLeDevice_clickedLe_shouldLaunchSettings()
375 verify(activityStarter, Mockito.never()) in testOnClick_hasOneConnectedLeDevice_clickedConnectedLe_shouldNotLaunchSettings()
407 verify(activityStarter, Mockito.never()) in testOnClick_hasTwoConnectedLeDevice_clickedNotConnectedLe_shouldNotLaunchSettings()
442 verify(activityStarter) in testOnClick_hasTwoConnectedLeDevice_clickedConnectedLe_shouldLaunchSettings()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/interactor/
DFontScalingUserActionInteractorTest.kt67 @Mock private lateinit var activityStarter: ActivityStarter variable in com.android.systemui.qs.tiles.impl.fontscaling.domain.interactor.FontScalingUserActionInteractorTest
75 activityStarter = mock<ActivityStarter>() in setup()
92 activityStarter in setup()
103 verify(activityStarter) in clickTile_screenUnlocked_showDialogAnimationFromView()
122 verify(activityStarter) in clickTile_onLockScreen_neverShowDialogAnimationFromView_butShowsDialog()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/component/bottombar/ui/viewmodel/
DBottomBarViewModelKosmos.kt21 import com.android.systemui.plugins.activityStarter
27 activityStarter, in <lambda>()

123456789