Home
last modified time | relevance | path

Searched refs:updateValues (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DLockedMessageTest.java125 final ContentValues updateValues = new ContentValues(); in insertMmsWithLockedMessage() local
126 updateValues.put(Telephony.Mms.LOCKED, 1); in insertMmsWithLockedMessage()
128 int cursorUpdate = mContentResolver.update(mmsUri, updateValues, null, null); in insertMmsWithLockedMessage()
151 final ContentValues updateValues = new ContentValues(); in insertSmsWithLockedMessage() local
152 updateValues.put(Telephony.Sms.LOCKED, 1); in insertSmsWithLockedMessage()
154 int cursorUpdate = mContentResolver.update(smsUri, updateValues, null, null); in insertSmsWithLockedMessage()
DMmsTest.java328 final ContentValues updateValues = new ContentValues(); in testMmsUpdate() local
329 updateValues.put(Telephony.Mms.SUBJECT, MMS_SUBJECT_TWO); in testMmsUpdate()
331 int cursorUpdate = mContentResolver.update(mmsUri, updateValues, null, null); in testMmsUpdate()
354 final ContentValues updateValues = new ContentValues(); in testMmsUpdate_canUpdateReadAndSeenStatus() local
355 updateValues.put(Telephony.Mms.READ, 1); in testMmsUpdate_canUpdateReadAndSeenStatus()
356 updateValues.put(Telephony.Mms.SEEN, 1); in testMmsUpdate_canUpdateReadAndSeenStatus()
358 int cursorUpdate = mContentResolver.update(mmsUri, updateValues, null, null); in testMmsUpdate_canUpdateReadAndSeenStatus()
DMmsPartTest.java203 final ContentValues updateValues = new ContentValues(); in testMmsPartUpdate() local
204 updateValues.put(Telephony.Mms.Part.TEXT, MMS_BODY_UPDATE); in testMmsPartUpdate()
207 int cursorUpdate = mContentResolver.update(partUri, updateValues, null, null); in testMmsPartUpdate()
DSmsTest.java154 final ContentValues updateValues = new ContentValues(); in testInsertSms_canUpdateSeen() local
155 updateValues.put(Telephony.Sms.SEEN, 1); in testInsertSms_canUpdateSeen()
157 int cursorUpdate = mContentResolver.update(uri, updateValues, null, null); in testInsertSms_canUpdateSeen()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DVoicemailContractTest.java246 ContentValues updateValues = new ContentValues(); in testForeignUpdate_dirty() local
247 updateValues.put(Voicemails.IS_READ, "1"); in testForeignUpdate_dirty()
248 mVoicemailProvider.update(uri, updateValues, null, null); in testForeignUpdate_dirty()
294 ContentValues updateValues = new ContentValues(); in testForeignUpdate_explicitNotDirty() local
295 updateValues.put(Voicemails.DIRTY, 0); in testForeignUpdate_explicitNotDirty()
296 mVoicemailProvider.update(uri, updateValues, null, null); in testForeignUpdate_explicitNotDirty()
316 ContentValues updateValues = new ContentValues(); in testForeignUpdate_null_dirty() local
317 updateValues.put(Voicemails.DIRTY, (Integer) null); in testForeignUpdate_null_dirty()
318 mVoicemailProvider.update(uri, updateValues, null, null); in testForeignUpdate_null_dirty()
338 ContentValues updateValues = new ContentValues(); in testForeignUpdate_NotNormalized_normalized() local
[all …]
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_DownloadsTest.java249 final ContentValues updateValues = new ContentValues(); in testUpdateDownload() local
250 updateValues.put(MediaStore.Files.FileColumns.MEDIA_TYPE, in testUpdateDownload()
252 updateValues.put(Downloads.MIME_TYPE, "audio/3gpp"); in testUpdateDownload()
253 assertEquals(1, mContentResolver.update(publishUri, updateValues, null, null)); in testUpdateDownload()
327 final ContentValues updateValues = new ContentValues(); in testNotifyChange() local
328 updateValues.put(Files.FileColumns.MEDIA_TYPE, Files.FileColumns.MEDIA_TYPE_AUDIO); in testNotifyChange()
329 updateValues.put(Downloads.MIME_TYPE, "audio/3gp"); in testNotifyChange()
330 assertEquals(1, mContentResolver.update(publishUri, updateValues, null, null)); in testNotifyChange()
DMediaStore_FilesTest.java360 final ContentValues updateValues = new ContentValues(); in testInPlaceUpdate_mediaFileWithInvalidRelativePath() local
361 updateValues.put(MediaStore.Audio.AudioColumns.BOOKMARK, 43L); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
362 assertEquals(1, mResolver.update(uri, updateValues, null, null)); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/
DCalendarTest.java2171 ContentValues updateValues = CalendarHelper.getUpdateCalendarValuesWithOriginal( in testCalendarUpdateAsApp() local
2173 assertEquals(1, mContentResolver.update(uri, updateValues, null, null)); in testCalendarUpdateAsApp()
2181 updateValues = CalendarHelper.getUpdateCalendarValuesWithOriginal(values, seed++); in testCalendarUpdateAsApp()
2184 Calendars.CONTENT_URI, updateValues, selection, selectionArgs)); in testCalendarUpdateAsApp()
2305 ContentValues updateValues = EventHelper.getUpdateEventValuesWithOriginal(eventValues, in testEventUpdateAsApp() local
2307 assertEquals(1, mContentResolver.update(eventUri, updateValues, null, null)); in testEventUpdateAsApp()
2308 updateValues.put(Events.DIRTY, 1); // provider should have marked as dirty in testEventUpdateAsApp()
2309 verifyEvent(updateValues, eventId); in testEventUpdateAsApp()
2312 ContentValues badValues = new ContentValues(updateValues); in testEventUpdateAsApp()
2353 ContentValues updateValues = new ContentValues(); in testBulkUpdate() local
[all …]