Home
last modified time | relevance | path

Searched refs:currTimeMs (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/service/src/com/android/car/telemetry/util/
DIoUtils.java165 long currTimeMs = System.currentTimeMillis(); in deleteOldFiles() local
174 if (file.lastModified() + staleThresholdMillis < currTimeMs) { in deleteOldFiles()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DResultStoreTest.java125 long currTimeMs = System.currentTimeMillis(); in testFlushToDisk_shouldRemoveStaleData() local
128 currTimeMs - TimeUnit.MILLISECONDS.convert(31, TimeUnit.DAYS)); // stale in testFlushToDisk_shouldRemoveStaleData()
130 currTimeMs - TimeUnit.MILLISECONDS.convert(29, TimeUnit.DAYS)); // active in testFlushToDisk_shouldRemoveStaleData()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java1098 long currTimeMs = mClock.getElapsedSinceBootMillis(); in updateEventStats() local
1102 mLastRssiPollTimeMs = currTimeMs; in updateEventStats()
1111 mConnectionSessionStartTimeMs = currTimeMs; in updateEventStats()
1206 long currTimeMs = mClock.getElapsedSinceBootMillis(); in handleDisconnectionAfterConnection() local
1207 int currSessionDurationMs = (int) (currTimeMs - mConnectionSessionStartTimeMs); in handleDisconnectionAfterConnection()
1210 long timeSinceLastRssiPollMs = currTimeMs - mLastRssiPollTimeMs; in handleDisconnectionAfterConnection()
1218 long timeSinceLastFirmAlert = currTimeMs - ifaceInfo.firmwareAlertTimeMs; in handleDisconnectionAfterConnection()
1441 long currTimeMs = mClock.getElapsedSinceBootMillis(); in updateBandwidthWithFilterApplied() local
1442 int timeDeltaSec = (int) ((currTimeMs - mBandwidthSampleValidTimeMs[link]) / 1000); in updateBandwidthWithFilterApplied()
1456 mBandwidthSampleValidTimeMs[link] = currTimeMs; in updateBandwidthWithFilterApplied()
DWifiHealthMonitor.java301 long currTimeMs = mClock.getWallClockMillis(); in setFirstHealthDetectionAlarm() local
303 calendar.setTimeInMillis(currTimeMs); in setFirstHealthDetectionAlarm()
307 long waitTimeMs = targetTimeMs - currTimeMs; in setFirstHealthDetectionAlarm()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbMetrics.java556 long currTimeMs = mUwbInjector.getElapsedSinceBootMillis(); in logRangingResult() local
557 if ((currTimeMs - mLastRangingDataLogTimeMs) < mUwbInjector.getDeviceConfigFacade() in logRangingResult()
561 mLastRangingDataLogTimeMs = currTimeMs; in logRangingResult()