Home
last modified time | relevance | path

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

/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A 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()
385 ContentValues updateValues; in sendFile() local
443 updateValues = new ContentValues(); in sendFile()
444 updateValues.put(BluetoothShare.CURRENT_BYTES, 0); in sendFile()
497 updateValues = new ContentValues(); in sendFile()
498 updateValues.put(BluetoothShare.CURRENT_BYTES, position); in sendFile()
500 .update(contentUri, updateValues, null, null); in sendFile()
[all …]
H A DBluetoothOppObexServerSession.java367 ContentValues updateValues = new ContentValues(); in onPut() local
369 updateValues.put(BluetoothShare._DATA, mFileInfo.mFileName); in onPut()
370 updateValues.put(BluetoothShare.STATUS, BluetoothShare.STATUS_RUNNING); in onPut()
371 updateValues.put(BluetoothShare.URI, mFileInfo.mInsertUri.toString()); in onPut()
372 mContext.getContentResolver().update(contentUri, updateValues, null, null); in onPut()
445 ContentValues updateValues = new ContentValues(); in receiveFile() local
446 updateValues.put(BluetoothShare._DATA, fileInfo.mFileName); in receiveFile()
447 mContext.getContentResolver().update(contentUri, updateValues, null, null); in receiveFile()
501 ContentValues updateValues = new ContentValues(); in receiveFile() local
502 updateValues.put(BluetoothShare.CURRENT_BYTES, position); in receiveFile()
[all …]
H A DBluetoothOppTransfer.java382 ContentValues updateValues = new ContentValues(); in markShareTimeout() local
383 updateValues.put(BluetoothShare.USER_CONFIRMATION, in markShareTimeout()
385 mContext.getContentResolver().update(contentUri, updateValues, null, null); in markShareTimeout()
424 ContentValues updateValues = new ContentValues(); in markBatchFailed() local
425 updateValues.put(BluetoothShare.STATUS, info.mStatus); in markBatchFailed()
432 updateValues.put(BluetoothShare.FILENAME_HINT, fileInfo.mFileName); in markBatchFailed()
433 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
434 updateValues.put(BluetoothShare.MIMETYPE, fileInfo.mMimetype); in markBatchFailed()
857 ContentValues updateValues = new ContentValues(); in tickShareStatus() local
858 updateValues.put(BluetoothShare.DIRECTION, share.mDirection); in tickShareStatus()
[all …]
H A DConstants.java228 ContentValues updateValues = new ContentValues(); in updateShareStatus() local
229 updateValues.put(BluetoothShare.STATUS, status); in updateShareStatus()
230 context.getContentResolver().update(contentUri, updateValues, null, null); in updateShareStatus()
H A 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);
H A DBluetoothOppReceiver.java210 ContentValues updateValues = new ContentValues(); in onReceive() local
211 updateValues.put(BluetoothShare.VISIBILITY, BluetoothShare.VISIBILITY_HIDDEN); in onReceive()
213 .update(BluetoothShare.CONTENT_URI, updateValues, in onReceive()
H A 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()
H A DBluetoothOppService.java366 ContentValues updateValues = new ContentValues();
368 updateValues.put(Constants.MEDIA_SCANNED, Constants.MEDIA_SCANNED_SCANNED_OK);
369 updateValues.put(BluetoothShare.URI, msg.obj.toString()); // update
370 updateValues.put(BluetoothShare.MIMETYPE,
372 getContentResolver().update(contentUri, updateValues, null, null);
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDeviceProvisionedControllerImpl.kt94 updateValues(updateDeviceProvisioned, updateUser)
107 updateValues(updateDeviceProvisioned = false, updateUser = newUser)
126 updateValues()
133 private fun updateValues(updateDeviceProvisioned: Boolean = true, updateUser: Int = ALL_USERS) { regex
/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java451 final ContentValues updateValues = new ContentValues(); in updateMediaStoreUrisFromFilesToDownloads() local
461 updateValues.clear(); 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()
1438 final ContentValues updateValues = new ContentValues(); in update() local
1447 updateValues.clear(); in update()
1449 qb.update(db, updateValues, Downloads.Impl._ID + "=?", in update()
[all …]
/aosp12/packages/services/Car/car-test-lib/src/android/car/testapi/
H A DFakeCarPropertyService.java132 updateValues(false, new CarPropertyValue<>(propId, 0, value)); in addProperty()
143 updateValues(false, value); in addProperty()
149 public void updateValues(boolean triggerListeners, CarPropertyValue<?>... propValues) { in updateValues() method in FakeCarPropertyService
H A DCarPropertyController.java49 void updateValues(boolean triggerListeners, CarPropertyValue<?>... propValues); in updateValues() method
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A 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()
/aosp12/system/core/healthd/include/healthd/
H A DBatteryMonitor.h65 void updateValues(void);
/aosp12/hardware/interfaces/health/utils/libhealth2impl/
H A DHealth.cpp180 battery_monitor_.updateValues(); in getHealthInfo_2_1()
/aosp12/hardware/interfaces/health/2.0/default/
H A DHealth.cpp155 battery_monitor_->updateValues(); in update()
/aosp12/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarProvider2.java1819 ContentValues updateValues = new ContentValues(); in setRecurrenceEnd() local
1877 updateValues.put(Events.RRULE, origRecurrence.toString()); in setRecurrenceEnd()
1878 updateValues.put(Events.DTSTART, dtstart.normalize()); in setRecurrenceEnd()
1879 return updateValues; in setRecurrenceEnd()
3754 ContentValues updateValues, String selection, String[] selectionArgs, in updateEventRelatedTable() argument
3818 values.putAll(updateValues); in updateEventRelatedTable()
4017 private int handleUpdateEvents(Cursor cursor, ContentValues updateValues, in handleUpdateEvents() argument
4023 updateValues.remove(Events.HAS_ALARM); in handleUpdateEvents()
4043 ContentValues modValues = new ContentValues(updateValues); in handleUpdateEvents()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSMSDispatcher.java2205 final ContentValues updateValues = new ContentValues(1); in persistSentMessageIfRequired() local
2206 updateValues.put(Sms.TYPE, Sms.MESSAGE_TYPE_FAILED); in persistSentMessageIfRequired()
2207 resolver.update(uri, updateValues, null/*where*/, null/*selectionArgs*/); in persistSentMessageIfRequired()
/aosp12/system/core/healthd/
H A DBatteryMonitor.cpp245 void BatteryMonitor::updateValues(void) { in updateValues() function in android::BatteryMonitor
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java1978 ContentValues updateValues = new ContentValues(); in cleanupPhotoStore() local
1979 updateValues.putNull(Photo.PHOTO_FILE_ID); in cleanupPhotoStore()
1981 updateValues, null, null, /* callerIsSyncAdapter =*/false); in cleanupPhotoStore() local
9031 ContentValues updateValues = new ContentValues(); in doInBackground() local
9034 updateValues.put(DataRowHandlerForPhoto.SKIP_PROCESSING_KEY, true); in doInBackground()
9037 updateValues.put(Photo.PHOTO_FILE_ID, photoFileId); in doInBackground()
9039 updateValues.put(Photo.PHOTO, processor.getThumbnailPhotoBytes()); in doInBackground()
9041 updateValues, null, null); in doInBackground() local