Home
last modified time | relevance | path

Searched refs:INTERVAL_DAILY (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java422 runWriteReadTest(UsageStatsManager.INTERVAL_DAILY); in testWriteRead()
468 prevDB.putUsageStats(UsageStatsManager.INTERVAL_DAILY, mIntervalStats);
493 UsageStatsManager.INTERVAL_DAILY, 0, mEndTime, mIntervalStatsVerifier, false);
520 runVersionChangeTest(3, 4, UsageStatsManager.INTERVAL_DAILY); in ignore_testVersionUpgradeFrom3to4()
531 runVersionChangeTest(4, 5, UsageStatsManager.INTERVAL_DAILY); in testVersionUpgradeFrom4to5()
545 runVersionChangeTest(3, 5, UsageStatsManager.INTERVAL_DAILY); in ignore_testVersionUpgradeFrom3to5()
630 compareObfuscatedData(UsageStatsManager.INTERVAL_DAILY); in testObfuscation()
667 verifyPackageNotRetained(UsageStatsManager.INTERVAL_DAILY); in testPackageRetention()
725 db.putUsageStats(UsageStatsManager.INTERVAL_DAILY, mIntervalStats); in testPackageDataIsRemoved()
747 verifyPackageDataIsRemoved(newDB, UsageStatsManager.INTERVAL_DAILY, removedPackage); in testPackageDataIsRemoved()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java27 import static android.app.usage.UsageStatsManager.INTERVAL_DAILY;
180 final IntervalStats currentDailyStats = mCurrentStats[INTERVAL_DAILY]; in init()
320 final IntervalStats currentDailyStats = mCurrentStats[INTERVAL_DAILY]; in reportEvent()
457 intervalType = INTERVAL_DAILY; in queryStats()
557 List<Event> results = queryStats(INTERVAL_DAILY, in queryEvents()
637 final List<Event> results = queryStats(INTERVAL_DAILY, in queryEarliestAppEvents()
686 final List<Event> results = queryStats(INTERVAL_DAILY, in queryEventsForPackage()
774 final List<Event> results = queryStats(INTERVAL_DAILY, in queryEarliestEventsForPackage()
836 mCurrentStats[INTERVAL_DAILY].activeConfiguration; in rolloverStats()
879 final long beginTime = mCurrentStats[INTERVAL_DAILY].beginTime; in rolloverStats()
[all …]
DUsageStatsDatabase.java226 mSortedStatFiles[UsageStatsManager.INTERVAL_DAILY]; in checkinDailyFiles()
946 pruneFilesOlderThan(mIntervalDirs[UsageStatsManager.INTERVAL_DAILY], in prune()
1286 out.writeInt(mSortedStatFiles[UsageStatsManager.INTERVAL_DAILY].size()); in getBackupPayload()
1288 for (int i = 0; i < mSortedStatFiles[UsageStatsManager.INTERVAL_DAILY].size(); in getBackupPayload()
1291 mSortedStatFiles[UsageStatsManager.INTERVAL_DAILY].valueAt(i), in getBackupPayload()
1350 getLatestUsageStats(UsageStatsManager.INTERVAL_DAILY); in applyRestoredPayload()
1383 putUsageStats(UsageStatsManager.INTERVAL_DAILY, stats); in applyRestoredPayload()
/frameworks/base/tests/UsageStatsPerfTests/src/com/android/frameworks/perftests/usage/tests/
DUsageStatsDatabasePerfTest.java125 UsageStatsManager.INTERVAL_DAILY, 0, 2, sUsageStatsCombiner, false); in runQueryUsageStatsTest()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java88 public static final int INTERVAL_DAILY = 0; field in UsageStatsManager
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5657 field public static final int INTERVAL_DAILY = 0; // 0x0
/frameworks/base/core/api/
Dcurrent.txt9533 field public static final int INTERVAL_DAILY = 0; // 0x0