Class ShadowStatsManager

java.lang.Object
org.robolectric.shadows.ShadowStatsManager

@Implements(value=android.app.StatsManager.class, isInAndroidSdk=false, minSdk=28) public class ShadowStatsManager extends Object
  • Constructor Details

    • ShadowStatsManager

      public ShadowStatsManager()
  • Method Details

    • reset

      @Resetter public static void reset()
    • addReportData

      public static void addReportData(long configKey, byte[] data)
    • setStatsMetadata

      public static void setStatsMetadata(byte[] metadata)
    • getReports

      @Implementation protected byte[] getReports(long configKey)
    • getStatsMetadata

      @Implementation protected byte[] getStatsMetadata()