Home
last modified time | relevance | path

Searched refs:PASSWORD (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/IPsec/tests/iketests/src/java/android/net/eap/
DEapSessionConfigTest.java57 private static final String PASSWORD = "password"; field in EapSessionConfigTest
172 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testBuildEapMsChapV2()
178 assertEquals(PASSWORD, config.getPassword()); in testBuildEapMsChapV2()
183 verifyPersistableBundleEncodeDecodeIsLossless(new EapMsChapV2Config(USERNAME, PASSWORD)); in testPersistableBundleEncodeDecodeEapMsChapV2()
189 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testBuildEapTtls()
205 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testEqualsEapTtls()
219 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testPersistableBundleEncodeDecodeEapTtls()
238 new EapSessionConfig.Builder().setEapMsChapV2Config(null, PASSWORD); in testBuildEapMsChapV2NullUsername()
249 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testBuildEapTtls_invalidInnerConfig()
277 .setEapMsChapV2Config(USERNAME, PASSWORD) in testPersistableBundleEncodeDecodeEapSessioConfig()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericControllerTest.java130 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_Default()
140 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityUnspecified()
150 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualitySomething()
160 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityNumeric()
170 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityNumericComplex()
180 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityAlphabetic()
190 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityComplex()
200 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isFalse(); in isScreenLockEnabled_QualityManaged()
211 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_NoneComplexity()
222 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_lowComplexity()
[all …]
DConfirmCredentialTest.java110 KeyguardManager.PASSWORD, VALID_REMAINING_ATTEMPTS)); in onCreate_remoteValidation_successfullyStart()
126 KeyguardManager.PASSWORD, VALID_REMAINING_ATTEMPTS)); in onCreate_remoteValidation_flagDisabled_finishActivity()
139 KeyguardManager.PASSWORD, VALID_REMAINING_ATTEMPTS)) in onCreate_remoteValidation_invalidServiceComponentName_finishActivity()
163 KeyguardManager.PASSWORD, VALID_REMAINING_ATTEMPTS)); in onCreate_remoteValidation_serviceDoesNotRequestCorrectPermission_finishActivity()
173 KeyguardManager.PASSWORD, NO_MORE_REMAINING_ATTEMPTS)); in onCreate_remoteValidation_noMoreAttempts_finishActivity()
DConfirmLockPasswordTest.java137 KeyguardManager.PASSWORD, VALID_REMAINING_ATTEMPTS)); in onCreate_remoteValidation_password_successfullyStart()
186 KeyguardManager.PASSWORD, VALID_REMAINING_ATTEMPTS)); in handleNext_remoteValidation_correctGuess_checkboxChecked()
212 KeyguardManager.PASSWORD, VALID_REMAINING_ATTEMPTS)); in handleNext_remoteValidation_correctGuess_checkboxUnchecked()
239 KeyguardManager.PASSWORD, VALID_REMAINING_ATTEMPTS)); in handleNext_remoteValidation_guessInvalid()
264 KeyguardManager.PASSWORD, VALID_REMAINING_ATTEMPTS)); in handleNext_remoteValidation_lockout()
289 KeyguardManager.PASSWORD, VALID_REMAINING_ATTEMPTS)); in handleNext_remoteValidation_noRemainingAttempts_finishActivity()
DSetupChooseLockGenericTest.java163 assertThat(fragment.getBiometricsPreferenceTitle(ScreenLockType.PASSWORD)).contains( in updatePreferenceTextShowScreenLockAndShowFaceAndShowFingerprint()
165 assertThat(fragment.getBiometricsPreferenceTitle(ScreenLockType.PASSWORD)).contains( in updatePreferenceTextShowScreenLockAndShowFaceAndShowFingerprint()
189 assertThat(fragment.getBiometricsPreferenceTitle(ScreenLockType.PASSWORD)).contains( in updatePreferenceTextShowScreenLockAndShowFingerprint()
191 assertThat(fragment.getBiometricsPreferenceTitle(ScreenLockType.PASSWORD)).doesNotContain( in updatePreferenceTextShowScreenLockAndShowFingerprint()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java97 LockConfig passwordConfig = service.getLockConfig(LockTypes.PASSWORD); in testGetLockConfig_returnsCorrectConfig()
106 int result = service.checkValidLock(LockTypes.PASSWORD, "hi".getBytes()); in testCheckValidLock_tooShort()
115 int result = service.checkValidLock(LockTypes.PASSWORD, "password".getBytes()); in testCheckValidLock_longEnough()
160 int result = service.setLock(LockTypes.PASSWORD, "password".getBytes()); in testSetLockPassword_doesNotWorkWithExistingPassword()
168 int result = service.setLock(LockTypes.PASSWORD, "hi".getBytes()); in testSetLockPassword_doesNotWorkWithInvalidPassword()
179 int result = service.setLock(LockTypes.PASSWORD, password); in testSetLockPassword_setsDevicePassword()
/packages/apps/Settings/tests/unit/src/com/android/settings/password/
DScreenLockTypeTest.java33 .isEqualTo(ScreenLockType.PASSWORD); in fromQuality_shouldReturnLockWithAssociatedQuality()
35 .isEqualTo(ScreenLockType.PASSWORD); in fromQuality_shouldReturnLockWithAssociatedQuality()
39 .isEqualTo(ScreenLockType.PASSWORD); in fromQuality_shouldReturnLockWithAssociatedQuality()
/packages/apps/Settings/src/com/android/settings/password/
DScreenLockType.java40 PASSWORD( enumConstant
90 return ScreenLockType.PASSWORD; in fromQuality()
DChooseLockGenericController.java180 case PASSWORD: in isScreenLockVisible()
226 case PASSWORD: in getTitle()
DChooseLockGeneric.java633 findPreference(ScreenLockType.PASSWORD.preferenceKey).setViewId(R.id.lock_password); in addPreferences()
662 setPreferenceTitle(ScreenLockType.PASSWORD, in updatePreferenceText()
668 setPreferenceTitle(ScreenLockType.PASSWORD, in updatePreferenceText()
675 setPreferenceTitle(ScreenLockType.PASSWORD, in updatePreferenceText()
676 getBiometricsPreferenceTitle(ScreenLockType.PASSWORD)); in updatePreferenceText()
1042 case PASSWORD: in setUnlockMethod()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DEnterPasswordState.java70 if (!mUserChoiceInfo.isVisible(UserChoiceInfo.PASSWORD)) { in processForward()
81 if (!mUserChoiceInfo.isVisible(UserChoiceInfo.PASSWORD)) { in processBackward()
228 CharSequence prevPassword = mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD); in onCreateActions()
251 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, action.getTitle().toString()); in onGuidedActionEditedAndProceed()
DUserChoiceInfo.java39 public static final int PASSWORD = 2; field in UserChoiceInfo
253 PASSWORD,
DAddStartState.java47 ? StateMachine.PASSWORD : StateMachine.CONNECT); in processForward()
/packages/apps/Settings/tests/uitests/src/com/android/settings/biometrics2/utils/
DLockScreenUtil.java64 case PASSWORD: in setLockscreen()
110 PASSWORD, enumConstant
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/
DEapMsChapV2Test.java39 private static final String PASSWORD = "clientPass"; field in EapMsChapV2Test
100 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in setUp()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/
DAddStartStateTest.java72 verify(mStateCompleteListener).onComplete(mAddStartState, StateMachine.PASSWORD); in testForward_needsWifiConfiguration_NeedPassword()
82 verify(mStateCompleteListener).onComplete(mAddStartState, StateMachine.PASSWORD); in testForward_shouldEditBeforeConnect_NeedPassword()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
DTestAuthenticator.java34 private static final String PASSWORD = "xxx"; // any string will do. field in TestAuthenticator
72 AccountManager.get(mContext).addAccountExplicitly(account, PASSWORD, null); in addAccount()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java91 private static final String PASSWORD = "password"; field in WifiTetherSettingsTest
173 when(mPasswordPreferenceController.getPasswordValidated(anyInt())).thenReturn(PASSWORD); in setUp()
450 String newPassword = "new" + PASSWORD; in buildNewConfig_speedFeatureIsAvailableAndPasswordChanged_bandShouldNotBeLost()
452 .setPassphrase(PASSWORD, SECURITY_TYPE_WPA3_SAE) in buildNewConfig_speedFeatureIsAvailableAndPasswordChanged_bandShouldNotBeLost()
467 .setPassphrase(PASSWORD, SECURITY_TYPE_WPA3_SAE) in buildNewConfig_securityTypeChangeToOpen_setSecurityTypeCorrectly()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DMethodStateTest.java70 private static final String PASSWORD = "password"; field in MethodStateTest
135 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testProcessTransitionToEapMsChapV2()
149 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testProcessTransitionToEapTtls()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java94 case LockTypes.PASSWORD: in getLockConfig()
108 case LockTypes.PASSWORD: in createLockscreenCredential()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DStateMachine.java74 public static final int PASSWORD = 7; field in StateMachine
105 PASSWORD,
/packages/apps/ManagedProvisioning/studio-dev/
DREADME.md92 import static com.example.myapplication.MainActivity.LockTypes.PASSWORD;
97 PASSWORD,
102 int PASSWORD = 0;
111 LockTypes.PASSWORD,
116 int PASSWORD = 0;
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java71 static final char[] PASSWORD = {}; field in WifiConfigurationProvider
199 Key key = keyStore.getKey(alias, PASSWORD); in maybeUpdateClientKeyForEAPConfiguration()
292 keyStore.load(inputStream, PASSWORD); in loadKeystoreFromCertificate()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnRepository.kt39 Telephony.Carriers.PASSWORD, // 7 in <lambda>()
80 passWord = cursor.getString(Telephony.Carriers.PASSWORD), in <lambda>()
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/
DWifiAwareSnippet.java79 private static final String PASSWORD = "Some super secret password"; field in WifiAwareSnippet
306 withPassword ? PASSWORD : null); in initiatePairingSetup()
384 withPassword ? PASSWORD : null); in respondToPairingSetup()

12