Searched refs:withValue (Results 1 – 25 of 26) sorted by relevance
12
102 .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 …]
181 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 …]
275 .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()
271 oper.add(ContentProviderOperation.newUpdate(groupUri).withValue(Groups.GROUP_VISIBLE, 0) in testDelayVisibleTransaction()
5199 .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 …]
190 .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 …]
860 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 …]
119 .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())
74 .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()
158 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 …]
74 .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()
1338 .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 …]
1336 .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 …]
160 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()
90 .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()
444 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()
595 .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 …]
557 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()
208 .withValue(RawContacts.ACCOUNT_NAME, name) in newRawContactOperation()209 .withValue(RawContacts.ACCOUNT_TYPE, type); in newRawContactOperation()211 builder.withValue(RawContacts.DATA_SET, dataSet); in newRawContactOperation()
405 .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 …]
133 .withValue(SimRecords.NAME, contact.getName()) in captureRestoreSnapshot()134 .withValue(SimRecords.PHONE_NUMBER, contact.getPhone()) in captureRestoreSnapshot()
173 .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()
558 .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()
META-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
META-INF/ META-INF/MANIFEST.MF io/ io/opencensus/ io/ ...