Home
last modified time | relevance | path

Searched refs:mUi (Results 1 – 6 of 6) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningControllerTest.java109 private PreProvisioningController.Ui mUi; field in PreProvisioningControllerTest
170 mController = new PreProvisioningController(mContext, mUi, mTimeLogger, mMessageParser, in setUp()
184 verify(mUi).startProvisioning(mUserManager.getUserHandle(), mParams); in testManagedProfile()
186 verifyNoMoreInteractions(mUi); in testManagedProfile()
198 verify(mUi).showErrorAndClose(eq(R.string.cant_add_work_profile), in testManagedProfile_provisioningNotAllowed()
200 verifyNoMoreInteractions(mUi); in testManagedProfile_provisioningNotAllowed()
209 verify(mUi).showErrorAndClose(eq(R.string.cant_set_up_device), in testManagedProfile_nullCallingPackage()
211 verifyNoMoreInteractions(mUi); in testManagedProfile_nullCallingPackage()
220 verify(mUi).showErrorAndClose(eq(R.string.cant_set_up_device), in testManagedProfile_invalidCallingPackage()
222 verifyNoMoreInteractions(mUi); in testManagedProfile_invalidCallingPackage()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java93 private final Ui mUi; field in PreProvisioningController
132 mUi = checkNotNull(ui, "Ui must not be null"); in PreProvisioningController()
282 mUi.showDeleteManagedProfileDialog(mdmPackageName, domainName, in initiateProvisioning()
302 mUi.requestWifiPick(); in initiateProvisioning()
305 mUi.showErrorAndClose(R.string.cant_set_up_device, in initiateProvisioning()
316 mUi.prepareAdminIntegratedFlow(mParams); in initiateProvisioning()
347 mUi.showFactoryResetDialog(R.string.cant_set_up_device, in showUserConsentScreen()
379 mUi.initiateUi(uiParams); in showUserConsentScreen()
472 mUi.showErrorAndClose(R.string.cant_set_up_device, in continueProvisioningAfterUserConsent()
478 mUi.requestEncryption(mParams); in continueProvisioningAfterUserConsent()
[all …]
/packages/apps/Settings/src/com/android/settings/development/
DAdbWirelessDialogController.java33 private final AdbWirelessDialogUiBase mUi; field in AdbWirelessDialogController
50 mUi = parent; in AdbWirelessDialogController()
54 mContext = mUi.getContext(); in AdbWirelessDialogController()
63 mUi.setTitle(title); in AdbWirelessDialogController()
65 mUi.setCancelButton(res.getString(R.string.cancel)); in AdbWirelessDialogController()
66 mUi.setCanceledOnTouchOutside(false); in AdbWirelessDialogController()
70 mUi.setTitle(R.string.adb_pairing_device_dialog_failed_title); in AdbWirelessDialogController()
74 mUi.setSubmitButton(res.getString(R.string.okay)); in AdbWirelessDialogController()
77 mUi.setTitle(R.string.adb_pairing_device_dialog_failed_title); in AdbWirelessDialogController()
79 mUi.setSubmitButton(res.getString(R.string.okay)); in AdbWirelessDialogController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordControllerTest.java72 private SetNewPasswordController.Ui mUi; field in SetNewPasswordControllerTest
81 mDevicePolicyManager, mUi); in setUp()
105 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithFingerprint()
125 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithFace()
140 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_noFingerprintFeature()
154 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFace_no_FaceFeature()
173 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_noFingerprintSensor()
192 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFace_noFaceSensor()
211 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFingerprint_hasFingerprintEnrolled()
230 verify(mUi).launchChooseLock(bundleArgumentCaptor.capture()); in launchChooseLockWithoutFace_hasFaceEnrolled()
[all …]
/packages/apps/Settings/src/com/android/settings/password/
DSetNewPasswordController.java67 private final Ui mUi; field in SetNewPasswordController
106 mUi = checkNotNull(ui); in SetNewPasswordController()
133 mUi.launchChooseLock(extras); in dispatchSetNewPasswordIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DSetNewPasswordController.java67 private final Ui mUi; field in SetNewPasswordController
106 mUi = checkNotNull(ui); in SetNewPasswordController()
133 mUi.launchChooseLock(extras); in dispatchSetNewPasswordIntent()