/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | LockedMessageTest.java | 122 final ContentValues updateValues = new ContentValues(); in insertMmsWithLockedMessage() local 123 updateValues.put(Telephony.Mms.LOCKED, 1); in insertMmsWithLockedMessage() 125 int cursorUpdate = mContentResolver.update(mmsUri, updateValues, null, null); in insertMmsWithLockedMessage() 148 final ContentValues updateValues = new ContentValues(); in insertSmsWithLockedMessage() local 149 updateValues.put(Telephony.Sms.LOCKED, 1); in insertSmsWithLockedMessage() 151 int cursorUpdate = mContentResolver.update(smsUri, updateValues, null, null); in insertSmsWithLockedMessage()
|
D | MmsTest.java | 322 final ContentValues updateValues = new ContentValues(); in testMmsUpdate() local 323 updateValues.put(Telephony.Mms.SUBJECT, MMS_SUBJECT_TWO); in testMmsUpdate() 325 int cursorUpdate = mContentResolver.update(mmsUri, updateValues, null, null); in testMmsUpdate() 348 final ContentValues updateValues = new ContentValues(); in testMmsUpdate_canUpdateReadAndSeenStatus() local 349 updateValues.put(Telephony.Mms.READ, 1); in testMmsUpdate_canUpdateReadAndSeenStatus() 350 updateValues.put(Telephony.Mms.SEEN, 1); in testMmsUpdate_canUpdateReadAndSeenStatus() 352 int cursorUpdate = mContentResolver.update(mmsUri, updateValues, null, null); in testMmsUpdate_canUpdateReadAndSeenStatus()
|
D | MmsPartTest.java | 120 final ContentValues updateValues = new ContentValues(); in testMmsPartUpdate() local 121 updateValues.put(Telephony.Mms.Part.TEXT, MMS_BODY_UPDATE); in testMmsPartUpdate() 124 int cursorUpdate = mContentResolver.update(partUri, updateValues, null, null); in testMmsPartUpdate()
|
D | SmsTest.java | 146 final ContentValues updateValues = new ContentValues(); in testInsertSms_canUpdateSeen() local 147 updateValues.put(Telephony.Sms.SEEN, 1); in testInsertSms_canUpdateSeen() 149 int cursorUpdate = mContentResolver.update(uri, updateValues, null, null); in testInsertSms_canUpdateSeen()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | VoicemailContractTest.java | 246 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/tests/provider/src/android/provider/cts/media/ |
D | MediaStore_DownloadsTest.java | 249 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()
|
D | MediaStore_FilesTest.java | 354 final ContentValues updateValues = new ContentValues(); in testInPlaceUpdate_mediaFileWithInvalidRelativePath() local 355 updateValues.put(MediaStore.Audio.AudioColumns.BOOKMARK, 43L); in testInPlaceUpdate_mediaFileWithInvalidRelativePath() 356 assertEquals(1, mResolver.update(uri, updateValues, null, null)); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
|
/cts/tests/tests/calendarprovider/src/android/provider/cts/calendar/ |
D | CalendarTest.java | 2172 ContentValues updateValues = CalendarHelper.getUpdateCalendarValuesWithOriginal( in testCalendarUpdateAsApp() local 2174 assertEquals(1, mContentResolver.update(uri, updateValues, null, null)); in testCalendarUpdateAsApp() 2182 updateValues = CalendarHelper.getUpdateCalendarValuesWithOriginal(values, seed++); in testCalendarUpdateAsApp() 2185 Calendars.CONTENT_URI, updateValues, selection, selectionArgs)); in testCalendarUpdateAsApp() 2306 ContentValues updateValues = EventHelper.getUpdateEventValuesWithOriginal(eventValues, in testEventUpdateAsApp() local 2308 assertEquals(1, mContentResolver.update(eventUri, updateValues, null, null)); in testEventUpdateAsApp() 2309 updateValues.put(Events.DIRTY, 1); // provider should have marked as dirty in testEventUpdateAsApp() 2310 verifyEvent(updateValues, eventId); in testEventUpdateAsApp() 2313 ContentValues badValues = new ContentValues(updateValues); in testEventUpdateAsApp() 2354 ContentValues updateValues = new ContentValues(); in testBulkUpdate() local [all …]
|