Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java324 ContentValues updateValues = new ContentValues(); in processShareInfo() local
327 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in processShareInfo()
328 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in processShareInfo()
329 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype); in processShareInfo()
331 mContext1.getContentResolver().update(contentUri, updateValues, null, null); in processShareInfo()
343 ContentValues updateValues; in sendFile() local
388 updateValues = new ContentValues(); in sendFile()
389 updateValues.put(BluetoothShare.CURRENT_BYTES, 0); in sendFile()
390 updateValues.put(BluetoothShare.STATUS, BluetoothShare.STATUS_RUNNING); in sendFile()
391 mContext1.getContentResolver().update(contentUri, updateValues, null, null); in sendFile()
[all …]
DBluetoothOppTransfer.java357 ContentValues updateValues = new ContentValues(); in markShareTimeout() local
358 updateValues in markShareTimeout()
360 mContext.getContentResolver().update(contentUri, updateValues, null, null); in markShareTimeout()
393 ContentValues updateValues = new ContentValues(); in markBatchFailed() local
394 updateValues.put(BluetoothShare.STATUS, info.mStatus); in markBatchFailed()
401 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
402 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
403 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype); in markBatchFailed()
410 mContext.getContentResolver().update(contentUri, updateValues, null, null); in markBatchFailed()
783 ContentValues updateValues = new ContentValues(); in tickShareStatus() local
[all …]
DBluetoothOppObexServerSession.java357 ContentValues updateValues = new ContentValues(); in onPut() local
359 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
360 updateValues.put(BluetoothShare.STATUS, BluetoothShare.STATUS_RUNNING); in onPut()
361 mContext.getContentResolver().update(contentUri, updateValues, null, null); in onPut()
439 ContentValues updateValues = new ContentValues(); in receiveFile() local
440 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
441 mContext.getContentResolver().update(contentUri, updateValues, null, null); in receiveFile()
481 ContentValues updateValues = new ContentValues(); in receiveFile() local
482 updateValues.put(BluetoothShare.CURRENT_BYTES, position); in receiveFile()
483 mContext.getContentResolver().update(contentUri, updateValues, null, null); in receiveFile()
DTestActivity.java289 ContentValues updateValues = new ContentValues();
295 updateValues.put(BluetoothShare.USER_CONFIRMATION,
297 getContentResolver().update(contentUri, updateValues, null, null);
305 ContentValues updateValues = new ContentValues();
309 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN);
312 getContentResolver().update(contentUri, updateValues, null, null);
DConstants.java270 ContentValues updateValues = new ContentValues(); in updateShareStatus() local
271 updateValues.put(BluetoothShare.STATUS, status); in updateShareStatus()
272 context.getContentResolver().update(contentUri, updateValues, null, null); in updateShareStatus()
DBluetoothOppReceiveFileInfo.java204 ContentValues updateValues = new ContentValues(); in generateFileInfo() local
205 updateValues.put(BluetoothShare.FILENAME_HINT, displayName); in generateFileInfo()
206 context.getContentResolver().update(contentUri, updateValues, null, null); in generateFileInfo()
DBluetoothOppReceiver.java189 ContentValues updateValues = new ContentValues(); in onReceive() local
190 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in onReceive()
191 context.getContentResolver().update(BluetoothShare.CONTENT_URI, updateValues, in onReceive()
DBluetoothOppUtility.java265 ContentValues updateValues = new ContentValues(); in updateVisibilityToHidden() local
266 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in updateVisibilityToHidden()
267 context.getContentResolver().update(uri, updateValues, null, null); in updateVisibilityToHidden()
DBluetoothOppService.java261 ContentValues updateValues = new ContentValues();
263 updateValues.put(Constants.MEDIA_SCANNED, Constants.MEDIA_SCANNED_SCANNED_OK);
264 updateValues.put(BluetoothShare.URI, msg.obj.toString()); // update
265 updateValues.put(BluetoothShare.MIMETYPE, getContentResolver().getType(
267 getContentResolver().update(contentUri, updateValues, null, null);
/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/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java714 ContentValues updateValues = new ContentValues(); in updatePastEvents() local
778 updateValues.put(Events.RRULE, origRecurrence.toString()); in updatePastEvents()
779 updateValues.put(Events.DTSTART, dtstart.normalize(true)); in updatePastEvents()
782 .withValues(updateValues); in updatePastEvents()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1616 ContentValues updateValues = new ContentValues(); in setRecurrenceEnd() local
1670 updateValues.put(Events.RRULE, origRecurrence.toString()); in setRecurrenceEnd()
1671 updateValues.put(Events.DTSTART, dtstart.normalize(true)); in setRecurrenceEnd()
1672 return updateValues; in setRecurrenceEnd()
3466 ContentValues updateValues, String selection, String[] selectionArgs, in updateEventRelatedTable() argument
3530 values.putAll(updateValues); in updateEventRelatedTable()
3729 private int handleUpdateEvents(Cursor cursor, ContentValues updateValues, in handleUpdateEvents() argument
3735 updateValues.remove(Events.HAS_ALARM); in handleUpdateEvents()
3755 ContentValues modValues = new ContentValues(updateValues); in handleUpdateEvents()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java2118 final ContentValues updateValues = new ContentValues(values); in update() local
2119 updateValues.remove(BodyColumns.HTML_CONTENT); in update()
2120 updateValues.remove(BodyColumns.TEXT_CONTENT); in update()
2122 result = db.update(tableName, updateValues, whereWithId(id, selection), in update()
2145 final ContentValues updateValues = new ContentValues(values); in update() local
2146 updateValues.remove(BodyColumns.HTML_CONTENT); in update()
2147 updateValues.remove(BodyColumns.TEXT_CONTENT); in update()
2149 result = db.update(tableName, updateValues, selection, selectionArgs); in update()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java2041 ContentValues updateValues = new ContentValues(); in cleanupPhotoStore() local
2042 updateValues.putNull(Photo.PHOTO_FILE_ID); in cleanupPhotoStore()
2044 updateValues, null, null, /* callerIsSyncAdapter =*/false, in cleanupPhotoStore() local
9162 ContentValues updateValues = new ContentValues(); in doInBackground() local
9165 updateValues.put(DataRowHandlerForPhoto.SKIP_PROCESSING_KEY, true); in doInBackground()
9168 updateValues.put(Photo.PHOTO_FILE_ID, photoFileId); in doInBackground()
9170 updateValues.put(Photo.PHOTO, processor.getThumbnailPhotoBytes()); in doInBackground()
9172 updateValues, null, null); in doInBackground() local
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java1746 mConversationListCursor.updateValues(target, values);