Home
last modified time | relevance | path

Searched defs:builder (Results 1 – 25 of 673) sorted by relevance

12345678910>>...27

/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DDatasetTest.java95 final Dataset.Builder builder = new Dataset.Builder(mPresentation); in testBuilder_setNullInlinePresentation() local
106 final Dataset.Builder builder = new Dataset.Builder(mPresentation); in testBuilder_setValueNullId() local
118 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setValueWithNullPresentation() local
125 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setValueWithBothPresentation_nullPresentation() local
132 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setValueWithBothPresentation_nullInlinePresentation() local
139 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setValueWithBothPresentation_bothNull() local
158 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setFilteredValueWithPresentation_nullPresentation() local
165 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setFilteredValueWithoutPresentation() local
171 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setFilteredValueWithBothPresentation_nullPresentation() local
178 final Dataset.Builder builder = new Dataset.Builder(); in testBuilder_setFilteredValueWithBothPresentation_nullInlinePresentation() local
[all …]
DSaveInfoTest.java68 final SaveInfo.Builder builder = new SaveInfo.Builder(SAVE_DATA_TYPE_GENERIC); in testBuild_noOptionalIds() local
74 final SaveInfo.Builder builder = new SaveInfo.Builder(SAVE_DATA_TYPE_GENERIC, in testSetOptionalIds_null() local
81 final SaveInfo.Builder builder = new SaveInfo.Builder(SAVE_DATA_TYPE_GENERIC, in testSetOptional_empty() local
89 final SaveInfo.Builder builder = new SaveInfo.Builder(SAVE_DATA_TYPE_GENERIC, in testSetOptional_nullEntry() local
97 final SaveInfo.Builder builder = new SaveInfo.Builder(SAVE_DATA_TYPE_GENERIC, in testAddSanitizer_illegalArgs() local
118 final SaveInfo.Builder builder = new SaveInfo.Builder(SAVE_DATA_TYPE_GENERIC, in testAddSanitizer_sameIdOnDifferentCalls() local
/cts/tests/app/src/android/app/cts/
DZenPolicyTest.java31 ZenPolicy.Builder builder = new ZenPolicy.Builder() in testWriteToParcel() local
49 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testAlarms() local
65 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testMedia() local
81 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testSystem() local
97 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testReminders() local
113 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testEvents() local
130 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testRepeatCallers() local
146 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testMessages() local
178 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testCalls() local
210 ZenPolicy.Builder builder = new ZenPolicy.Builder(); in testConversations() local
[all …]
DNotificationTemplateTest.kt261 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
296 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
315 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
337 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
363 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
398 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
433 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
585 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
603 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
643 val builder = Notification.Builder(mContext, NOTIFICATION_CHANNEL_ID) in <lambda>() constant
[all …]
/cts/tests/tests/text/src/android/text/cts/
DSelectionTest.java46 SpannableStringBuilder builder = new SpannableStringBuilder(text); in testGetSelectionStart() local
64 SpannableStringBuilder builder = new SpannableStringBuilder(text); in testGetSelectionEnd() local
82 SpannableStringBuilder builder = new SpannableStringBuilder(text); in testSetSelection1() local
111 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); in testSetSelection2() local
139 SpannableStringBuilder builder = new SpannableStringBuilder(text); in testRemoveSelection() local
159 SpannableStringBuilder builder = new SpannableStringBuilder(text); in testSelectAll() local
186 SpannableStringBuilder builder = new SpannableStringBuilder(text); in testMoveLeft() local
214 SpannableStringBuilder builder = new SpannableStringBuilder(text); in testMoveRight() local
246 SpannableStringBuilder builder = new SpannableStringBuilder(text); in testMoveUp() local
286 SpannableStringBuilder builder = new SpannableStringBuilder(text); in testMoveUpAfterTyping() local
[all …]
DSpannableStringBuilderTest.java98 SpannableStringBuilder builder = new SpannableStringBuilder("spannable string"); in testGetSpanFlags() local
112 SpannableStringBuilder builder = new SpannableStringBuilder("spannable string"); in testNextSpanTransition() local
128 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); in testSetSpan() local
168 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); in testValueOf() local
174 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world!"); in testReplace1() local
207 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); in testReplace2() local
283 SpannableStringBuilder builder = new SpannableStringBuilder("hello, world"); in testSubSequence() local
298 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); in testGetChars() local
332 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); in testAppend1() local
345 SpannableStringBuilder builder = new SpannableStringBuilder("hello"); in testAppend2() local
[all …]
DDynamicLayoutTest.java404 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_obtain() local
420 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(null, mDefaultPaint, 0); in testBuilder_obtainWithNullText() local
426 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_obtainWithNullPaint() local
433 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_setDisplayTest() local
442 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_setAlignment() local
451 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_setLineSpacing() local
461 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_ellipsization() local
481 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_otherSetters() local
518 final SpannableStringBuilder builder = new SpannableStringBuilder("crash crash crash!!"); in testReflow_afterSpanChangedShouldNotThrowException() local
533 final DynamicLayout.Builder builder = in createBuilderWithDefaults() local
DStaticLayoutTest.java161 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder() local
176 StaticLayout.Builder builder = StaticLayout.Builder.obtain(null, 0, 0, null, 0); in testBuilder() local
185 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder() local
193 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder() local
201 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder() local
210 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder() local
222 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder() local
233 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder() local
248 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder() local
264 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder() local
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/dialog/
DLoginActivityTest.java89 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testTextView_clickTwiceWithShowFillDialog_showIme() local
131 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowFillDialog() local
186 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowFillDialog_onlyShowOnce() local
249 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowFillDialog_twoSuggestions_oneButton() local
300 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowFillDialog_switchToUnsupportedField_fallbackDropdown() local
350 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testFillDialog_fromUnsupportedFieldSwitchToSupported_noFillDialog() local
397 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowFillDialog_datasetNoDialogPresentation_notShownInDialog() local
451 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testHintsNotMatch() local
520 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testHintsConfigMatchAtLeastOneField() local
558 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testHints_passwordAuto_showFillDialog() local
[all …]
DMultipleStepsSignInActivityTest.java59 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowFillDialog_contentChanged_shownFillDialog() local
120 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowFillDialog_backPrevPage_notShownFillDialog() local
188 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowFillDialog_doNothingThenBackPrevPage_notShownFillDialog() local
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineFilteringTest.java62 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testFiltering_filtersByPrefix() local
108 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testFiltering_privacy() local
157 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testFiltering_privacy_textReplacement() local
187 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testFiltering_pinnedAreNotFiltered() local
DInlineLoginActivityTest.java97 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testAutofill_disjointDatasets() local
171 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in assertAutofill_SwitchActivity() local
216 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testAutofill_selectDatasetThenHideInlineSuggestion() local
261 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testLongClickAttribution() local
309 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testAutofill_noInvalid() local
344 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testSwitchInputMethod() local
399 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testImeDisableInlineSuggestions_fallbackDropdownUi() local
425 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testTouchExplorationEnabledImeSupportInline_inlineShown() local
456 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder(); in testScrollSuggestionView() local
504 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testTouchEventPassToIme() local
[all …]
DInlineTooltipTest.java63 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowTooltip() local
88 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowTooltipWithTwoFields() local
146 final CannedFillResponse.Builder builder = new CannedFillResponse.Builder() in testShowTooltipWithSecondDataset() local
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DSession2CommandGroupTest.java48 Session2CommandGroup.Builder builder = new Session2CommandGroup.Builder() in testHasCommand() local
60 Session2CommandGroup.Builder builder = new Session2CommandGroup.Builder() in testGetCommands() local
73 Session2CommandGroup.Builder builder = new Session2CommandGroup.Builder() in testDescribeContents() local
81 Session2CommandGroup.Builder builder = new Session2CommandGroup.Builder() in testWriteToParcel() local
96 Session2CommandGroup.Builder builder = new Session2CommandGroup.Builder() in testBuilder() local
109 Session2CommandGroup.Builder builder = new Session2CommandGroup.Builder() in testAddAndRemoveCommand() local
DHeifWriterTest.java157 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BUFFER, false, false); in testInputBuffer_NoGrid_NoHandler() local
162 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BUFFER, true, false); in testInputBuffer_Grid_NoHandler() local
167 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BUFFER, false, true); in testInputBuffer_NoGrid_Handler() local
172 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BUFFER, true, true); in testInputBuffer_Grid_Handler() local
179 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_SURFACE, false, false); in testInputSurface_NoGrid_NoHandler() local
185 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_SURFACE, true, false); in testInputSurface_Grid_NoHandler() local
191 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_SURFACE, false, true); in testInputSurface_NoGrid_Handler() local
197 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_SURFACE, true, true); in testInputSurface_Grid_Handler() local
202 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BITMAP, false, false); in testInputBitmap_NoGrid_NoHandler() local
211 TestConfig.Builder builder = new TestConfig.Builder(INPUT_MODE_BITMAP, true, false); in testInputBitmap_Grid_NoHandler() local
[all …]
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchSchemaCtsTest.java35 StringPropertyConfig.Builder builder = new StringPropertyConfig.Builder("test"); in testInvalidEnums() local
41 StringPropertyConfig builder = new StringPropertyConfig.Builder("test").build(); in testDefaultValues() local
49 AppSearchSchema.Builder builder = in testDuplicateProperties() local
274 final StringPropertyConfig.Builder builder = new StringPropertyConfig.Builder("property"); in testInvalidStringPropertyConfigsTokenizerNone() local
304 final StringPropertyConfig.Builder builder = in testInvalidStringPropertyConfigsTokenizerPlain() local
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DShellCommandTest.java67 ShellCommand.Builder builder = ShellCommand.builder("command") in build_containsOption() local
76 ShellCommand.Builder builder = ShellCommand.builder("command") in build_containsOptions() local
87 ShellCommand.Builder builder = ShellCommand.builder("command") in build_containsOperand() local
96 ShellCommand.Builder builder = ShellCommand.builder("command") in build_containsOperands() local
106 ShellCommand.Builder builder = ShellCommand.builder("command") in build_interleavesOptionsAndOperands() local
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DFillEventHistoryCommonTestCase.java577 CannedFillResponse.Builder builder = createTestResponseBuilder(/* withDataSet= */ true); in testContextCommitted_noSaveUi_whileNoSaveInfo() local
606 CannedFillResponse.Builder builder = createTestResponseBuilder(/* withDataSet= */ true); in testContextCommitted_noSaveUi_whileDelaySave() local
623 CannedFillResponse.Builder builder = createTestResponseBuilder(/* withDataSet= */ false); in testContextCommitted_noSaveUi_whileDelaySave_noDataset() local
636 private void contextCommitted_whileDelaySave(CannedFillResponse.Builder builder, in contextCommitted_whileDelaySave()
659 CannedFillResponse.Builder builder = createTestResponseBuilder(/* withDataSet= */ true); in testContextCommitted_noSaveUi_whileEmptyValueForRequiredIds() local
677 CannedFillResponse.Builder builder = createTestResponseBuilder(/* withDataSet= */ false); in testContextCommitted_noSaveUi_whileEmptyValueForRequiredIds_noDataset() local
689 private void contextCommitted_whileEmptyValueForRequiredIds(CannedFillResponse.Builder builder, in contextCommitted_whileEmptyValueForRequiredIds()
712 CannedFillResponse.Builder builder = createTestResponseBuilder(/* withDataSet= */ true); in testContextCommitted_noSaveUi_whileNoValueChanged() local
745 CannedFillResponse.Builder builder = createTestResponseBuilder(/* withDataSet= */ true); in testContextCommitted_noSaveUi_whileFieldsFailedValidation() local
761 CannedFillResponse.Builder builder = createTestResponseBuilder(/* withDataSet= */ false); in testContextCommitted_noSaveUi_whileFieldsFailedValidation_noDataSet() local
[all …]
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioSystemUsageTest.java94 HwAudioSource.Builder builder = new HwAudioSource.Builder() in trackPlayer_throwsException() local
104 AudioTrack.Builder builder = new AudioTrack.Builder() in getOutputForAttr_returnsError() local
119 AudioRecord.Builder builder = new AudioRecord.Builder() in getInputForAttr_returnsError() local
/cts/tests/uwb/src/android/uwb/cts/
DRangingMeasurementTest.java58 RangingMeasurement.Builder builder = new RangingMeasurement.Builder(); in testBuilder() local
101 RangingMeasurement.Builder builder = new RangingMeasurement.Builder(); in testInvalidRssi() local
110 private RangingMeasurement tryBuild(RangingMeasurement.Builder builder, in tryBuild()
DAngleOfArrivalMeasurementTest.java44 AngleOfArrivalMeasurement.Builder builder = new AngleOfArrivalMeasurement.Builder(azimuth); in testBuilder() local
53 private AngleOfArrivalMeasurement tryBuild(AngleOfArrivalMeasurement.Builder builder, in tryBuild()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/rrlp_components/
DRel_98_MsrPosition_Rsp_Extension.java135 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getComponents() local
185 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getExtensionComponents() local
325 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getComponents() local
375 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getExtensionComponents() local
407 StringBuilder builder = new StringBuilder(); in toIndentedString() local
457 StringBuilder builder = new StringBuilder(); in toIndentedString() local
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/map_extensiondatatypes/
DPrivateExtension.java106 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getComponents() local
113 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getExtensionComponents() local
143 StringBuilder builder = new StringBuilder(); in toIndentedString() local
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/ver2_ulp_components/
DMeasResultEUTRA.java151 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getComponents() local
287 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getExtensionComponents() local
400 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getComponents() local
493 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getExtensionComponents() local
527 StringBuilder builder = new StringBuilder(); in toIndentedString() local
656 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getComponents() local
749 ImmutableList.Builder<SequenceComponent> builder = ImmutableList.builder(); in getExtensionComponents() local
783 StringBuilder builder = new StringBuilder(); in toIndentedString() local
831 StringBuilder builder = new StringBuilder(); in toIndentedString() local
/cts/tests/location/location_none/src/android/location/cts/none/
DGnssStatusTest.java42 GnssStatus.Builder builder = new GnssStatus.Builder(); in testBuilder_ClearSatellites() local
74 GnssStatus.Builder builder = new GnssStatus.Builder(); in getTestGnssStatus() local

12345678910>>...27