Delete some pointless and invalid code.

These "convenience" methods are invalid because they
all have the same erasure. They do not compile with
java-7-openjdk.

android-mock is used only by QuicksearchBoxGoogle (which I'm
going to remove soon) and no new projects should use it.
(They should use mockito instead)

bug: 8992787

(cherry picked from commit 41cc67f9282657bfcf6ed2b565ee42ed7a40ee6c)

Change-Id: I31dd6741037a73ff005d90b3a1e43eafa3e93558
1 file changed