/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | WifiConfigCreator.java | 73 String password) throws InterruptedException, SecurityException { in addNetwork() argument 76 WifiConfiguration wifiConf = createConfig(ssid, hidden, securityType, password); in addNetwork() 136 int securityType, String password) throws InterruptedException, SecurityException { in updateNetwork() argument 142 WifiConfiguration conf = createConfig(ssid, hidden, securityType, password); in updateNetwork() 161 int securityType, String password) throws InterruptedException, SecurityException { in updateNetwork() argument 172 return updateNetwork(wifiConf, ssid, hidden, securityType, password); in updateNetwork() 189 String password) { in createConfig() argument 201 updateForWPAConfiguration(wifiConf, password); in createConfig() 204 updateForWEPConfiguration(wifiConf, password); in createConfig() 217 private void updateForWEPConfiguration(WifiConfiguration wifiConf, String password) { in updateForWEPConfiguration() argument [all …]
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | WifiConfigCreator.java | 73 String password) throws InterruptedException, SecurityException { in addNetwork() argument 76 WifiConfiguration wifiConf = createConfig(ssid, hidden, securityType, password); in addNetwork() 136 int securityType, String password) throws InterruptedException, SecurityException { in updateNetwork() argument 142 WifiConfiguration conf = createConfig(ssid, hidden, securityType, password); in updateNetwork() 161 int securityType, String password) throws InterruptedException, SecurityException { in updateNetwork() argument 172 return updateNetwork(wifiConf, ssid, hidden, securityType, password); in updateNetwork() 189 String password) { in createConfig() argument 201 updateForWPAConfiguration(wifiConf, password); in createConfig() 204 updateForWEPConfiguration(wifiConf, password); in createConfig() 217 private void updateForWEPConfiguration(WifiConfiguration wifiConf, String password) { in updateForWEPConfiguration() argument [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | MyWebView.java | 55 public void expectAutofill(String username, String password) { in expectAutofill() argument 56 mExpectation = new FillExpectation(username, password); in expectAutofill() 82 FillExpectation(String username, String password) { in FillExpectation() argument 84 this.mExpectedPassword = password; in FillExpectation() 92 void setPassword(String password) { in setPassword() argument 93 mActualPassword = password; in setPassword() 127 public void onPasswordChanged(String password) { in onPasswordChanged() argument 128 Log.d(TAG, "onPasswordChanged():" + password); in onPasswordChanged() 130 mExpectation.setPassword(password); in onPasswordChanged()
|
D | LoginActivity.java | 107 mPasswordEditText = findViewById(R.id.password); in onCreate() 132 final String password = mPasswordEditText.getText().toString(); in login() local 133 final boolean valid = username.equals(password) in login() 134 || (TextUtils.isEmpty(username) && TextUtils.isEmpty(password)) in login() 135 || password.contains(BACKDOOR_PASSWORD_SUBSTRING) in login() 175 public void expectAutoFill(String username, String password) { in expectAutoFill() argument 176 mExpectation = new FillExpectation(username, password); in expectAutoFill() 194 public void expectPasswordAutoFill(String password) { in expectPasswordAutoFill() argument 195 mExpectation = new FillExpectation(null, password); in expectPasswordAutoFill() 332 private FillExpectation(String username, String password) { in FillExpectation() argument [all …]
|
D | SimpleSaveActivity.java | 65 mPassword = findViewById(R.id.password); in onCreate() 112 public FillExpectation expectAutoFill(String input, String password) { in expectAutoFill() argument 113 final FillExpectation expectation = new FillExpectation(input, password); in expectAutoFill() 127 private FillExpectation(String input, String password) { in FillExpectation() argument 129 mPasswordWatcher = password == null in FillExpectation() 131 : new OneTimeTextWatcher("password", mPassword, password); in FillExpectation()
|
D | PasswordOnlyActivity.java | 43 mPasswordEditText = findViewById(R.id.password); in onCreate() 66 void setPassword(String password) { in setPassword() argument 67 syncRunOnUiThread(() -> mPasswordEditText.setText(password)); in setPassword() 71 final String password = mPasswordEditText.getText().toString(); in login() local 72 Log.i(TAG, "Login as " + mUsername + "/" + password); in login()
|
D | DialogLauncherActivity.java | 81 void expectAutofill(String username, String password) { in expectAutofill() argument 84 mExpectation = new FillExpectation(username, password); in expectAutofill() 103 private FillExpectation(String username, String password) { in FillExpectation() argument 106 mCcPasswordWatcher = password == null ? null in FillExpectation() 107 : new OneTimeTextWatcher("password", mDialog.mPasswordEditText, password); in FillExpectation() 130 mPasswordEditText = findViewById(R.id.password); in onCreate()
|
D | VirtualContainerActivity.java | 82 void expectAutoFill(String username, String password) { in expectAutoFill() argument 83 mExpectation = new FillExpectation(username, password); in expectAutoFill() 105 private FillExpectation(String username, String password) { in FillExpectation() argument 107 ccPasswordWatcher = mPassword.new OneTimeLineWatcher(password); in FillExpectation()
|
D | LoginActivityTest.java | 328 final ViewNode password = findNodeByResourceId(saveRequest.structure, ID_PASSWORD); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() local 329 assertTextAndValue(password, "malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() 532 final View password = mActivity.getPassword(); in testDatasetPickerPosition() local 559 callback.assertUiShownEvent(password); in testDatasetPickerPosition() 572 callback.assertUiHiddenEvent(password); in testDatasetPickerPosition() 582 callback.assertUiShownEvent(password); in testDatasetPickerPosition() 875 final View password = mActivity.getPassword(); in testAutofillCallbacks() local 881 callback.assertUiShownEvent(password); in testAutofillCallbacks() 1116 final ViewNode password = findNodeByResourceId(saveRequest.structure, ID_PASSWORD); in testAutoFillOneDatasetAndSaveHidingOverlays() local 1117 assertTextAndValue(password, "dude"); in testAutoFillOneDatasetAndSaveHidingOverlays() [all …]
|
D | VirtualContainerActivityTest.java | 196 final ViewNode password = findNodeByResourceId(request.structure, ID_PASSWORD); in autofillTest() local 200 assertTextIsSanitized(password); in autofillTest() 207 assertThat(password.getClassName()).isEqualTo(TEXT_CLASS); in autofillTest() 210 assertThat(password.getIdEntry()).isEqualTo(ID_PASSWORD); in autofillTest() 215 assertThat(password.getInputType()) in autofillTest() 226 assertThat(password.getHtmlInfo()).isNull(); in autofillTest() 235 VirtualContainerView.assertHtmlInfo(password); in autofillTest() 244 assertWithMessage("Password node is focused").that(password.isFocused()).isFalse(); in autofillTest() 592 final ViewNode password = findNodeByResourceId(saveRequest.structure, ID_PASSWORD); in saveTest() local 595 assertTextAndValue(password, "bar"); in saveTest()
|
D | AuthenticationTest.java | 96 final View password = mActivity.getPassword(); in datasetAuthTwoFields() local 99 callback.assertUiShownEvent(password); in datasetAuthTwoFields() 104 callback.assertUiHiddenEvent(password); in datasetAuthTwoFields() 119 callback.assertUiShownEvent(password); in datasetAuthTwoFields() 124 callback.assertUiHiddenEvent(password); in datasetAuthTwoFields() 789 final View password = mActivity.getPassword(); in fillResponseAuthBothFields() local 792 callback.assertUiShownEvent(password); in fillResponseAuthBothFields() 797 callback.assertUiHiddenEvent(password); in fillResponseAuthBothFields() 811 callback.assertUiShownEvent(password); in fillResponseAuthBothFields() 816 callback.assertUiHiddenEvent(password); in fillResponseAuthBothFields()
|
D | LoginWithStringsActivityTest.java | 129 final ViewNode password = findNodeByResourceId(saveRequest.structure, ID_USERNAME); 130 assertTextAndValue(password, "dude");
|
/cts/hostsidetests/devicepolicy/app/WifiConfigCreator/src/com/android/cts/deviceowner/wificonfigcreator/ |
D | WifiConfigCreatorActivity.java | 51 String password = intent.getStringExtra(EXTRA_PASSWORD); in onCreate() local 52 configCreator.addNetwork(ssid, false, securityType, password); in onCreate() 57 String password = intent.getStringExtra(EXTRA_PASSWORD); in onCreate() local 58 configCreator.updateNetwork(netId, ssid, false, securityType, password); in onCreate()
|
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/ |
D | DeviceOwnerPasswordTest.java | 364 private void assertPasswordFails(String password, String restriction) { in assertPasswordFails() argument 366 boolean passwordResetResult = dpm.resetPassword(password, /* flags= */0); in assertPasswordFails() 367 assertFalse("Password '" + password + "' should have failed on " + restriction, in assertPasswordFails() 374 private void assertPasswordSucceeds(String password, String restriction) { in assertPasswordSucceeds() argument 375 boolean passwordResetResult = dpm.resetPassword(password, /* flags= */0); in assertPasswordSucceeds() 376 assertTrue("Password '" + password + "' failed on " + restriction, passwordResetResult); in assertPasswordSucceeds()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | ResetPasswordTest.java | 75 private void assertResetPasswordEnabled(boolean enabled, String password) { in assertResetPasswordEnabled() argument 78 passwordChanged = mDevicePolicyManager.resetPassword(password, 0); in assertResetPasswordEnabled()
|
D | FbeHelper.java | 79 private void enterPassword(String password) throws Exception { in enterPassword() argument 84 pressNumericKeys(password); in enterPassword()
|
D | ResetPasswordWithTokenTest.java | 541 private void assertPasswordFails(String password, String restriction) { in assertPasswordFails() argument 544 ADMIN_RECEIVER_COMPONENT, password, TOKEN0, /* flags= */0); in assertPasswordFails() 545 assertFalse("Password '" + password + "' should have failed on " + restriction, in assertPasswordFails() 552 private void assertPasswordSucceeds(String password, String restriction) { in assertPasswordSucceeds() argument 554 ADMIN_RECEIVER_COMPONENT, password, TOKEN0, /* flags= */0); in assertPasswordSucceeds() 555 assertTrue("Password '" + password + "' failed on " + restriction, passwordResetResult); in assertPasswordSucceeds()
|
/cts/hostsidetests/devicepolicy/app/PasswordComplexity/src/com.android.cts.passwordcomplexity/ |
D | GetPasswordComplexityTest.java | 147 private void setPassword(String password) throws Exception { in setPassword() argument 149 mDevice.executeShellCommand("cmd lock_settings set-password " + password); in setPassword() 153 mScreenLock = password; in setPassword()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverSyncTestCase.java | 82 private void addAccountExplicitly(Account account, String password, Bundle userdata) { in addAccountExplicitly() argument 83 assertTrue(sAccountManager.addAccountExplicitly(account, password, userdata)); in addAccountExplicitly() 105 private void addAccountAndVerifyInitSync(Account account, String password, in addAccountAndVerifyInitSync() argument 110 addAccountExplicitly(account, password, null /* userData */); in addAccountAndVerifyInitSync()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiEnterpriseConfigTest.java | 789 final String password = "PasswordIsNotOkayToBeDisplayedHere"; in testEnterpriseConfigDoesNotPrintPassword() local 791 enterpriseConfig.setPassword(password); in testEnterpriseConfigDoesNotPrintPassword() 794 assertFalse(stringRepresentation.contains(password)); in testEnterpriseConfigDoesNotPrintPassword()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | HttpAuthHandlerTest.java | 76 ProceedHttpAuthClient(int maxAuthAttempts, String user, String password) { in ProceedHttpAuthClient() argument 80 mPassword = password; in ProceedHttpAuthClient()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | ManagedProfileTest.java | 1380 String password = "0000"; in testUnlockWorkProfile_deviceWidePassword() local 1383 changeUserCredential(password, /* oldCredential= */ null, mPrimaryUserId); in testUnlockWorkProfile_deviceWidePassword() 1387 verifyUserCredential(password, mPrimaryUserId); in testUnlockWorkProfile_deviceWidePassword() 1394 changeUserCredential(/* newCredential= */ null, password, mPrimaryUserId); in testUnlockWorkProfile_deviceWidePassword() 1404 String password = "0000"; in testRebootDevice_unifiedPassword() local 1405 changeUserCredential(password, /* oldCredential= */ null, mPrimaryUserId); in testRebootDevice_unifiedPassword() 1408 verifyUserCredential(password, mPrimaryUserId); in testRebootDevice_unifiedPassword() 1413 changeUserCredential(/* newCredential= */ null, password, mPrimaryUserId); in testRebootDevice_unifiedPassword()
|
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/ |
D | SyncAdapterSettingsTest.java | 234 final String password = "password"; in addAccount() local 240 am.addAccountExplicitly(mAccount, password, new Bundle()); in addAccount()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | WifiConfigLockdownTest.java | 166 String password) throws InterruptedException { in startRegularActivity() argument 171 createRegularConfig.putExtra(EXTRA_PASSWORD, password); in startRegularActivity()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | AugmentedLoginActivityTest.java | 521 final EditText password = mActivity.getPassword(); 522 final AutofillId passwordId = password.getAutofillId(); 523 final AutofillValue passwordValue = password.getAutofillValue(); 637 final EditText password = mActivity.getPassword(); 638 final AutofillId passwordId = password.getAutofillId(); 639 final AutofillValue passwordValue = password.getAutofillValue();
|