Home
last modified time | relevance | path

Searched refs:addrString (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/net/
DDhcpResults.java222 public boolean setIpAddress(String addrString, int prefixLength) { in setIpAddress() argument
224 Inet4Address addr = (Inet4Address) InetAddresses.parseNumericAddress(addrString); in setIpAddress()
227 Log.e(TAG, "setIpAddress failed with addrString " + addrString + "/" + prefixLength); in setIpAddress()
233 public boolean setGateway(String addrString) { in setGateway() argument
235 gateway = InetAddresses.parseNumericAddress(addrString); in setGateway()
237 Log.e(TAG, "setGateway failed with addrString " + addrString); in setGateway()
243 public boolean addDns(String addrString) { in addDns() argument
244 if (TextUtils.isEmpty(addrString) == false) { in addDns()
246 dnsServers.add(InetAddresses.parseNumericAddress(addrString)); in addDns()
248 Log.e(TAG, "addDns failed with addrString " + addrString); in addDns()
DNetworkUtils.java245 public static InetAddress numericToInetAddress(String addrString) in numericToInetAddress() argument
247 return InetAddress.parseNumericAddress(addrString); in numericToInetAddress()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp811 status_t MediaPlayer::setRetransmitEndpoint(const char* addrString, in setRetransmitEndpoint() argument
814 addrString ? addrString : "(null)", port); in setRetransmitEndpoint()
820 if (NULL == addrString) { in setRetransmitEndpoint()
826 if(!inet_aton(addrString, &saddr)) { in setRetransmitEndpoint()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java63 private static InetAddress toInetAddress(String addrString) { in toInetAddress() argument
64 return InetAddresses.parseNumericAddress(addrString); in toInetAddress()
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h261 status_t setRetransmitEndpoint(const char* addrString, uint16_t port);
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp1051 jstring addrString, jint port) { in android_media_MediaPlayer_setRetransmitEndpoint() argument
1060 if (NULL != addrString) { in android_media_MediaPlayer_setRetransmitEndpoint()
1061 cAddrString = env->GetStringUTFChars(addrString, NULL); in android_media_MediaPlayer_setRetransmitEndpoint()
1077 if (NULL != addrString) { in android_media_MediaPlayer_setRetransmitEndpoint()
1078 env->ReleaseStringUTFChars(addrString, cAddrString); in android_media_MediaPlayer_setRetransmitEndpoint()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java765 private static Inet4Address parseIPv4Address(String addrString) { in parseIPv4Address() argument
767 final InetAddress ip = InetAddresses.parseNumericAddress(addrString); in parseIPv4Address()
/frameworks/base/media/java/android/media/
DMediaPlayer.java3258 String addrString = null; in setRetransmitEndpoint() local
3262 addrString = endpoint.getAddress().getHostAddress(); in setRetransmitEndpoint()
3266 int ret = native_setRetransmitEndpoint(addrString, port); in setRetransmitEndpoint()
3272 private native final int native_setRetransmitEndpoint(String addrString, int port); in native_setRetransmitEndpoint() argument
/frameworks/base/tests/net/common/java/android/net/
DLinkPropertiesTest.java102 private static InetAddress address(String addrString) { in address() argument
103 return InetAddresses.parseNumericAddress(addrString); in address()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java437 String addrString = String.format(Locale.US, "%02X:%02X:%02X:%02X:%02X:%02X", in initRndisAddress() local
440 FileUtils.stringToFile(RNDIS_ETH_ADDR_PATH, addrString); in initRndisAddress()