summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorFred Quintana <fredq@google.com>2009-10-05 14:21:12 -0700
committerFred Quintana <fredq@google.com>2009-10-06 11:51:19 -0700
commit5bba632d877c2878384ff21566c8eb6a1a22f37b (patch)
treee8bd6afd4bb1df723420de4a6e7f17ab3a253427 /test-runner
parent5163cd6d1cb664977eb4473b98657c7e92ae430e (diff)
downloadframeworks_base-5bba632d877c2878384ff21566c8eb6a1a22f37b.zip
frameworks_base-5bba632d877c2878384ff21566c8eb6a1a22f37b.tar.gz
frameworks_base-5bba632d877c2878384ff21566c8eb6a1a22f37b.tar.bz2
- 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
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/android/test/mock/MockContentProvider.java11
1 files changed, 3 insertions, 8 deletions
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");
}