Searched refs:mExpectation (Results 1 – 8 of 8) sorted by relevance
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | MyWebView.java | 41 private FillExpectation mExpectation; field in MyWebView 56 mExpectation = new FillExpectation(username, password); in expectAutofill() 60 assertWithMessage("expectAutofill() not called").that(mExpectation).isNotNull(); in assertAutofilled() 61 mExpectation.assertUsernameCalled(); in assertAutofilled() 62 mExpectation.assertPasswordCalled(); in assertAutofilled() 99 assertWithMessage("Wrong value for username").that(mExpectation.mActualUsername) in assertUsernameCalled() 100 .isEqualTo(mExpectation.mExpectedUsername); in assertUsernameCalled() 105 assertWithMessage("Wrong value for password").that(mExpectation.mActualPassword) in assertPasswordCalled() 106 .isEqualTo(mExpectation.mExpectedPassword); in assertPasswordCalled() 121 if (mExpectation != null) { in onUsernameChanged() [all …]
|
D | OptionalSaveActivity.java | 59 private FillExpectation mExpectation; field in OptionalSaveActivity 115 mExpectation = new FillExpectation(address1, address2, city, favColor); in expectAutoFill() 117 mAddress1.addTextChangedListener(mExpectation.address1Watcher); in expectAutoFill() 120 mAddress2.addTextChangedListener(mExpectation.address2Watcher); in expectAutoFill() 123 mCity.addTextChangedListener(mExpectation.cityWatcher); in expectAutoFill() 126 mFavoriteColor.addTextChangedListener(mExpectation.favoriteColorWatcher); in expectAutoFill() 135 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 136 if (mExpectation.address1Watcher != null) { in assertAutoFilled() 137 mExpectation.address1Watcher.assertAutoFilled(); in assertAutoFilled() 139 if (mExpectation.address2Watcher != null) { in assertAutoFilled() [all …]
|
D | DialogLauncherActivity.java | 41 private FillExpectation mExpectation; field in DialogLauncherActivity 88 mExpectation = new FillExpectation(username, password); in expectAutofill() 89 mDialog.mUsernameEditText.addTextChangedListener(mExpectation.mCcUsernameWatcher); in expectAutofill() 90 mDialog.mPasswordEditText.addTextChangedListener(mExpectation.mCcPasswordWatcher); in expectAutofill() 94 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutofilled() 95 if (mExpectation.mCcUsernameWatcher != null) { in assertAutofilled() 96 mExpectation.mCcUsernameWatcher.assertAutoFilled(); in assertAutofilled() 98 if (mExpectation.mCcPasswordWatcher != null) { in assertAutofilled() 99 mExpectation.mCcPasswordWatcher.assertAutoFilled(); in assertAutofilled()
|
D | VirtualContainerActivity.java | 53 private FillExpectation mExpectation; field in VirtualContainerActivity 84 mExpectation = new FillExpectation(username, password); in expectAutoFill() 85 mUsername.setTextChangedListener(mExpectation.ccUsernameWatcher); in expectAutoFill() 86 mPassword.setTextChangedListener(mExpectation.ccPasswordWatcher); in expectAutoFill() 94 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 95 mExpectation.ccUsernameWatcher.assertAutoFilled(); in assertAutoFilled() 96 mExpectation.ccPasswordWatcher.assertAutoFilled(); in assertAutoFilled()
|
D | AbstractTimePickerActivity.java | 56 private FillExpectation mExpectation; field in AbstractTimePickerActivity 97 mExpectation = new FillExpectation(output, hour, minute); in expectAutoFill() 98 mOutput.addTextChangedListener(mExpectation.outputWatcher); in expectAutoFill() 101 mExpectation.timeListener.onTimeChanged(v, h, m); in expectAutoFill() 110 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 111 mExpectation.timeListener.assertAutoFilled(); in assertAutoFilled() 112 mExpectation.outputWatcher.assertAutoFilled(); in assertAutoFilled()
|
D | AbstractDatePickerActivity.java | 56 private FillExpectation mExpectation; field in AbstractDatePickerActivity 101 mExpectation = new FillExpectation(output, year, month, day); in expectAutoFill() 102 mOutput.addTextChangedListener(mExpectation.outputWatcher); in expectAutoFill() 105 mExpectation.dateListener.onDateChanged(v, y, m, d); in expectAutoFill() 114 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 115 mExpectation.outputWatcher.assertAutoFilled(); in assertAutoFilled() 116 mExpectation.dateListener.assertAutoFilled(); in assertAutoFilled()
|
D | LoginActivity.java | 75 private FillExpectation mExpectation; field in LoginActivity 181 mExpectation = new FillExpectation(username, password); in expectAutoFill() 182 mUsernameEditText.addTextChangedListener(mExpectation.ccUsernameWatcher); in expectAutoFill() 183 mPasswordEditText.addTextChangedListener(mExpectation.ccPasswordWatcher); in expectAutoFill() 222 mExpectation = new FillExpectation(username); in expectAutoFill() 223 mUsernameEditText.addTextChangedListener(mExpectation.ccUsernameWatcher); in expectAutoFill() 235 mExpectation = new FillExpectation(null, password); in expectPasswordAutoFill() 236 mPasswordEditText.addTextChangedListener(mExpectation.ccPasswordWatcher); in expectPasswordAutoFill() 244 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 245 if (mExpectation.ccUsernameWatcher != null) { in assertAutoFilled() [all …]
|
D | CheckoutActivity.java | 90 private FillExpectation mExpectation; field in CheckoutActivity 154 mExpectation = new FillExpectation(ccNumber, ccExpirationIndex, addressId, saveCc); in expectAutoFill() 155 mCcNumber.addTextChangedListener(mExpectation.ccNumberWatcher); in expectAutoFill() 156 mCcExpiration.setOnItemSelectedListener(mExpectation.ccExpirationListener); in expectAutoFill() 157 mAddress.setOnCheckedChangeListener(mExpectation.addressListener); in expectAutoFill() 158 mSaveCc.setOnCheckedChangeListener(mExpectation.saveCcListener); in expectAutoFill() 166 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 167 mExpectation.ccNumberWatcher.assertAutoFilled(); in assertAutoFilled() 168 mExpectation.ccExpirationListener.assertAutoFilled(); in assertAutoFilled() 169 mExpectation.addressListener.assertAutoFilled(); in assertAutoFilled() [all …]
|