Home
last modified time | relevance | path

Searched refs:getLastTimeUsed (Results 1 – 13 of 13) sorted by relevance

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoaderTest.java307 when(secondary.getLastTimeUsed()).thenReturn(1000L); in test_getGreaterUsageStats_primaryIsNull()
315 when(primary.getLastTimeUsed()).thenReturn(1000L); in test_getGreaterUsageStats_secondaryIsNull()
322 when(primary.getLastTimeUsed()).thenReturn(1000L); in test_getGreaterUsageStats_primaryIsGreater()
324 when(secondary.getLastTimeUsed()).thenReturn(900L); in test_getGreaterUsageStats_primaryIsGreater()
332 when(primary.getLastTimeUsed()).thenReturn(900L); in test_getGreaterUsageStats_secondaryIsGreater()
334 when(secondary.getLastTimeUsed()).thenReturn(1000L); in test_getGreaterUsageStats_secondaryIsGreater()
390 when(usageStats.getLastTimeUsed()).thenReturn(time); in registerLastUse()
DAppStateUsageStatsBridgeTest.java414 when(usageStats.getLastTimeUsed()).thenReturn(time); in registerLastUse()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java187 public Long getLastTimeUsed() { in getLastTimeUsed() method in DataItem
229 getLastTimeUsed() == null ? 0 : getLastTimeUsed(), in collapseWith()
230 that.getLastTimeUsed() == null ? 0 : that.getLastTimeUsed())); in collapseWith()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoader.java161 long primaryLastUsed = primary != null ? primary.getLastTimeUsed() : 0; in getGreaterUsageStats()
162 long alternateLastUsed = alternate != null ? alternate.getLastTimeUsed() : 0; in getGreaterUsageStats()
200 o1.getLastTimeUsed(), in getLatestUsageStatsByPackageName()
201 o2.getLastTimeUsed()))); in getLatestUsageStatsByPackageName()
384 long lastUsed = stats.getLastTimeUsed(); in getDaysSinceLastUse()
DAppStateUsageStatsBridge.java95 long lastUsed = stats.getLastTimeUsed(); in getDaysSinceLastUse()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DRecentAppsPreferenceController.java174 System.currentTimeMillis() - stat.getLastTimeUsed(), false)); in displayRecentApps()
197 return Long.compare(b.getLastTimeUsed(), a.getLastTimeUsed()); in compare()
250 if (stat.getLastTimeUsed() < mCal.getTimeInMillis()) { in shouldIncludePkgInRecents()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRecentAppStatsMixin.java106 return Long.compare(b.getLastTimeUsed(), a.getLastTimeUsed()); in compare()
162 if (stat.getLastTimeUsed() < mCalendar.getTimeInMillis()) { in shouldIncludePkgInRecents()
DRecentAppsPreferenceController.java162 System.currentTimeMillis() - stat.getLastTimeUsed(), false, in createAppEntity()
/packages/apps/Settings/src/com/android/settings/applications/
DRecentAppStatsMixin.java106 return Long.compare(b.getLastTimeUsed(), a.getLastTimeUsed()); in compare()
162 if (stat.getLastTimeUsed() < mCalendar.getTimeInMillis()) { in shouldIncludePkgInRecents()
DRecentAppsPreferenceController.java162 System.currentTimeMillis() - stat.getLastTimeUsed(), false, in createAppEntity()
/packages/apps/Settings/src/com/android/settings/
DUsageStatsActivity.java78 return Long.compare(b.getLastTimeUsed(), a.getLastTimeUsed()); in compare()
195 holder.lastTimeUsed.setText(DateUtils.formatSameDayTime(pkgStats.getLastTimeUsed(), in getView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUsageStatsActivity.java78 return Long.compare(b.getLastTimeUsed(), a.getLastTimeUsed()); in compare()
195 holder.lastTimeUsed.setText(DateUtils.formatSameDayTime(pkgStats.getLastTimeUsed(), in getView()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java336 Long time1 = stat1.getLastTimeUsed(); in compare()
337 Long time2 = stat2.getLastTimeUsed(); in compare()