Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DDhcpResults.java221 public boolean setIpAddress(String addrString, int prefixLength) { in setIpAddress() argument
223 Inet4Address addr = (Inet4Address) InetAddresses.parseNumericAddress(addrString); in setIpAddress()
226 Log.e(TAG, "setIpAddress failed with addrString " + addrString + "/" + prefixLength); in setIpAddress()
232 public boolean setGateway(String addrString) { in setGateway() argument
234 gateway = InetAddresses.parseNumericAddress(addrString); in setGateway()
236 Log.e(TAG, "setGateway failed with addrString " + addrString); in setGateway()
242 public boolean addDns(String addrString) { in addDns() argument
243 if (TextUtils.isEmpty(addrString) == false) { in addDns()
245 dnsServers.add(InetAddresses.parseNumericAddress(addrString)); in addDns()
247 Log.e(TAG, "addDns failed with addrString " + addrString); in addDns()
DNetworkUtils.java244 public static InetAddress numericToInetAddress(String addrString) in numericToInetAddress() argument
246 return InetAddress.parseNumericAddress(addrString); in numericToInetAddress()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp820 status_t MediaPlayer::setRetransmitEndpoint(const char* addrString, in setRetransmitEndpoint() argument
823 addrString ? addrString : "(null)", port); in setRetransmitEndpoint()
829 if (NULL == addrString) { in setRetransmitEndpoint()
835 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.java3257 String addrString = null; in setRetransmitEndpoint() local
3261 addrString = endpoint.getAddress().getHostAddress(); in setRetransmitEndpoint()
3265 int ret = native_setRetransmitEndpoint(addrString, port); in setRetransmitEndpoint()
3271 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.java435 String addrString = String.format(Locale.US, "%02X:%02X:%02X:%02X:%02X:%02X", in initRndisAddress() local
438 FileUtils.stringToFile(RNDIS_ETH_ADDR_PATH, addrString); in initRndisAddress()