libcore/support: change TestKeyStore to avoid using getLocalHost()

Use constants instead. InetAddress.getLocalHost() causes
trouble when there is incompatibility between netd and bionic
(see c/147244). This is part of an effort to start running
conscrypt/java.security tests in the buildbot.

Change-Id: I97ccf0a09f11c68e1b1ae2c2da99c2269ad0fe90
1 file changed