Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearTest.java303 doReturn(true).when(mMainClear).isValidRequestCode(eq(MainClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_resultCanceled()
307 .onActivityResultInternal(MainClear.KEYGUARD_REQUEST, Activity.RESULT_CANCELED, in testOnActivityResultInternal_resultCanceled()
310 verify(mMainClear, times(1)).isValidRequestCode(eq(MainClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_resultCanceled()
318 doReturn(true).when(mMainClear).isValidRequestCode(eq(MainClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringConfirmAccount()
323 .onActivityResultInternal(MainClear.KEYGUARD_REQUEST, Activity.RESULT_OK, null); in testOnActivityResultInternal_keyguardRequestTriggeringConfirmAccount()
325 verify(mMainClear, times(1)).isValidRequestCode(eq(MainClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringConfirmAccount()
333 doReturn(true).when(mMainClear).isValidRequestCode(eq(MainClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringShowFinal()
338 .onActivityResultInternal(MainClear.KEYGUARD_REQUEST, Activity.RESULT_OK, null); in testOnActivityResultInternal_keyguardRequestTriggeringShowFinal()
340 verify(mMainClear, times(1)).isValidRequestCode(eq(MainClear.KEYGUARD_REQUEST)); in testOnActivityResultInternal_keyguardRequestTriggeringShowFinal()
444 assertThat(mMainClear.isValidRequestCode(MainClear.KEYGUARD_REQUEST)).isTrue(); in testIsValidRequestCode()
/packages/apps/Settings/src/com/android/settings/
DResetNetwork.java75 private static final int KEYGUARD_REQUEST = 55; field in ResetNetwork
177 if (!runKeyguardConfirmation(KEYGUARD_REQUEST)) {
DMainClear.java99 static final int KEYGUARD_REQUEST = 55; field in MainClear
159 return !((requestCode != KEYGUARD_REQUEST) && (requestCode != CREDENTIAL_CONFIRM_REQUEST)); in isValidRequestCode()
286 if (runKeyguardConfirmation(KEYGUARD_REQUEST)) {