Searched refs:getLastTimeUsed (Results 1 – 13 of 13) sorted by relevance
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoaderTest.java | 307 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()
|
D | AppStateUsageStatsBridgeTest.java | 414 when(usageStats.getLastTimeUsed()).thenReturn(time); in registerLastUse()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | DataItem.java | 187 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/ |
D | AppsAsyncLoader.java | 161 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()
|
D | AppStateUsageStatsBridge.java | 95 long lastUsed = stats.getLastTimeUsed(); in getDaysSinceLastUse()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | RecentAppsPreferenceController.java | 174 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/ |
D | RecentAppStatsMixin.java | 106 return Long.compare(b.getLastTimeUsed(), a.getLastTimeUsed()); in compare() 162 if (stat.getLastTimeUsed() < mCalendar.getTimeInMillis()) { in shouldIncludePkgInRecents()
|
D | RecentAppsPreferenceController.java | 162 System.currentTimeMillis() - stat.getLastTimeUsed(), false, in createAppEntity()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RecentAppStatsMixin.java | 106 return Long.compare(b.getLastTimeUsed(), a.getLastTimeUsed()); in compare() 162 if (stat.getLastTimeUsed() < mCalendar.getTimeInMillis()) { in shouldIncludePkgInRecents()
|
D | RecentAppsPreferenceController.java | 162 System.currentTimeMillis() - stat.getLastTimeUsed(), false, in createAppEntity()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UsageStatsActivity.java | 78 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/ |
D | UsageStatsActivity.java | 78 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/ |
D | AppGridActivity.java | 336 Long time1 = stat1.getLastTimeUsed(); in compare() 337 Long time2 = stat2.getLastTimeUsed(); in compare()
|