An old method which had existed but was removed from ContentResolver.
We still keep using this method since we don't have a propeer way to know
which value in the ContentValue corresponds to the entry in Contacts database.
TestCase.assertTrue(uri != null);
TestCase.assertTrue(ContentResolver.SCHEME_CONTENT.equals(uri.getScheme()));
final String authority = uri.getAuthority();
TestCase.assertTrue(RawContacts.CONTENT_URI.getAuthority().equals(authority));
TestCase.assertTrue((Data.CONTACT_ID + "=?").equals(selection));
TestCase.assertEquals(1, selectionArgs.length);
final int id = Integer.parseInt(selectionArgs[0]);
TestCase.assertTrue(id >= 0);
TestCase.assertTrue(id < mContactEntryList.size());
return new MockEntityIterator(mContactEntryList.get(id).getList());