Home
last modified time | relevance | path

Searched refs:lastUsed (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTether4Value.java61 public final long lastUsed; field in Tether4Value
66 final int dstPort, final long lastUsed) { in Tether4Value() argument
79 this.lastUsed = lastUsed; in Tether4Value()
92 lastUsed); in toString()
DBpfCoordinator.java1079 final String ageStr = (value.lastUsed == 0) ? "-" in ipv4RuleToString()
1080 : String.format("%dms", (now - value.lastUsed) / 1_000_000); in ipv4RuleToString()
1912 if ((now - v.lastUsed) / 1_000_000 < POLLING_CONNTRACK_TIMEOUT_MS) { in maybeRefreshConntrackTimeout()
1923 if ((now - v.lastUsed) / 1_000_000 < POLLING_CONNTRACK_TIMEOUT_MS) { in maybeRefreshConntrackTimeout()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridge.java95 long lastUsed = stats.getLastTimeUsed(); in getDaysSinceLastUse() local
97 if (lastUsed <= 0) { in getDaysSinceLastUse()
102 long days = (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - lastUsed)); in getDaysSinceLastUse()
DAppsAsyncLoader.java384 long lastUsed = stats.getLastTimeUsed(); in getDaysSinceLastUse() local
386 if (lastUsed <= 0) { in getDaysSinceLastUse()
391 long days = (TimeUnit.MILLISECONDS.toDays(mClock.getCurrentTime() - lastUsed)); in getDaysSinceLastUse()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNdaCacheInfo.java96 public long lastUsed() { in lastUsed() method in StructNdaCacheInfo
111 + "ndm_used{" + lastUsed() + "}, " in toString()
/packages/modules/DnsResolver/
DDnsTlsDispatcher.cpp206 xport->lastUsed = now; in query()
271 if (s->useCount == 0 && now - s->lastUsed > IDLE_TIMEOUT) { in cleanup()
DDnsTlsDispatcher.h104 std::chrono::time_point<std::chrono::steady_clock> lastUsed GUARDED_BY(sLock);
/packages/modules/Connectivity/Tethering/bpf_progs/
Dbpf_tethering.h145 uint64_t lastUsed; // Kernel updates on each use with bpf_ktime_get_boot_ns() member