Searched refs:mExpectation (Results 1 – 8 of 8) sorted by relevance
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | OptionalSaveActivity.java | 57 private FillExpectation mExpectation; field in OptionalSaveActivity 112 mExpectation = new FillExpectation(address1, address2, city, favColor); in expectAutoFill() 114 mAddress1.addTextChangedListener(mExpectation.address1Watcher); in expectAutoFill() 117 mAddress2.addTextChangedListener(mExpectation.address2Watcher); in expectAutoFill() 120 mCity.addTextChangedListener(mExpectation.cityWatcher); in expectAutoFill() 123 mFavoriteColor.addTextChangedListener(mExpectation.favoriteColorWatcher); in expectAutoFill() 132 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 133 if (mExpectation.address1Watcher != null) { in assertAutoFilled() 134 mExpectation.address1Watcher.assertAutoFilled(); in assertAutoFilled() 136 if (mExpectation.address2Watcher != null) { in assertAutoFilled() [all …]
|
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 | CheckoutActivity.java | 74 private FillExpectation mExpectation; field in CheckoutActivity 134 mExpectation = new FillExpectation(ccNumber, ccExpirationIndex, addressId, saveCc); in expectAutoFill() 135 mCcNumber.addTextChangedListener(mExpectation.ccNumberWatcher); in expectAutoFill() 136 mCcExpiration.setOnItemSelectedListener(mExpectation.ccExpirationListener); in expectAutoFill() 137 mAddress.setOnCheckedChangeListener(mExpectation.addressListener); in expectAutoFill() 138 mSaveCc.setOnCheckedChangeListener(mExpectation.saveCcListener); in expectAutoFill() 146 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 147 mExpectation.ccNumberWatcher.assertAutoFilled(); in assertAutoFilled() 148 mExpectation.ccExpirationListener.assertAutoFilled(); in assertAutoFilled() 149 mExpectation.addressListener.assertAutoFilled(); in assertAutoFilled() [all …]
|
D | DialogLauncherActivity.java | 37 private FillExpectation mExpectation; field in DialogLauncherActivity 84 mExpectation = new FillExpectation(username, password); in expectAutofill() 85 mDialog.mUsernameEditText.addTextChangedListener(mExpectation.mCcUsernameWatcher); in expectAutofill() 86 mDialog.mPasswordEditText.addTextChangedListener(mExpectation.mCcPasswordWatcher); in expectAutofill() 90 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutofilled() 91 if (mExpectation.mCcUsernameWatcher != null) { in assertAutofilled() 92 mExpectation.mCcUsernameWatcher.assertAutoFilled(); in assertAutofilled() 94 if (mExpectation.mCcPasswordWatcher != null) { in assertAutofilled() 95 mExpectation.mCcPasswordWatcher.assertAutoFilled(); in assertAutofilled()
|
D | LoginActivity.java | 71 private FillExpectation mExpectation; field in LoginActivity 176 mExpectation = new FillExpectation(username, password); in expectAutoFill() 177 mUsernameEditText.addTextChangedListener(mExpectation.ccUsernameWatcher); in expectAutoFill() 178 mPasswordEditText.addTextChangedListener(mExpectation.ccPasswordWatcher); in expectAutoFill() 186 mExpectation = new FillExpectation(username); in expectAutoFill() 187 mUsernameEditText.addTextChangedListener(mExpectation.ccUsernameWatcher); in expectAutoFill() 195 mExpectation = new FillExpectation(null, password); in expectPasswordAutoFill() 196 mPasswordEditText.addTextChangedListener(mExpectation.ccPasswordWatcher); in expectPasswordAutoFill() 204 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 205 if (mExpectation.ccUsernameWatcher != null) { in assertAutoFilled() [all …]
|
D | VirtualContainerActivity.java | 52 private FillExpectation mExpectation; field in VirtualContainerActivity 83 mExpectation = new FillExpectation(username, password); in expectAutoFill() 84 mUsername.setTextChangedListener(mExpectation.ccUsernameWatcher); in expectAutoFill() 85 mPassword.setTextChangedListener(mExpectation.ccPasswordWatcher); in expectAutoFill() 93 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 94 mExpectation.ccUsernameWatcher.assertAutoFilled(); in assertAutoFilled() 95 mExpectation.ccPasswordWatcher.assertAutoFilled(); in assertAutoFilled()
|
D | AbstractTimePickerActivity.java | 52 private FillExpectation mExpectation; field in AbstractTimePickerActivity 93 mExpectation = new FillExpectation(output, hour, minute); in expectAutoFill() 94 mOutput.addTextChangedListener(mExpectation.outputWatcher); in expectAutoFill() 97 mExpectation.timeListener.onTimeChanged(v, h, m); in expectAutoFill() 106 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 107 mExpectation.timeListener.assertAutoFilled(); in assertAutoFilled() 108 mExpectation.outputWatcher.assertAutoFilled(); in assertAutoFilled()
|
D | AbstractDatePickerActivity.java | 52 private FillExpectation mExpectation; field in AbstractDatePickerActivity 97 mExpectation = new FillExpectation(output, year, month, day); in expectAutoFill() 98 mOutput.addTextChangedListener(mExpectation.outputWatcher); in expectAutoFill() 101 mExpectation.dateListener.onDateChanged(v, y, m, d); in expectAutoFill() 110 assertWithMessage("expectAutoFill() not called").that(mExpectation).isNotNull(); in assertAutoFilled() 111 mExpectation.outputWatcher.assertAutoFilled(); in assertAutoFilled() 112 mExpectation.dateListener.assertAutoFilled(); in assertAutoFilled()
|