Lines Matching refs:addrString
146 public boolean setIpAddress(String addrString, int prefixLength) {
148 Inet4Address addr = (Inet4Address) NetworkUtils.numericToInetAddress(addrString);
151 Log.e(TAG, "setIpAddress failed with addrString " + addrString + "/" + prefixLength);
157 public boolean setGateway(String addrString) {
159 gateway = NetworkUtils.numericToInetAddress(addrString);
161 Log.e(TAG, "setGateway failed with addrString " + addrString);
167 public boolean addDns(String addrString) {
168 if (TextUtils.isEmpty(addrString) == false) {
170 dnsServers.add(NetworkUtils.numericToInetAddress(addrString));
172 Log.e(TAG, "addDns failed with addrString " + addrString);
179 public boolean setServerAddress(String addrString) {
181 serverAddress = (Inet4Address) NetworkUtils.numericToInetAddress(addrString);
183 Log.e(TAG, "setServerAddress failed with addrString " + addrString);