Home
last modified time | relevance | path

Searched refs:withValue (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Bluetooth/android/pandora/server/src/
DPbap.kt102 .withValue(RawContacts.ACCOUNT_TYPE, null) in addContact()
103 .withValue(RawContacts.ACCOUNT_NAME, null) in addContact()
110 .withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE) in addContact()
111 .withValue(StructuredName.DISPLAY_NAME, displayName) in addContact()
118 .withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE) in addContact()
119 .withValue(Phone.NUMBER, phoneNumber) in addContact()
120 .withValue(Phone.TYPE, Phone.TYPE_MOBILE) in addContact()
127 .withValue(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE) in addContact()
128 .withValue(Email.DATA, emailID) in addContact()
129 .withValue(Email.TYPE, Email.TYPE_MOBILE) in addContact()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2TransactionTest.java181 b.withValue(RawContacts.STARRED, 1); in addInsertContactOperations()
182 b.withValue(RawContacts.LAST_TIME_CONTACTED, 86400 * 21); in addInsertContactOperations()
187 b.withValue(StructuredName.DISPLAY_NAME, "Regular Contact"); in addInsertContactOperations()
188 b.withValue(StructuredName.GIVEN_NAME, "Regular"); in addInsertContactOperations()
189 b.withValue(StructuredName.FAMILY_NAME, "Contact"); in addInsertContactOperations()
190 b.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in addInsertContactOperations()
210 b.withValue(RawContacts.STARRED, 1); in addInsertProfileOperations()
211 b.withValue(RawContacts.LAST_TIME_CONTACTED, 86400 * 11); in addInsertProfileOperations()
216 b.withValue(StructuredName.DISPLAY_NAME, "Profile Contact"); in addInsertProfileOperations()
217 b.withValue(StructuredName.GIVEN_NAME, "Profile"); in addInsertProfileOperations()
[all …]
DCloneContactsProvider2Test.java275 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null /* value */) in testCloneContactsApplyBatch()
276 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, null /* value */).build()); in testCloneContactsApplyBatch()
282 .withValue(ContactsContract.Data.MIMETYPE, in testCloneContactsApplyBatch()
284 .withValue(ContactsContract.CommonDataKinds.Phone.NUMBER, "7XXXXXXXXXX") in testCloneContactsApplyBatch()
285 .withValue(ContactsContract.Data.MIMETYPE, in testCloneContactsApplyBatch()
287 .withValue(ContactsContract.CommonDataKinds.Phone.TYPE, "1").build()); in testCloneContactsApplyBatch()
293 .withValue(ContactsContract.Data.MIMETYPE, in testCloneContactsApplyBatch()
295 .withValue(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME, "Name") in testCloneContactsApplyBatch()
DGroupsTest.java271 oper.add(ContentProviderOperation.newUpdate(groupUri).withValue(Groups.GROUP_VISIBLE, 0) in testDelayVisibleTransaction()
DContactsProvider2Test.java5199 .withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE) in testInsertDataWithContentProviderOperations()
5200 .withValue(StructuredName.GIVEN_NAME, "John") in testInsertDataWithContentProviderOperations()
5201 .withValue(StructuredName.FAMILY_NAME, "Doe") in testInsertDataWithContentProviderOperations()
6266 builder.withValue(ContactsContract.Groups.ACCOUNT_TYPE, account.type); in testSupplyingBothValuesAndParameters()
6267 builder.withValue(ContactsContract.Groups.ACCOUNT_NAME, account.name); in testSupplyingBothValuesAndParameters()
6268 builder.withValue(ContactsContract.Groups.SYSTEM_ID, "some id"); in testSupplyingBothValuesAndParameters()
6269 builder.withValue(ContactsContract.Groups.TITLE, "some name"); in testSupplyingBothValuesAndParameters()
6270 builder.withValue(ContactsContract.Groups.GROUP_VISIBLE, 1); in testSupplyingBothValuesAndParameters()
6275 builder.withValue(ContactsContract.Groups.ACCOUNT_TYPE, account.type + "diff"); in testSupplyingBothValuesAndParameters()
6276 builder.withValue(ContactsContract.Groups.ACCOUNT_NAME, account.name); in testSupplyingBothValuesAndParameters()
[all …]
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DContactsPopulator.java190 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, contact.getAccountType()) in addContact()
191 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, contact.getAccountName()) in addContact()
192 .withValue(ContactsContract.RawContacts.STARRED, contact.getIsStarred() ? 1 : 0) in addContact()
193 .withValue( in addContact()
203 .withValue( in addContact()
206 .withValue( in addContact()
215 .withValue( in addContact()
218 .withValue( in addContact()
228 .withValue( in addContact()
231 .withValue(ContactsContract.CommonDataKinds.Phone.NUMBER, phoneNumber.value) in addContact()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java860 op.withValue(FileColumns._MODIFIER, FileColumns._MODIFIER_MEDIA_SCAN); in visitFile()
865 op.withValue(MediaColumns.IS_DRM, 1); in visitFile()
1080 op.withValue(MediaColumns.DATA, file.getAbsolutePath()); in withGenericValues()
1081 op.withValue(MediaColumns.SIZE, attrs.size()); in withGenericValues()
1082 op.withValue(MediaColumns.DATE_MODIFIED, lastModifiedTime(file, attrs)); in withGenericValues()
1083 op.withValue(MediaColumns.DATE_TAKEN, null); in withGenericValues()
1084 op.withValue(MediaColumns.IS_DRM, 0); in withGenericValues()
1085 op.withValue(MediaColumns.WIDTH, null); in withGenericValues()
1086 op.withValue(MediaColumns.HEIGHT, null); in withGenericValues()
1087 op.withValue(MediaColumns.RESOLUTION, null); in withGenericValues()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllog/
DCallLogCacheUpdater.java119 .withValue(
122 .withValue(Calls.CACHED_LOOKUP_URI, numberAttributes.getLookupUri())
124 .withValue(Calls.CACHED_NAME, numberAttributes.getName())
125 .withValue(
127 .withValue(Calls.CACHED_NUMBER_LABEL, numberAttributes.getNumberTypeLabel())
130 .withValue(Calls.CACHED_NUMBER_TYPE, Phone.TYPE_CUSTOM)
131 .withValue(Calls.CACHED_PHOTO_ID, numberAttributes.getPhotoId())
132 .withValue(Calls.CACHED_PHOTO_URI, numberAttributes.getPhotoUri())
/packages/apps/Messaging/tests/src/com/android/messaging/util/
DContactUtilTest.java74 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, null) in addTestContact()
75 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, null) in addTestContact()
80 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact()
82 .withValue(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME, in addTestContact()
88 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact()
90 .withValue(ContactsContract.CommonDataKinds.Phone.NUMBER, phone) in addTestContact()
91 .withValue(ContactsContract.CommonDataKinds.Phone.TYPE, in addTestContact()
99 .withValue(ContactsContract.Data.MIMETYPE, in addTestContact()
101 .withValue(ContactsContract.CommonDataKinds.Email.DATA, email) in addTestContact()
102 .withValue(ContactsContract.CommonDataKinds.Email.TYPE, in addTestContact()
/packages/services/Telephony/src/com/android/phone/
DSimContacts.java158 builder.withValue(RawContacts.ACCOUNT_NAME, account.name); in actuallyImportOneSimContact()
159 builder.withValue(RawContacts.ACCOUNT_TYPE, account.type); in actuallyImportOneSimContact()
167 builder.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
168 builder.withValue(StructuredName.DISPLAY_NAME, name); in actuallyImportOneSimContact()
173 builder.withValue(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
174 builder.withValue(Phone.TYPE, phoneType); in actuallyImportOneSimContact()
175 builder.withValue(Phone.NUMBER, phoneNumber); in actuallyImportOneSimContact()
176 builder.withValue(Data.IS_PRIMARY, 1); in actuallyImportOneSimContact()
183 builder.withValue(Data.MIMETYPE, Email.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact()
184 builder.withValue(Email.TYPE, Email.TYPE_MOBILE); in actuallyImportOneSimContact()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/
DTestSyncAdapter.java74 .withValue(RawContacts.ACCOUNT_NAME, account.name) in onPerformSync()
75 .withValue(RawContacts.ACCOUNT_TYPE, account.type) in onPerformSync()
84 .withValue(Data.RAW_CONTACT_ID, rawContactId) in onPerformSync()
85 .withValue(Data.MIMETYPE, TEXT_CONTENT_ITEM_TYPE) in onPerformSync()
86 .withValue(Data.DATA3, "Contacts test action") in onPerformSync()
87 .withValue(Data.DATA5, "view") in onPerformSync()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java1338 .withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_SUSPENDED) in testAggregationModeInitializedAsSuspended()
1342 .withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE) in testAggregationModeInitializedAsSuspended()
1343 .withValue(StructuredName.GIVEN_NAME, "John") in testAggregationModeInitializedAsSuspended()
1344 .withValue(StructuredName.FAMILY_NAME, "Doe") in testAggregationModeInitializedAsSuspended()
1347 .withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_SUSPENDED) in testAggregationModeInitializedAsSuspended()
1351 .withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE) in testAggregationModeInitializedAsSuspended()
1352 .withValue(StructuredName.GIVEN_NAME, "John") in testAggregationModeInitializedAsSuspended()
1353 .withValue(StructuredName.FAMILY_NAME, "Doe") in testAggregationModeInitializedAsSuspended()
1358 .withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DEFAULT) in testAggregationModeInitializedAsSuspended()
1363 .withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DEFAULT) in testAggregationModeInitializedAsSuspended()
[all …]
DContactAggregator2Test.java1336 .withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_SUSPENDED) in testAggregationModeInitializedAsSuspended()
1340 .withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE) in testAggregationModeInitializedAsSuspended()
1341 .withValue(StructuredName.GIVEN_NAME, "John") in testAggregationModeInitializedAsSuspended()
1342 .withValue(StructuredName.FAMILY_NAME, "Doe") in testAggregationModeInitializedAsSuspended()
1345 .withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_SUSPENDED) in testAggregationModeInitializedAsSuspended()
1349 .withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE) in testAggregationModeInitializedAsSuspended()
1350 .withValue(StructuredName.GIVEN_NAME, "John") in testAggregationModeInitializedAsSuspended()
1351 .withValue(StructuredName.FAMILY_NAME, "Doe") in testAggregationModeInitializedAsSuspended()
1356 .withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DEFAULT) in testAggregationModeInitializedAsSuspended()
1361 .withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DEFAULT) in testAggregationModeInitializedAsSuspended()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDeltaList.java160 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, joinedRawContactId); in buildDiffWrapper()
162 builder.withValue(AggregationExceptions.RAW_CONTACT_ID2, rawContactId); in buildDiffWrapper()
180 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, rawContactId); in buildDiffWrapper()
241 builder.withValue(AggregationExceptions.TYPE, AggregationExceptions.TYPE_KEEP_TOGETHER); in beginKeepTogether()
267 builder.withValue(AggregationExceptions.TYPE, AggregationExceptions.TYPE_KEEP_SEPARATE); in buildSplitContactDiffHelper()
272 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, rawContactId1); in buildSplitContactDiffHelper()
282 builder.withValue(AggregationExceptions.RAW_CONTACT_ID2, rawContactId2); in buildSplitContactDiffHelper()
DSimContact.java90 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, targetAccount.name) in appendCreateContactOperations()
91 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, targetAccount.type) in appendCreateContactOperations()
92 .withValue(ContactsContract.RawContacts.DATA_SET, targetAccount.dataSet) in appendCreateContactOperations()
114 .withValue(ContactsContract.Data.MIMETYPE, mimeType) in createInsertOp()
115 .withValue(column, value) in createInsertOp()
DRawContactDelta.java444 builder.withValue(RawContacts.VERSION, beforeVersion); in buildAssertHelper()
496 builder.withValue(Data.RAW_CONTACT_ID, beforeId); in buildDiff()
518 builder.withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DEFAULT); in buildDiff()
569 bw.getBuilder().withValue(Data.RAW_CONTACT_ID, beforeId); in buildDiffWrapper()
592 builder.withValue(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DEFAULT); in buildDiffWrapper()
605 builder.withValue(RawContacts.AGGREGATION_MODE, mode); in buildSetAggregationMode()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DEnterpriseContactsTest.java595 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE) in insertTestContact()
596 .withValue(ContactsContract.RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME) in insertTestContact()
601 .withValue(ContactsContract.Contacts.Data.MIMETYPE, in insertTestContact()
603 .withValue(ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME, in insertTestContact()
609 .withValue(ContactsContract.Contacts.Data.MIMETYPE, in insertTestContact()
611 .withValue(ContactsContract.CommonDataKinds.Phone.NUMBER, "123456") in insertTestContact()
612 .withValue(ContactsContract.CommonDataKinds.Phone.TYPE, in insertTestContact()
618 .withValue(ContactsContract.Contacts.Data.MIMETYPE, in insertTestContact()
620 .withValue(ContactsContract.CommonDataKinds.Email.ADDRESS, "testcontact@email.com") in insertTestContact()
621 .withValue(ContactsContract.CommonDataKinds.Email.TYPE, in insertTestContact()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java557 builder.withValue(TvContract.Programs.COLUMN_CHANNEL_ID, channel.getChannelId()); in buildContentProviderOperation()
559 builder.withValue( in buildContentProviderOperation()
565 builder.withValue(TvContract.Programs.COLUMN_TITLE, item.getTitleText()) in buildContentProviderOperation()
566 .withValue( in buildContentProviderOperation()
569 .withValue( in buildContentProviderOperation()
572 .withValue(TvContract.Programs.COLUMN_CONTENT_RATING, item.getContentRating()) in buildContentProviderOperation()
573 .withValue(TvContract.Programs.COLUMN_AUDIO_LANGUAGE, item.getAudioLanguage()) in buildContentProviderOperation()
574 .withValue(TvContract.Programs.COLUMN_SHORT_DESCRIPTION, item.getDescription()) in buildContentProviderOperation()
575 .withValue(TvContract.Programs.COLUMN_VERSION_NUMBER, item.getEventId()); in buildContentProviderOperation()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountWithDataSet.java208 .withValue(RawContacts.ACCOUNT_NAME, name) in newRawContactOperation()
209 .withValue(RawContacts.ACCOUNT_TYPE, type); in newRawContactOperation()
211 builder.withValue(RawContacts.DATA_SET, dataSet); in newRawContactOperation()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java405 .withValue(RawContacts.ACCOUNT_NAME, accountName) in createRawContact()
406 .withValue(RawContacts.ACCOUNT_TYPE, accountType) in createRawContact()
407 .withValue(RawContacts.DATA_SET, dataSet) in createRawContact()
985 insertBuilder.withValue(Data.RAW_CONTACT_ID, rawContactId); in addMembersToGroup()
986 insertBuilder.withValue(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); in addMembersToGroup()
987 insertBuilder.withValue(GroupMembership.GROUP_ROW_ID, groupId); in addMembersToGroup()
1596 builder.withValue(Data.IS_SUPER_PRIMARY, 1); in joinContacts()
1597 builder.withValue(Data.IS_PRIMARY, 1); in joinContacts()
1729 builder.withValue(AggregationExceptions.TYPE, AggregationExceptions.TYPE_KEEP_TOGETHER); in buildJoinContactDiff()
1730 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, rawContactId1); in buildJoinContactDiff()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DSimContactsTestHelper.java133 .withValue(SimRecords.NAME, contact.getName()) in captureRestoreSnapshot()
134 .withValue(SimRecords.PHONE_NUMBER, contact.getPhone()) in captureRestoreSnapshot()
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPerformanceTest.java173 .withValue(MediaColumns.DISPLAY_NAME, System.nanoTime() + ".jpg") in doBulk()
174 .withValue(MediaColumns.MIME_TYPE, "image/jpeg") in doBulk()
194 .withValue(MediaColumns.IS_FAVORITE, 1) in doBulk()
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java558 .withValue(Data.DATA1, value) in insertIntoData()
559 .withValue(Data.MIMETYPE, mimeType) in insertIntoData()
566 .withValue(Data.DATA1, value) in insertIntoData()
567 .withValue(ContactsContract.Data.DATA2, type) in insertIntoData()
568 .withValue(Data.MIMETYPE, mimeType) in insertIntoData()
/packages/services/Car/tests/BugReportApp/libs/
Dgrpc-context-1.19.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
Dopencensus-api-0.21.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...

12