Searched refs:AppUsageHistory (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppIdleHistory.java | 70 private SparseArray<ArrayMap<String,AppUsageHistory>> mIdleHistory = new SparseArray<>(); 109 static class AppUsageHistory { class in AppIdleHistory 230 public AppUsageHistory reportUsage(AppUsageHistory appUsageHistory, String packageName, in reportUsage() 281 public AppUsageHistory reportUsage(String packageName, int userId, int newBucket, in reportUsage() 283 ArrayMap<String, AppUsageHistory> userHistory = getUserHistory(userId); in reportUsage() 284 AppUsageHistory history = getPackageHistory(userHistory, packageName, nowElapsed, true); in reportUsage() 288 private ArrayMap<String, AppUsageHistory> getUserHistory(int userId) { in getUserHistory() 289 ArrayMap<String, AppUsageHistory> userHistory = mIdleHistory.get(userId); in getUserHistory() 298 private AppUsageHistory getPackageHistory(ArrayMap<String, AppUsageHistory> userHistory, in getPackageHistory() 300 AppUsageHistory appUsageHistory = userHistory.get(packageName); in getPackageHistory() [all …]
|
D | AppStandbyController.java | 107 import com.android.server.usage.AppIdleHistory.AppUsageHistory; 421 AppUsageHistory appUsage = mAppIdleHistory.reportUsage(packageName, userId, in reportContentProviderUsage() 457 AppUsageHistory appUsage = mAppIdleHistory.reportUsage(packageName, userId, in reportExemptedSyncScheduled() 475 AppUsageHistory appUsage = mAppIdleHistory.reportUsage(packageName, userId, in reportUnexemptedSyncScheduled() 491 AppUsageHistory appUsage = mAppIdleHistory.reportUsage(packageName, userId, in reportExemptedSyncStart() 679 final AppIdleHistory.AppUsageHistory app = in checkAndUpdateStandbyState() 751 private boolean predictionTimedOut(AppIdleHistory.AppUsageHistory app, long elapsedRealtime) { in predictionTimedOut() 889 final AppUsageHistory appHistory = mAppIdleHistory.getAppUsageHistory( in reportEvent() 1221 AppIdleHistory.AppUsageHistory app = mAppIdleHistory.getAppUsageHistory(packageName, in setAppStandbyBucket()
|
/frameworks/base/services/ |
D | art-profile | 13570 …->getAppUsageHistory(Ljava/lang/String;IJ)Lcom/android/server/usage/AppIdleHistory$AppUsageHistory; 13572 …ndroid/util/ArrayMap;Ljava/lang/String;JZ)Lcom/android/server/usage/AppIdleHistory$AppUsageHistory; 13581 …/server/usage/AppIdleHistory$AppUsageHistory;Ljava/lang/String;IIJJ)Lcom/android/server/usage/AppI… 13582 …ory;->reportUsage(Ljava/lang/String;IIIJJ)Lcom/android/server/usage/AppIdleHistory$AppUsageHistory; 13588 …AppIdleHistory;->updateLastPrediction(Lcom/android/server/usage/AppIdleHistory$AppUsageHistory;JI)V 20321 Lcom/android/server/usage/AppIdleHistory$AppUsageHistory;
|