Home
last modified time | relevance | path

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

12

/packages/modules/IPsec/tests/iketests/src/java/android/net/eap/
DEapSessionConfigTest.java55 private static final String PASSWORD = "password"; field in EapSessionConfigTest
139 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testBuildEapMsChapV2()
145 assertEquals(PASSWORD, config.getPassword()); in testBuildEapMsChapV2()
150 verifyPersistableBundleEncodeDecodeIsLossless(new EapMsChapV2Config(USERNAME, PASSWORD)); in testPersistableBundleEncodeDecodeEapMsChapV2()
156 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testBuildEapTtls()
172 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testEqualsEapTtls()
186 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testPersistableBundleEncodeDecodeEapTtls()
205 new EapSessionConfig.Builder().setEapMsChapV2Config(null, PASSWORD); in testBuildEapMsChapV2NullUsername()
216 new EapSessionConfig.Builder().setEapMsChapV2Config(USERNAME, PASSWORD).build(); in testBuildEapTtls_invalidInnerConfig()
244 .setEapMsChapV2Config(USERNAME, PASSWORD) in testPersistableBundleEncodeDecodeEapSessioConfig()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericControllerTest.java129 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_Default()
139 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityUnspecified()
149 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualitySomething()
159 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityNumeric()
169 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityNumericComplex()
179 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityAlphabetic()
189 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_QualityComplex()
200 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_NoneComplexity()
211 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_lowComplexity()
222 assertThat(mController.isScreenLockEnabled(ScreenLockType.PASSWORD)).isTrue(); in isScreenLockEnabled_mediumComplexity()
[all …]
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/
DAddPageBasedOnNetworkStateTest.java85 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, "123"); in testForward_clearPassword_ssidNotMatch()
92 assertNull(mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD)); in testForward_clearPassword_ssidNotMatch()
102 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, "123"); in testForward_clearPassword_ssidIsNull()
105 assertNull(mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD)); in testForward_clearPassword_ssidIsNull()
129 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, "123"); in testForward_networkNotSaved()
DAddStartStateTest.java66 verify(mStateCompleteListener).onComplete(StateMachine.PASSWORD); in testForward_WEP_NeedPassword()
75 verify(mStateCompleteListener).onComplete(StateMachine.PASSWORD); in testForward_WPA_NeedPassword()
84 verify(mStateCompleteListener).onComplete(StateMachine.PASSWORD); in testForward_EAP_NeedPassword()
/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/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DEnterPasswordState.java68 if (!mUserChoiceInfo.isVisible(UserChoiceInfo.PASSWORD)) { in processForward()
79 if (!mUserChoiceInfo.isVisible(UserChoiceInfo.PASSWORD)) { in processBackward()
226 CharSequence prevPassword = mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD); in onCreateActions()
249 mUserChoiceInfo.put(UserChoiceInfo.PASSWORD, action.getTitle().toString()); in onGuidedActionEditedAndProceed()
DAddPageBasedOnNetworkState.java57 if (mUserChoiceInfo.getPageSummary(UserChoiceInfo.PASSWORD) != null in processForward()
60 mUserChoiceInfo.removePageSummary(UserChoiceInfo.PASSWORD); in processForward()
DUserChoiceInfo.java37 public static final int PASSWORD = 2; field in UserChoiceInfo
246 PASSWORD,
DWifiSetupActivity.java184 StateMachine.PASSWORD, in onCreate()
224 StateMachine.PASSWORD, in onCreate()
DAddStartState.java55 mStateMachine.getListener().onComplete(StateMachine.PASSWORD); in processForward()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java108 case LockTypes.PASSWORD: in getLockConfig()
123 case LockTypes.PASSWORD: in checkValidLock()
157 case LockTypes.PASSWORD: in setLock()
/packages/apps/Settings/src/com/android/settings/password/
DScreenLockType.java40 PASSWORD( enumConstant
90 return ScreenLockType.PASSWORD; in fromQuality()
DChooseLockGeneric.java641 findPreference(ScreenLockType.PASSWORD.preferenceKey).setViewId(R.id.lock_password); in addPreferences()
670 setPreferenceTitle(ScreenLockType.PASSWORD, in updatePreferenceText()
676 setPreferenceTitle(ScreenLockType.PASSWORD, in updatePreferenceText()
682 setPreferenceTitle(ScreenLockType.PASSWORD, in updatePreferenceText()
785 setPreferenceSummary(ScreenLockType.PASSWORD, R.string.secure_lock_encryption_warning); in updatePreferenceSummaryIfNeeded()
1008 case PASSWORD: in setUnlockMethod()
DChooseLockGenericController.java180 case PASSWORD: in isScreenLockVisible()
225 case PASSWORD: in getTitle()
DSetupChooseLockPassword.java145 ScreenLockType.PASSWORD : ScreenLockType.PIN; in onLockTypeSelected()
DChooseLockTypeDialogFragment.java174 case PASSWORD: in getIconForScreenLock()
/packages/apps/Settings/src/com/android/settings/security/
DCryptKeeperSettings.java52 private static final String PASSWORD = "password"; field in CryptKeeperSettings
223 preference.getExtras().putByteArray(PASSWORD, "".getBytes()); in addEncryptionInfoToPreference()
226 preference.getExtras().putByteArray(PASSWORD, password); in addEncryptionInfoToPreference()
/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/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/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/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DStateMachine.java49 public static final int PASSWORD = 7; field in StateMachine
80 PASSWORD,
/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/Messaging/src/com/android/messaging/sms/
DApnDatabase.java71 Telephony.Carriers.PASSWORD + " TEXT," +
124 Telephony.Carriers.PASSWORD,
/packages/services/Mms/src/com/android/mms/service/
DApnSettings.java63 Telephony.Carriers.PASSWORD,

12