Home
last modified time | relevance | path

Searched refs:initialValues (Results 1 – 12 of 12) sorted by relevance

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java185 ContentValues initialValues; in performInstanceExpansion() local
207 initialValues = null; in performInstanceExpansion()
342 initialValues = new ContentValues(); in performInstanceExpansion()
343 initialValues.put(Instances.EVENT_ID, eventId); in performInstanceExpansion()
345 initialValues.put(Instances.BEGIN, date); in performInstanceExpansion()
347 initialValues.put(Instances.END, dtendMillis); in performInstanceExpansion()
350 eventTime, initialValues); in performInstanceExpansion()
351 instancesMap.add(syncIdKey, initialValues); in performInstanceExpansion()
355 initialValues = new ContentValues(); in performInstanceExpansion()
365 initialValues.put(ORIGINAL_EVENT_AND_CALENDAR, in performInstanceExpansion()
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java598 for (ContentValues initialValues : values) { in bulkInsert()
599 Uri insertUri = insertInner(url, initialValues, callerUid, callerPkg, in bulkInsert()
618 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
624 Uri insertUri = insertInner(url, initialValues, callerUid, callerPkg, callerUserHandle); in insert()
641 private Uri insertInner(Uri url, ContentValues initialValues, int callerUid, String callerPkg, in insertInner() argument
652 Integer typeObj = initialValues.getAsInteger(Sms.TYPE); in insertInner()
722 if (initialValues == null) { in insertInner()
726 String scAddress = initialValues.getAsString(Sms.SERVICE_CENTER); in insertInner()
727 String address = initialValues.getAsString(Sms.ADDRESS); in insertInner()
728 String message = initialValues.getAsString(Sms.BODY); in insertInner()
[all …]
DSmsChangesProvider.java83 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
DTelephonyProvider.java4785 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
4787 return insertSynchronized(url, initialValues); in insert()
4790 private synchronized Uri insertSynchronized(Uri url, ContentValues initialValues) { in insertSynchronized() argument
4791 Pair<Uri, Boolean> rowAndNotify = insertSingleRow(url, initialValues); in insertSynchronized()
4836 private Pair<Uri, Boolean> insertSingleRow(Uri url, ContentValues initialValues) { in insertSingleRow() argument
4842 syncBearerBitmaskAndNetworkTypeBitmask(initialValues); in insertSingleRow()
4857 if (initialValues != null) { in insertSingleRow()
4858 values = new ContentValues(initialValues); in insertSingleRow()
4887 String numeric = initialValues.getAsString(NUMERIC); in insertSingleRow()
4918 if (initialValues != null) { in insertSingleRow()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DForwardingContentProvider.java93 public synchronized Uri insert(Uri url, ContentValues initialValues) { in insert() argument
95 return mClient.insert(url, initialValues); in insert()
102 public synchronized int bulkInsert(Uri url, ContentValues[] initialValues) { in bulkInsert() argument
104 return mClient.bulkInsert(url, initialValues); in bulkInsert()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java5346 private Uri insertInternal(@NonNull Uri uri, @Nullable ContentValues initialValues,
5365 mMediaScannerVolume = initialValues.getAsString(MediaStore.MEDIA_SCANNER_VOLUME);
5375 String name = initialValues.getAsString("name");
5401 final long audioId = initialValues
5416 final long id = addPlaylistMembers(playlistUri, initialValues);
5426 if (initialValues != null) {
5428 initialValues.remove(MediaColumns._ID);
5431 FileUtils.computeDateExpires(initialValues);
5435 if (!initialValues.containsKey(column)) continue;
5451 initialValues.remove(column);
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.kt232 override fun insert(uri: Uri, initialValues: ContentValues?): Uri? { in insert()
235 ALARMS -> mOpenHelper.fixAlarmInsert(initialValues!!) in insert()
236 INSTANCES -> db.insert(INSTANCES_TABLE_NAME, null, initialValues) in insert()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java210 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
222 if (initialValues != null) { in insert()
223 values = new ContentValues(initialValues); in insert()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelDbController.java162 public int insert(String table, ContentValues initialValues) { in insert() argument
166 addModifiedTime(initialValues); in insert()
167 int rowId = mOpenHelper.dbInsertAndCheck(db, table, initialValues); in insert()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java179 final ContentValues initialValues, final int conflictAlgorithm) { in insertWithOnConflict() argument
185 mDatabase.insertWithOnConflict(searchTable, nullColumnHack, initialValues, in insertWithOnConflict()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridCustomizationsProvider.java133 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/
DE2eeContactKeysProvider.java652 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument