Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DContentProviderClient.java64 public Uri insert(Uri url, ContentValues initialValues) in insert() argument
66 return mContentProvider.insert(url, initialValues); in insert()
70 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { in bulkInsert() argument
71 return mContentProvider.bulkInsert(url, initialValues); in bulkInsert()
DIContentProvider.java39 public Uri insert(Uri url, ContentValues initialValues) in insert() argument
41 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException; in bulkInsert() argument
DContentProvider.java187 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
189 return ContentProvider.this.insert(uri, initialValues); in insert()
192 public int bulkInsert(Uri uri, ContentValues[] initialValues) { in bulkInsert() argument
194 return ContentProvider.this.bulkInsert(uri, initialValues); in bulkInsert()
DAsyncQueryHandler.java208 ContentValues initialValues) { in startInsert() argument
217 args.values = initialValues; in startInsert()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java477 private boolean parseProviderList(Uri url, ContentValues initialValues) { in parseProviderList() argument
478 String value = initialValues.getAsString(Settings.Secure.VALUE); in parseProviderList()
532 initialValues.put(Settings.Secure.VALUE, newProviders); in parseProviderList()
541 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
550 String name = initialValues.getAsString(Settings.Secure.NAME); in insert()
552 if (!parseProviderList(url, initialValues)) return null; in insert()
556 String value = initialValues.getAsString(Settings.NameValueTable.VALUE); in insert()
563 final long rowId = db.insert(args.table, null, initialValues); in insert()
567 SettingsCache.populate(cache, initialValues); // before we notify in insert()
569 if (LOCAL_LOGV) Log.v(TAG, args.table + " <- " + initialValues); in insert()
[all …]
/frameworks/base/test-runner/src/android/test/mock/
DMockContentProvider.java61 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { in bulkInsert() argument
62 return MockContentProvider.this.bulkInsert(url, initialValues); in bulkInsert()
77 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { in insert() argument
78 return MockContentProvider.this.insert(url, initialValues); in insert()
DMockIContentProvider.java43 public int bulkInsert(Uri url, ContentValues[] initialValues) { in bulkInsert() argument
58 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { in insert() argument
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1662 public long replace(String table, String nullColumnHack, ContentValues initialValues) {
1664 return insertWithOnConflict(table, nullColumnHack, initialValues,
1667 Log.e(TAG, "Error inserting " + initialValues, e);
1689 ContentValues initialValues) throws SQLException {
1690 return insertWithOnConflict(table, nullColumnHack, initialValues,
1715 ContentValues initialValues, int conflictAlgorithm) {
1724 int size = (initialValues != null && initialValues.size() > 0) ? initialValues.size() : 0;
1728 for (String colName : initialValues.keySet()) {
1731 bindArgs[i++] = initialValues.get(colName);
/frameworks/base/telephony/java/com/android/internal/telephony/
DIccProvider.java296 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
311 pin2 = initialValues.getAsString("pin2"); in insert()
319 String tag = initialValues.getAsString("tag"); in insert()
320 String number = initialValues.getAsString("number"); in insert()
/frameworks/base/core/tests/coretests/src/android/app/
DSuggestionProvider.java102 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java154 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java168 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument