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/core/java/android/database/sqlite/
DSQLiteDatabase.java1387 public long replace(String table, String nullColumnHack, ContentValues initialValues) { in replace() argument
1389 return insertWithOnConflict(table, nullColumnHack, initialValues, in replace()
1392 Log.e(TAG, "Error inserting " + initialValues, e); in replace()
1414 ContentValues initialValues) throws SQLException { in replaceOrThrow() argument
1415 return insertWithOnConflict(table, nullColumnHack, initialValues, in replaceOrThrow()
1439 ContentValues initialValues, int conflictAlgorithm) { in insertWithOnConflict() argument
1450 int size = (initialValues != null && initialValues.size() > 0) in insertWithOnConflict()
1451 ? initialValues.size() : 0; in insertWithOnConflict()
1455 for (String colName : initialValues.keySet()) { in insertWithOnConflict()
1458 bindArgs[i++] = initialValues.get(colName); in insertWithOnConflict()
/frameworks/base/core/java/android/content/
DContentProviderClient.java238 public @Nullable Uri insert(@NonNull Uri url, @Nullable ContentValues initialValues) in insert() argument
244 return mContentProvider.insert(mPackageName, url, initialValues); in insert()
256 public int bulkInsert(@NonNull Uri url, @NonNull ContentValues[] initialValues) in bulkInsert() argument
259 Preconditions.checkNotNull(initialValues, "initialValues"); in bulkInsert()
263 return mContentProvider.bulkInsert(mPackageName, url, initialValues); in bulkInsert()
DIContentProvider.java42 public Uri insert(String callingPkg, Uri url, ContentValues initialValues) in insert() argument
44 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.java255 public Uri insert(String callingPkg, Uri uri, ContentValues initialValues) { in insert() argument
260 return rejectInsert(uri, initialValues); in insert()
264 return maybeAddUserId(ContentProvider.this.insert(uri, initialValues), userId); in insert()
271 public int bulkInsert(String callingPkg, Uri uri, ContentValues[] initialValues) { in bulkInsert() argument
279 return ContentProvider.this.bulkInsert(uri, initialValues); in bulkInsert()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java162 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
185 pin2 = initialValues.getAsString("pin2"); in insert()
191 pin2 = initialValues.getAsString("pin2"); in insert()
199 String tag = initialValues.getAsString("tag"); in insert()
200 String number = initialValues.getAsString("number"); in insert()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionControllerTest.java77 private MatrixCursor convertFromContentToCursor(ContentValues initialValues) { in convertFromContentToCursor() argument
81 if (initialValues != null && mKeyMappingSet.length != 0) { in convertFromContentToCursor()
85 if (initialValues.containsKey(key)) { in convertFromContentToCursor()
86 values.add(initialValues.get(key)); in convertFromContentToCursor()
/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