Home
last modified time | relevance | path

Searched refs:build (Results 1 – 25 of 1699) sorted by relevance

12345678910>>...68

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerWrapperTest.java70 bob.build(), Long.valueOf(bob.build().getMediaId()))); in getQueueFromDescriptions()
126 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in setUp()
127 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in setUp()
164 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testIsReady()
172 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in testIsReady()
191 doReturn(mTestState.build()).when(mUpdatedController).getPlaybackState(); in testControllerUpdate()
193 doReturn(mTestMetadata.build()).when(mUpdatedController).getMetadata(); in testControllerUpdate()
202 controllerCallbacks.onMetadataChanged(mTestMetadata.build()); in testControllerUpdate()
230 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in testNoQueueMediaUpdates()
231 controllerCallbacks.onMetadataChanged(mTestMetadata.build()); in testNoQueueMediaUpdates()
[all …]
/packages/apps/Settings/src/com/android/settings/slices/
DCustomSliceRegistry.java69 .build();
79 .build();
89 .build();
99 .build();
109 .build();
119 .build();
129 .build();
139 .build();
148 .build();
157 .build();
[all …]
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java61 new Builder().build(); in testConstruction()
65 .build(); in testConstruction()
69 .build(); in testConstruction()
73 .build(); in testConstruction()
80 .build(); in testConstruction()
91 .build(); in testConstruction()
95 CarUxRestrictionsConfiguration config = new Builder().build(); in testUnspecifiedDrivingStateUsesDefaultRestriction()
109 .build(); in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
123 builder.build(); in testBuilderValidation_NonMovingStateHasOneRestriction()
141 builder.build(); in testBuilderValidation_PassengerModeNoSpeedRangeOverlap()
[all …]
DCarNavigationManagerTest.java63 ImageReference imageReference = ImageReference.newBuilder().build(); in testSerializeAndDeserializeProto()
64 Distance distance = Distance.newBuilder().build(); in testSerializeAndDeserializeProto()
65 Maneuver maneuver = Maneuver.newBuilder().build(); in testSerializeAndDeserializeProto()
66 Lane lane = Lane.newBuilder().build(); in testSerializeAndDeserializeProto()
67 LaneDirection laneDirection = LaneDirection.newBuilder().build(); in testSerializeAndDeserializeProto()
68 Cue cue = Cue.newBuilder().build(); in testSerializeAndDeserializeProto()
69 CueElement cueElement = CueElement.newBuilder().build(); in testSerializeAndDeserializeProto()
70 Step step = Step.newBuilder().build(); in testSerializeAndDeserializeProto()
71 LatLng latLng = LatLng.newBuilder().build(); in testSerializeAndDeserializeProto()
72 Destination destination = Destination.newBuilder().build(); in testSerializeAndDeserializeProto()
[all …]
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DButtonChooserFactory.java59 MappingInfo.builder(4).setSlotOrder(0).build()); in newImsAndWiFiButtonChooser()
62 InCallButtonIds.BUTTON_UPGRADE_TO_RTT, MappingInfo.builder(3).setSlotOrder(0).build()); in newImsAndWiFiButtonChooser()
64 InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO, MappingInfo.builder(4).setSlotOrder(10).build()); in newImsAndWiFiButtonChooser()
66 InCallButtonIds.BUTTON_SWITCH_TO_SECONDARY, MappingInfo.builder(5).setSlotOrder(0).build()); in newImsAndWiFiButtonChooser()
67 mapping.put(InCallButtonIds.BUTTON_HOLD, MappingInfo.builder(5).setSlotOrder(10).build()); in newImsAndWiFiButtonChooser()
76 MappingInfo.builder(4).setSlotOrder(0).build()); in newCdmaButtonChooser()
78 InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO, MappingInfo.builder(4).setSlotOrder(10).build()); in newCdmaButtonChooser()
79 mapping.put(InCallButtonIds.BUTTON_SWAP, MappingInfo.builder(5).setSlotOrder(0).build()); in newCdmaButtonChooser()
83 mapping.put(InCallButtonIds.BUTTON_HOLD, MappingInfo.builder(5).setSlotOrder(5).build()); in newCdmaButtonChooser()
89 .build()); in newCdmaButtonChooser()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DCustomSliceRegistry.java66 .build();
76 .build();
86 .build();
96 .build();
106 .build();
116 .build();
126 .build();
135 .build();
144 .build();
153 .build();
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioModeTransitionTests.java221 .build(), in generateTestCases()
240 .build(), in generateTestCases()
259 .build(), in generateTestCases()
278 .build(), in generateTestCases()
297 .build(), in generateTestCases()
316 .build(), in generateTestCases()
335 .build(), in generateTestCases()
354 .build(), in generateTestCases()
373 .build(), in generateTestCases()
392 .build(), in generateTestCases()
[all …]
DPhoneAccountRegistrarTest.java151 .build(); in testPhoneAccount()
170 .build(); in testFilterPhoneAccountForTest()
179 .build(); in testFilterPhoneAccountForTest()
185 .build(); in testFilterPhoneAccountForTest()
195 .build(); in testFilterPhoneAccountForTest()
258 .build(); in testPhoneAccountExtrasEdge()
295 .build()); in testAccounts()
299 .build()); in testAccounts()
303 .build()); in testAccounts()
306 .build()); in testAccounts()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/provider/
DDvrDbSyncTest.java92 .build(); in setUp()
100 .build(); in setUp()
101 baseSchedule = ScheduledRecording.builder(INPUT_ID, baseProgram).build(); in setUp()
102 baseSeriesSchedule = ScheduledRecording.builder(INPUT_ID, baseSeriesProgram).build(); in setUp()
107 .thenReturn(SeriesRecording.builder(INPUT_ID, baseProgram).build()); in setUp()
135 .build(); in testHandleUpdateProgram_changeTimeNotStarted()
146 .build()); in testHandleUpdateProgram_changeTimeInProgressNotCalled()
149 new ProgramImpl.Builder(baseProgram).setStartTimeUtcMillis(startTimeMs).build(); in testHandleUpdateProgram_changeTimeInProgressNotCalled()
163 .build(); in testHandleUpdateProgram_changeSeason()
174 .build()); in testHandleUpdateProgram_finished()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java127 .build(); in initCarCategoriesButton()
143 .build(); in initCarCategoriesButton()
156 .build(); in initCarCategoriesButton()
177 null, "Long Action (no-op)", pendingIntent).build()) in initImportanceHighBotton()
180 null, "Action (no-op)", pendingIntent).build()) in initImportanceHighBotton()
183 null, "Long Action (no-op)", pendingIntent).build()) in initImportanceHighBotton()
185 .build(); in initImportanceHighBotton()
198 .build(); in initImportanceDefaultButton()
210 .build(); in initImportanceLowButton()
222 .build(); in initImportanceMinButton()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/data/
DSeriesRecordingTest.java48 .build();
50 SeriesRecording.buildFrom(mBaseSeriesRecording).setStartFromSeason(2).build();
52 SeriesRecording.buildFrom(mSeriesRecordingSeason2).setStartFromEpisode(5).build();
58 .build();
77 .build(); in testParcelable()
101 new ProgramImpl.Builder(mBaseProgram).setSeriesId(OTHER_SERIES_ID).build(); in testDoesProgramMatch_differentSeriesId()
108 new ProgramImpl.Builder(mBaseProgram).setChannelId(OTHER_CHANNEL_ID).build(); in testDoesProgramMatch_differentChannel()
116 program = new ProgramImpl.Builder(program).setSeasonNumber("1").build(); in testDoesProgramMatch_startFromSeason2()
118 program = new ProgramImpl.Builder(program).setSeasonNumber("2").build(); in testDoesProgramMatch_startFromSeason2()
120 program = new ProgramImpl.Builder(program).setSeasonNumber("3").build(); in testDoesProgramMatch_startFromSeason2()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGlobalSearchSupportTest.java61 .appendPath(SearchManager.SUGGEST_URI_PATH_QUERY).appendPath("D").build(); in testSearchSuggestionsNotInDefaultDirectory()
71 loadTestPhoto()).build(); in testSearchSuggestionsByNameWithPhoto()
73 "Deer Dough").build().test(); in testSearchSuggestionsByNameWithPhoto()
78 loadTestPhoto()).email("foo@acme.com").build(); in testSearchSuggestionsByEmailWithPhoto()
81 .expectedText1("Deer Dough").expectedText2("foo@acme.com").build().test(); in testSearchSuggestionsByEmailWithPhoto()
86 .build(); in testSearchSuggestionsByName()
88 null).build().test(); in testSearchSuggestionsByName()
93 "Little Fawn").company("Google").build(); in testSearchByNickname()
95 "Little Fawn").build().test(); in testSearchByNickname()
100 .build(); in testSearchByCompany()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCrossProfileIntentFiltersSetter.java63 .build();
75 .build();
89 .build();
101 .build();
112 .build();
119 .build();
132 .build();
140 .build();
149 .build();
158 .build();
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DSelectionBuilderTest.java29 assertEquals(null, new SelectionBuilder(null).build()); in testEmptyClauses()
30 assertEquals(null, new SelectionBuilder("").build()); in testEmptyClauses()
31 assertEquals(null, new SelectionBuilder("").addClause(null).build()); in testEmptyClauses()
32 assertEquals(null, new SelectionBuilder(null).addClause("").build()); in testEmptyClauses()
33 assertEquals(null, new SelectionBuilder(null).addClause("").addClause(null).build()); in testEmptyClauses()
37 assertEquals("(A)", new SelectionBuilder("A").build()); in testNonEmptyClauses()
41 .build()); in testNonEmptyClauses()
50 .build()); in testNonEmptyClauses()
53 assertEquals("(A)", new SelectionBuilder(null).addClause("A").build()); in testNonEmptyClauses()
54 assertEquals("(A)", new SelectionBuilder("").addClause("A").build()); in testNonEmptyClauses()
[all …]
/packages/services/Telephony/tests/src/com/android/phone/
DLocationAccessPolicyTest.java110 public Scenario build() { in build() method in LocationAccessPolicyTest.Scenario.Builder
244 .setMinSdkVersionForCoarse(Build.VERSION_CODES.N).build()) in getScenarios()
246 .build()); in getScenarios()
256 .setMinSdkVersionForCoarse(Build.VERSION_CODES.N).build()) in getScenarios()
258 .build()); in getScenarios()
268 .setMinSdkVersionForCoarse(Build.VERSION_CODES.JELLY_BEAN).build()) in getScenarios()
270 .build()); in getScenarios()
280 .setMinSdkVersionForCoarse(Build.VERSION_CODES.N).build()) in getScenarios()
282 .build()); in getScenarios()
293 .setMinSdkVersionForCoarse(Build.VERSION_CODES.N).build()) in getScenarios()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DProgramTest.java56 Program program = new ProgramImpl.Builder().build(); in testBuild()
62 Program program = new ProgramImpl.Builder().setCanonicalGenres("").build(); in testNoGenres()
72 Program program = new ProgramImpl.Builder().setCanonicalGenres(FAMILY_KIDS).build(); in testFamilyGenre()
83 new ProgramImpl.Builder().setCanonicalGenres(FAMILY_KIDS + ", " + COMEDY).build(); in testFamilyComedyGenre()
93 Program program = new ProgramImpl.Builder().setCanonicalGenres("other").build(); in testOtherGenre()
133 .build(); in testParcelable()
157 .build(); in testParcelableWithCriticScore()
172 Program program = new ProgramImpl.Builder().build(); in getEpisodeContentDescription_blank()
183 .build(); in getEpisodeContentDescription_seasonEpisodeAndTitle()
194 .build(); in getEpisodeContentDescription_EpisodeAndTitle()
[all …]
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DContactsPopulator.java53 .build(),
62 .build(),
71 .build(),
81 .build(),
88 .build(),
94 .build(),
100 .build(),
106 .build(),
111 .build(),
113 Contact.builder().addPhoneNumber(new PhoneNumber("611", Phone.TYPE_MOBILE)).build(),
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrRecordingSettingsFragment.java123 .build(); in onCreateActions()
132 .build(); in onCreateActions()
141 .build()); in onCreateButtonActions()
145 .build()); in onCreateButtonActions()
164 .build(); in onGuidedActionClicked()
267 .build()); in buildChannelSubActionStart()
272 .build()); in buildChannelSubActionStart()
277 .build()); in buildChannelSubActionStart()
282 .build()); in buildChannelSubActionStart()
287 .build()); in buildChannelSubActionStart()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DTunerChannel.java107 .build(); in TunerChannel()
162 .build(); in initProto()
199 .build(); in TunerChannel()
334 mProto = mProto.toBuilder().setVideoPid(videoPid).build(); in setVideoPid()
360 mProto = mProto.toBuilder().clearAudioPids().addAllAudioPids(audioPids).build(); in setAudioPids()
384 .build(); in setAudioStreamTypes()
396 mProto = mProto.toBuilder().setFilepath(filepath == null ? "" : filepath).build(); in setFilepath()
404 mProto = mProto.toBuilder().setVirtualMajor(virtualMajor).build(); in setVirtualMajor()
408 mProto = mProto.toBuilder().setVirtualMinor(virtualMinor).build(); in setVirtualMinor()
412 mProto = mProto.toBuilder().setShortName(shortName == null ? "" : shortName).build(); in setShortName()
[all …]
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DAdminIntegratedFlowPrepareActivityTest.java55 ProvisioningParams params = createDefaultProvisioningParamsBuilder().build(); in shouldRunPrepareActivity_returnsFalse()
69 .build()) in shouldRunPrepareActivity_wifi_returnsTrue()
70 .build(); in shouldRunPrepareActivity_wifi_returnsTrue()
83 .build(); in shouldRunPrepareActivity_mobileData_returnsTrue()
99 .build()) in shouldRunPrepareActivity_download_notSideloaded_returnsTrue()
100 .build(); in shouldRunPrepareActivity_download_notSideloaded_returnsTrue()
117 .build()) in shouldRunPrepareActivity_download_noMinimum_sideloaded_returnsTrue()
118 .build(); in shouldRunPrepareActivity_download_noMinimum_sideloaded_returnsTrue()
137 .build()) in shouldRunPrepareActivity_download_minimum_sideloaded_meetsMinimum_returnsFalse()
138 .build(); in shouldRunPrepareActivity_download_minimum_sideloaded_meetsMinimum_returnsFalse()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageDescriptorTest.java45 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_encodingConstants()
61 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_encodingObject()
76 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_proprietaryEncoding()
92 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_transformationConstantStretch()
108 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_transformationConstantCrop()
124 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_transformationConstantFill()
141 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_transformationConstantCropThenFill()
155 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_noSize()
170 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_useMaxSize()
187 BipImageDescriptor descriptor = builder.build(); in testBuildImageDescriptor_allButSize()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DSeriesRecordingSchedulerTest.java63 .build();
69 .build();
89 SeriesRecording.buildFrom(mBaseSeriesRecording).setId(SERIES_RECORDING_ID1).build(); in testPickOneProgramPerEpisode_onePerEpisode()
96 .build(); in testPickOneProgramPerEpisode_onePerEpisode()
102 .build(); in testPickOneProgramPerEpisode_onePerEpisode()
113 SeriesRecording.buildFrom(mBaseSeriesRecording).setId(SERIES_RECORDING_ID1).build(); in testPickOneProgramPerEpisode_manyPerEpisode()
121 .build(); in testPickOneProgramPerEpisode_manyPerEpisode()
123 Program program2 = new ProgramImpl.Builder(program1).setStartTimeUtcMillis(1).build(); in testPickOneProgramPerEpisode_manyPerEpisode()
129 .build(); in testPickOneProgramPerEpisode_manyPerEpisode()
131 Program program4 = new ProgramImpl.Builder(program1).setStartTimeUtcMillis(1).build(); in testPickOneProgramPerEpisode_manyPerEpisode()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java118 .build(); in setUp()
171 IkeSessionParams sessionParams = buildWithPskCommon(REMOTE_IPV4_HOST_ADDRESS).build(); in testBuildWithPsk()
190 .build(); in testBuildWithPskAndLifetime()
201 IkeSessionParams sessionParams = buildWithPskCommon(REMOTE_HOSTNAME).build(); in testBuildWithPskAndHostname()
214 .build(); in testAddIkeOption()
228 .build(); in testAddAndRemoveIkeOption()
259 .build(); in testCheckInvalidIkeOption()
275 .build(); in testBuildWithPskAndDpdDelay()
308 .build(); in testBuildWithPskAndRetransmission()
357 .build(); in testBuildWithEap()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/
Dreadme.md23 [lin-badge]: https://travis-ci.org/miloyip/rapidjson.png?branch=master "Travis build status"
24 [lin-link]: https://travis-ci.org/miloyip/rapidjson "Travis build status"
25 … https://ci.appveyor.com/api/projects/status/u658dcuwxo14a8m9/branch/master "AppVeyor build status"
26 [win-link]: https://ci.appveyor.com/project/miloyip/rapidjson/branch/master "AppVeyor build status"
59 Users can build and run the unit tests on their platform/compiler.
66 * [CMake](http://www.cmake.org) as a general build tool
67 * (optional)[Doxygen](http://www.doxygen.org) to build documentation
73 2. Create directory called `build` in rapidjson source directory.
74 3. Change to `build` directory and run `cmake ..` command to configure your build. Windows users ca…
75 4. On Windows, build the solution found in the build directory. On Linux, run `make` from the build
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java130 .build()) in getNavStateData()
135 .build()) in getNavStateData()
139 .build()) in getNavStateData()
149 .build()) in getNavStateData()
150 .build()) in getNavStateData()
151 .build()) in getNavStateData()
156 .build()) in getNavStateData()
160 .build()) in getNavStateData()
161 .build()) in getNavStateData()
162 .build()) in getNavStateData()
[all …]

12345678910>>...68