Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 83) sorted by relevance

1234

/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java17 package android.net.ip;
29 import android.net.ip.IpNeighborMonitor.NeighborEvent;
30 import android.net.ip.IpNeighborMonitor.NeighborEventConsumer;
154 void notifyLost(InetAddress ip, String logMsg); in notifyLost() argument
237 if (!mNeighborWatchList.containsKey(event.ip)) return;
239 final NeighborEvent prev = mNeighborWatchList.put(event.ip, event);
290 private static boolean isOnLink(List<RouteInfo> routes, InetAddress ip) {
292 if (!route.hasGateway() && route.matches(ip)) {
339 InetAddress ip = null;
353 ip = entry.getKey();
[all …]
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DInputPointers.java75 public void set(@Nonnull final InputPointers ip) { in set() argument
76 mXCoordinates.set(ip.mXCoordinates); in set()
77 mYCoordinates.set(ip.mYCoordinates); in set()
78 mPointerIds.set(ip.mPointerIds); in set()
79 mTimes.set(ip.mTimes); in set()
82 public void copy(@Nonnull final InputPointers ip) { in copy() argument
83 mXCoordinates.copy(ip.mXCoordinates); in copy()
84 mYCoordinates.copy(ip.mYCoordinates); in copy()
85 mPointerIds.copy(ip.mPointerIds); in copy()
86 mTimes.copy(ip.mTimes); in copy()
DResizableIntArray.java102 public void set(@Nonnull final ResizableIntArray ip) { in set() argument
104 mArray = ip.mArray; in set()
105 mLength = ip.mLength; in set()
108 public void copy(@Nonnull final ResizableIntArray ip) { in copy() argument
109 final int newCapacity = calculateCapacity(ip.mLength); in copy()
114 System.arraycopy(ip.mArray, 0, mArray, 0, ip.mLength); in copy()
115 mLength = ip.mLength; in copy()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/
DIpNeighborMonitor.java17 package android.net.ip;
61 public static int startKernelNeighborProbe(int ifIndex, InetAddress ip) { in startKernelNeighborProbe() argument
62 final String msgSnippet = "probing ip=" + ip.getHostAddress() + "%" + ifIndex; in startKernelNeighborProbe()
66 1, ip, StructNdMsg.NUD_PROBE, ifIndex, null); in startKernelNeighborProbe()
82 final InetAddress ip; field in IpNeighborMonitor.NeighborEvent
86 public NeighborEvent(long elapsedMs, short msgType, int ifindex, InetAddress ip, in NeighborEvent() argument
91 this.ip = ip; in NeighborEvent()
110 .add(ip.getHostAddress()) in toString()
DInterfaceController.java17 package android.net.ip;
172 public boolean addAddress(InetAddress ip, int prefixLen) { in addAddress() argument
174 mNetd.interfaceAddAddress(mIfName, ip.getHostAddress(), prefixLen); in addAddress()
176 logError("failed to add %s/%d: %s", ip, prefixLen, e); in addAddress()
185 public boolean removeAddress(InetAddress ip, int prefixLen) { in removeAddress() argument
187 mNetd.interfaceDelAddress(mIfName, ip.getHostAddress(), prefixLen); in removeAddress()
189 logError("failed to remove %s/%d: %s", ip, prefixLen, e); in removeAddress()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunUtils.java96 static boolean isIpMulticast(long ip) { in isIpMulticast() argument
97 return (ip >= 0xE0000000) && (ip < 0xF0000000); in isIpMulticast()
112 static String getIpString(int ip) { in getIpString() argument
114 "%d.%d.%d.%d", (ip & 0xff), (ip >> 8 & 0xff), (ip >> 16 & 0xff), (ip >> 24 & 0xff)); in getIpString()
/packages/modules/DnsResolver/
DDnsQueryLog.cpp35 for (const auto& ip : ips) { in maskIps() local
36 if (auto pos = ip.find_first_of(':'); pos != ip.npos && !v6Found) { in maskIps()
37 ret += ip.substr(0, pos + 1) + "***, "; in maskIps()
39 } else if (auto pos = ip.find_first_of('.'); pos != ip.npos && !v4Found) { in maskIps()
40 ret += ip.substr(0, pos + 1) + "***, "; in maskIps()
DDnsStats.cpp64 if (server.ip() == INVALID_IPADDRESS || server.port() == 0) { in ensureNoInvalidIp()
81 if (total == 0) return StringPrintf("%s <no data>", serverSockAddr.ip().toString().c_str()); in toString()
92 return StringPrintf("%s (%d, %dms, [%s], %ds)", serverSockAddr.ip().toString().c_str(), total, in toString()
148 if (ipSockAddr.ip() == INVALID_IPADDRESS) return false; in addStats()
DDns64Configuration.cpp203 if (pfx.ip().family() != AF_INET6 || pfx.ip().scope_id() != 0) { in reportNat64PrefixStatus()
208 Nat64PrefixInfo args = {netId, added, pfx.ip().toString(), (uint8_t)pfx.length()}; in reportNat64PrefixStatus()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMatrixUtils.java48 int ip = row; in findPivotAndSwapRow() local
52 ip = i; in findPivotAndSwapRow()
56 if (ip != row) { in findPivotAndSwapRow()
58 final float temp0 = squareMatrix0[ip][j]; in findPivotAndSwapRow()
59 squareMatrix0[ip][j] = squareMatrix0[row][j]; in findPivotAndSwapRow()
61 final float temp1 = squareMatrix1[ip][j]; in findPivotAndSwapRow()
62 squareMatrix1[ip][j] = squareMatrix1[row][j]; in findPivotAndSwapRow()
/packages/apps/Settings/src/com/android/settings/applications/
DProcessStatsDetail.java345 for (int ip = 0; ip < entry.mServices.size(); ip++) { in fillServicesSection()
346 String pkg = entry.mServices.keyAt(ip); in fillServicesSection()
348 ArrayList<ProcStatsEntry.Service> services = entry.mServices.valueAt(ip); in fillServicesSection()
366 for (int ip = 0; ip < pkgList.size(); ip++) { in fillServicesSection()
367 ArrayList<ProcStatsEntry.Service> services = pkgList.get(ip).mServices; in fillServicesSection()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcessStatsDetail.java345 for (int ip = 0; ip < entry.mServices.size(); ip++) { in fillServicesSection()
346 String pkg = entry.mServices.keyAt(ip); in fillServicesSection()
348 ArrayList<ProcStatsEntry.Service> services = entry.mServices.valueAt(ip); in fillServicesSection()
366 for (int ip = 0; ip < pkgList.size(); ip++) { in fillServicesSection()
367 ArrayList<ProcStatsEntry.Service> services = pkgList.get(ip).mServices; in fillServicesSection()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java27 import android.net.ip.IIpClient;
28 import android.net.ip.IpClientUtil;
29 import android.net.ip.IpClientUtil.WaitForProvisioningCallbacks;
/packages/modules/NetworkStack/common/moduleutils/
DAndroid.bp53 "src/android/net/ip/InterfaceController.java",
54 "src/android/net/ip/IpNeighborMonitor.java",
55 "src/android/net/ip/NetlinkMonitor.java",
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ip/
DIIpClientCallbacks.aidl16 package android.net.ip;
20 import android.net.ip.IIpClient;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/ip/
DIIpClientCallbacks.aidl1 package android.net.ip;
3 oneway void onIpClientCreated(in android.net.ip.IIpClient ipClient); in onIpClientCreated()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/ip/
DIIpClientCallbacks.aidl1 package android.net.ip;
3 oneway void onIpClientCreated(in android.net.ip.IIpClient ipClient); in onIpClientCreated()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/ip/
DIIpClientCallbacks.aidl18 package android.net.ip;
20 oneway void onIpClientCreated(in android.net.ip.IIpClient ipClient); in onIpClientCreated()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/ip/
DIIpClientCallbacks.aidl1 package android.net.ip;
3 oneway void onIpClientCreated(in android.net.ip.IIpClient ipClient); in onIpClientCreated()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DRtNetlinkNeighborMessage.java140 int seqNo, InetAddress ip, short nudState, int ifIndex, byte[] llAddr) { in newNewNeighborMessage() argument
149 (byte) ((ip instanceof Inet6Address) ? OsConstants.AF_INET6 : OsConstants.AF_INET); in newNewNeighborMessage()
152 msg.mDestination = ip; in newNewNeighborMessage()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ip/
DIIpClientCallbacks.aidl18 package android.net.ip;
21 oneway void onIpClientCreated(in android.net.ip.IIpClient ipClient); in onIpClientCreated()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/ip/
DIIpClientCallbacks.aidl18 package android.net.ip;
21 oneway void onIpClientCreated(in android.net.ip.IIpClient ipClient); in onIpClientCreated()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ip/
DIIpClientCallbacks.aidl18 package android.net.ip;
21 oneway void onIpClientCreated(in android.net.ip.IIpClient ipClient); in onIpClientCreated()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/ip/
DIIpClientCallbacks.aidl18 package android.net.ip;
21 oneway void onIpClientCreated(in android.net.ip.IIpClient ipClient); in onIpClientCreated()
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java403 private static String getIpAddressString(ByteBuffer ip, int byteLength) { in getIpAddressString() argument
404 if (ip == null || ip.remaining() < byteLength) return "invalid"; in getIpAddressString()
407 ip.get(bytes, 0, byteLength); in getIpAddressString()

1234