diff options
author | Fred Quintana <fredq@google.com> | 2009-05-07 17:35:38 -0700 |
---|---|---|
committer | Fred Quintana <fredq@google.com> | 2009-05-13 12:49:04 -0700 |
commit | 6a8d5332f00bdfade6674b312e7166940aa28348 (patch) | |
tree | c45f5e5bc0fb4918e3df45821c723845d64506d3 /test-runner | |
parent | 7dfc85f1199790a3c3dab701cec45045d100d7d3 (diff) | |
download | frameworks_base-6a8d5332f00bdfade6674b312e7166940aa28348.zip frameworks_base-6a8d5332f00bdfade6674b312e7166940aa28348.tar.gz frameworks_base-6a8d5332f00bdfade6674b312e7166940aa28348.tar.bz2 |
content provider entities
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/android/test/mock/MockContentProvider.java | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/test-runner/android/test/mock/MockContentProvider.java b/test-runner/android/test/mock/MockContentProvider.java index f40329d..fdba2e2 100644 --- a/test-runner/android/test/mock/MockContentProvider.java +++ b/test-runner/android/test/mock/MockContentProvider.java @@ -18,7 +18,8 @@ package android.test.mock; import android.content.ContentValues; import android.content.IContentProvider; -import android.content.ISyncAdapter; +import android.content.Entity; +import android.content.EntityIterator; import android.content.res.AssetFileDescriptor; import android.database.Cursor; import android.database.CursorWindow; @@ -48,6 +49,10 @@ public class MockContentProvider implements IContentProvider { return 0; } + public Uri[] bulkInsertEntities(Uri uri, Entity[] entities) throws RemoteException { + throw new UnsupportedOperationException("unimplemented mock method"); + } + @SuppressWarnings("unused") public IBulkCursor bulkQuery(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, IContentObserver observer, @@ -89,12 +94,21 @@ public class MockContentProvider implements IContentProvider { throw new UnsupportedOperationException("unimplemented mock method"); } + public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, + String sortOrder) throws RemoteException { + throw new UnsupportedOperationException("unimplemented mock method"); + } + @SuppressWarnings("unused") public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) throws RemoteException { throw new UnsupportedOperationException("unimplemented mock method"); } + public int[] bulkUpdateEntities(Uri uri, Entity[] entities) throws RemoteException { + throw new UnsupportedOperationException("unimplemented mock method"); + } + public IBinder asBinder() { throw new UnsupportedOperationException("unimplemented mock method"); } |