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

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowUsageStatsManager.java 227 * Construct these objects with {@link UsageStatsBuilder}, and set the firstTimestamp and
341 public static class UsageStatsBuilder {
345 private UsageStatsBuilder() {}
347 public static UsageStatsBuilder newBuilder() {
348 return new UsageStatsBuilder();
355 public UsageStatsBuilder setPackageName(String packageName) {
360 public UsageStatsBuilder setFirstTimeStamp(long firstTimeStamp) {
365 public UsageStatsBuilder setLastTimeStamp(long lastTimeStamp) {
370 public UsageStatsBuilder setTotalTimeInForeground(long totalTimeInForeground) {
375 public UsageStatsBuilder setLastTimeUsed(long lastTimeUsed)
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowUsageStatsManagerTest.java 31 import org.robolectric.shadows.ShadowUsageStatsManager.UsageStatsBuilder;
342 return UsageStatsBuilder.newBuilder()
352 UsageStatsBuilder.newBuilder()
363 public void usageStatsBuilder() {
370 UsageStatsBuilder.newBuilder()

Completed in 645 milliseconds