Home
last modified time | relevance | path

Searched refs:mDisableDuration (Results 1 – 2 of 2) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DFillResponseTest.java54 private final long mDisableDuration = 666; field in FillResponseTest
131 mBuilder.disableAutofill(mDisableDuration); in testBuilder_disableAutofill_valid()
138 mBuilder.disableAutofill(mDisableDuration); in testBuilder_disableAutofill_mustBeTheOnlyMethodCalled()
150 assertThrows(IllegalStateException.class, () -> builder1.disableAutofill(mDisableDuration)); in testBuilder_disableAutofill_mustBeTheOnlyMethodCalled()
152 assertThrows(IllegalStateException.class, () -> builder2.disableAutofill(mDisableDuration)); in testBuilder_disableAutofill_mustBeTheOnlyMethodCalled()
155 assertThrows(IllegalStateException.class, () -> builder3.disableAutofill(mDisableDuration)); in testBuilder_disableAutofill_mustBeTheOnlyMethodCalled()
158 assertThrows(IllegalStateException.class, () -> builder4.disableAutofill(mDisableDuration)); in testBuilder_disableAutofill_mustBeTheOnlyMethodCalled()
161 assertThrows(IllegalStateException.class, () -> builder5.disableAutofill(mDisableDuration)); in testBuilder_disableAutofill_mustBeTheOnlyMethodCalled()
212 assertThat(new FillResponse.Builder().disableAutofill(mDisableDuration).build()) in testBuild_valid()
DCannedFillResponse.java87 private final long mDisableDuration; field in CannedFillResponse
115 mDisableDuration = builder.mDisableDuration; in CannedFillResponse()
200 if (mDisableDuration > 0) { in asFillResponse()
201 builder.disableAutofill(mDisableDuration); in asFillResponse()
245 + ", disableDuration=" + mDisableDuration in toString()
281 private long mDisableDuration; field in CannedFillResponse.Builder
441 assertWithMessage("already set").that(mDisableDuration).isEqualTo(0L); in disableAutofill()
442 mDisableDuration = duration; in disableAutofill()