Searched refs:getLastTimeUsed (Results 1 – 11 of 11) sorted by relevance
/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/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/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | RecentAppsPreferenceController.java | 174 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/ |
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/Car/Settings/src/com/android/car/settings/applications/ |
D | RecentAppsItemManager.java | 105 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/ |
D | RecentAppStatsMixin.java | 106 return Long.compare(b.getLastTimeUsed(), a.getLastTimeUsed()); in compare() 162 if (stat.getLastTimeUsed() < mCalendar.getTimeInMillis()) { in shouldIncludePkgInRecents()
|
D | AppsPreferenceController.java | 209 System.currentTimeMillis() - stat.getLastTimeUsed(), false, in displayRecentApps()
|
/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/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppGridActivity.java | 376 Long time1 = stat1.getLastTimeUsed(); in compare() 377 Long time2 = stat2.getLastTimeUsed(); in compare()
|