Home
last modified time | relevance | path

Searched refs:bulkInsert (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaInserterTest.java145 verify(mMockProvider, never()).bulkInsert(eq(mPackageName), any(), any()); in testInsertContentsLessThanBufferSize()
150 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testInsertContentsEqualToBufferSize()
157 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), any(), any()); in testInsertContentsEqualToBufferSize()
162 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testInsertContentsMoreThanBufferSize()
169 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), any(), any()); in testInsertContentsMoreThanBufferSize()
179 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testFlushAllWithSomeContents()
187 verify(mMockProvider, times(4)).bulkInsert(eq(mPackageName), any(), any()); in testFlushAllWithSomeContents()
192 when(mMockProvider.bulkInsert(eq(mPackageName), any(), any())).thenReturn(1); in testInsertContentsAfterFlushAll()
205 verify(mMockProvider, times(8)).bulkInsert(eq(mPackageName), any(), any()); in testInsertContentsAfterFlushAll()
210 when(mMockProvider.bulkInsert(eq(mPackageName), eqUri(sFilesUri), any())).thenReturn(1); in testInsertContentsWithDifferentSizePerContentType()
[all …]
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java65 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) in bulkInsert() method in MockContentProvider.InversionIContentProvider
67 return MockContentProvider.this.bulkInsert(url, initialValues); in bulkInsert()
231 public int bulkInsert(Uri uri, ContentValues[] values) { in bulkInsert() method in MockContentProvider
DMockIContentProvider.java46 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) { in bulkInsert() method in MockIContentProvider
/frameworks/base/test-mock/api/
Dlint-baseline.txt2 ArrayReturn: android.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.content.Cont…
14 MissingNullability: android.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.conte…
15 Missing nullability on parameter `uri` in method `bulkInsert`
16 MissingNullability: android.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.conte…
17 Missing nullability on parameter `values` in method `bulkInsert`
/frameworks/base/media/java/android/media/
DMediaInserter.java93 mProvider.bulkInsert(tableUri, valuesArray); in flush()
/frameworks/base/core/java/android/content/
DLoggingContentInterface.java181 public int bulkInsert(@NonNull Uri uri, @NonNull ContentValues[] initialValues) in bulkInsert() method in LoggingContentInterface
185 return l.setResult(delegate.bulkInsert(uri, initialValues)); in bulkInsert()
DContentInterface.java62 public int bulkInsert(@NonNull Uri uri, @NonNull ContentValues[] initialValues) in bulkInsert() method
DIContentProvider.java48 public int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) in bulkInsert() method
DContentProviderClient.java331 public int bulkInsert(@NonNull Uri url, @NonNull ContentValues[] initialValues) in bulkInsert() method in ContentProviderClient
338 return mContentProvider.bulkInsert(mPackageName, url, initialValues); in bulkInsert()
DContentProvider.java319 public int bulkInsert(String callingPkg, Uri uri, ContentValues[] initialValues) { in bulkInsert() method in ContentProvider.Transport
328 return mInterface.bulkInsert(uri, initialValues); in bulkInsert()
1466 public int bulkInsert(@NonNull Uri uri, @NonNull ContentValues[] values) { in bulkInsert() method in ContentProvider
DContentProviderNative.java167 int count = bulkInsert(callingPkg, url, values); in onTransact()
491 … public int bulkInsert(String callingPkg, Uri url, ContentValues[] values) throws RemoteException { in bulkInsert() method in ContentProviderProxy
DContentResolver.java1892 public final int bulkInsert(@RequiresPermission.Write @NonNull Uri url,
1898 if (mWrapped != null) return mWrapped.bulkInsert(url, values);
1909 int rowsCreated = provider.bulkInsert(mPackageName, url, values);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentProvider.java51 public int bulkInsert(String callingPackage, Uri arg0, ContentValues[] arg1) in bulkInsert() method in BridgeContentProvider
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java122 public int bulkInsert(Uri uri, ContentValues[] values) { in bulkInsert() method in SQLiteContentProvider
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderTest.java515 final int insertCount = getContext().getContentResolver().bulkInsert(uri, allValues); in toTestBulkInsertViaProviderApiForType()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java982 if (mMediaProvider.bulkInsert(uri, valuesList.toArray(new ContentValues[0])) > 0) { in setObjectReferences()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java657 public int bulkInsert(Uri uri, ContentValues[] allValues) { in bulkInsert() method in SettingsProvider
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6880 method public int bulkInsert(android.net.Uri, android.content.ContentValues[]);
6922 …method public int bulkInsert(android.net.Uri, android.content.ContentValues[]) throws android.os.R…
7001 method public final int bulkInsert(android.net.Uri, android.content.ContentValues[]);
/frameworks/base/non-updatable-api/
Dcurrent.txt9386 … method public int bulkInsert(@NonNull android.net.Uri, @NonNull android.content.ContentValues[]);
9437 …method public int bulkInsert(@NonNull android.net.Uri, @NonNull android.content.ContentValues[]) t…
9525 …method public final int bulkInsert(@NonNull @RequiresPermission.Write android.net.Uri, @NonNull an…
/frameworks/base/api/
Dcurrent.txt9386 … method public int bulkInsert(@NonNull android.net.Uri, @NonNull android.content.ContentValues[]);
9437 …method public int bulkInsert(@NonNull android.net.Uri, @NonNull android.content.ContentValues[]) t…
9525 …method public final int bulkInsert(@NonNull @RequiresPermission.Write android.net.Uri, @NonNull an…
/frameworks/base/config/
Dboot-image-profile.txt3383 HSPLandroid/content/ContentProvider$Transport;->bulkInsert(Ljava/lang/String;Landroid/net/Uri;[Land…
Dhiddenapi-greylist-max-o.txt12957 Landroid/content/ContentProvider$Transport;->bulkInsert(Ljava/lang/String;Landroid/net/Uri;[Landroi…