Lines Matching defs:usageStats
19 import android.app.usage.UsageStats;
73 private HashMap<String, UsageStats> mUsageStats;
308 UsageStats secondary = mock(UsageStats.class);
316 UsageStats primary = mock(UsageStats.class);
323 UsageStats primary = mock(UsageStats.class);
325 UsageStats secondary = mock(UsageStats.class);
333 UsageStats primary = mock(UsageStats.class);
335 UsageStats secondary = mock(UsageStats.class);
390 UsageStats usageStats = mock(UsageStats.class);
391 when(usageStats.getPackageName()).thenReturn(packageName);
392 when(usageStats.getLastTimeUsed()).thenReturn(time);
393 mUsageStats.put(packageName, usageStats);