Home
last modified time | relevance | path

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

/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DRcsProviderUpdateTest.java229 ContentValues updateValues = new ContentValues(); in testUpdateUnifiedMessageViewFails() local
230 updateValues.put(ORIGINATION_TIMESTAMP_COLUMN, 1234567890); in testUpdateUnifiedMessageViewFails()
232 assertThat(mContentResolver.update(Uri.parse("content://rcs/message"), updateValues, null, in testUpdateUnifiedMessageViewFails()
234 assertThat(mContentResolver.update(Uri.parse("content://rcs/message/1"), updateValues, null, in testUpdateUnifiedMessageViewFails()
240 ContentValues updateValues = new ContentValues(); in testUpdateMessageOnThreadFails() local
241 updateValues.put(ORIGINATION_TIMESTAMP_COLUMN, 1234567890); in testUpdateMessageOnThreadFails()
244 updateValues, null, null)).isEqualTo(0); in testUpdateMessageOnThreadFails()
247 updateValues, null, null)).isEqualTo(0); in testUpdateMessageOnThreadFails()
250 updateValues, null, null)).isEqualTo(0); in testUpdateMessageOnThreadFails()
252 Uri.parse("content://rcs/groupp_thread/2/outgoing_message/1"), updateValues, null, in testUpdateMessageOnThreadFails()
[all …]
DRcsProviderHelper.java47 ContentValues updateValues = new ContentValues(); in setup1To1Thread() local
48 updateValues.put(FALLBACK_THREAD_ID_COLUMN, fallbackThreadId); in setup1To1Thread()
49 assertThat(contentResolver.update(rowUri, updateValues, null, null)) in setup1To1Thread()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java366 ContentValues updateValues = new ContentValues(); in processShareInfo() local
369 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in processShareInfo()
370 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in processShareInfo()
371 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype); in processShareInfo()
373 mContext1.getContentResolver().update(contentUri, updateValues, null, null); in processShareInfo()
385 ContentValues updateValues; in sendFile() local
443 updateValues = new ContentValues(); in sendFile()
444 updateValues.put(BluetoothShare.CURRENT_BYTES, 0); in sendFile()
445 updateValues.put(BluetoothShare.STATUS, BluetoothShare.STATUS_RUNNING); in sendFile()
446 mContext1.getContentResolver().update(contentUri, updateValues, null, null); in sendFile()
[all …]
DBluetoothOppTransfer.java377 ContentValues updateValues = new ContentValues(); in markShareTimeout() local
378 updateValues.put(BluetoothShare.USER_CONFIRMATION, in markShareTimeout()
380 mContext.getContentResolver().update(contentUri, updateValues, null, null); in markShareTimeout()
419 ContentValues updateValues = new ContentValues(); in markBatchFailed() local
420 updateValues.put(BluetoothShare.STATUS, info.mStatus); in markBatchFailed()
427 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
428 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
429 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype); in markBatchFailed()
436 mContext.getContentResolver().update(contentUri, updateValues, null, null); in markBatchFailed()
850 ContentValues updateValues = new ContentValues(); in tickShareStatus() local
[all …]
DBluetoothOppObexServerSession.java366 ContentValues updateValues = new ContentValues(); in onPut() local
368 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
369 updateValues.put(BluetoothShare.STATUS, BluetoothShare.STATUS_RUNNING); in onPut()
370 mContext.getContentResolver().update(contentUri, updateValues, null, null); in onPut()
448 ContentValues updateValues = new ContentValues(); in receiveFile() local
449 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
450 mContext.getContentResolver().update(contentUri, updateValues, null, null); in receiveFile()
499 ContentValues updateValues = new ContentValues(); in receiveFile() local
500 updateValues.put(BluetoothShare.CURRENT_BYTES, position); in receiveFile()
501 mContext.getContentResolver().update(contentUri, updateValues, null, null); in receiveFile()
DTestActivity.java292 ContentValues updateValues = new ContentValues();
298 updateValues.put(BluetoothShare.USER_CONFIRMATION,
300 getContentResolver().update(contentUri, updateValues, null, null);
309 ContentValues updateValues = new ContentValues();
313 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN);
316 getContentResolver().update(contentUri, updateValues, null, null);
DConstants.java227 ContentValues updateValues = new ContentValues(); in updateShareStatus() local
228 updateValues.put(BluetoothShare.STATUS, status); in updateShareStatus()
229 context.getContentResolver().update(contentUri, updateValues, null, null); in updateShareStatus()
DBluetoothOppReceiveFileInfo.java217 ContentValues updateValues = new ContentValues(); in generateFileInfo() local
218 updateValues.put(BluetoothShare.FILENAME_HINT, displayName); in generateFileInfo()
219 context.getContentResolver().update(contentUri, updateValues, null, null); in generateFileInfo()
DBluetoothOppReceiver.java208 ContentValues updateValues = new ContentValues(); in onReceive() local
209 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in onReceive()
211 .update(BluetoothShare.CONTENT_URI, updateValues, in onReceive()
DBluetoothOppService.java372 ContentValues updateValues = new ContentValues();
374 updateValues.put(Constants.MEDIA_SCANNED, Constants.MEDIA_SCANNED_SCANNED_OK);
375 updateValues.put(BluetoothShare.URI, msg.obj.toString()); // update
376 updateValues.put(BluetoothShare.MIMETYPE,
378 getContentResolver().update(contentUri, updateValues, null, null);
DBluetoothOppUtility.java280 ContentValues updateValues = new ContentValues(); in updateVisibilityToHidden() local
281 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in updateVisibilityToHidden()
282 context.getContentResolver().update(uri, updateValues, null, null); in updateVisibilityToHidden()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java462 final ContentValues updateValues = new ContentValues(); in addMediaStoreUris() local
474 updateValues.clear(); in addMediaStoreUris()
475 updateValues.put(Downloads.Impl.COLUMN_MEDIASTORE_URI, in addMediaStoreUris()
477 db.update(DB_TABLE, updateValues, Downloads.Impl._ID + "=?", in addMediaStoreUris()
498 final ContentValues updateValues = new ContentValues(); in updateMediaStoreUrisFromFilesToDownloads() local
508 updateValues.clear(); in updateMediaStoreUrisFromFilesToDownloads()
509 updateValues.put(COLUMN_MEDIASTORE_URI, mediaStoreDownloadsUri.toString()); in updateMediaStoreUrisFromFilesToDownloads()
510 db.update(DB_TABLE, updateValues, Downloads.Impl._ID + "=?", in updateMediaStoreUrisFromFilesToDownloads()
520 final ContentValues updateValues = new ContentValues(); in canonicalizeDataPaths() local
532 updateValues.clear(); in canonicalizeDataPaths()
[all …]
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java119 updateValues(false, new CarPropertyValue<>(propId, 0, value)); in addProperty()
130 updateValues(false, value); in addProperty()
136 public void updateValues(boolean triggerListeners, CarPropertyValue<?>... propValues) { in updateValues() method in FakeCarPropertyService
DCarPropertyController.java49 void updateValues(boolean triggerListeners, CarPropertyValue<?>... propValues); in updateValues() method
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java198 ContentValues updateValues = new ContentValues(); in testUpdateOwnPackageVoicemail_NotDirty() local
199 updateValues.put(Voicemails.TRANSCRIPTION, "foo"); in testUpdateOwnPackageVoicemail_NotDirty()
200 mResolver.update(uri, updateValues, null, null); in testUpdateOwnPackageVoicemail_NotDirty()
233 ContentValues updateValues = new ContentValues(); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus() local
234 updateValues.put(Voicemails.IS_READ, 1); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
235 mResolver.update(uri, updateValues, null, null); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorGrad.java181 mAdapters[i].updateValues(rep); in updateParameters()
199 updateValues(rep); in ParamAdapter()
204 public void updateValues(FilterGradRepresentation rep) { in updateValues() method in EditorGrad.ParamAdapter
/packages/apps/Email/provider_src/com/android/email/service/
DImapService.java681 ContentValues updateValues = new ContentValues(); in synchronizeMailboxGeneric() local
682 updateValues.put(MessageColumns.FLAG_READ, remoteSeen); in synchronizeMailboxGeneric()
683 updateValues.put(MessageColumns.FLAG_FAVORITE, remoteFlagged); in synchronizeMailboxGeneric()
689 updateValues.put(MessageColumns.FLAGS, localFlags); in synchronizeMailboxGeneric()
690 resolver.update(uri, updateValues, null, null); in synchronizeMailboxGeneric()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java2043 return updateValues(conversations, cv); in updateInt()
2053 return updateValues(conversations, cv); in updateBoolean()
2077 return updateValues(conversations, cv); in updateStrings()
2087 public int updateValues(Collection<Conversation> conversations, ContentValues values) { in updateValues() method in ConversationCursor
2088 return updateValues(conversations, values, null); in updateValues()
2091 public int updateValues(Collection<Conversation> conversations, ContentValues values, in updateValues() method in ConversationCursor
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1799 ContentValues updateValues = new ContentValues(); in setRecurrenceEnd() local
1853 updateValues.put(Events.RRULE, origRecurrence.toString()); in setRecurrenceEnd()
1854 updateValues.put(Events.DTSTART, dtstart.normalize(true)); in setRecurrenceEnd()
1855 return updateValues; in setRecurrenceEnd()
3730 ContentValues updateValues, String selection, String[] selectionArgs, in updateEventRelatedTable() argument
3794 values.putAll(updateValues); in updateEventRelatedTable()
3993 private int handleUpdateEvents(Cursor cursor, ContentValues updateValues, in handleUpdateEvents() argument
3999 updateValues.remove(Events.HAS_ALARM); in handleUpdateEvents()
4019 ContentValues modValues = new ContentValues(updateValues); in handleUpdateEvents()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java2119 final ContentValues updateValues = new ContentValues(values); in update() local
2120 updateValues.remove(BodyColumns.HTML_CONTENT); in update()
2121 updateValues.remove(BodyColumns.TEXT_CONTENT); in update()
2123 result = db.update(tableName, updateValues, whereWithId(id, selection), in update()
2146 final ContentValues updateValues = new ContentValues(values); in update() local
2147 updateValues.remove(BodyColumns.HTML_CONTENT); in update()
2148 updateValues.remove(BodyColumns.TEXT_CONTENT); in update()
2150 result = db.update(tableName, updateValues, selection, selectionArgs); in update()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java1984 ContentValues updateValues = new ContentValues(); in cleanupPhotoStore() local
1985 updateValues.putNull(Photo.PHOTO_FILE_ID); in cleanupPhotoStore()
1987 updateValues, null, null, /* callerIsSyncAdapter =*/false, in cleanupPhotoStore() local
9019 ContentValues updateValues = new ContentValues(); in doInBackground() local
9022 updateValues.put(DataRowHandlerForPhoto.SKIP_PROCESSING_KEY, true); in doInBackground()
9025 updateValues.put(Photo.PHOTO_FILE_ID, photoFileId); in doInBackground()
9027 updateValues.put(Photo.PHOTO, processor.getThumbnailPhotoBytes()); in doInBackground()
9029 updateValues, null, null); in doInBackground() local
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java1746 mConversationListCursor.updateValues(target, values);