Added mock methods to Android class