/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 | IpSecConfig.java | 138 String addrString = in.readString(); in readInetAddressFromParcel() local 139 if (addrString == null) { in readInetAddressFromParcel() 143 return InetAddress.getByName(addrString); in readInetAddressFromParcel() 145 Log.wtf(TAG, "Invalid IpAddress " + addrString); in readInetAddressFromParcel()
|
D | NetworkUtils.java | 206 public static InetAddress numericToInetAddress(String addrString) in numericToInetAddress() argument 208 return InetAddress.parseNumericAddress(addrString); in numericToInetAddress()
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 824 status_t MediaPlayer::setRetransmitEndpoint(const char* addrString, in setRetransmitEndpoint() argument 827 addrString ? addrString : "(null)", port); in setRetransmitEndpoint() 833 if (NULL == addrString) { in setRetransmitEndpoint() 839 if(!inet_aton(addrString, &saddr)) { in setRetransmitEndpoint()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | LockdownVpnTracker.java | 308 final String addrString = address.getAddress().getHostAddress(); in setFirewallEgressSourceRule() local 309 mNetService.setFirewallEgressSourceRule(addrString, allow); in setFirewallEgressSourceRule()
|
/frameworks/av/media/libmedia/include/media/ |
D | mediaplayer.h | 266 status_t setRetransmitEndpoint(const char* addrString, uint16_t port);
|
/frameworks/av/include/media/ |
D | mediaplayer.h | 266 status_t setRetransmitEndpoint(const char* addrString, uint16_t port);
|
/frameworks/base/media/jni/ |
D | android_media_MediaPlayer.cpp | 1099 jstring addrString, jint port) { in android_media_MediaPlayer_setRetransmitEndpoint() argument 1108 if (NULL != addrString) { in android_media_MediaPlayer_setRetransmitEndpoint() 1109 cAddrString = env->GetStringUTFChars(addrString, NULL); in android_media_MediaPlayer_setRetransmitEndpoint() 1125 if (NULL != addrString) { in android_media_MediaPlayer_setRetransmitEndpoint() 1126 env->ReleaseStringUTFChars(addrString, cAddrString); in android_media_MediaPlayer_setRetransmitEndpoint()
|
/frameworks/base/tests/net/java/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/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 352 String addrString = String.format(Locale.US, "%02X:%02X:%02X:%02X:%02X:%02X", in initRndisAddress() local 355 FileUtils.stringToFile(RNDIS_ETH_ADDR_PATH, addrString); in initRndisAddress()
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 3104 String addrString = null; in setRetransmitEndpoint() local 3108 addrString = endpoint.getAddress().getHostAddress(); in setRetransmitEndpoint() 3112 int ret = native_setRetransmitEndpoint(addrString, port); in setRetransmitEndpoint() 3118 private native final int native_setRetransmitEndpoint(String addrString, int port); in native_setRetransmitEndpoint() argument
|