Home
last modified time | relevance | path

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

/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.java376 ContentValues updateValues = new ContentValues(); in markShareTimeout() local
377 updateValues.put(BluetoothShare.USER_CONFIRMATION, in markShareTimeout()
379 mContext.getContentResolver().update(contentUri, updateValues, null, null); in markShareTimeout()
418 ContentValues updateValues = new ContentValues(); in markBatchFailed() local
419 updateValues.put(BluetoothShare.STATUS, info.mStatus); in markBatchFailed()
426 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
427 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
428 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype); in markBatchFailed()
435 mContext.getContentResolver().update(contentUri, updateValues, null, null); in markBatchFailed()
849 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 updateValues.put(BluetoothShare.URI, mFileInfo.mInsertUri.toString()); in onPut()
371 mContext.getContentResolver().update(contentUri, updateValues, null, null); in onPut()
444 ContentValues updateValues = new ContentValues(); in receiveFile() local
445 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
446 mContext.getContentResolver().update(contentUri, updateValues, null, null); in receiveFile()
500 ContentValues updateValues = new ContentValues(); in receiveFile() local
501 updateValues.put(BluetoothShare.CURRENT_BYTES, position); in receiveFile()
[all …]
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()
DBluetoothOppReceiver.java209 ContentValues updateValues = new ContentValues(); in onReceive() local
210 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in onReceive()
212 .update(BluetoothShare.CONTENT_URI, updateValues, in onReceive()
DBluetoothOppService.java370 ContentValues updateValues = new ContentValues();
372 updateValues.put(Constants.MEDIA_SCANNED, Constants.MEDIA_SCANNED_SCANNED_OK);
373 updateValues.put(BluetoothShare.URI, msg.obj.toString()); // update
374 updateValues.put(BluetoothShare.MIMETYPE,
376 getContentResolver().update(contentUri, updateValues, null, null);
DBluetoothOppUtility.java299 ContentValues updateValues = new ContentValues(); in updateVisibilityToHidden() local
300 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in updateVisibilityToHidden()
301 context.getContentResolver().update(uri, updateValues, null, null); in updateVisibilityToHidden()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java470 final ContentValues updateValues = new ContentValues(); in addMediaStoreUris() local
482 updateValues.clear(); in addMediaStoreUris()
483 updateValues.put(Downloads.Impl.COLUMN_MEDIASTORE_URI, in addMediaStoreUris()
485 db.update(DB_TABLE, updateValues, Downloads.Impl._ID + "=?", in addMediaStoreUris()
506 final ContentValues updateValues = new ContentValues(); in updateMediaStoreUrisFromFilesToDownloads() local
516 updateValues.clear(); in updateMediaStoreUrisFromFilesToDownloads()
517 updateValues.put(COLUMN_MEDIASTORE_URI, mediaStoreDownloadsUri.toString()); in updateMediaStoreUrisFromFilesToDownloads()
518 db.update(DB_TABLE, updateValues, Downloads.Impl._ID + "=?", in updateMediaStoreUrisFromFilesToDownloads()
528 final ContentValues updateValues = new ContentValues(); in canonicalizeDataPaths() local
540 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/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/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