HomeSort by relevance Sort by last modified time
    Searched defs:queryUsageStats (Results 1 - 5 of 5) sorted by null

  /developers/build/prebuilts/gradle/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
AppUsageStatisticsFragment.java 141 List<UsageStats> queryUsageStats = mUsageStatsManager
142 .queryUsageStats(intervalType, cal.getTimeInMillis(),
145 if (queryUsageStats.size() == 0) {
158 return queryUsageStats;
  /developers/samples/android/system/AppUsageStatistics/Application/src/main/java/com/example/android/appusagestatistics/
AppUsageStatisticsFragment.java 141 List<UsageStats> queryUsageStats = mUsageStatsManager
142 .queryUsageStats(intervalType, cal.getTimeInMillis(),
145 if (queryUsageStats.size() == 0) {
158 return queryUsageStats;
  /development/samples/browseable/AppUsageStatistics/src/com.example.android.appusagestatistics/
AppUsageStatisticsFragment.java 141 List<UsageStats> queryUsageStats = mUsageStatsManager
142 .queryUsageStats(intervalType, cal.getTimeInMillis(),
145 if (queryUsageStats.size() == 0) {
158 return queryUsageStats;
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowUsageStatsManagerTest.java 304 List<UsageStats> results = usageStatsManager.queryUsageStats(INTERVAL_WEEKLY, 0, 3000);
309 public void queryUsageStats() {
319 List<UsageStats> results = usageStatsManager.queryUsageStats(INTERVAL_WEEKLY, 1001, 3500);
335 List<UsageStats> results = usageStatsManager.queryUsageStats(INTERVAL_WEEKLY, 0, 3000);
337 results = usageStatsManager.queryUsageStats(INTERVAL_DAILY, 0, 3000);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowUsageStatsManager.java 155 * This method won't affect the results of {@link #queryUsageStats} method.
175 * This method won't affect the results of {@link #queryUsageStats} method.
188 * This method won't affect the results of {@link #queryUsageStats} method.
213 protected List<UsageStats> queryUsageStats(int intervalType, long beginTime, long endTime) {
226 * Adds an aggregated {@code UsageStats} object, to be returned by {@link #queryUsageStats}.
228 * lastTimestamp fields to make time filtering work in {@link #queryUsageStats}.

Completed in 695 milliseconds