Home
last modified time | relevance | path

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

/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/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/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DRecentAppsPreferenceController.java174 if (stat.getLastTimeUsed() > System.currentTimeMillis()) { in displayRecentApps()
178 System.currentTimeMillis() - stat.getLastTimeUsed(), in displayRecentApps()
203 return Long.compare(b.getLastTimeUsed(), a.getLastTimeUsed()); in compare()
256 if (stat.getLastTimeUsed() < mCal.getTimeInMillis()) { in shouldIncludePkgInRecents()
/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/Car/Settings/src/com/android/car/settings/applications/
DRecentAppsItemManager.java105 return Long.compare(b.getLastTimeUsed(), a.getLastTimeUsed()); in compare()
160 if (stat.getLastTimeUsed() < mCalendar.getTimeInMillis()) { in shouldIncludePkgInRecents()
/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()
DAppsPreferenceController.java209 System.currentTimeMillis() - stat.getLastTimeUsed(), false, in displayRecentApps()
/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/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppGridActivity.java376 Long time1 = stat1.getLastTimeUsed(); in compare()
377 Long time2 = stat2.getLastTimeUsed(); in compare()