Home
last modified time | relevance | path

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

12345678910>>...23

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DSelectionBuilderTest.java28 assertEquals(null, new SelectionBuilder(null).build()); in testEmptyClauses()
29 assertEquals(null, new SelectionBuilder("").build()); in testEmptyClauses()
30 assertEquals(null, new SelectionBuilder("").addClause(null).build()); in testEmptyClauses()
31 assertEquals(null, new SelectionBuilder(null).addClause("").build()); in testEmptyClauses()
32 assertEquals(null, new SelectionBuilder(null).addClause("").addClause(null).build()); in testEmptyClauses()
36 assertEquals("(A)", new SelectionBuilder("A").build()); in testNonEmptyClauses()
40 .build()); in testNonEmptyClauses()
49 .build()); in testNonEmptyClauses()
52 assertEquals("(A)", new SelectionBuilder(null).addClause("A").build()); in testNonEmptyClauses()
53 assertEquals("(A)", new SelectionBuilder("").addClause("A").build()); in testNonEmptyClauses()
[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/UnifiedEmail/tests/src/com/android/mail/browse/
DConversationCursorTests.java95 .path(CONVO_TABLE).build(); in setupConvoList()
100 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList()
102 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList()
104 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList()
106 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList()
108 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList()
110 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList()
112 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList()
114 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList()
116 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList()
[all …]
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/model/
DPackageDownloadInfoTest.java50 .build(); in testBuilderWriteAndReadBack()
66 .build(); in testFailToConstructPackageInfoWithDownloadLocationWithoutChecksum()
79 .build(); in testFailToConstructPackageInfoWithoutDownloadLocation()
93 .build(); in testConstructPackageInfoWithDownloadLocationAndPackageChecksum()
106 .build(); in testConstructPackageInfoWithDownloadLocationAndSignatureChecksum()
121 .build(); in testEquals()
128 .build(); in testEquals()
143 .build(); in testNotEquals()
150 .build(); in testNotEquals()
165 .build(); in testParceable()
DProvisioningParamsTest.java74 .build();
91 .build();
100 .build(); in testFailToConstructProvisioningParamsWithoutPackageNameOrComponentName()
113 .build(); in testFailToConstructProvisioningParamsWithoutProvisioningAction()
139 .build(); in testEquals()
156 .build(); in testEquals()
182 .build(); in testNotEquals()
199 .build(); in testNotEquals()
225 .build(); in testParceable()
DWifiInfoTest.java53 .build(); in testBuilderWriteAndReadBack()
77 .build(); in testFailToConstructWifiInfoWithoutSsid()
96 .build(); in testEquals()
106 .build(); in testEquals()
124 .build(); in testNotEquals()
134 .build(); in testNotEquals()
152 .build(); in testParceable()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
DHttpUrlConnectionBuilderTests.java66 HttpURLConnection connection = builder.build(); in testSetConnectTimeout()
84 HttpURLConnection connection = builder.build(); in testSetReadTimeout()
92 HttpURLConnection connection = builder.build(); in testAddHeader()
99 HttpURLConnection connection = builder.build(); in testSetUseCache_notSet()
106 HttpURLConnection connection = builder.build(); in testSetUseCache_false()
114 HttpURLConnection connection = builder.build(); in testSetUseCache_true()
123 HttpURLConnection connection = builder.build(); in testSetMode_uploadOnly()
132 HttpURLConnection connection = builder.build(); in testSetMode_downloadOnly()
141 HttpURLConnection connection = builder.build(); in testSetMode_bidirectional()
150 HttpURLConnection connection = builder.build(); in testSetAuthToken()
/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/apps/TV/tests/unit/src/com/android/tv/data/
DChannelTest.java178 .build(); in assertAppLinkType()
199 new Channel.Builder().setInputId(PARTNER_INPUT_ID).build()); in testComparator()
201 new Channel.Builder().setInputId("1").build()); in testComparator()
203 new Channel.Builder().setInputId("1").setDisplayNumber("2").build()); in testComparator()
205 new Channel.Builder().setInputId("2").setDisplayNumber("1.0").build()); in testComparator()
210 .setDisplayName("test1").build(), in testComparator()
212 .setDisplayName("test2").build(), in testComparator()
214 .setDisplayName("test3").build()); in testComparator()
216 new Channel.Builder().setInputId("2").setDisplayNumber("2.0").build()); in testComparator()
219 new Channel.Builder().setInputId("2").setDisplayNumber("12.2").build()); in testComparator()
[all …]
DProgramTest.java40 Program program = new Program.Builder().build(); in testBuild()
47 .build(); in testNoGenres()
58 .build(); in testFamilyGenre()
69 .build(); in testFamilyComedyGenre()
80 .build(); in testOtherGenre()
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
DVehiclePropValueUtil.java37 build(); in createIntValue()
48 return builder.build(); in createIntVectorValue()
54 build(); in createFloatValue()
65 return builder.build(); in createFloatVectorValue()
71 build(); in createLongValue()
77 build(); in createStringValue()
83 build(); in createBooleanValue()
89 build(); in createBytesValue()
97 build(); in createZonedIntValue()
109 return builder.build(); in createZonedIntVectorValue()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilderTest.java57 assertNull(builder.build()); in testIncompleteBuild()
58 assertNull(builder.setFrequents(TestDataFactory.getStrequentContactsCursor()).build()); in testIncompleteBuild()
60 assertNull(builder.build()); in testIncompleteBuild()
61 assertNull(builder.setAllContacts(TestDataFactory.getAllContactListCursor()).build()); in testIncompleteBuild()
68 .build(); in testBuildOnce()
78 .build(); in testBuildTwice()
81 assertNull(builder.build()); in testBuildTwice()
86 .build(); in testBuildTwice()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDiff.java57 diff.add(builder.build()); in buildDiff()
66 diff.add(builder.build()); in buildDiff()
74 diff.add(builder.build()); in buildDiff()
79 diff.add(builder.build()); in buildDiff()
89 diff.add(builder.build()); in buildDiff()
105 diff.add(builder.build()); in buildDiff()
112 diff.add(builder.build()); in buildDiff()
123 diff.add(builder.build()); in buildDiff()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DConstants.java30 .setAudioChannelCount(2).build();
32 TvTrackInfo.TYPE_AUDIO, "Generic Audio").build();
36 .setVideoFrameRate(50).build();
38 TvTrackInfo.TYPE_VIDEO, "SVGA Video").setVideoHeight(600).setVideoWidth(800).build();
40 TvTrackInfo.TYPE_VIDEO, "Generic Video").build();
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DPhoneAccountRegistrarTest.java116 .build(); in testPhoneAccount()
145 .build(); in testPhoneAccountExtrasEdge()
181 .build()); in testAccounts()
185 .build()); in testAccounts()
189 .build()); in testAccounts()
192 .build()); in testAccounts()
221 .build()); in testDefaultOutgoing()
231 .build()); in testDefaultOutgoing()
244 .build()); in testDefaultOutgoing()
258 roundTripPhoneAccount(new PhoneAccount.Builder(handle, null).build()); in testPhoneAccountParceling()
[all …]
/packages/apps/Messaging/build/
Dgcheckstyle.mk16 STYLE_CONFIG := $(LOCAL_PATH)/build/gcheckstyle/tools/java/checkstyle/googlestyle-5.0.xml
19 STYLE_JAR := $(LOCAL_PATH)/build/gcheckstyle/google-style-checker_deploy.jar
32 $(hide) pushd $(PRIVATE_PATH)/build/gcheckstyle && \
44 …$(hide) $(PRIVATE_PATH)/build/process_style_output.py -omit $(abspath $(PRIVATE_PATH))/ < $< | $(P…
DREADME1 …iles in this folder are build extensions specific to the Bugle project, but currently could be mer…
6 …a/checkstyle/googlestyle-5.0.xml is the config file which came from /home/build/nonconf/google3/to…
8 google-style-checker_deploy.jar is pulled from the build share at /google/data/ro/teams/devtools/gl…
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java165 .authority(authority).appendPath(TABLE_ACCOUNT).build(); in buildAccountUri()
177 .build(); in buildAccountUriwithId()
187 .build(); in buildMessageUri()
199 .build(); in buildMessageUri()
212 .build(); in buildMessageUriWithId()
224 .build(); in buildFolderUri()
237 .build(); in buildConversationUri()
249 .build(); in buildConvoContactsUri()
262 .build(); in buildConvoContactsUri()
276 .build(); in buildConvoContactsUriWithId()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DConvergedImageCaptureCommand.java153 session.submitRequest(Arrays.asList(idleBuilder.build()), in waitForAFConvergence()
156 session.submitRequest(Arrays.asList(triggerBuilder.build()), in waitForAFConvergence()
176 session.submitRequest(Arrays.asList(idleBuilder.build()), in waitForAEConvergence()
179 session.submitRequest(Arrays.asList(triggerBuilder.build()), in waitForAEConvergence()
212 burstRequest.add(builder.build()); in captureBurst()
233 session.submitRequest(Arrays.asList(repeatingBuilder.build()), in resetRepeating()
240 session.submitRequest(Arrays.asList(triggerCancelBuilder.build()), in resetRepeating()
258 session.submitRequest(Arrays.asList(hackAETriggerCancelBuilder.build()), in resetRepeating()
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DScheduledRecordingTest.java60 Channel c = new Channel.Builder().build(); in testBuildProgram()
61 Program p = new Program.Builder().build(); in testBuildProgram()
62 ScheduledRecording actual = ScheduledRecording.builder(p).setChannelId(c.getId()).build(); in testBuildProgram()
73 ScheduledRecording actual = ScheduledRecording.buildFrom(expected).build(); in testBuildFrom()
89 c = ScheduledRecording.buildFrom(c).setPriority(b.getPriority() - 1).build(); in testBuild_priority()
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java245 expectedOps.add(b.build()); in addOwnerAttendeeToOps()
253 expectedOps.add(b.build()); in addOwnerAttendeeToOps()
270 expectedOps.add(b.build()); in addAttendeeChangesOps()
282 expectedOps.add(b.build()); in addAttendeeChangesOps()
318 ops.add(b.build()); in addTestAttendees()
338 ops.add(b.build()); in addTestAttendees()
358 ops.add(b.build()); in addTestAttendees()
410 expectedOps.add(b.build()); in verifySaveEventNewEvent()
457 mExpectedValues).build()); in verifySaveEventModifyRecurring()
507 expectedOps.add(ContentProviderOperation.newDelete(Uri.parse(mModel1.mUri)).build()); in verifySaveEventRecurringToNonRecurring()
[all …]
/packages/services/Car/tests/carservice_test/src/android/media/tests/
DAudioPolicyTest.java69 .build(); in testAudioPorts()
90 AudioAttributes audioAttributes = audioAttributesBuilder.build(); in createAudioMix()
95 .build(); in createAudioMix()
98 .build(); in createAudioMix()
101 .build(); in createAudioMix()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java139 if (null != contentProviderClient.getType(uriV2Builder.build())) return uriV2Builder; in getContentUriBuilderForType()
152 acquireContentProviderClient(getProviderUriBuilder("").build()); in getWordListWordListInfos()
162 final Uri queryUri = builder.build(); in getWordListWordListInfos()
269 final Uri wordListUri = wordListUriBuilder.build(); in installWordListToStaging()
334 if (0 >= providerClient.delete(wordListUriBuilder.build(), null, null)) { in installWordListToStaging()
378 if (0 >= providerClient.delete(wordListUriBuilder.build(), null, null)) { in reportBrokenFileToDictionaryProvider()
422 acquireContentProviderClient(getProviderUriBuilder("").build()); in installDictToStagingFromContentProvider()
501 .build(); in reinitializeClientRecordInDictionaryContentProvider()
514 .build(); in reinitializeClientRecordInDictionaryContentProvider()
562 acquireContentProviderClient(getProviderUriBuilder("").build()); in initializeClientRecordHelper()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java328 ops.add(b.build()); in saveEvent()
334 ops.add(ContentProviderOperation.newUpdate(uri).withValues(values).build()); in saveEvent()
339 ops.add(ContentProviderOperation.newUpdate(uri).withValues(values).build()); in saveEvent()
354 ops.add(b.build()); in saveEvent()
365 ops.add(ContentProviderOperation.newDelete(uri).build()); in saveEvent()
374 .build()); in saveEvent()
380 ops.add(b.build()); in saveEvent()
397 values).build()); in saveEvent()
409 ops.add(ContentProviderOperation.newDelete(uri).build()); in saveEvent()
413 .build()); in saveEvent()
[all …]
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java113 .build();
130 .build();
184 .build(), in testParse_trustedSourceProvisioningIntent()
227 .build()) in testParse_resumeProvisioningIntent()
238 .build(), in testParse_resumeProvisioningIntent()
280 .build(), in testParse_managedProfileIntent()
318 .build(), in testParse_managedUserIntent()
357 .build(), in testParse_managedDeviceIntent()
396 .build(), in testParse_managedSharableDeviceIntent()

12345678910>>...23