Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DDhcpResults.java146 public boolean setIpAddress(String addrString, int prefixLength) { in setIpAddress() argument
148 Inet4Address addr = (Inet4Address) NetworkUtils.numericToInetAddress(addrString); in setIpAddress()
151 Log.e(TAG, "setIpAddress failed with addrString " + addrString + "/" + prefixLength); in setIpAddress()
157 public boolean setGateway(String addrString) { in setGateway() argument
159 gateway = NetworkUtils.numericToInetAddress(addrString); in setGateway()
161 Log.e(TAG, "setGateway failed with addrString " + addrString); in setGateway()
167 public boolean addDns(String addrString) { in addDns() argument
168 if (TextUtils.isEmpty(addrString) == false) { in addDns()
170 dnsServers.add(NetworkUtils.numericToInetAddress(addrString)); in addDns()
172 Log.e(TAG, "addDns failed with addrString " + addrString); in addDns()
[all …]
DNetworkUtils.java205 public static InetAddress numericToInetAddress(String addrString) in numericToInetAddress() argument
207 return InetAddress.parseNumericAddress(addrString); in numericToInetAddress()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp772 status_t MediaPlayer::setRetransmitEndpoint(const char* addrString, in setRetransmitEndpoint() argument
775 addrString ? addrString : "(null)", port); in setRetransmitEndpoint()
781 if (NULL == addrString) { in setRetransmitEndpoint()
787 if(!inet_aton(addrString, &saddr)) { in setRetransmitEndpoint()
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java306 final String addrString = address.getAddress().getHostAddress(); in setFirewallEgressSourceRule() local
307 mNetService.setFirewallEgressSourceRule(addrString, allow); in setFirewallEgressSourceRule()
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer.cpp972 jstring addrString, jint port) { in android_media_MediaPlayer_setRetransmitEndpoint() argument
981 if (NULL != addrString) { in android_media_MediaPlayer_setRetransmitEndpoint()
982 cAddrString = env->GetStringUTFChars(addrString, NULL); in android_media_MediaPlayer_setRetransmitEndpoint()
998 if (NULL != addrString) { in android_media_MediaPlayer_setRetransmitEndpoint()
999 env->ReleaseStringUTFChars(addrString, cAddrString); in android_media_MediaPlayer_setRetransmitEndpoint()
/frameworks/av/include/media/
Dmediaplayer.h255 status_t setRetransmitEndpoint(const char* addrString, uint16_t port);
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
DDhcpPacketTest.java45 private static final Inet4Address v4Address(String addrString) throws IllegalArgumentException { in v4Address() argument
46 return (Inet4Address) NetworkUtils.numericToInetAddress(addrString); in v4Address()
/frameworks/base/core/tests/coretests/src/android/net/
DLinkPropertiesTest.java52 private InetAddress Address(String addrString) { in Address() argument
53 return NetworkUtils.numericToInetAddress(addrString); in Address()
/frameworks/base/media/java/android/media/
DMediaPlayer.java2792 String addrString = null; in setRetransmitEndpoint() local
2796 addrString = endpoint.getAddress().getHostAddress(); in setRetransmitEndpoint()
2800 int ret = native_setRetransmitEndpoint(addrString, port); in setRetransmitEndpoint()
2806 private native final int native_setRetransmitEndpoint(String addrString, int port); in native_setRetransmitEndpoint() argument
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java321 String addrString = String.format(Locale.US, "%02X:%02X:%02X:%02X:%02X:%02X", in initRndisAddress() local
324 FileUtils.stringToFile(RNDIS_ETH_ADDR_PATH, addrString); in initRndisAddress()