Home
last modified time | relevance | path

Searched refs:OverlayPlugin (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
H A DVersionInfoTest.java23 import com.android.systemui.plugins.OverlayPlugin;
45 info.addClass(OverlayPlugin.class); in testHasInfo()
51 VersionInfo overlay = new VersionInfo().addClass(OverlayPlugin.class); in testSingleProvides()
58 VersionInfo overlay = new VersionInfo().addClass(OverlayPlugin.class); in testIncorrectVersion()
66 VersionInfo overlay = new VersionInfo().addClass(OverlayPlugin.class); in testMissingRequired()
87 @Requires(target = OverlayPlugin.class, version = OverlayPlugin.VERSION)
91 @Requires(target = OverlayPlugin.class, version = 0)
/aosp14/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DOverlayPlugin.java21 @ProvidesInterface(action = OverlayPlugin.ACTION, version = OverlayPlugin.VERSION)
22 public interface OverlayPlugin extends Plugin { interface
/aosp14/frameworks/base/packages/SystemUI/plugin/ExamplePlugin/src/com/android/systemui/plugin/testoverlayplugin/
H A DSampleOverlayPlugin.java26 import com.android.systemui.plugins.OverlayPlugin;
29 @Requires(target = OverlayPlugin.class, version = OverlayPlugin.VERSION)
30 public class SampleOverlayPlugin implements OverlayPlugin {
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DExtensionControllerImplTest.java33 import com.android.systemui.plugins.OverlayPlugin;
80 OverlayPlugin plugin = mock(OverlayPlugin.class); in testPlugin()
82 Extension ext = mExtensionController.newExtension(OverlayPlugin.class) in testPlugin()
83 .withPlugin(OverlayPlugin.class) in testPlugin()
86 verify(mPluginManager).addPluginListener(eq(OverlayPlugin.ACTION), listener.capture(), in testPlugin()
87 eq(OverlayPlugin.class)); in testPlugin()
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dplugin_hooks.md3 Expected interface: [OverlayPlugin](/frameworks/base/packages/SystemUI/plugin/src/com/android/syste…
H A Dplugins.md102 @Requires(target = OverlayPlugin.class, version = OverlayPlugin.VERSION)
103 public class SampleOverlayPlugin implements OverlayPlugin {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DCentralSurfacesImpl.java170 import com.android.systemui.plugins.OverlayPlugin;
1109 new PluginListener<OverlayPlugin>() { in start()
1110 private final ArraySet<OverlayPlugin> mOverlays = new ArraySet<>(); in start()
1113 public void onPluginConnected(OverlayPlugin plugin, Context pluginContext) { in start()
1122 public void onPluginDisconnected(OverlayPlugin plugin) { in start()
1130 class Callback implements OverlayPlugin.Callback { in start()
1131 private final OverlayPlugin mPlugin; in start()
1133 Callback(OverlayPlugin plugin) { in start()
1153 }, OverlayPlugin.class, true /* Allow multiple plugins */); in start()