From 5bba632d877c2878384ff21566c8eb6a1a22f37b Mon Sep 17 00:00:00 2001 From: Fred Quintana Date: Mon, 5 Oct 2009 14:21:12 -0700 Subject: - hide Entity and all its references - remove updateEntity and insertEntity, since they are not used - add the RawContacts.Entity class, which is used in lieu of the android.content.Entity --- test-runner/android/test/mock/MockContentProvider.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'test-runner') diff --git a/test-runner/android/test/mock/MockContentProvider.java b/test-runner/android/test/mock/MockContentProvider.java index 74f86d8..c3fe9c0 100644 --- a/test-runner/android/test/mock/MockContentProvider.java +++ b/test-runner/android/test/mock/MockContentProvider.java @@ -53,10 +53,6 @@ public class MockContentProvider implements IContentProvider { return 0; } - public Uri insertEntity(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, @@ -103,6 +99,9 @@ public class MockContentProvider implements IContentProvider { throw new UnsupportedOperationException("unimplemented mock method"); } + /** + * @hide + */ public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, String sortOrder) throws RemoteException { throw new UnsupportedOperationException("unimplemented mock method"); @@ -114,10 +113,6 @@ public class MockContentProvider implements IContentProvider { throw new UnsupportedOperationException("unimplemented mock method"); } - public int updateEntity(Uri uri, Entity entity) throws RemoteException { - throw new UnsupportedOperationException("unimplemented mock method"); - } - public IBinder asBinder() { throw new UnsupportedOperationException("unimplemented mock method"); } -- cgit v1.1