Home
last modified time | relevance | path

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

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java187 ContentValues initialValues; in performInstanceExpansion() local
209 initialValues = null; in performInstanceExpansion()
344 initialValues = new ContentValues(); in performInstanceExpansion()
345 initialValues.put(Instances.EVENT_ID, eventId); in performInstanceExpansion()
347 initialValues.put(Instances.BEGIN, date); in performInstanceExpansion()
349 initialValues.put(Instances.END, dtendMillis); in performInstanceExpansion()
352 eventTime, initialValues); in performInstanceExpansion()
353 instancesMap.add(syncIdKey, initialValues); in performInstanceExpansion()
357 initialValues = new ContentValues(); in performInstanceExpansion()
367 initialValues.put(ORIGINAL_EVENT_AND_CALENDAR, in performInstanceExpansion()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2643 private ContentValues ensureFile(boolean internal, ContentValues initialValues, in ensureFile() argument
2646 String file = initialValues.getAsString(MediaStore.MediaColumns.DATA); in ensureFile()
2649 values = new ContentValues(initialValues); in ensureFile()
2652 values = initialValues; in ensureFile()
2733 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
2737 Uri newUri = insertInternal(uri, match, initialValues, notifyRowIds); in insert()
2866 …private long insertFile(DatabaseHelper helper, Uri uri, ContentValues initialValues, int mediaType, in insertFile() argument
2873 values = ensureFile(helper.mInternal, initialValues, ".jpg", "DCIM/Camera"); in insertFile()
2890 values = new ContentValues(initialValues); in insertFile()
2957 values = ensureFile(helper.mInternal, initialValues, ".3gp", "video"); in insertFile()
[all …]
/packages/providers/DrmProvider/src/com/android/providers/drm/
DDrmProvider.java209 private ContentValues ensureFile(ContentValues initialValues) { in ensureFile() argument
214 ContentValues values = new ContentValues(initialValues); in ensureFile()
224 public Uri insert(Uri uri, ContentValues initialValues) in insert() argument
236 if (initialValues == null) { in insert()
237 initialValues = new ContentValues(); in insert()
242 ContentValues values = ensureFile(initialValues); in insert()
252 ContentValues values = ensureFile(initialValues); in insert()
366 public int update(Uri uri, ContentValues initialValues, String userWhere, in update() argument
382 count = db.update(sGetTableAndWhereParam.table, initialValues, in update()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSmsProvider.java340 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
350 Integer typeObj = initialValues.getAsInteger(Sms.TYPE); in insert()
411 if (initialValues == null) { in insert()
416 values = new ContentValues(initialValues); in insert()
418 if (!initialValues.containsKey(Sms.DATE)) { in insert()
422 if (!initialValues.containsKey(Sms.TYPE)) { in insert()
484 if (initialValues == null) { in insert()
487 values = initialValues; in insert()
DTelephonyProvider.java546 public Uri insert(Uri url, ContentValues initialValues) in insert() argument
560 if (initialValues != null) { in insert()
561 values = new ContentValues(initialValues); in insert()
633 String numeric = initialValues.getAsString("numeric"); in insert()
653 if (initialValues != null) { in insert()
654 if(initialValues.containsKey(COLUMN_APN_ID)) { in insert()
655 setPreferredApnId(initialValues.getAsLong(COLUMN_APN_ID)); in insert()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider.java854 public Uri insert(Uri url, ContentValues initialValues) {
864 initialValues);
876 initialValues);
897 && initialValues.containsKey(BookmarkColumns.BOOKMARK)
898 && initialValues.getAsInteger(BookmarkColumns.BOOKMARK) != 0) {
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java177 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
184 if (initialValues != null) { in insert()
185 values = new ContentValues(initialValues); in insert()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmProvider.java122 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
127 Uri newUrl = mOpenHelper.commonInsert(initialValues); in insert()
/packages/apps/Calendar/src/com/android/calendar/
DAsyncQueryService.java201 public void startInsert(int token, Object cookie, Uri uri, ContentValues initialValues, in startInsert() argument
211 info.values = initialValues; in startInsert()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java140 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
144 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); in insert()