Home
last modified time | relevance | path

Searched refs:builder2 (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/time/src/android/app/time/cts/
DTimeZoneConfigurationTest.java59 TimeZoneConfiguration.Builder builder2 = in testEquals() local
63 TimeZoneConfiguration two = builder2.build(); in testEquals()
71 TimeZoneConfiguration two = builder2.build(); in testEquals()
75 builder2.setAutoDetectionEnabled(false); in testEquals()
78 TimeZoneConfiguration two = builder2.build(); in testEquals()
85 TimeZoneConfiguration two = builder2.build(); in testEquals()
92 TimeZoneConfiguration two = builder2.build(); in testEquals()
96 builder2.setGeoDetectionEnabled(false); in testEquals()
99 TimeZoneConfiguration two = builder2.build(); in testEquals()
106 TimeZoneConfiguration two = builder2.build(); in testEquals()
/cts/tests/tests/time/src/android/service/timezone/cts/
DTimeZoneProviderSuggestionTest.java64 TimeZoneProviderSuggestion.Builder builder2 = new TimeZoneProviderSuggestion.Builder() in testEquals() local
68 TimeZoneProviderSuggestion two = builder2.build(); in testEquals()
76 TimeZoneProviderSuggestion two = builder2.build(); in testEquals()
81 builder2.setElapsedRealtimeMillis(ARBITRARY_ELAPSED_REALTIME_MILLIS + 1); in testEquals()
84 TimeZoneProviderSuggestion two = builder2.build(); in testEquals()
89 builder2.setTimeZoneIds(ARBITRARY_TIME_ZONE_IDS); in testEquals()
92 TimeZoneProviderSuggestion two = builder2.build(); in testEquals()
100 TimeZoneProviderSuggestion two = builder2.build(); in testEquals()
/cts/tests/autofillservice/src/android/autofillservice/cts/dialog/
DMultipleStepsSignInActivityTest.java91 final CannedFillResponse.Builder builder2 = new CannedFillResponse.Builder() in testShowFillDialog_contentChanged_shownFillDialog() local
99 sReplier.addResponse(builder2.build()); in testShowFillDialog_contentChanged_shownFillDialog()
142 final CannedFillResponse.Builder builder2 = new CannedFillResponse.Builder() in testShowFillDialog_backPrevPage_notShownFillDialog() local
150 sReplier.addResponse(builder2.build()); in testShowFillDialog_backPrevPage_notShownFillDialog()
209 final CannedFillResponse.Builder builder2 = new CannedFillResponse.Builder() in testShowFillDialog_doNothingThenBackPrevPage_notShownFillDialog() local
217 sReplier.addResponse(builder2.build()); in testShowFillDialog_doNothingThenBackPrevPage_notShownFillDialog()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DMoreCollectors.java61 (builder, builder2) -> { in endingAt()
99 (builder, builder2) -> { in startingFrom()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSchemaCtsTest.java535 final StringPropertyConfig.Builder builder2 = in testInvalidStringPropertyConfigsTokenizerNonNone() local
542 assertThrows(IllegalStateException.class, () -> builder2.build()); in testInvalidStringPropertyConfigsTokenizerNonNone()
546 builder2.setIndexingType(StringPropertyConfig.INDEXING_TYPE_NONE); in testInvalidStringPropertyConfigsTokenizerNonNone()
549 assertThrows(IllegalStateException.class, () -> builder2.build()); in testInvalidStringPropertyConfigsTokenizerNonNone()
555 builder2.setIndexingType(StringPropertyConfig.INDEXING_TYPE_EXACT_TERMS); in testInvalidStringPropertyConfigsTokenizerNonNone()
558 assertThat(builder2.build()).isNotNull(); in testInvalidStringPropertyConfigsTokenizerNonNone()
562 builder2.setIndexingType(StringPropertyConfig.INDEXING_TYPE_PREFIXES); in testInvalidStringPropertyConfigsTokenizerNonNone()
565 assertThat(builder2.build()).isNotNull(); in testInvalidStringPropertyConfigsTokenizerNonNone()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DCursorAnchorInfoTest.java457 CursorAnchorInfo.Builder builder2 = new Builder().setMatrix(matrix1); in testEquality() local
459 builder2.addVisibleLineBounds(rectF.left, rectF.top, rectF.right, rectF.bottom); in testEquality()
462 assertEquals(builder1.build(), builder2.build()); in testEquality()
470 CursorAnchorInfo.Builder builder2 = new Builder().setMatrix(matrix1); in testEquality() local
472 builder2.addVisibleLineBounds(rectF.left, rectF.top, rectF.right, rectF.bottom); in testEquality()
475 assertNotEquals(builder1.build(), builder2.build()); in testEquality()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioAttributesTest.java259 … AudioAttributes.Builder builder2 = new AudioAttributes.Builder().setLegacyStreamType(stream); in testSetLegacyStreamOnBuilder() local
260 AudioAttributes attr2 = builder2.build(); in testSetLegacyStreamOnBuilder()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DFullScreenMagnificationGestureHandlerTest.java295 final GestureDescription.Builder builder2 = new GestureDescription.Builder(); in testPanning() local
308 builder2.addStroke(secondStroke); in testPanning()
312 dispatch(builder2.build()); in testPanning()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DFillResponseTest.java175 final FillResponse.Builder builder2 = new FillResponse.Builder().addDataset(mDataset); in testBuilder_disableAutofill_mustBeTheOnlyMethodCalled() local
176 assertThrows(IllegalStateException.class, () -> builder2.disableAutofill(mDisableDuration)); in testBuilder_disableAutofill_mustBeTheOnlyMethodCalled()
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineLoginActivityTest.java379 final CannedFillResponse.Builder builder2 = new CannedFillResponse.Builder() in testSwitchInputMethod() local
386 sReplier.addResponse(builder2.build()); in testSwitchInputMethod()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DLoginActivityTest.java3110 final CannedFillResponse.Builder builder2 = new CannedFillResponse.Builder() in testCancelActionButton() local
3117 sReplier.addResponse(builder2.build()); in testCancelActionButton()