Home
last modified time | relevance | path

Searched refs:initialValues (Results 1 – 14 of 14) 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.java1388 public long replace(String table, String nullColumnHack, ContentValues initialValues) { in replace() argument
1390 return insertWithOnConflict(table, nullColumnHack, initialValues, in replace()
1393 Log.e(TAG, "Error inserting " + initialValues, e); in replace()
1416 ContentValues initialValues) throws SQLException { in replaceOrThrow() argument
1417 return insertWithOnConflict(table, nullColumnHack, initialValues, in replaceOrThrow()
1441 ContentValues initialValues, int conflictAlgorithm) { in insertWithOnConflict() argument
1452 int size = (initialValues != null && initialValues.size() > 0) in insertWithOnConflict()
1453 ? initialValues.size() : 0; in insertWithOnConflict()
1457 for (String colName : initialValues.keySet()) { in insertWithOnConflict()
1460 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/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/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java161 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
184 pin2 = initialValues.getAsString("pin2"); in insert()
190 pin2 = initialValues.getAsString("pin2"); in insert()
198 String tag = initialValues.getAsString("tag"); in insert()
199 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/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderThrottleSupport.java270 public Uri insert(Uri uri, ContentValues initialValues) { in insert() argument
278 if (initialValues != null) { in insert()
279 values = new ContentValues(initialValues); 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