Home
last modified time | relevance | path

Searched refs:Stage (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPattern.java238 updateStage(Stage.Introduction); in onActivityResult()
268 if (mUiStage == Stage.NeedToConfirm || mUiStage == Stage.ConfirmWrong) {
274 updateStage(Stage.ChoiceConfirmed);
276 updateStage(Stage.ConfirmWrong);
279 } else if (mUiStage == Stage.Introduction || mUiStage == Stage.ChoiceTooShort){
281 updateStage(Stage.ChoiceTooShort);
284 updateStage(Stage.FirstChoiceValid);
360 protected enum Stage { enum in ChooseLockPattern.ChooseLockPatternFragment
405 Stage(int messageForBiometrics, int message, int headerMessage, in Stage() method in ChooseLockPattern.ChooseLockPatternFragment.Stage
427 private Stage mUiStage = Stage.Introduction;
[all …]
DChooseLockPassword.java235 protected Stage mUiStage = Stage.Introduction;
258 protected enum Stage { enum in ChooseLockPassword.ChooseLockPasswordFragment
311 Stage(int hintInAlpha, in Stage() method in ChooseLockPassword.ChooseLockPasswordFragment.Stage
548 updateStage(Stage.Introduction); in onViewCreated()
565 mUiStage = Stage.valueOf(state); in onViewCreated()
578 int title = Stage.Introduction.getHint(mIsAlphaMode, getStageType(), in onViewCreated()
600 return Stage.TYPE_FINGERPRINT; in getStageType()
602 return Stage.TYPE_FACE; in getStageType()
604 return Stage.TYPE_BIOMETRIC; in getStageType()
606 return Stage.TYPE_NONE; in getStageType()
[all …]
DSetupChooseLockPattern.java127 protected void updateStage(Stage stage) { in updateStage()
132 (stage == Stage.Introduction || stage == Stage.HelpScreen || in updateStage()
133 stage == Stage.ChoiceTooShort || stage == Stage.FirstChoiceValid) in updateStage()
137 if (stage.leftMode == LeftButtonMode.Gone && stage == Stage.Introduction) { in updateStage()
DConfirmLockPattern.java65 private enum Stage { enum in ConfirmLockPattern
149 updateStage(Stage.NeedToUnlock); in onCreateView()
233 updateStage(Stage.NeedToUnlock); in onResume()
306 private void updateStage(Stage stage) { in updateStage()
530 updateStage(Stage.NeedToUnlockWrong); in onPatternChecked()
560 updateStage(Stage.LockedOut); in handleAttemptLockout()
576 updateStage(Stage.NeedToUnlock); in handleAttemptLockout()
DSetupChooseLockPassword.java156 return Stage.TYPE_NONE; in getStageType()
163 if (mUiStage == Stage.Introduction) { in updateUi()
173 mUiStage == Stage.Introduction ? View.VISIBLE : View.GONE); in updateUi()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DChooseLockPatternFragment.java68 private Stage mUiStage = Stage.Introduction;
122 updateStage(Stage.ChoiceConfirmed);
124 updateStage(Stage.ConfirmWrong);
131 updateStage(Stage.ChoiceTooShort);
134 updateStage(Stage.FirstChoiceValid);
179 mUiStage = Stage.values()[savedInstanceState.getInt(STATE_UI_STAGE)]; in onCreate()
255 protected void updateStage(Stage stage) { in updateStage()
349 if (mUiStage != Stage.FirstChoiceValid) { in handlePrimaryButtonClick()
351 + Stage.FirstChoiceValid + " when button is " in handlePrimaryButtonClick()
354 updateStage(Stage.NeedToConfirm); in handlePrimaryButtonClick()
[all …]
DChooseLockPinPasswordFragment.java66 private Stage mUiStage = Stage.Introduction;
153 mUiStage = Stage.values()[savedInstanceState.getInt(STATE_UI_STAGE)]; in onCreate()
191 if (mUiStage == Stage.ConfirmWrong) { in onViewCreated()
192 mUiStage = Stage.NeedToConfirm; in onViewCreated()
193 } else if (mUiStage == Stage.PasswordInvalid) { in onViewCreated()
194 mUiStage = Stage.Introduction; in onViewCreated()
346 updateStage(Stage.NeedToConfirm); in handlePrimaryButtonClick()
348 updateStage(Stage.PasswordInvalid); in handlePrimaryButtonClick()
363 updateStage(Stage.ConfirmWrong); in handlePrimaryButtonClick()
378 updateStage(Stage.SaveFailure); in onChosenLockSaveFinished()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/testcommon/
DActivityLifecycleWaiter.java23 import androidx.test.runner.lifecycle.Stage;
31 private final Stage mStage;
33 public ActivityLifecycleWaiter(Activity activity, Stage stage) { in ActivityLifecycleWaiter()
40 public void onActivityLifecycleChanged(Activity activity, Stage stage) { in onActivityLifecycleChanged()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/wifi/
DWifiSettings2ActivityTest.java36 import androidx.test.runner.lifecycle.Stage;
70 UiUtils.waitForActivitiesInStage(Constants.ACTIVITY_LAUNCH_WAIT_TIMEOUT, Stage.RESUMED); in test_connect_to_wifi()
76 Stage.RESUMED).iterator().next(); in test_connect_to_wifi()
89 UiUtils.waitForActivitiesInStage(Constants.ACTIVITY_LAUNCH_WAIT_TIMEOUT, Stage.RESUMED); in test_connect_to_wifi()
94 .getActivitiesInStage(Stage.RESUMED).iterator().next(); in test_connect_to_wifi()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/
DUiUtils.java26 import androidx.test.runner.lifecycle.Stage;
56 public static boolean waitForActivitiesInStage(long timeoutInMillis, Stage stage) { in waitForActivitiesInStage()
61 Stage.RESUMED)); in waitForActivitiesInStage()
/packages/apps/Car/Calendar/tests/ui/src/com/android/car/calendar/
DCarCalendarUiTest.java51 import androidx.test.runner.lifecycle.Stage;
114 private void onActivityLifecycleChanged(Activity activity, Stage stage) { in onActivityLifecycleChanged()
117 if (stage.equals(Stage.PRE_ON_CREATE)) { in onActivityLifecycleChanged()
119 } else if (stage.equals(Stage.CREATED)) { in onActivityLifecycleChanged()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/
DChooseLockPatternFragmentTest.java76 doNothing().when(spyFragment).updateStage(ChooseLockPatternFragment.Stage.SaveFailure); in testStageIsUpdatedWhenSaveWorkerFails()
81 verify(spyFragment).updateStage(ChooseLockPatternFragment.Stage.SaveFailure); in testStageIsUpdatedWhenSaveWorkerFails()
DChooseLockPinPasswordFragmentTest.java76 doNothing().when(spyFragment).updateStage(ChooseLockPinPasswordFragment.Stage.SaveFailure); in testStageIsUpdatedWhenSaveWorkerFails()
81 verify(spyFragment).updateStage(ChooseLockPinPasswordFragment.Stage.SaveFailure); in testStageIsUpdatedWhenSaveWorkerFails()
/packages/apps/Settings/tests/componenttests/src/com/android/settings/notification/
DAppNotificationComponentTest.java35 import androidx.test.runner.lifecycle.Stage;
98 UiUtils.waitForActivitiesInStage(10000, Stage.RESUMED); in test_special_app_could_not_disable_notification()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetupChooseLockPasswordTest.java34 import com.android.settings.password.ChooseLockPassword.ChooseLockPasswordFragment.Stage;
180 fragment.updateStage(Stage.NeedToConfirm); in createActivity_inputPasswordInConfirmStage_clearButtonShouldBeShown()
/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.h542 enum Stage { EVALUATE_CONDITION, EVALUATE_BODY } stage = EVALUATE_CONDITION; enum
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...