diff options
author | Mathias Agopian <mathias@google.com> | 2009-05-27 14:34:50 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-05-27 14:34:50 -0700 |
commit | 2da99bdaa1712f00525e6a84b58044332cb1baef (patch) | |
tree | ed330500de06dc645769ea87372fb624390b52a8 /test-runner/android | |
parent | 947f4f4d384ea26eb2145cc070a3eed42c59534a (diff) | |
parent | cc77841f643751fd9f128e90f7d1587445ef353e (diff) | |
download | frameworks_base-2da99bdaa1712f00525e6a84b58044332cb1baef.zip frameworks_base-2da99bdaa1712f00525e6a84b58044332cb1baef.tar.gz frameworks_base-2da99bdaa1712f00525e6a84b58044332cb1baef.tar.bz2 |
Merge commit 'goog/master' into merge_master
Conflicts:
include/ui/Rect.h
libs/ui/ISurfaceComposer.cpp
Diffstat (limited to 'test-runner/android')
-rw-r--r-- | test-runner/android/test/mock/MockContentProvider.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/test-runner/android/test/mock/MockContentProvider.java b/test-runner/android/test/mock/MockContentProvider.java index fdba2e2..757c72d 100644 --- a/test-runner/android/test/mock/MockContentProvider.java +++ b/test-runner/android/test/mock/MockContentProvider.java @@ -20,6 +20,9 @@ import android.content.ContentValues; import android.content.IContentProvider; import android.content.Entity; import android.content.EntityIterator; +import android.content.ContentProviderResult; +import android.content.ContentProviderOperation; +import android.content.OperationApplicationException; import android.content.res.AssetFileDescriptor; import android.database.Cursor; import android.database.CursorWindow; @@ -49,7 +52,7 @@ public class MockContentProvider implements IContentProvider { return 0; } - public Uri[] bulkInsertEntities(Uri uri, Entity[] entities) throws RemoteException { + public Uri insertEntity(Uri uri, Entity entities) throws RemoteException { throw new UnsupportedOperationException("unimplemented mock method"); } @@ -87,7 +90,11 @@ public class MockContentProvider implements IContentProvider { throws FileNotFoundException { throw new UnsupportedOperationException("unimplemented mock method"); } - + + public ContentProviderResult[] applyBatch(ContentProviderOperation[] operations) throws RemoteException, OperationApplicationException { + throw new UnsupportedOperationException("unimplemented mock method"); + } + @SuppressWarnings("unused") public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) throws RemoteException { @@ -105,7 +112,7 @@ public class MockContentProvider implements IContentProvider { throw new UnsupportedOperationException("unimplemented mock method"); } - public int[] bulkUpdateEntities(Uri uri, Entity[] entities) throws RemoteException { + public int updateEntity(Uri uri, Entity entity) throws RemoteException { throw new UnsupportedOperationException("unimplemented mock method"); } |