Home
last modified time | relevance | path

Searched refs:UsageStatsDatabase (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java60 private UsageStatsDatabase mUsageStatsDatabase;
70 private static final UsageStatsDatabase.StatCombiner<IntervalStats> mIntervalStatsVerifier =
71 new UsageStatsDatabase.StatCombiner<IntervalStats>() {
84 mUsageStatsDatabase = new UsageStatsDatabase(mTestDir); in setUp()
436 UsageStatsDatabase prevDB = new UsageStatsDatabase(mTestDir, oldVersion); in runVersionChangeTest()
445 UsageStatsDatabase newDB = new UsageStatsDatabase(mTestDir, newVersion); in runVersionChangeTest()
465 UsageStatsDatabase prevDB = new UsageStatsDatabase(mTestDir);
477 if (version < 1 || version > UsageStatsDatabase.BACKUP_VERSION) {
485 UsageStatsDatabase newDB = new UsageStatsDatabase(mTestDir);
495 if (version > UsageStatsDatabase.BACKUP_VERSION || version < 1) {
[all …]
/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java34 import com.android.server.usage.UsageStatsDatabase;
35 import com.android.server.usage.UsageStatsDatabase.StatCombiner;
50 private static UsageStatsDatabase sUsageStatsDatabase;
83 sUsageStatsDatabase = new UsageStatsDatabase(mTestDir); in setUpOnce()
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java57 import com.android.server.usage.UsageStatsDatabase.StatCombiner;
83 private final UsageStatsDatabase mDatabase;
130 mDatabase = new UsageStatsDatabase(usageStatsDir); in UserUsageStatsService()
967 mDatabase.checkinDailyFiles(new UsageStatsDatabase.CheckinAction() { in checkin()
DUsageStatsDatabase.java90 public class UsageStatsDatabase { class
148 public UsageStatsDatabase(File dir, int version) { in UsageStatsDatabase() method in UsageStatsDatabase
164 public UsageStatsDatabase(File dir) { in UsageStatsDatabase() method in UsageStatsDatabase
DUsageStatsService.java847 writer.write(Integer.toString(UsageStatsDatabase.BACKUP_VERSION)); in migrateStatsToSystemCeIfNeededLocked()
/frameworks/base/services/
Dart-wear-profile23986 PLcom/android/server/usage/UsageStatsDatabase$1;-><init>(Lcom/android/server/usage/UsageStatsDataba…
23987 PLcom/android/server/usage/UsageStatsDatabase$1;->accept(Ljava/io/File;Ljava/lang/String;)Z
23988 PLcom/android/server/usage/UsageStatsDatabase;-><clinit>()V
23989 PLcom/android/server/usage/UsageStatsDatabase;-><init>(Ljava/io/File;)V
23990 PLcom/android/server/usage/UsageStatsDatabase;-><init>(Ljava/io/File;I)V
23991 PLcom/android/server/usage/UsageStatsDatabase;->checkVersionAndBuildLocked()V
23992 PLcom/android/server/usage/UsageStatsDatabase;->filterStats(Lcom/android/server/usage/IntervalStats…
23993 PLcom/android/server/usage/UsageStatsDatabase;->findBestFitBucket(JJ)I
23994 PLcom/android/server/usage/UsageStatsDatabase;->getBuildFingerprint()Ljava/lang/String;
23995 PLcom/android/server/usage/UsageStatsDatabase;->getLatestUsageStats(I)Lcom/android/server/usage/Int…
[all …]
Dart-profile3303UsageStatsDatabase$StatCombiner;Z)Ljava/util/List;+]Lcom/android/server/usage/UsageStatsDatabase$S…