Home
last modified time | relevance | path

Searched refs:KEYGUARD_REQUEST (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMasterClearTest.java293 doReturn(true).when(mMasterClear).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_resultCanceled()
297 .onActivityResultInternal(MasterClear.KEYGUARD_REQUEST, Activity.RESULT_CANCELED, in testOnActivityResultInternal_resultCanceled()
300 verify(mMasterClear, times(1)).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_resultCanceled()
308 doReturn(true).when(mMasterClear).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringConfirmAccount()
313 .onActivityResultInternal(MasterClear.KEYGUARD_REQUEST, Activity.RESULT_OK, null); in testOnActivityResultInternal_keyguardRequestTriggeringConfirmAccount()
315 verify(mMasterClear, times(1)).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringConfirmAccount()
323 doReturn(true).when(mMasterClear).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringShowFinal()
328 .onActivityResultInternal(MasterClear.KEYGUARD_REQUEST, Activity.RESULT_OK, null); in testOnActivityResultInternal_keyguardRequestTriggeringShowFinal()
330 verify(mMasterClear, times(1)).isValidRequestCode(eq(MasterClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringShowFinal()
434 assertThat(mMasterClear.isValidRequestCode(MasterClear.KEYGUARD_REQUEST)).isTrue(); in testIsValidRequestCode()
/packages/apps/Settings/src/com/android/settings/applications/
DConvertToFbe.java38 private static final int KEYGUARD_REQUEST = 55; field in ConvertToFbe
60 if (!runKeyguardConfirmation(KEYGUARD_REQUEST)) { in onCreateView()
72 if (requestCode != KEYGUARD_REQUEST) { in onActivityResult()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DConvertToFbe.java38 private static final int KEYGUARD_REQUEST = 55; field in ConvertToFbe
60 if (!runKeyguardConfirmation(KEYGUARD_REQUEST)) { in onCreateView()
72 if (requestCode != KEYGUARD_REQUEST) { in onActivityResult()
/packages/apps/Settings/src/com/android/settings/security/
DCryptKeeperSettings.java52 private static final int KEYGUARD_REQUEST = 55; field in CryptKeeperSettings
95 if (!runKeyguardConfirmation(KEYGUARD_REQUEST)) {
188 if (requestCode != KEYGUARD_REQUEST) { in onActivityResult()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DCryptKeeperSettings.java52 private static final int KEYGUARD_REQUEST = 55; field in CryptKeeperSettings
95 if (!runKeyguardConfirmation(KEYGUARD_REQUEST)) {
188 if (requestCode != KEYGUARD_REQUEST) { in onActivityResult()
/packages/apps/Settings/src/com/android/settings/
DResetNetwork.java71 private static final int KEYGUARD_REQUEST = 55; field in ResetNetwork
103 if (requestCode != KEYGUARD_REQUEST) { in onActivityResult()
144 if (!runKeyguardConfirmation(KEYGUARD_REQUEST)) {
DMasterClear.java90 static final int KEYGUARD_REQUEST = 55; field in MasterClear
148 return !((requestCode != KEYGUARD_REQUEST) && (requestCode != CREDENTIAL_CONFIRM_REQUEST)); in isValidRequestCode()
259 if (runKeyguardConfirmation(KEYGUARD_REQUEST)) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DResetNetwork.java72 private static final int KEYGUARD_REQUEST = 55; field in ResetNetwork
104 if (requestCode != KEYGUARD_REQUEST) { in onActivityResult()
144 if (!runKeyguardConfirmation(KEYGUARD_REQUEST)) {
DMasterClear.java89 static final int KEYGUARD_REQUEST = 55; field in MasterClear
147 return !((requestCode != KEYGUARD_REQUEST) && (requestCode != CREDENTIAL_CONFIRM_REQUEST)); in isValidRequestCode()
259 if (runKeyguardConfirmation(KEYGUARD_REQUEST)) {