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 { onRequestShowDoze()11 void onRequestShowDoze(); 12 onRequestHideDoze()13 void onRequestHideDoze(); 14 } 15 onDreamingStarted()16 void onDreamingStarted(); 17 onDreamingStopped()18 void onDreamingStopped(); 19 setDozeRequester(RequestDoze requester)20 void setDozeRequester(RequestDoze requester); 21 } 22