Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java374 ContentValues updateValues = new ContentValues(); in processShareInfo() local
377 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in processShareInfo()
378 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in processShareInfo()
379 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype); in processShareInfo()
384 updateValues, in processShareInfo() local
398 ContentValues updateValues; in sendFile() local
468 updateValues = new ContentValues(); in sendFile()
469 updateValues.put(BluetoothShare.CURRENT_BYTES, 0); in sendFile()
470 updateValues.put(BluetoothShare.STATUS, BluetoothShare.STATUS_RUNNING); in sendFile()
471 mContext1.getContentResolver().update(contentUri, updateValues, null, null); in sendFile()
[all …]
DBluetoothOppReceiver.java220 ContentValues updateValues = new ContentValues(); in onReceive() local
221 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in onReceive()
226 updateValues, in onReceive() local
232 ContentValues updateValues = new ContentValues(); in onReceive() local
233 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in onReceive()
238 updateValues, in onReceive() local
244 ContentValues updateValues = new ContentValues(); in onReceive() local
245 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in onReceive()
250 updateValues, in onReceive() local
DBluetoothOppObexServerSession.java392 ContentValues updateValues = new ContentValues(); in onPut() local
394 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
395 updateValues.put(BluetoothShare.STATUS, BluetoothShare.STATUS_RUNNING); in onPut()
396 updateValues.put(BluetoothShare.URI, mFileInfo.mInsertUri.toString()); in onPut()
401 updateValues, in onPut() local
493 ContentValues updateValues = new ContentValues(); in receiveFile() local
494 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
497 mContext.getContentResolver(), contentUri, updateValues, null, null); in receiveFile() local
559 ContentValues updateValues = new ContentValues(); in receiveFile() local
560 updateValues.put(BluetoothShare.CURRENT_BYTES, position); in receiveFile()
[all …]
DBluetoothOppTransfer.java439 ContentValues updateValues = new ContentValues(); in markShareTimeout() local
440 updateValues.put( in markShareTimeout()
444 mContext.getContentResolver(), contentUri, updateValues, null, null); in markShareTimeout() local
483 ContentValues updateValues = new ContentValues(); in markBatchFailed() local
484 updateValues.put(BluetoothShare.STATUS, info.mStatus); in markBatchFailed()
491 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
492 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
493 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype); in markBatchFailed()
506 updateValues, in markBatchFailed() local
939 ContentValues updateValues = new ContentValues(); in tickShareStatus() local
[all …]
DConstants.java243 ContentValues updateValues = new ContentValues(); in updateShareStatus() local
244 updateValues.put(BluetoothShare.STATUS, status); in updateShareStatus()
247 context.getContentResolver(), contentUri, updateValues, null, null); in updateShareStatus() local
DBluetoothOppService.java395 ContentValues updateValues = new ContentValues();
397 updateValues.put(
399 updateValues.put(BluetoothShare.URI, msg.obj.toString()); // update
400 updateValues.put(
403 getContentResolver().update(contentUri, updateValues, null, null);
DBluetoothOppUtility.java330 ContentValues updateValues = new ContentValues(); in updateVisibilityToHidden() local
331 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in updateVisibilityToHidden()
333 .contentResolverUpdate(context.getContentResolver(), uri, updateValues, null, null); in updateVisibilityToHidden() local
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DTestActivity.java301 ContentValues updateValues = new ContentValues();
307 updateValues.put(
310 getContentResolver().update(contentUri, updateValues, null, null);
323 ContentValues updateValues = new ContentValues();
327 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN);
330 getContentResolver().update(contentUri, updateValues, null, null);
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java451 final ContentValues updateValues = new ContentValues(); in updateMediaStoreUrisFromFilesToDownloads() local
461 updateValues.clear(); in updateMediaStoreUrisFromFilesToDownloads()
462 updateValues.put(COLUMN_MEDIASTORE_URI, mediaStoreDownloadsUri.toString()); in updateMediaStoreUrisFromFilesToDownloads()
463 db.update(DB_TABLE, updateValues, Downloads.Impl._ID + "=?", in updateMediaStoreUrisFromFilesToDownloads()
473 final ContentValues updateValues = new ContentValues(); in canonicalizeDataPaths() local
485 updateValues.clear(); in canonicalizeDataPaths()
486 updateValues.put(Downloads.Impl._DATA, canonicalPath); in canonicalizeDataPaths()
487 db.update(DB_TABLE, updateValues, Downloads.Impl._ID + "=?", in canonicalizeDataPaths()
1455 final ContentValues updateValues = new ContentValues(); in update() local
1464 updateValues.clear(); in update()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/
DWallpaperClientImpl.kt435 val updateValues = ContentValues() in <lambda>() constant
436 updateValues.put(KEY_ID, wallpaperId) in <lambda>()
437 updateValues.put(KEY_SCREEN, destination.asString()) in <lambda>()
438 updateValues.put(KEY_SET_WALLPAPER_ENTRY_POINT, setWallpaperEntryPoint) in <lambda>()
441 context.contentResolver.update(SET_WALLPAPER_URI, updateValues, null) in <lambda>()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java210 updateValues(false, new CarPropertyValue<>(propId, 0, value)); in addProperty()
221 updateValues(false, value); in addProperty()
227 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.java199 ContentValues updateValues = new ContentValues(); in testUpdateOwnPackageVoicemail_NotDirty() local
200 updateValues.put(Voicemails.TRANSCRIPTION, "foo"); in testUpdateOwnPackageVoicemail_NotDirty()
201 mResolver.update(uri, updateValues, null, null); in testUpdateOwnPackageVoicemail_NotDirty()
234 ContentValues updateValues = new ContentValues(); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus() local
235 updateValues.put(Voicemails.IS_READ, 1); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
236 mResolver.update(uri, updateValues, null, null); in testUpdateOwnPackageVoicemail_RemovesDirtyStatus()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1818 ContentValues updateValues = new ContentValues(); in setRecurrenceEnd() local
1876 updateValues.put(Events.RRULE, origRecurrence.toString()); in setRecurrenceEnd()
1877 updateValues.put(Events.DTSTART, dtstart.normalize()); in setRecurrenceEnd()
1878 return updateValues; in setRecurrenceEnd()
3753 ContentValues updateValues, String selection, String[] selectionArgs, in updateEventRelatedTable() argument
3817 values.putAll(updateValues); in updateEventRelatedTable()
4016 private int handleUpdateEvents(Cursor cursor, ContentValues updateValues, in handleUpdateEvents() argument
4022 updateValues.remove(Events.HAS_ALARM); in handleUpdateEvents()
4042 ContentValues modValues = new ContentValues(updateValues); in handleUpdateEvents()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java2121 ContentValues updateValues = new ContentValues(); in cleanupPhotoStore() local
2122 updateValues.putNull(Photo.PHOTO_FILE_ID); in cleanupPhotoStore()
2124 updateValues, null, null, /* callerIsSyncAdapter =*/false); in cleanupPhotoStore() local
9546 ContentValues updateValues = new ContentValues(); in doInBackground() local
9549 updateValues.put(DataRowHandlerForPhoto.SKIP_PROCESSING_KEY, true); in doInBackground()
9552 updateValues.put(Photo.PHOTO_FILE_ID, photoFileId); in doInBackground()
9554 updateValues.put(Photo.PHOTO, processor.getThumbnailPhotoBytes()); in doInBackground()
9556 updateValues, null, null); in doInBackground() local