/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
D | ConntrackMonitor.java | 77 public final int timeoutSec; field in ConntrackMonitor.ConntrackEvent 84 this.timeoutSec = msg.timeoutSec; in ConntrackEvent() 89 ConntrackMessage.Tuple tupleReply, int status, int timeoutSec) { in ConntrackEvent() argument 94 this.timeoutSec = timeoutSec; in ConntrackEvent() 106 && this.timeoutSec == that.timeoutSec; in equals() 111 return Objects.hash(msgType, tupleOrig, tupleReply, status, timeoutSec); in hashCode() 125 + "timeout_sec{" + Integer.toUnsignedLong(timeoutSec) + "}" in toString() 139 if (msg.timeoutSec == 0) return false; in isEstablishedNatSession() 156 if (msg.timeoutSec != 0) return false; in isDyingNatSession()
|
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | ConntrackMessage.java | 185 int proto, Inet4Address src, int sport, Inet4Address dst, int dport, int timeoutSec) { in newIPv4TimeoutUpdateRequest() argument 199 final StructNlAttr ctaTimeout = new StructNlAttr(CTA_TIMEOUT, timeoutSec, BIG_ENDIAN); in newIPv4TimeoutUpdateRequest() 246 int timeoutSec = 0; in parse() local 248 timeoutSec = nlAttr.getValueAsBe32(0); in parse() 275 return new ConntrackMessage(header, nfGenMsg, tupleOrig, tupleReply, status, timeoutSec); in parse() 434 public final int timeoutSec; field in ConntrackMessage 445 timeoutSec = 0; in ConntrackMessage() 449 @Nullable Tuple tupleOrig, @Nullable Tuple tupleReply, int status, int timeoutSec) { in ConntrackMessage() argument 455 this.timeoutSec = timeoutSec; in ConntrackMessage() 549 + "timeout_sec{" + Integer.toUnsignedLong(timeoutSec) + "}" in toString()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | ConntrackMonitorTest.java | 199 private ConntrackEvent makeTestConntrackEvent(short msgType, int status, int timeoutSec) { in makeTestConntrackEvent() argument 214 timeoutSec); in makeTestConntrackEvent() 240 e.tupleOrig, e.tupleReply, e.status, e.timeoutSec); in testConntrackEventNotEquals() 244 null /* diff */, e.tupleReply, e.status, e.timeoutSec); in testConntrackEventNotEquals() 248 e.tupleOrig, null /* diff */, e.status, e.timeoutSec); in testConntrackEventNotEquals() 252 e.tupleOrig, e.tupleReply, e.status + 1 /* diff */, e.timeoutSec); in testConntrackEventNotEquals() 256 e.tupleOrig, e.tupleReply, e.status, e.timeoutSec + 1 /* diff */); in testConntrackEventNotEquals()
|
/packages/modules/StatsD/statsd/src/shell/ |
D | ShellSubscriber.cpp | 34 void ShellSubscriber::startNewSubscription(int in, int out, int timeoutSec) { in startNewSubscription() argument 46 waitForSubscriptionToEndLocked(mySubscriptionInfo, myToken, lock, timeoutSec); in startNewSubscription() 63 int timeoutSec) { in waitForSubscriptionToEndLocked() argument 64 if (timeoutSec > 0) { in waitForSubscriptionToEndLocked() 65 mSubscriptionShouldEnd.wait_for(lock, timeoutSec * 1s, [this, myToken, &myInfo] { in waitForSubscriptionToEndLocked()
|
D | ShellSubscriber.h | 65 void startNewSubscription(int inFd, int outFd, int timeoutSec); 107 int timeoutSec);
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | ConntrackMessageTest.java | 182 assertEquals(432000, conntrackMessage.timeoutSec); in testConntrackParseIPv4TcpTimeoutUpdate() 231 assertEquals(180, conntrackMessage.timeoutSec); in testConntrackParseIPv4UdpTimeoutUpdate() 331 assertEquals(120, conntrackMessage.timeoutSec); in testParseCtNew()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 823 final int timeoutSec = connectionTimeoutUpdateSecondsFor(proto); in updateNatTimeout() local 825 proto, src, srcPort, dst, dstPort, timeoutSec); in updateNatTimeout()
|
D | BpfCoordinator.java | 1886 final int timeoutSec = (proto == OsConstants.IPPROTO_TCP) in updateConntrackTimeout() local 1890 proto, src4, (int) srcPort, dst4, (int) dstPort, timeoutSec); in updateConntrackTimeout()
|
/packages/modules/StatsD/statsd/src/ |
D | StatsService.cpp | 357 int timeoutSec = -1; in handleShellCommand() local 359 timeoutSec = atoi(utf8Args[1].c_str()); in handleShellCommand() 361 mShellSubscriber->startNewSubscription(in, out, timeoutSec); in handleShellCommand()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | IConnectivityManager.aidl | 147 in Messenger messenger, int timeoutSec, in IBinder binder, int legacy, in requestNetwork() argument
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 1381 final int timeoutSec = (msgType == IPCTNL_MSG_CT_NEW) ? 100 /* nonzero, new */ in makeTestConntrackEvent() local 1390 timeoutSec); in makeTestConntrackEvent()
|