Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DContentProviderClient.java121 public Uri insert(Uri url, ContentValues initialValues) in insert() argument
124 return mContentProvider.insert(mPackageName, url, initialValues); in insert()
134 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { in bulkInsert() argument
136 return mContentProvider.bulkInsert(mPackageName, url, initialValues); in bulkInsert()
DIContentProvider.java41 public Uri insert(String callingPkg, Uri url, ContentValues initialValues) in insert() argument
43 public int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) in bulkInsert() argument
DContentProvider.java209 public Uri insert(String callingPkg, Uri uri, ContentValues initialValues) { in insert() argument
211 return rejectInsert(uri, initialValues); in insert()
213 return ContentProvider.this.insert(uri, initialValues); in insert()
217 public int bulkInsert(String callingPkg, Uri uri, ContentValues[] initialValues) { in bulkInsert() argument
221 return ContentProvider.this.bulkInsert(uri, initialValues); in bulkInsert()
DAsyncQueryHandler.java208 ContentValues initialValues) { in startInsert() argument
217 args.values = initialValues; in startInsert()
/frameworks/base/test-runner/src/android/test/mock/
DMockContentProvider.java63 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) in bulkInsert() argument
65 return MockContentProvider.this.bulkInsert(url, initialValues); in bulkInsert()
80 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) in insert() argument
82 return MockContentProvider.this.insert(url, initialValues); in insert()
DMockIContentProvider.java44 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) { in bulkInsert() argument
59 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) in insert() argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java792 private boolean parseProviderList(Uri url, ContentValues initialValues, int desiredUser) { in parseProviderList() argument
793 String value = initialValues.getAsString(Settings.Secure.VALUE); in parseProviderList()
847 initialValues.put(Settings.Secure.VALUE, newProviders); in parseProviderList()
856 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
857 return insertForUser(url, initialValues, UserHandle.getCallingUserId()); in insert()
862 private Uri insertForUser(Uri url, ContentValues initialValues, int desiredUserHandle) { in insertForUser() argument
880 String name = initialValues.getAsString(Settings.Secure.NAME); in insertForUser()
882 if (!parseProviderList(url, initialValues, desiredUserHandle)) return null; in insertForUser()
905 String value = initialValues.getAsString(Settings.NameValueTable.VALUE); in insertForUser()
914 final long rowId = db.insert(args.table, null, initialValues); in insertForUser()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1383 public long replace(String table, String nullColumnHack, ContentValues initialValues) { in replace() argument
1385 return insertWithOnConflict(table, nullColumnHack, initialValues, in replace()
1388 Log.e(TAG, "Error inserting " + initialValues, e); in replace()
1410 ContentValues initialValues) throws SQLException { in replaceOrThrow() argument
1411 return insertWithOnConflict(table, nullColumnHack, initialValues, in replaceOrThrow()
1436 ContentValues initialValues, int conflictAlgorithm) { in insertWithOnConflict() argument
1447 int size = (initialValues != null && initialValues.size() > 0) in insertWithOnConflict()
1448 ? initialValues.size() : 0; in insertWithOnConflict()
1452 for (String colName : initialValues.keySet()) { in insertWithOnConflict()
1455 bindArgs[i++] = initialValues.get(colName); in insertWithOnConflict()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java108 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
123 pin2 = initialValues.getAsString("pin2"); in insert()
131 String tag = initialValues.getAsString("tag"); in insert()
132 String number = initialValues.getAsString("number"); in insert()
/frameworks/base/docs/html/training/search/
Dsearch.jd148 ContentValues initialValues = new ContentValues();
149 initialValues.put(COL_WORD, word);
150 initialValues.put(COL_DEFINITION, definition);
152 return mDatabase.insert(FTS_VIRTUAL_TABLE, null, initialValues);
/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