Home
last modified time | relevance | path

Searched refs:curTime (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/tools/emulator/
Ddriving_info_generator.py188 curTime = 0
189 while curTime < duration:
192 curTime += SAMPLE_INTERVAL_SECONDS
206 curTime = 0
207 while curTime < duration:
209 curTime += SAMPLE_INTERVAL_SECONDS
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DSettings.java77 public static boolean hasErrDataBudget(Context context, Instant curTime) { in hasErrDataBudget() argument
78 if (curTime == null) { in hasErrDataBudget()
79 curTime = Instant.now(); in hasErrDataBudget()
84 if (Duration.between(logged, curTime).compareTo(FAILURE_DATA_USAGE_WINDOW) > 0) { in hasErrDataBudget()
86 editor.putLong(KEY_FAILURE_DATA_WINDOW_START_TIME, curTime.toEpochMilli()); in hasErrDataBudget()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/cache/
DCacheEntryDao.java50 DBCacheEntry getCacheEntry(String url, Instant curTime); in getCacheEntry() argument
63 void deleteStaleRows(long defaultMaxAgeSeconds, Instant curTime); in deleteStaleRows() argument
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java287 long curTime = SystemClock.elapsedRealtime(); in setPreference()
289 && curTime < (mDebounceStartTimeMs + mDebounceIntervalMs)) { in setPreference()
293 mDebounceStartTimeMs = curTime; in setPreference()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/viewmodel/v31/
DPermissionUsageViewModel.kt92 val curTime = System.currentTimeMillis() in <lambda>() constant
99 return max(curTime - showPermissionUsagesDuration, Instant.EPOCH.toEpochMilli()) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/legacy/
DPermissionUsageViewModelLegacy.kt97 val curTime = System.currentTimeMillis() in <lambda>() constant
104 val startTime = max(curTime - showPermissionUsagesDuration, Instant.EPOCH.toEpochMilli()) in <lambda>()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppManager.java168 long curTime = SystemClock.elapsedRealtime(); in cleanupAcceptlist() local
171 if (curTime - entry.second > ACCEPTLIST_DURATION_MS) { in cleanupAcceptlist()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java1417 long curTime = System.currentTimeMillis(); in isExpired() local
1420 if (curTime >= expirationTime) { in isExpired()
1423 + curTime); in isExpired()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiBlocklistMonitor.java876 long curTime = mClock.getWallClockMillis(); in updateAndGetBssidBlocklistInternal() local
880 if (status.blocklistEndTimeMs < curTime) { in updateAndGetBssidBlocklistInternal()
DClientModeImpl.java4095 final long curTime = mClock.getElapsedSinceBootMillis(); in processIpReachabilityFailure() local
4096 if (curTime - mNudFailureCounter.first <= mWifiGlobals.getRepeatedNudFailuresWindowMs()) { in processIpReachabilityFailure()
4097 mNudFailureCounter = new Pair<>(curTime, mNudFailureCounter.second + 1); in processIpReachabilityFailure()
4099 mNudFailureCounter = new Pair<>(curTime, 1); in processIpReachabilityFailure()
/packages/apps/TV/tests/common/src/com/android/tv/testing/fakes/
DFakeTvProvider.java1967 String curTime = String.valueOf(System.currentTimeMillis()); in createSqlParams() local
1977 curTime, in createSqlParams()
1978 curTime); in createSqlParams()
/packages/providers/TvProvider/src/com/android/providers/tv/
DTvProvider.java1938 String curTime = String.valueOf(System.currentTimeMillis()); in createSqlParams() local
1942 "%" + genre + "%", curTime, curTime); in createSqlParams()