Home
last modified time | relevance | path

Searched refs:AppIdleHistory (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java59 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 0); in testFilesCreation()
69 AppIdleHistory.APP_IDLE_FILENAME).exists()); in testFilesCreation()
73 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testScreenOnTime()
86 AppIdleHistory aih2 = new AppIdleHistory(mStorageDir, 0); in testScreenOnTime()
94 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testBuckets()
117 aih = new AppIdleHistory(mStorageDir, 4000); in testBuckets()
128 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testJobRunTime()
140 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testReason()
149 aih = new AppIdleHistory(mStorageDir, 5000); in testReason()
154 AppIdleHistory aih = new AppIdleHistory(mStorageDir, 1000); in testNullPackage()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java107 import com.android.server.usage.AppIdleHistory.AppUsageHistory;
172 private AppIdleHistory mAppIdleHistory;
340 mAppIdleHistory = new AppIdleHistory(mInjector.getDataSystemDirectory(), in AppStandbyController()
679 final AppIdleHistory.AppUsageHistory app = in checkAndUpdateStandbyState()
751 private boolean predictionTimedOut(AppIdleHistory.AppUsageHistory app, long elapsedRealtime) { in predictionTimedOut()
1221 AppIdleHistory.AppUsageHistory app = mAppIdleHistory.getAppUsageHistory(packageName, in setAppStandbyBucket()
DAppIdleHistory.java63 public class AppIdleHistory { class
141 AppIdleHistory(File storageDir, long elapsedRealtime) { in AppIdleHistory() method in AppIdleHistory
/frameworks/base/core/proto/android/server/
Djobscheduler.proto217 // AppIdleHistory.
/frameworks/base/services/
Dart-profile13566 HSPLcom/android/server/usage/AppIdleHistory;->clearUsage(Ljava/lang/String;I)V
13567 PLcom/android/server/usage/AppIdleHistory;->dump(Lcom/android/internal/util/IndentingPrintWriter;IL…
13568 HSPLcom/android/server/usage/AppIdleHistory;->getAppStandbyBucket(Ljava/lang/String;IJ)I
13569 PLcom/android/server/usage/AppIdleHistory;->getAppStandbyBuckets(IZ)Ljava/util/ArrayList;
13570 …SPLcom/android/server/usage/AppIdleHistory;->getAppUsageHistory(Ljava/lang/String;IJ)Lcom/android/…
13571 HSPLcom/android/server/usage/AppIdleHistory;->getElapsedTime(J)J
13572 …oid/server/usage/AppIdleHistory;->getPackageHistory(Landroid/util/ArrayMap;Ljava/lang/String;JZ)Lc…
13573 HSPLcom/android/server/usage/AppIdleHistory;->getScreenOnTime(J)J
13574 HSPLcom/android/server/usage/AppIdleHistory;->getScreenOnTimeFile()Ljava/io/File;
13575 HSPLcom/android/server/usage/AppIdleHistory;->getThresholdIndex(Ljava/lang/String;IJ[J[J)I
[all …]