Searched refs:addrString (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | DhcpResults.java | 146 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 …]
|
D | NetworkUtils.java | 205 public static InetAddress numericToInetAddress(String addrString) in numericToInetAddress() argument 207 return InetAddress.parseNumericAddress(addrString); in numericToInetAddress()
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 772 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/ |
D | LockdownVpnTracker.java | 306 final String addrString = address.getAddress().getHostAddress(); in setFirewallEgressSourceRule() local 307 mNetService.setFirewallEgressSourceRule(addrString, allow); in setFirewallEgressSourceRule()
|
/frameworks/base/media/jni/ |
D | android_media_MediaPlayer.cpp | 972 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/ |
D | mediaplayer.h | 255 status_t setRetransmitEndpoint(const char* addrString, uint16_t port);
|
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 45 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/ |
D | LinkPropertiesTest.java | 52 private InetAddress Address(String addrString) { in Address() argument 53 return NetworkUtils.numericToInetAddress(addrString); in Address()
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 2792 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/ |
D | UsbDeviceManager.java | 321 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()
|