/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | GlobalSearchSupportTest.java | 61 .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 …]
|
D | ContactsProvider2Test.java | 197 .appendQueryParameter(ContactsContract.STREQUENT_PHONE_ONLY, "true").build(), in testContactsStrequentPhoneOnlyProjection() 242 assertProjection(Contacts.CONTENT_FILTER_URI.buildUpon().appendPath("nothing").build(), in testContactsWithSnippetProjection() 405 assertProjection(Phone.CONTENT_FILTER_URI.buildUpon().appendPath("123").build(), in testDistinctDataProjection() 619 assertProjection(PhoneLookup.CONTENT_FILTER_URI.buildUpon().appendPath("123").build(), in testPhoneLookupProjection() 1047 .build(); in testPhonesWithMergedContacts() 1284 Phone.CONTENT_FILTER_URI.buildUpon().appendPath("dad").build(), in testPhonesFilterSearchParams() 1291 .build(), in testPhonesFilterSearchParams() 1298 .build(), in testPhonesFilterSearchParams() 1305 .build() in testPhonesFilterSearchParams() 1662 .build(); in testEmailsQuery() [all …]
|
D | ContactsProvider2TransactionTest.java | 183 ops.add(b.build()); in addInsertContactOperations() 191 ops.add(b.build()); in addInsertContactOperations() 212 ops.add(b.build()); in addInsertProfileOperations() 220 ops.add(b.build()); in addInsertProfileOperations()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | SelectionBuilderTest.java | 28 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/apps/Calendar/tests/src/com/android/calendar/event/ |
D | EditEventHelperTest.java | 245 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/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | ContactsSyncAdapter.java | 147 .build(); in addCallerIsSyncAdapterParameter() 703 .build()); in addData() 924 .build()); in addResponsesParser() 973 .build(); in uriWithAccountAndIsSyncAdapter() 1006 ContentProviderOperation build() { in build() method in ContactsSyncAdapter.RowBuilder 1007 return builder.build(); in build() 1041 add(builder.build()); in newContact() 1049 .build()) in delete() 1050 .build()); in delete() 1254 add(builder.build()); in addChildren() [all …]
|
D | EmailSyncAdapter.java | 1173 .build()); 1177 .build()); 1181 .build()); 1191 ContentUris.withAppendedId(Message.CONTENT_URI, id)).build()); 1211 .build()); 1220 .withValues(mailboxValues).build()); 1309 ContentUris.withAppendedId(Message.DELETED_CONTENT_URI, id)).build()); 1314 ContentUris.withAppendedId(Message.UPDATED_CONTENT_URI, id)).build()); 1325 .withSelection(WHERE_MAILBOX_KEY_AND_MOVED, mBindArgument).build());
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventHelper.java | 328 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 1248 .build(); in testAggregationModeInitializedAsSuspended() 1254 .build(); in testAggregationModeInitializedAsSuspended() 1257 .build(); in testAggregationModeInitializedAsSuspended() 1263 .build(); in testAggregationModeInitializedAsSuspended() 1268 .build(); in testAggregationModeInitializedAsSuspended() 1273 .build(); in testAggregationModeInitializedAsSuspended() 1290 .build(); in testAggregationModeUpdatedToSuspended() 1296 .build(); in testAggregationModeUpdatedToSuspended() 1299 .build(); in testAggregationModeUpdatedToSuspended() 1305 .build(); in testAggregationModeUpdatedToSuspended() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
D | BaseAccountType.java | 1040 protected static EditType build(int type, boolean secondary) { in build() method in BaseAccountType.PhoneKindBuilder 1046 if ("home".equals(type)) return build(Phone.TYPE_HOME, false); in buildEditTypeForTypeTag() 1047 if ("mobile".equals(type)) return build(Phone.TYPE_MOBILE, false); in buildEditTypeForTypeTag() 1048 if ("work".equals(type)) return build(Phone.TYPE_WORK, false); in buildEditTypeForTypeTag() 1049 if ("fax_work".equals(type)) return build(Phone.TYPE_FAX_WORK, true); in buildEditTypeForTypeTag() 1050 if ("fax_home".equals(type)) return build(Phone.TYPE_FAX_HOME, true); in buildEditTypeForTypeTag() 1051 if ("pager".equals(type)) return build(Phone.TYPE_PAGER, true); in buildEditTypeForTypeTag() 1052 if ("other".equals(type)) return build(Phone.TYPE_OTHER, false); in buildEditTypeForTypeTag() 1053 if ("callback".equals(type)) return build(Phone.TYPE_CALLBACK, true); in buildEditTypeForTypeTag() 1054 if ("car".equals(type)) return build(Phone.TYPE_CAR, true); in buildEditTypeForTypeTag() [all …]
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | EntityDiff.java | 57 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()
|
D | EntityDelta.java | 339 diff.add(builder.build()); in possibleAdd() 360 buildInto.add(builder.build()); in buildAssert() 418 buildInto.add(firstIndex, builder.build()); in buildDiff() 422 buildInto.add(builder.build()); in buildDiff() 429 buildInto.add(builder.build()); in buildDiff()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryFileDumper.java | 125 if (null != contentProviderClient.getType(uriV2Builder.build())) return uriV2Builder; in getContentUriBuilderForType() 138 acquireContentProviderClient(getProviderUriBuilder("").build()); in getWordListWordListInfos() 148 final Uri queryUri = builder.build(); in getWordListWordListInfos() 252 final Uri wordListUri = wordListUriBuilder.build(); in cacheWordList() 303 if (0 >= providerClient.delete(wordListUriBuilder.build(), null, null)) { in cacheWordList() 347 if (0 >= providerClient.delete(wordListUriBuilder.build(), null, null)) { in cacheWordList() 367 acquireContentProviderClient(getProviderUriBuilder("").build()); in cacheWordListsFromContentProvider() 425 .build(); in reinitializeClientRecordInDictionaryContentProvider() 438 .build(); in reinitializeClientRecordInDictionaryContentProvider() 462 acquireContentProviderClient(getProviderUriBuilder("").build()); in initializeClientRecordHelper()
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
D | NotificationShowcaseActivity.java | 226 return bigTextNotification.build(); in makeBigTextNotification() 249 return uploadNotification.build(); in makeUploadNotification() 280 .build()); in onCreate() 288 .build()); in onCreate() 304 .build()); in onCreate() 324 .build()); in onCreate() 345 .build()); in onCreate() 354 .build()); in onCreate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestService.java | 149 mNotificationBuilder.build()); in setClientActivity() 186 mNotificationBuilder.build()); in importSelectedItems() 221 mNotificationBuilder.build()); in onImportProgress() 238 mNotificationBuilder.build()); in onImportFinish() 257 mNotificationBuilder.build()); in onObjectIndexed() 276 mNotificationBuilder.build()); in onIndexFinish()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Account.java | 511 return CONTENT_URI.buildUpon().appendEncodedPath(uuid).build(); in getShortcutSafeUriFromUuid() 724 ops.add(ContentProviderOperation.newUpdate(CONTENT_URI).withValues(cv1).build()); in update() 728 .withValues(cv).build()); in update() 771 .build()); in save() 777 .build()); in save() 786 ops.add(ContentProviderOperation.newUpdate(CONTENT_URI).withValues(cv1).build()); in save() 806 ops.add(b.build()); in save()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PicasaSource.java | 116 data.cursor = mResolver.query(picasaUriBuilder.build(), in openCursor() 220 Cursor cursor = mResolver.query(picasaUriBuilder.build(), in findImages() 266 Cursor cursor = mResolver.query(picasaUriBuilder.build(), in resolveAccount() 300 Cursor cursor = mResolver.query(picasaUriBuilder.build(), in resolveAlbumIds() 341 Cursor cursor = mResolver.query(picasaUriBuilder.build(), in findAlbums() 446 is = mResolver.openInputStream(photoUriBuilder.build()); in getStream()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 588 .build(); 605 .build(); 609 .build(); 620 .build(); 627 .build(); 655 .build(); 672 .build(); 682 .build(); 687 .build(); 692 .build(); [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | CustomContactListFilterActivity.java | 145 groupsUri.appendQueryParameter(Groups.DATA_SET, account.dataSet).build(); in loadInBackground() 149 groupsUri.build(), null, null, null, null)); in loadInBackground() 260 final Cursor cursor = resolver.query(settingsUri.build(), new String[] { in fromSettings() 368 .build(); in buildDiff() 391 .build(); in buildDiff() 397 .build(); in buildDiff() 408 .build(); in addCallerIsSyncAdapterParameter()
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
D | MessageTestUtils.java | 147 public Multipart build() throws MessagingException { in build() method in MessageTestUtils.MultipartBuilder 162 bp.setBody(this.build()); in buildBodyPart() 199 public Message build() throws MessagingException { in build() method in MessageTestUtils.MessageBuilder 270 public String build(String epilogue) { in build() method in MessageTestUtils.TextBuilder
|
/packages/apps/Phone/src/com/android/phone/ |
D | SimContacts.java | 163 operationList.add(builder.build()); in actuallyImportOneSimContact() 169 operationList.add(builder.build()); in actuallyImportOneSimContact() 177 operationList.add(builder.build()); in actuallyImportOneSimContact() 186 operationList.add(builder.build()); in actuallyImportOneSimContact() 195 operationList.add(builder.build()); in actuallyImportOneSimContact()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactDelta.java | 394 diff.add(builder.build()); in possibleAdd() 415 buildInto.add(builder.build()); in buildAssert() 480 buildInto.add(firstIndex, builder.build()); in buildDiff() 484 buildInto.add(builder.build()); in buildDiff() 491 buildInto.add(builder.build()); in buildDiff()
|
D | ContactLoader.java | 402 contact.setRawContacts(rawContactsBuilder.build()); in loadContactEntity() 403 contact.setStatuses(statusesBuilder.build()); in loadContactEntity() 490 contactData.setInvitableAccountTypes(resultListBuilder.build()); in loadInvitableAccountTypes() 710 result.setGroupMetaData(groupListBuilder.build()); in loadGroupMetaData() 720 .appendPath(Contacts.StreamItems.CONTENT_DIRECTORY).build(), in loadStreamItems() 799 .build()); in loadStreamItems()
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
D | MockProviderTests.java | 87 .path(PONY_TABLE).build(); in setupPonies() 93 ops.add(ContentProviderOperation.newInsert(uri).withValues(pony1).build()); in setupPonies() 95 ops.add(ContentProviderOperation.newInsert(uri).withValues(pony2).build()); in setupPonies() 102 .path(PONY_TABLE).build(); in getPonyUri()
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
D | MockProviderTests.java | 87 .path(PONY_TABLE).build(); in setupPonies() 93 ops.add(ContentProviderOperation.newInsert(uri).withValues(pony1).build()); in setupPonies() 95 ops.add(ContentProviderOperation.newInsert(uri).withValues(pony2).build()); in setupPonies() 102 .path(PONY_TABLE).build(); in getPonyUri()
|