Home
last modified time | relevance | path

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

/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.java1008 private boolean parseProviderList(Uri url, ContentValues initialValues, int desiredUser) { in parseProviderList() argument
1009 String value = initialValues.getAsString(Settings.Secure.VALUE); in parseProviderList()
1063 initialValues.put(Settings.Secure.VALUE, newProviders); in parseProviderList()
1072 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
1073 return insertForUser(url, initialValues, UserHandle.getCallingUserId()); in insert()
1078 private Uri insertForUser(Uri url, ContentValues initialValues, int desiredUserHandle) { in insertForUser() argument
1096 String name = initialValues.getAsString(Settings.Secure.NAME); in insertForUser()
1098 if (!parseProviderList(url, initialValues, desiredUserHandle)) return null; in insertForUser()
1123 String value = initialValues.getAsString(Settings.NameValueTable.VALUE); in insertForUser()
1137 final long rowId = db.insert(args.table, null, initialValues); in insertForUser()
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1385 public long replace(String table, String nullColumnHack, ContentValues initialValues) { in replace() argument
1387 return insertWithOnConflict(table, nullColumnHack, initialValues, in replace()
1390 Log.e(TAG, "Error inserting " + initialValues, e); in replace()
1412 ContentValues initialValues) throws SQLException { in replaceOrThrow() argument
1413 return insertWithOnConflict(table, nullColumnHack, initialValues, in replaceOrThrow()
1438 ContentValues initialValues, int conflictAlgorithm) { in insertWithOnConflict() argument
1449 int size = (initialValues != null && initialValues.size() > 0) in insertWithOnConflict()
1450 ? initialValues.size() : 0; in insertWithOnConflict()
1454 for (String colName : initialValues.keySet()) { in insertWithOnConflict()
1457 bindArgs[i++] = initialValues.get(colName); in insertWithOnConflict()
/frameworks/base/core/java/android/content/
DContentProviderClient.java201 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { in insert() argument
204 return mContentProvider.insert(mPackageName, url, initialValues); in insert()
216 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { in bulkInsert() argument
219 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
DAsyncQueryHandler.java208 ContentValues initialValues) { in startInsert() argument
217 args.values = initialValues; in startInsert()
DContentProvider.java226 public Uri insert(String callingPkg, Uri uri, ContentValues initialValues) { in insert() argument
231 return rejectInsert(uri, initialValues); in insert()
235 return maybeAddUserId(ContentProvider.this.insert(uri, initialValues), userId); in insert()
242 public int bulkInsert(String callingPkg, Uri uri, ContentValues[] initialValues) { in bulkInsert() argument
250 return ContentProvider.this.bulkInsert(uri, initialValues); in bulkInsert()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java157 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
180 pin2 = initialValues.getAsString("pin2"); in insert()
186 pin2 = initialValues.getAsString("pin2"); in insert()
194 String tag = initialValues.getAsString("tag"); in insert()
195 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