Home
last modified time | relevance | path

Searched refs:timeoutSec (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/
DConntrackMonitor.java82 public final int timeoutSec; field in ConntrackMonitor.ConntrackEvent
89 this.timeoutSec = msg.timeoutSec; in ConntrackEvent()
94 ConntrackMessage.Tuple tupleReply, int status, int timeoutSec) { in ConntrackEvent() argument
99 this.timeoutSec = timeoutSec; in ConntrackEvent()
111 && this.timeoutSec == that.timeoutSec; in equals()
116 return Objects.hash(msgType, tupleOrig, tupleReply, status, timeoutSec); in hashCode()
130 + "timeout_sec{" + Integer.toUnsignedLong(timeoutSec) + "}" in toString()
144 if (msg.timeoutSec == 0) return false; in isEstablishedNatSession()
161 if (msg.timeoutSec != 0) return false; in isDyingNatSession()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DConntrackMessage.java188 int proto, Inet4Address src, int sport, Inet4Address dst, int dport, int timeoutSec) { in newIPv4TimeoutUpdateRequest() argument
202 final StructNlAttr ctaTimeout = new StructNlAttr(CTA_TIMEOUT, timeoutSec, BIG_ENDIAN); in newIPv4TimeoutUpdateRequest()
251 int timeoutSec = 0; in parse() local
253 timeoutSec = nlAttr.getValueAsBe32(0); in parse()
280 return new ConntrackMessage(header, nfGenMsg, tupleOrig, tupleReply, status, timeoutSec); in parse()
439 public final int timeoutSec; field in ConntrackMessage
450 timeoutSec = 0; in ConntrackMessage()
454 @Nullable Tuple tupleOrig, @Nullable Tuple tupleReply, int status, int timeoutSec) { in ConntrackMessage() argument
460 this.timeoutSec = timeoutSec; in ConntrackMessage()
557 + "timeout_sec{" + Integer.toUnsignedLong(timeoutSec) + "}" in toString()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ip/
DConntrackMonitorTest.java201 private ConntrackEvent makeTestConntrackEvent(short msgType, int status, int timeoutSec) { in makeTestConntrackEvent() argument
216 timeoutSec); in makeTestConntrackEvent()
242 e.tupleOrig, e.tupleReply, e.status, e.timeoutSec); in testConntrackEventNotEquals()
246 null /* diff */, e.tupleReply, e.status, e.timeoutSec); in testConntrackEventNotEquals()
250 e.tupleOrig, null /* diff */, e.status, e.timeoutSec); in testConntrackEventNotEquals()
254 e.tupleOrig, e.tupleReply, e.status + 1 /* diff */, e.timeoutSec); in testConntrackEventNotEquals()
258 e.tupleOrig, e.tupleReply, e.status, e.timeoutSec + 1 /* diff */); in testConntrackEventNotEquals()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DPermissionGroupChange.java83 private void eventually(ThrowingRunnable runnable, long timeoutSec) throws Throwable { in eventually() argument
90 if (System.nanoTime() - startTime < TimeUnit.SECONDS.toNanos(timeoutSec)) { in eventually()
131 private void waitUntilPermissionGranted(String permName, long timeoutSec) throws Throwable { in waitUntilPermissionGranted() argument
145 }, timeoutSec); in waitUntilPermissionGranted()
/packages/modules/StatsD/statsd/src/shell/
DShellSubscriberClient.h56 static std::unique_ptr<ShellSubscriberClient> create(int in, int out, int64_t timeoutSec,
70 const std::vector<PullInfo>& pulledInfo, int64_t timeoutSec,
DShellSubscriberClient.cpp95 const std::vector<PullInfo>& pulledInfo, int64_t timeoutSec, int64_t startTimeSec, in ShellSubscriberClient() argument
104 mTimeoutSec(timeoutSec), in ShellSubscriberClient()
110 int in, int out, int64_t timeoutSec, int64_t startTimeSec, const sp<UidMap>& uidMap, in create() argument
141 readConfigResult->pullInfo, timeoutSec, startTimeSec, uidMap, pullerMgr); in create()
DShellSubscriber.cpp47 bool ShellSubscriber::startNewSubscription(int in, int out, int64_t timeoutSec) { in startNewSubscription() argument
58 in, out, timeoutSec, getElapsedRealtimeSec(), mUidMap, mPullerMgr)); in startNewSubscription()
DShellSubscriber.h66 bool startNewSubscription(int inFd, int outFd, int64_t timeoutSec);
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DConntrackMessageTest.java182 assertEquals(432000, conntrackMessage.timeoutSec); in testConntrackParseIPv4TcpTimeoutUpdate()
231 assertEquals(180, conntrackMessage.timeoutSec); in testConntrackParseIPv4UdpTimeoutUpdate()
331 assertEquals(120, conntrackMessage.timeoutSec); in testParseCtNew()
/packages/modules/Virtualization/tests/benchmark_hostside/java/android/avf/test/
DAVFHostTestCase.java471 private void compileStagedApex(int timeoutSec) throws Exception { in compileStagedApex() argument
474 long timeEnd = timeStart + timeoutSec * 1000L; in compileStagedApex()
503 private void reInstallApex(int timeoutSec) throws Exception { in reInstallApex() argument
506 long timeEnd = timeStart + timeoutSec * 1000L; in reInstallApex()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DOffloadController.java822 final int timeoutSec = connectionTimeoutUpdateSecondsFor(proto); in updateNatTimeout() local
824 proto, src, srcPort, dst, dstPort, timeoutSec); in updateNatTimeout()
DBpfCoordinator.java2312 final int timeoutSec = (proto == OsConstants.IPPROTO_TCP) in updateConntrackTimeout() local
2316 proto, src4, (int) srcPort, dst4, (int) dstPort, timeoutSec); in updateConntrackTimeout()
/packages/modules/Connectivity/framework/src/android/net/
DIConnectivityManager.aidl155 in Messenger messenger, int timeoutSec, in IBinder binder, int legacy, in requestNetwork() argument
/packages/modules/StatsD/statsd/src/
DStatsService.cpp427 int timeoutSec = -1; in handleShellCommand() local
429 timeoutSec = atoi(utf8Args[1].c_str()); in handleShellCommand()
431 mShellSubscriber->startNewSubscription(in, out, timeoutSec); in handleShellCommand()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java431 final int timeoutSec = (mMsgType == IPCTNL_MSG_CT_NEW) ? 100 /* nonzero, new */ in build() local
440 timeoutSec); in build()