Home | History | Annotate | Download | only in plugins
      1 package com.android.systemui.plugins;
      2 
      3 import com.android.systemui.plugins.annotations.ProvidesInterface;
      4 
      5 @ProvidesInterface(action = DozeServicePlugin.ACTION, version = DozeServicePlugin.VERSION)
      6 public interface DozeServicePlugin extends Plugin {
      7     String ACTION = "com.android.systemui.action.PLUGIN_DOZE";
      8     int VERSION = 1;
      9 
     10     public interface RequestDoze {
     11         void onRequestShowDoze();
     12 
     13         void onRequestHideDoze();
     14     }
     15 
     16     void onDreamingStarted();
     17 
     18     void onDreamingStopped();
     19 
     20     void setDozeRequester(RequestDoze requester);
     21 }
     22