Home
last modified time | relevance | path

Searched refs:UsageStats (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUsageStatsManagerTest.java15 import android.app.usage.UsageStats;
304 List<UsageStats> results = usageStatsManager.queryUsageStats(INTERVAL_WEEKLY, 0, 3000); in queryUsageStats_noStatsAdded()
310 UsageStats usageStats1 = newUsageStats(TEST_PACKAGE_NAME1, 0, 1000); in queryUsageStats()
311 UsageStats usageStats2 = newUsageStats(TEST_PACKAGE_NAME1, 1001, 2000); in queryUsageStats()
312 UsageStats usageStats3 = newUsageStats(TEST_PACKAGE_NAME1, 2001, 3000); in queryUsageStats()
313 UsageStats usageStats4 = newUsageStats(TEST_PACKAGE_NAME1, 3001, 4000); in queryUsageStats()
319 List<UsageStats> results = usageStatsManager.queryUsageStats(INTERVAL_WEEKLY, 1001, 3500); in queryUsageStats()
326 UsageStats usageStats1 = newUsageStats(TEST_PACKAGE_NAME1, 1000, 2000); in queryUsageStats_multipleIntervalTypes()
327 UsageStats usageStats2 = newUsageStats(TEST_PACKAGE_NAME1, 2001, 3000); in queryUsageStats_multipleIntervalTypes()
332 UsageStats usageStats3 = newUsageStats(TEST_PACKAGE_NAME1, 2001, 3000); in queryUsageStats_multipleIntervalTypes()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUsageStatsManager.java8 import android.app.usage.UsageStats;
46 private SetMultimap<Integer, UsageStats> usageStatsByIntervalType = HashMultimap.create();
213 protected List<UsageStats> queryUsageStats(int intervalType, long beginTime, long endTime) { in queryUsageStats()
214 List<UsageStats> results = new ArrayList<>(); in queryUsageStats()
216 for (UsageStats stats : usageStatsByIntervalType.get(intervalType)) { in queryUsageStats()
232 public void addUsageStats(int intervalType, UsageStats stats) { in addUsageStats()
342 private UsageStats usageStats = new UsageStats();
351 public UsageStats build() { in build()
/external/icing/icing/legacy/index/
Dicing-common-types.h58 class UsageStats; variable
/external/swiftshader/third_party/marl/include/marl/
Dmemory.h239 struct UsageStats { struct
257 std::array<UsageStats, size_t(Allocation::Usage::Count)> byUsage; argument