Home
last modified time | relevance | path

Searched refs:mActivityStarter (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DBiometricNotificationDialogFactoryTest.java67 @Mock BiometricNotificationDialogFactory.ActivityStarter mActivityStarter; field in BiometricNotificationDialogFactoryTest
94 mDialogFactory.createReenrollDialog(0, mActivityStarter, BiometricSourceType.FINGERPRINT, in testFingerprintReEnrollDialog_onRemovalSucceeded()
110 verify(mActivityStarter).startActivity(mIntentArgumentCaptor.capture()); in testFingerprintReEnrollDialog_onRemovalSucceeded()
120 mDialogFactory.createReenrollDialog(0, mActivityStarter, BiometricSourceType.FINGERPRINT, in testFingerprintReEnrollDialog_onRemovalError()
136 verify(mActivityStarter, never()).startActivity(any()); in testFingerprintReEnrollDialog_onRemovalError()
144 mDialogFactory.createReenrollDialog(0, mActivityStarter, BiometricSourceType.FINGERPRINT, in testFingerprintReEnrollDialog_forced()
157 mDialogFactory.createReenrollDialog(0, mActivityStarter, BiometricSourceType.FACE, in testFaceReEnrollDialog_onRemovalSucceeded()
173 verify(mActivityStarter).startActivity(mIntentArgumentCaptor.capture()); in testFaceReEnrollDialog_onRemovalSucceeded()
183 mDialogFactory.createReenrollDialog(0, mActivityStarter, BiometricSourceType.FACE, in testFaceReEnrollDialog_onRemovalError()
199 verify(mActivityStarter, never()).startActivity(any()); in testFaceReEnrollDialog_onRemovalError()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/users/
DEditUserInfoControllerTest.java63 private ActivityStarter mActivityStarter; field in EditUserInfoControllerTest
109 mController.createDialog(mActivity, mActivityStarter, mCurrentIcon, "test user", in photoControllerOnActivityResult_whenWaiting_isCalled()
128 mActivityStarter, mCurrentIcon, "test user", null, null); in userNameView_inputLongName_shouldBeConstrained()
142 mActivity, mActivityStarter, mCurrentIcon, "test", in cancelCallback_isCalled_whenCancelled()
158 mActivity, mActivityStarter, mCurrentIcon, "test", in cancelCallback_isCalled_whenNegativeClicked()
175 mActivity, mActivityStarter, oldUserIcon, "test", in successCallback_isCalled_whenNothingChanged()
193 mActivity, mActivityStarter, null, "test", in successCallback_calledWithNullIcon_whenOldIconIsNullAndNothingChanged()
211 mActivity, mActivityStarter, mCurrentIcon, "test", in successCallback_isCalled_whenLabelChanges()
232 mActivity, mActivityStarter, mCurrentIcon, "test", in successCallback_isCalled_whenPhotoChanges()
251 mActivity, mActivityStarter, null, "test", in successCallback_isCalledWithChangedPhoto_whenOldIconIsNullAndPhotoChanges()
[all …]
DCreateUserDialogControllerTest.java55 private ActivityStarter mActivityStarter; field in CreateUserDialogControllerTest
75 mActivityStarter, true, null, in positiveButton_grantAdminStage_noValue_OkButtonShouldBeDisabled()
92 mActivityStarter, false, null, in positiveButton_MultipleAdminDisabled_shouldSkipGrantAdminStage()
111 mActivityStarter, true, null, in editUserInfoController_shouldOnlyBeVisibleOnLastStage()
130 mActivityStarter, true, null, in positiveButton_MultipleAdminEnabled_shouldShowGrantAdminStage()
151 mActivityStarter, true, successCallback, in cancelCallback_isCalled_whenCancelled()
166 mActivityStarter, true, successCallback, in cancelCallback_isCalled_whenNegativeButtonClickedOnFirstStage()
182 mActivityStarter, true, successCallback, in cancelCallback_isNotCalled_whenNegativeButtonClickedOnSecondStage()
200 mActivityStarter, true, successCallback, in successCallback_isCalled_setNameAndAdminStatus()
224 mActivityStarter, false, successCallback, in successCallback_isCalled_setName_MultipleAdminDisabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardDismissUtilTest.java46 private ActivityStarter mActivityStarter; field in KeyguardDismissUtilTest
56 mKeyguardStateController, mStatusBarStateController, mActivityStarter); in setUp()
68 verify(mActivityStarter).dismissKeyguardThenExecute(mAction, null, true); in testSetLeaveOpenOnKeyguardHideWhenKeyGuardStateControllerIsShowing()
82 verify(mActivityStarter).dismissKeyguardThenExecute(mAction, null, true); in testSetLeaveOpenOnKeyguardHideWhenKeyGuardStateControllerIsNotShowing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DDreamMediaEntryComplicationTest.java73 private ActivityStarter mActivityStarter; field in DreamMediaEntryComplicationTest
118 mActivityStarter, in testClickToOpenUMO()
147 mActivityStarter, in testOnViewDetached()
177 mActivityStarter, in testClickToOpenMediaOverLockscreen()
192 verify(mActivityStarter).startActivity(mIntent, true, null, true); in testClickToOpenMediaOverLockscreen()
214 mActivityStarter, in testClickToOpenMediaDismissingLockscreen()
229 verify(mActivityStarter).postStartActivityDismissingKeyguard(mPendingIntent, null); in testClickToOpenMediaDismissingLockscreen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardDismissUtil.java36 private final ActivityStarter mActivityStarter; field in KeyguardDismissUtil
44 mActivityStarter = activityStarter; in KeyguardDismissUtil()
53 mActivityStarter.dismissKeyguardThenExecute(action, null /* cancelAction */, in executeWhenUnlocked()
DStatusBarNotificationActivityStarter.java121 private final ActivityStarter mActivityStarter; field in StatusBarNotificationActivityStarter
193 mActivityStarter = activityStarter; in StatusBarNotificationActivityStarter()
293 && mActivityStarter.shouldAnimateLaunch(isActivityIntent); in performActionAfterKeyguardDismissed()
312 mActivityStarter.dismissKeyguardThenExecute( in performActionAfterKeyguardDismissed()
529 boolean animate = mActivityStarter.shouldAnimateLaunch(true /* isActivityIntent */); in startNotificationGutsIntent()
561 mActivityStarter.dismissKeyguardThenExecute(onDismissAction, null, in startNotificationGutsIntent()
567 boolean animate = mActivityStarter.shouldAnimateLaunch(true /* isActivityIntent */); in startHistoryIntent()
610 mActivityStarter.dismissKeyguardThenExecute(onDismissAction, null, in startHistoryIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
DQuickAccessWalletControllerTest.java73 private ActivityStarter mActivityStarter; field in QuickAccessWalletControllerTest
245 mController.startQuickAccessUiIntent(mActivityStarter, mAnimationController, true); in getQuickAccessUiIntent_hasCards_noPendingIntent_startsWalletActivity()
246 verify(mActivityStarter).startActivity(mIntentCaptor.capture(), eq(true), in getQuickAccessUiIntent_hasCards_noPendingIntent_startsWalletActivity()
257 mController.startQuickAccessUiIntent(mActivityStarter, mAnimationController, false); in getQuickAccessUiIntent_noCards_noPendingIntent_startsWalletActivity()
258 verify(mActivityStarter).postStartActivityDismissingKeyguard(mIntentCaptor.capture(), eq(0), in getQuickAccessUiIntent_noCards_noPendingIntent_startsWalletActivity()
280 mController.startQuickAccessUiIntent(mActivityStarter, mAnimationController, true); in getQuickAccessUiIntent_targetActivityViaPendingIntent_intentComponentIsCorrect()
281 verify(mActivityStarter).postStartActivityDismissingKeyguard(mPendingIntentCaptor.capture(), in getQuickAccessUiIntent_targetActivityViaPendingIntent_intentComponentIsCorrect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyRecentsImpl.java40 private final ActivityStarter mActivityStarter; field in OverviewProxyRecentsImpl
50 mActivityStarter = activityStarter; in OverviewProxyRecentsImpl()
100 mActivityStarter.executeRunnableDismissingKeyguard( in toggleRecentApps()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSliderController.java69 private final ActivityStarter mActivityStarter; field in BrightnessSliderController
98 mActivityStarter = activityStarter; in BrightnessSliderController()
152 mActivityStarter.postStartActivityDismissingKeyguard(intent, 0); in setEnforcedAdmin()
287 private final ActivityStarter mActivityStarter; field in BrightnessSliderController.Factory
301 mActivityStarter = activityStarter; in Factory()
324 root, mFalsingManager, mUiEventLogger, plugin, mActivityStarter); in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletActivity.java68 private final ActivityStarter mActivityStarter; field in WalletActivity
100 mActivityStarter = activityStarter; in WalletActivity()
135 mActivityStarter, in onCreate()
166 mActivityStarter.startActivity( in onCreate()
173 mActivityStarter.startActivity( in onCreate()
264 mActivityStarter.startActivity(intent, true); in onOptionsItemSelected()
DWalletScreenController.java70 private final ActivityStarter mActivityStarter; field in WalletScreenController
102 mActivityStarter = activityStarter; in WalletScreenController()
237 mActivityStarter.startPendingIntentDismissingKeyguard(cardInfo.getPendingIntent()); in onCardClicked()
294 v -> mActivityStarter.startActivity(intent, true)); in showEmptyStateView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DDreamMediaEntryComplication.java105 private final ActivityStarter mActivityStarter; field in DreamMediaEntryComplication.DreamMediaEntryViewController
130 mActivityStarter = activityStarter; in DreamMediaEntryViewController()
165 mActivityStarter.startActivity(clickIntent.getIntent(), in onClickMediaEntry()
170 mActivityStarter.postStartActivityDismissingKeyguard(clickIntent, null); in onClickMediaEntry()
DDreamHomeControlsComplication.java205 private final ActivityStarter mActivityStarter; field in DreamHomeControlsComplication.DreamHomeControlsChipViewController
230 mActivityStarter = activityStarter; in DreamHomeControlsChipViewController()
288 mActivityStarter.startActivity(intent, true /* dismissShade */, controller, in onClickHomeControls()
292 mActivityStarter.postStartActivityDismissingKeyguard(intent, 0 /* delay */, in onClickHomeControls()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFooterViewControllerTest.java70 private ActivityStarter mActivityStarter; field in QSFooterViewControllerTest
99 mActivityStarter, mQSPanelController, in setup()
128 verifyZeroInteractions(mActivityStarter); in testEditButton_falseTap()
139 verify(mActivityStarter).postQSRunnableDismissingKeyguard(captor.capture()); in testEditButton_realTap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterViewController.java48 private final ActivityStarter mActivityStarter; field in QSFooterViewController
63 mActivityStarter = activityStarter; in QSFooterViewController()
91 mActivityStarter in onViewAttached()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DColorCorrectionTileTest.java66 private ActivityStarter mActivityStarter; field in ColorCorrectionTileTest
95 mActivityStarter, in setUp()
118 verify(mActivityStarter).postStartActivityDismissingKeyguard(IntentCaptor.capture(), in longClick_expectedAction()
DColorInversionTileTest.java71 private ActivityStarter mActivityStarter; field in ColorInversionTileTest
100 mActivityStarter, in setUp()
123 verify(mActivityStarter).postStartActivityDismissingKeyguard(IntentCaptor.capture(), in longClick_expectedAction()
DOneHandedModeTileTest.java56 private ActivityStarter mActivityStarter; field in OneHandedModeTileTest
90 mActivityStarter, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
DRecordingControllerTest.java91 private ActivityStarter mActivityStarter; field in RecordingControllerTest
264 mActivityStarter, in testPoliciesFlagDisabled_screenCapturingNotAllowed_returnsNullDevicePolicyDialog()
278 mDialogTransitionAnimator, mActivityStarter, /* onStartRecordingClicked= */ null); in testPartialScreenSharingDisabled_returnsLegacyDialog()
290 mDialogTransitionAnimator, mActivityStarter, /* onStartRecordingClicked= */ null); in testPoliciesFlagEnabled_screenCapturingNotAllowed_returnsDevicePolicyDialog()
306 mActivityStarter, in testPoliciesFlagEnabled_screenCapturingAllowed_returnsNullDevicePolicyDialog()
321 mDialogTransitionAnimator, mActivityStarter, /* onStartRecordingClicked= */ null); in testPoliciesFlagEnabled_screenCapturingAllowed_logsProjectionInitiated()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesDialogDelegateTest.java103 private ActivityStarter mActivityStarter; field in HearingDevicesDialogDelegateTest
166 verify(mActivityStarter).postStartActivityDismissingKeyguard(intentCaptor.capture(), in clickPairNewDeviceButton_intentActionMatch()
179 verify(mActivityStarter).postStartActivityDismissingKeyguard(intentCaptor.capture(), in onDeviceItemGearClicked_intentActionMatch()
239 mActivityStarter, in setUpPairNewDeviceDialog()
262 mActivityStarter, in setUpDeviceListDialog()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceViewController.java69 private final ActivityStarter mActivityStarter; field in KeyguardSliceViewController
106 if (action != null && mActivityStarter != null) {
107 mActivityStarter.startPendingIntentDismissingKeyguard(action);
125 mActivityStarter = activityStarter; in KeyguardSliceViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/
DCreateUserActivity.java64 private final ActivityStarter mActivityStarter; field in CreateUserActivity
75 mActivityStarter = activityStarter; in CreateUserActivity()
189 mActivityStarter.dismissKeyguardThenExecute(() -> { in startActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogComponent.java74 private final ActivityStarter mActivityStarter; field in VolumeDialogComponent
91 mActivityStarter = activityStarter; in VolumeDialogComponent()
204 mActivityStarter.startActivity(intent, true /* onlyProvisioned */, true /* dismissShade */); in startSettings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/carrier/
DShadeCarrierGroupController.java73 private final ActivityStarter mActivityStarter; field in ShadeCarrierGroupController
164 mActivityStarter = activityStarter; in ShadeCarrierGroupController()
180 mActivityStarter.postStartActivityDismissingKeyguard( in ShadeCarrierGroupController()
479 private final ActivityStarter mActivityStarter; field in ShadeCarrierGroupController.Builder
507 mActivityStarter = activityStarter; in Builder()
529 mActivityStarter, in build()

1234