Home
last modified time | relevance | path

Searched refs:lastUpdateTime (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/src/com/android/settings/slices/
DSliceBackgroundWorker.java233 final long lastUpdateTime = mLastUpdateTimeLookup.getOrDefault(worker.getUri(), 0L); in updateSlice() local
234 if (lastUpdateTime == 0L) { in updateSlice()
238 } else if (SystemClock.uptimeMillis() - lastUpdateTime in updateSlice()
242 sendMessageAtTime(message, lastUpdateTime + SLICE_UPDATE_THROTTLE_INTERVAL); in updateSlice()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DSettingsQCBackgroundWorker.java216 long lastUpdateTime = mLastUpdateTimeLookup.getOrDefault(worker.getUri(), 0L); in updateQCItem() local
217 if (lastUpdateTime == 0L) { in updateQCItem()
221 } else if (SystemClock.uptimeMillis() - lastUpdateTime in updateQCItem()
225 sendMessageAtTime(message, lastUpdateTime + QC_UPDATE_THROTTLE_INTERVAL); in updateQCItem()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DSearchBaseUrlHelper.kt49 val lastUpdateTime: Long = mSearchSettings.searchBaseDomainApplyTime in maybeUpdateBaseUrlSetting() constant
52 force || lastUpdateTime == -1L || currentTime - lastUpdateTime >= SEARCH_BASE_URL_EXPIRY_MS in maybeUpdateBaseUrlSetting()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DAppsIndexerImpl.java88 if (packageInfo.lastUpdateTime > mostRecentAppUpdatedTimestampMillis) { in doUpdate()
89 mostRecentAppUpdatedTimestampMillis = packageInfo.lastUpdateTime; in doUpdate()
94 if (storedUpdateTime == null || packageInfo.lastUpdateTime != storedUpdateTime) { in doUpdate()
DAppsUtil.java241 .setUpdatedTimestampMs(packageInfo.lastUpdateTime); in createMobileApplication()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsResponse.java43 private long lastUpdateTime; field in MdnsResponse
51 lastUpdateTime = now; in MdnsResponse()
68 lastUpdateTime = base.lastUpdateTime; in MdnsResponse()
/packages/modules/Uwb/generic_ranging/src/com/android/ranging/generic/ranging/
DPrecisionRangingImpl.java146 private Instant lastUpdateTime; field in PrecisionRangingImpl
222 lastUpdateTime = Instant.EPOCH; in PrecisionRangingImpl()
339 || currentTime.isBefore(lastUpdateTime.plus(config.getMaxUpdateInterval()))) { in reportNewDataIfAvailable()
372 lastUpdateTime = Instant.now(); in reportNewDataIfAvailable()
373 precisionDataBuilder.setTimestamp(lastUpdateTime.toEpochMilli()); in reportNewDataIfAvailable()
522 lastUpdateTime = Instant.EPOCH; in stopPrecisionRanging()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DShortcutCachingLogic.java89 return info.lastUpdateTime; in getLastUpdatedTime()
91 return Math.max(shortcutInfo.getLastChangedTimestamp(), info.lastUpdateTime); in getLastUpdatedTime()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPackageInfo.kt55 val lastUpdateTime: Long, in <lambda>() constant in com.android.permissioncontroller.permission.model.livedatatypes.LightPackageInfo
73 pI.lastUpdateTime, in <lambda>()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollector.java379 long lastUpdateTime = entry.getValue(); in updateExistingAppInstall() local
380 if (lastUpdateTime >= currentTime - ttl) { in updateExistingAppInstall()
381 currentAppInstallMap.put(packageName, lastUpdateTime); in updateExistingAppInstall()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/v34/
DSafetyLabelChangesJobService.kt334 val lastAppUpdateTime: Instant = Instant.ofEpochMilli(lightPackageInfo?.lastUpdateTime ?: 0) in <lambda>()
369 val lastUpdateTime = in <lambda>() constant
371 LightPackageInfoLiveData[packageKey].getInitializedValue()?.lastUpdateTime ?: 0 in <lambda>()
377 lastUpdateTime, in <lambda>()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/
DCachingLogic.java56 return info.lastUpdateTime; in getLastUpdatedTime()
DBaseIconCache.java282 PackageInfo info, long userSerial, long lastUpdateTime) { in addIconToDB() argument
285 values.put(IconDB.COLUMN_LAST_UPDATED, lastUpdateTime); in addIconToDB()
444 info.lastUpdateTime); in getEntryForPackageLocked()
DIconCacheUpdateHandler.java183 if (version == info.versionCode && updateTime == info.lastUpdateTime in updateIconsPerUser()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DDownloadService.java383 long lastUpdateTime = -1L; in downloadToFile() local
407 if (maybeNotifyProgress(progress, lastProgress, now, lastUpdateTime, task, nm)) { in downloadToFile()
408 lastUpdateTime = now; in downloadToFile()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DSafetyLabelChangedBroadcastReceiver.kt167 val receivedAtMs: Long = lightPackageInfo.lastUpdateTime in writeSafetyLabel()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DTestUtils.java107 packageInfo.lastUpdateTime = variant; in createFakePackageInfo()
DAppsIndexerManagerServiceTest.java300 fakePackages.get(updateIndex).lastUpdateTime = 1000; in testUpdatePackage()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdSelectionE2ETest.java7793 Instant lastUpdateTime, in createDBCustomAudience() argument
7819 .setLastAdsAndBiddingDataUpdatedTime(lastUpdateTime) in createDBCustomAudience()
7850 Instant lastUpdateTime, in createDBCustomAudienceWithAdCost() argument
7876 .setLastAdsAndBiddingDataUpdatedTime(lastUpdateTime) in createDBCustomAudienceWithAdCost()