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.java64 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) in bulkInsert() argument
66 return MockContentProvider.this.bulkInsert(url, initialValues); in bulkInsert()
81 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) in insert() argument
83 return MockContentProvider.this.insert(url, initialValues); in insert()
DMockIContentProvider.java46 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) { in bulkInsert() argument
64 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.isEmpty()) 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.java265 public @Nullable Uri insert(@NonNull Uri url, @Nullable ContentValues initialValues) in insert() argument
271 return mContentProvider.insert(mPackageName, url, initialValues); in insert()
283 public int bulkInsert(@NonNull Uri url, @NonNull ContentValues[] initialValues) in bulkInsert() argument
286 Preconditions.checkNotNull(initialValues, "initialValues"); in bulkInsert()
290 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.java258 public Uri insert(String callingPkg, Uri uri, ContentValues initialValues) { in insert() argument
263 return rejectInsert(uri, initialValues); in insert()
267 return maybeAddUserId(ContentProvider.this.insert(uri, initialValues), userId); in insert()
274 public int bulkInsert(String callingPkg, Uri uri, ContentValues[] initialValues) { in bulkInsert() argument
282 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/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/content/
DMemoryFileProvider.java168 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalProvider.java178 public Uri insert(Uri url, ContentValues initialValues) { in insert() argument