Home
last modified time | relevance | path

Searched refs:initialValues (Results 1 – 11 of 11) 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.java517 for (ContentValues initialValues : values) { in bulkInsert()
518 Uri insertUri = insertInner(url, initialValues, callerUid, callerPkg); in bulkInsert()
536 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
541 Uri insertUri = insertInner(url, initialValues, callerUid, callerPkg); in insert()
559 private Uri insertInner(Uri url, ContentValues initialValues, int callerUid, String callerPkg) { in insertInner() argument
569 Integer typeObj = initialValues.getAsInteger(Sms.TYPE); in insertInner()
632 if (initialValues == null) { in insertInner()
636 String scAddress = initialValues.getAsString(Sms.SERVICE_CENTER); in insertInner()
637 String address = initialValues.getAsString(Sms.ADDRESS); in insertInner()
638 String message = initialValues.getAsString(Sms.BODY); in insertInner()
[all …]
DTelephonyProvider.java4113 public synchronized Uri insert(Uri url, ContentValues initialValues) { in insert() argument
4114 Pair<Uri, Boolean> rowAndNotify = insertSingleRow(url, initialValues); in insert()
4159 private Pair<Uri, Boolean> insertSingleRow(Uri url, ContentValues initialValues) { in insertSingleRow() argument
4164 syncBearerBitmaskAndNetworkTypeBitmask(initialValues); in insertSingleRow()
4187 if (initialValues != null) { in insertSingleRow()
4188 values = new ContentValues(initialValues); in insertSingleRow()
4225 String numeric = initialValues.getAsString(NUMERIC); in insertSingleRow()
4257 if (initialValues != null) { in insertSingleRow()
4258 if(initialValues.containsKey(COLUMN_APN_ID)) { in insertSingleRow()
4259 setPreferredApnId(initialValues.getAsLong(COLUMN_APN_ID), subId, true); in insertSingleRow()
[all …]
DSmsChangesProvider.java83 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java4083 private @Nullable Uri insertInternal(@NonNull Uri uri, @Nullable ContentValues initialValues, in insertInternal() argument
4103 mMediaScannerVolume = initialValues.getAsString(MediaStore.MEDIA_SCANNER_VOLUME); in insertInternal()
4113 String name = initialValues.getAsString("name"); in insertInternal()
4138 final long audioId = initialValues in insertInternal()
4153 final long id = addPlaylistMembers(playlistUri, initialValues); in insertInternal()
4163 if (initialValues != null) { in insertInternal()
4165 initialValues.remove(MediaColumns._ID); in insertInternal()
4168 FileUtils.computeDateExpires(initialValues); in insertInternal()
4172 if (!initialValues.containsKey(column)) continue; in insertInternal()
4182 initialValues.remove(column); in insertInternal()
[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/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/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/apps/Launcher3/src/com/android/launcher3/
DLauncherProvider.java223 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
229 if (!initializeExternalAdd(initialValues)) { in insert()
235 addModifiedTime(initialValues); in insert()
236 final int rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, 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.java144 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument