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.java280 ContentValues updateValues = new ContentValues(); in markShareTimeout() local
281 updateValues in markShareTimeout()
283 mContext.getContentResolver().update(contentUri, updateValues, null, null); in markShareTimeout()
316 ContentValues updateValues = new ContentValues(); in markBatchFailed() local
317 updateValues.put(BluetoothShare.STATUS, info.mStatus); in markBatchFailed()
324 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
325 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
326 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype); in markBatchFailed()
333 mContext.getContentResolver().update(contentUri, updateValues, null, null); in markBatchFailed()
686 ContentValues updateValues = new ContentValues(); in tickShareStatus() local
[all …]
DBluetoothOppObexServerSession.java350 ContentValues updateValues = new ContentValues(); in onPut() local
352 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
353 updateValues.put(BluetoothShare.STATUS, BluetoothShare.STATUS_RUNNING); in onPut()
354 mContext.getContentResolver().update(contentUri, updateValues, null, null); in onPut()
432 ContentValues updateValues = new ContentValues(); in receiveFile() local
433 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
434 mContext.getContentResolver().update(contentUri, updateValues, null, null); in receiveFile()
474 ContentValues updateValues = new ContentValues(); in receiveFile() local
475 updateValues.put(BluetoothShare.CURRENT_BYTES, position); in receiveFile()
476 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.java288 ContentValues updateValues = new ContentValues(); in updateShareStatus() local
289 updateValues.put(BluetoothShare.STATUS, status); in updateShareStatus()
290 context.getContentResolver().update(contentUri, updateValues, null, null); in updateShareStatus()
DBluetoothOppReceiveFileInfo.java174 ContentValues updateValues = new ContentValues(); in generateFileInfo() local
175 updateValues.put(BluetoothShare.FILENAME_HINT, displayName); in generateFileInfo()
176 context.getContentResolver().update(contentUri, updateValues, null, null); in generateFileInfo()
DBluetoothOppReceiver.java219 ContentValues updateValues = new ContentValues(); in onReceive() local
220 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in onReceive()
221 context.getContentResolver().update(BluetoothShare.CONTENT_URI, updateValues, in onReceive()
DBluetoothOppUtility.java261 ContentValues updateValues = new ContentValues(); in updateVisibilityToHidden() local
262 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in updateVisibilityToHidden()
263 context.getContentResolver().update(uri, updateValues, null, null); in updateVisibilityToHidden()
DBluetoothOppService.java250 ContentValues updateValues = new ContentValues();
252 updateValues.put(Constants.MEDIA_SCANNED, Constants.MEDIA_SCANNED_SCANNED_OK);
253 updateValues.put(BluetoothShare.URI, msg.obj.toString()); // update
254 updateValues.put(BluetoothShare.MIMETYPE, getContentResolver().getType(
256 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.java1640 ContentValues updateValues = new ContentValues(); in setRecurrenceEnd() local
1694 updateValues.put(Events.RRULE, origRecurrence.toString()); in setRecurrenceEnd()
1695 updateValues.put(Events.DTSTART, dtstart.normalize(true)); in setRecurrenceEnd()
1696 return updateValues; in setRecurrenceEnd()
3490 ContentValues updateValues, String selection, String[] selectionArgs, in updateEventRelatedTable() argument
3554 values.putAll(updateValues); in updateEventRelatedTable()
3753 private int handleUpdateEvents(Cursor cursor, ContentValues updateValues, in handleUpdateEvents() argument
3759 updateValues.remove(Events.HAS_ALARM); in handleUpdateEvents()
3779 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.java2033 ContentValues updateValues = new ContentValues(); in cleanupPhotoStore() local
2034 updateValues.putNull(Photo.PHOTO_FILE_ID); in cleanupPhotoStore()
2036 updateValues, null, null, /* callerIsSyncAdapter =*/false, in cleanupPhotoStore() local
9063 ContentValues updateValues = new ContentValues(); in doInBackground() local
9066 updateValues.put(DataRowHandlerForPhoto.SKIP_PROCESSING_KEY, true); in doInBackground()
9069 updateValues.put(Photo.PHOTO_FILE_ID, photoFileId); in doInBackground()
9071 updateValues.put(Photo.PHOTO, processor.getThumbnailPhotoBytes()); in doInBackground()
9073 updateValues, null, null); in doInBackground() local
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java1746 mConversationListCursor.updateValues(target, values);