Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DContentProviderClient.java58 public Uri insert(Uri url, ContentValues initialValues) in insert() argument
60 return mContentProvider.insert(url, initialValues); in insert()
64 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { in bulkInsert() argument
65 return mContentProvider.bulkInsert(url, initialValues); in bulkInsert()
DIContentProvider.java49 public Uri insert(Uri url, ContentValues initialValues) in insert() argument
51 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException; in bulkInsert() argument
DContentProvider.java196 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
198 return ContentProvider.this.insert(uri, initialValues); in insert()
201 public int bulkInsert(Uri uri, ContentValues[] initialValues) { in bulkInsert() argument
203 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.java483 private boolean parseProviderList(Uri url, ContentValues initialValues) { in parseProviderList() argument
484 String value = initialValues.getAsString(Settings.Secure.VALUE); in parseProviderList()
538 initialValues.put(Settings.Secure.VALUE, newProviders); in parseProviderList()
547 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
556 String name = initialValues.getAsString(Settings.Secure.NAME); in insert()
558 if (!parseProviderList(url, initialValues)) return null; in insert()
562 String value = initialValues.getAsString(Settings.NameValueTable.VALUE); in insert()
569 final long rowId = db.insert(args.table, null, initialValues); in insert()
573 SettingsCache.populate(cache, initialValues); // before we notify in insert()
575 if (LOCAL_LOGV) Log.v(TAG, args.table + " <- " + initialValues); in insert()
[all …]
/frameworks/base/test-runner/src/android/test/mock/
DMockContentProvider.java65 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { in bulkInsert() argument
66 return MockContentProvider.this.bulkInsert(url, initialValues); in bulkInsert()
88 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { in insert() argument
89 return MockContentProvider.this.insert(url, initialValues); in insert()
DMockIContentProvider.java45 public int bulkInsert(Uri url, ContentValues[] initialValues) { in bulkInsert() argument
66 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { in insert() argument
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1470 public long replace(String table, String nullColumnHack, ContentValues initialValues) { in replace() argument
1472 return insertWithOnConflict(table, nullColumnHack, initialValues, in replace()
1475 Log.e(TAG, "Error inserting " + initialValues, e); in replace()
1497 ContentValues initialValues) throws SQLException { in replaceOrThrow() argument
1498 return insertWithOnConflict(table, nullColumnHack, initialValues, in replaceOrThrow()
1523 ContentValues initialValues, int conflictAlgorithm) { in insertWithOnConflict() argument
1539 if (initialValues != null && initialValues.size() > 0) { in insertWithOnConflict()
1540 entrySet = initialValues.valueSet(); in insertWithOnConflict()
1586 Log.e(TAG, "Error inserting " + initialValues + " using " + sql); in insertWithOnConflict()
1590 + initialValues + " using " + sql); in insertWithOnConflict()
/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.java155 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java203 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument