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.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.java418 for (ContentValues initialValues : values) { in bulkInsert()
419 Uri insertUri = insertInner(url, initialValues, callerUid, callerPkg); in bulkInsert()
437 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
442 Uri insertUri = insertInner(url, initialValues, callerUid, callerPkg); in insert()
455 private Uri insertInner(Uri url, ContentValues initialValues, int callerUid, String callerPkg) { in insertInner() argument
466 Integer typeObj = initialValues.getAsInteger(Sms.TYPE); in insertInner()
531 if (initialValues == null) { in insertInner()
536 values = new ContentValues(initialValues); in insertInner()
538 if (!initialValues.containsKey(Sms.DATE)) { in insertInner()
542 if (!initialValues.containsKey(Sms.TYPE)) { in insertInner()
[all …]
DTelephonyProvider.java1784 public synchronized Uri insert(Uri url, ContentValues initialValues) in insert() argument
1812 if (initialValues != null) { in insert()
1813 values = new ContentValues(initialValues); in insert()
1870 String numeric = initialValues.getAsString(NUMERIC); in insert()
1902 if (initialValues != null) { in insert()
1903 if(initialValues.containsKey(COLUMN_APN_ID)) { in insert()
1904 setPreferredApnId(initialValues.getAsLong(COLUMN_APN_ID), subId); in insert()
1911 long id = db.insert(SIMINFO_TABLE, null, initialValues); in insert()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2818 private ContentValues ensureFile(boolean internal, ContentValues initialValues, in ensureFile() argument
2821 String file = initialValues.getAsString(MediaStore.MediaColumns.DATA); in ensureFile()
2824 values = new ContentValues(initialValues); in ensureFile()
2827 values = initialValues; in ensureFile()
2912 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
2916 Uri newUri = insertInternal(uri, match, initialValues, notifyRowIds); in insert()
3058 …private long insertFile(DatabaseHelper helper, Uri uri, ContentValues initialValues, int mediaType, in insertFile() argument
3065 values = ensureFile(helper.mInternal, initialValues, ".jpg", in insertFile()
3083 values = new ContentValues(initialValues); in insertFile()
3150 values = ensureFile(helper.mInternal, initialValues, ".3gp", "video"); in insertFile()
[all …]
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java206 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
218 if (initialValues != null) { in insert()
219 values = new ContentValues(initialValues); in insert()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.java229 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
234 rowId = mOpenHelper.fixAlarmInsert(initialValues); in insert()
237 rowId = db.insert(INSTANCES_TABLE_NAME, null, 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/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/
DLauncherProvider.java162 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
167 if (!mOpenHelper.initializeExternalAdd(initialValues)) { in insert()
173 addModifiedTime(initialValues); in insert()
174 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); in insert()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java148 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
152 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues); in insert()