/frameworks/base/core/java/android/app/usage/ |
D | IUsageStatsManager.aidl | 32 ParceledListSlice queryUsageStats(int bucketType, long beginTime, long endTime, in queryUsageStats() 35 ParceledListSlice queryConfigurationStats(int bucketType, long beginTime, long endTime, in queryConfigurationStats() 37 ParceledListSlice queryEventStats(int bucketType, long beginTime, long endTime, in queryEventStats() 39 UsageEvents queryEvents(long beginTime, long endTime, String callingPackage); in queryEvents() 40 UsageEvents queryEventsForPackage(long beginTime, long endTime, String callingPackage); in queryEventsForPackage() 41 UsageEvents queryEventsForUser(long beginTime, long endTime, int userId, String callingPackage); in queryEventsForUser() 42 …UsageEvents queryEventsForPackageForUser(long beginTime, long endTime, int userId, String pkg, Str… in queryEventsForPackageForUser()
|
D | UsageStatsManager.java | 308 public List<UsageStats> queryUsageStats(int intervalType, long beginTime, long endTime) { in queryUsageStats() 336 public List<ConfigurationStats> queryConfigurations(int intervalType, long beginTime, in queryConfigurations() 380 public List<EventStats> queryEventStats(int intervalType, long beginTime, long endTime) { in queryEventStats() 406 public UsageEvents queryEvents(long beginTime, long endTime) { in queryEvents() 431 public UsageEvents queryEventsForSelf(long beginTime, long endTime) { in queryEventsForSelf() 457 public Map<String, UsageStats> queryAndAggregateUsageStats(long beginTime, long endTime) { in queryAndAggregateUsageStats()
|
D | UsageStatsManagerInternal.java | 221 long beginTime, long endTime, boolean obfuscateInstantApps); in queryUsageStatsForUser()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserUsageStatsService.java | 296 private <T> List<T> queryStats(int intervalType, final long beginTime, final long endTime, in queryStats() 362 List<UsageStats> queryUsageStats(int bucketType, long beginTime, long endTime) { in queryUsageStats() 366 List<ConfigurationStats> queryConfigurationStats(int bucketType, long beginTime, long endTime) { in queryConfigurationStats() 370 List<EventStats> queryEventStats(int bucketType, long beginTime, long endTime) { in queryEventStats() 374 UsageEvents queryEvents(final long beginTime, final long endTime, in queryEvents() 419 UsageEvents queryEventsForPackage(final long beginTime, final long endTime, in queryEventsForPackage() 523 final long beginTime = mCurrentStats[INTERVAL_DAILY].beginTime; in rolloverStats() local 762 final long beginTime = yesterday.getTimeInMillis(); in printLast24HrEvents() local
|
D | UsageStatsService.java | 621 List<UsageStats> queryUsageStats(int userId, int bucketType, long beginTime, long endTime, in queryUsageStats() 654 List<ConfigurationStats> queryConfigurationStats(int userId, int bucketType, long beginTime, in queryConfigurationStats() 671 List<EventStats> queryEventStats(int userId, int bucketType, long beginTime, in queryEventStats() 688 UsageEvents queryEvents(int userId, long beginTime, long endTime, in queryEvents() 705 UsageEvents queryEventsForPackage(int userId, long beginTime, long endTime, in queryEventsForPackage() 719 private static boolean validRange(long currentTime, long beginTime, long endTime) { in validRange() 990 public ParceledListSlice<UsageStats> queryUsageStats(int bucketType, long beginTime, in queryUsageStats() 1015 long beginTime, long endTime, String callingPackage) throws RemoteException { in queryConfigurationStats() 1037 long beginTime, long endTime, String callingPackage) throws RemoteException { in queryEventStats() 1058 public UsageEvents queryEvents(long beginTime, long endTime, String callingPackage) { in queryEvents() [all …]
|
D | IntervalStats.java | 59 public long beginTime; field in IntervalStats 100 void addToEventStats(List<EventStats> out, int event, long beginTime, long endTime) { in addToEventStats()
|
D | UsageStatsDatabase.java | 605 public <T> List<T> queryUsageStats(int intervalType, long beginTime, long endTime, in queryUsageStats() 739 long beginTime; in pruneFilesOlderThan() local 757 long beginTime; in pruneChooserCountsOlderThan() local
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 225 long beginTime = now - USAGE_STATS_PERIOD; in updateAdapter() local
|