HomeSort by relevance Sort by last modified time
    Searched refs:mUsageStatsManager (Results 1 - 8 of 8) sorted by null

  /cts/tests/tests/app.usage/src/android/app/usage/cts/
UsageReportingTest.java 45 private UsageStatsManager mUsageStatsManager;
62 mUsageStatsManager = (UsageStatsManager) InstrumentationRegistry.getInstrumentation()
79 mUsageStatsManager.reportUsageStart(activity, TOKEN_0);
82 mUsageStatsManager.reportUsageStop(activity, TOKEN_0);
86 mUsageStatsManager.reportUsageStart(activity, TOKEN_0);
89 mUsageStatsManager.reportUsageStop(activity, TOKEN_0);
102 mUsageStatsManager.reportUsageStart(activity, TOKEN_0, 100);
105 mUsageStatsManager.reportUsageStop(activity, TOKEN_0);
118 mUsageStatsManager.reportUsageStart(activity, TOKEN_0);
137 mUsageStatsManager.reportUsageStart(activity, TOKEN_0)
    [all...]
UsageStatsTest.java 116 private UsageStatsManager mUsageStatsManager;
123 mUsageStatsManager = (UsageStatsManager) InstrumentationRegistry.getInstrumentation()
137 mUsageStatsManager.forceUsageSourceSettingRead();
168 mUsageStatsManager.forceUsageSourceSettingRead();
201 UsageEvents events = mUsageStatsManager.queryEvents(startTime, endTime);
260 UsageEvents events = mUsageStatsManager.queryEvents(startTime, endTime);
282 Map<String,UsageStats> events = mUsageStatsManager.queryAndAggregateUsageStats(
289 events = mUsageStatsManager.queryAndAggregateUsageStats(
298 events = mUsageStatsManager.queryAndAggregateUsageStats(
311 UsageEvents events = mUsageStatsManager.queryEvents(startTime - 1_000, endTime + 1_000)
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
LauncherAppsTest.java 54 private UsageStatsManager mUsageStatsManager;
71 mUsageStatsManager = (UsageStatsManager) mContext.getSystemService(
173 mUsageStatsManager.registerAppUsageLimitObserver(
180 mUsageStatsManager.unregisterAppUsageLimitObserver(observerId));
  /developers/build/prebuilts/gradle/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/
AppUsageStatisticsFragmentTests.java 59 assertNotNull(mTestFragment.mUsageStatsManager);
  /developers/samples/android/system/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/
AppUsageStatisticsFragmentTests.java 59 assertNotNull(mTestFragment.mUsageStatsManager);
  /developers/build/prebuilts/gradle/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
AppUsageStatisticsFragment.java 53 UsageStatsManager mUsageStatsManager;
79 mUsageStatsManager = (UsageStatsManager) getActivity()
141 List<UsageStats> queryUsageStats = mUsageStatsManager
  /developers/samples/android/system/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
AppUsageStatisticsFragment.java 53 UsageStatsManager mUsageStatsManager;
79 mUsageStatsManager = (UsageStatsManager) getActivity()
141 List<UsageStats> queryUsageStats = mUsageStatsManager
  /development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
AppUsageStatisticsFragment.java 53 UsageStatsManager mUsageStatsManager;
79 mUsageStatsManager = (UsageStatsManager) getActivity()
141 List<UsageStats> queryUsageStats = mUsageStatsManager

Completed in 149 milliseconds