/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 21 import android.app.usage.UsageStatsManager; 137 mSortedStatFiles[UsageStatsManager.INTERVAL_DAILY]; in checkinDailyFiles() 492 pruneFilesOlderThan(mIntervalDirs[UsageStatsManager.INTERVAL_YEARLY], in prune() 497 pruneFilesOlderThan(mIntervalDirs[UsageStatsManager.INTERVAL_MONTHLY], in prune() 502 pruneFilesOlderThan(mIntervalDirs[UsageStatsManager.INTERVAL_WEEKLY], in prune() 507 pruneFilesOlderThan(mIntervalDirs[UsageStatsManager.INTERVAL_DAILY], in prune() 615 out.writeInt(mSortedStatFiles[UsageStatsManager.INTERVAL_DAILY].size()); in getBackupPayload() 616 for (int i = 0; i < mSortedStatFiles[UsageStatsManager.INTERVAL_DAILY].size(); in getBackupPayload() 619 mSortedStatFiles[UsageStatsManager.INTERVAL_DAILY].valueAt(i)); in getBackupPayload() 622 out.writeInt(mSortedStatFiles[UsageStatsManager.INTERVAL_WEEKLY].size()); in getBackupPayload() [all …]
|
D | UserUsageStatsService.java | 23 import android.app.usage.UsageStatsManager; 85 mCurrentStats = new IntervalStats[UsageStatsManager.INTERVAL_COUNT]; in UserUsageStatsService() 162 final IntervalStats currentDailyStats = mCurrentStats[UsageStatsManager.INTERVAL_DAILY]; in reportEvent() 240 if (intervalType == UsageStatsManager.INTERVAL_BEST) { in queryStats() 245 intervalType = UsageStatsManager.INTERVAL_DAILY; in queryStats() 315 List<UsageEvents.Event> results = queryStats(UsageStatsManager.INTERVAL_DAILY, in queryEvents() 378 mCurrentStats[UsageStatsManager.INTERVAL_DAILY].activeConfiguration; in rolloverStats() 403 final long beginTime = mCurrentStats[UsageStatsManager.INTERVAL_DAILY].beginTime; in rolloverStats() 462 mCurrentStats[UsageStatsManager.INTERVAL_DAILY].beginTime); in updateRolloverDeadline() 599 case UsageStatsManager.INTERVAL_DAILY: in intervalToString() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserWrapperActivity.java | 19 import android.app.usage.UsageStatsManager; 32 private UsageStatsManager mUsm; 40 UsageStatsManager getUsageStatsManager() { in getUsageStatsManager() 42 mUsm = (UsageStatsManager) getSystemService(Context.USAGE_STATS_SERVICE); in getUsageStatsManager()
|
D | ResolverWrapperActivity.java | 19 import android.app.usage.UsageStatsManager; 36 private UsageStatsManager mUsm;
|
D | ResolverListControllerTest.java | 40 import android.app.usage.UsageStatsManager; 72 private UsageStatsManager mUsm; 114 mUsm = new UsageStatsManager(mMockContext, mMockService); in reportChooserSelection() 149 UsageStatsManager usm, String packageName, String action, String annotation) { in getCount()
|
D | ChooserActivityTest.java | 29 import android.app.usage.UsageStatsManager; 138 UsageStatsManager usm = activity.getUsageStatsManager(); in updateChooserCountsAndModelAfterUserSelection()
|
D | ResolverActivityTest.java | 29 import android.app.usage.UsageStatsManager;
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageLogActivity.java | 20 import android.app.usage.UsageStatsManager; 34 private UsageStatsManager mUsageStatsManager; 42 mUsageStatsManager = (UsageStatsManager) getSystemService(Context.USAGE_STATS_SERVICE); in onCreate()
|
D | UsageStatsActivity.java | 22 import android.app.usage.UsageStatsManager; 47 private UsageStatsManager mUsageStatsManager; 59 mUsageStatsManager = (UsageStatsManager) getSystemService(Context.USAGE_STATS_SERVICE); in onCreate()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStatsManager.java | 57 public final class UsageStatsManager { class 100 public UsageStatsManager(Context context, IUsageStatsManager service) { in UsageStatsManager() method in UsageStatsManager
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverComparator.java | 21 import android.app.usage.UsageStatsManager; 91 private final UsageStatsManager mUsm; 165 mUsm = (UsageStatsManager) context.getSystemService(Context.USAGE_STATS_SERVICE); in ResolverComparator()
|
D | ChooserActivity.java | 24 import android.app.usage.UsageStatsManager;
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 24 import android.app.usage.UsageStatsManager; 179 mUsageStats.queryUsageStatsForUser(info.id, UsageStatsManager.INTERVAL_BEST, in getUnfulfilledRequests()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 30 import android.app.usage.UsageStatsManager; 717 registerService(Context.USAGE_STATS_SERVICE, UsageStatsManager.class, in registerService() 718 new CachedServiceFetcher<UsageStatsManager>() { in registerService() 720 … public UsageStatsManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService() 723 return new UsageStatsManager(ctx.getOuterContext(), service); in registerService()
|
D | AppOpsManager.java | 23 import android.app.usage.UsageStatsManager;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCard.java | 20 import android.app.usage.UsageStatsManager; 455 UsageStatsManager usm = (UsageStatsManager) mContext.getSystemService( in onCarrierPriviligesLoadedMessage()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutManager.java | 24 import android.app.usage.UsageStatsManager;
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 36 import android.app.usage.UsageStatsManager;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 31 import android.app.usage.UsageStatsManager; 492 private final UsageStatsManager mUsageStatManager = null;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 30 import android.app.usage.UsageStatsManager; 1548 UsageStatsManager.INTERVAL_BEST, nDaysAgo, now, "com.android.shell");
|
/frameworks/base/ |
D | preloaded-classes | 679 android.app.usage.UsageStatsManager
|
D | compiled-classes-phone | 674 android.app.usage.UsageStatsManager
|
/frameworks/base/services/ |
D | profile-classes | 398 Landroid/app/usage/UsageStatsManager;
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 5651 public final class UsageStatsManager {
|
/frameworks/base/api/ |
D | current.txt | 7022 public final class UsageStatsManager {
|