Home
last modified time | relevance | path

Searched refs:getOneShotPlugin (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginManager.java28 <T extends Plugin> T getOneShotPlugin(Class<T> cls); in getOneShotPlugin() method
29 <T extends Plugin> T getOneShotPlugin(String action, Class<?> cls); in getOneShotPlugin() method
DPluginManagerImpl.java108 public <T extends Plugin> T getOneShotPlugin(Class<T> cls) { in getOneShotPlugin() method in PluginManagerImpl
116 return getOneShotPlugin(info.action(), cls); in getOneShotPlugin()
119 public <T extends Plugin> T getOneShotPlugin(String action, Class<?> cls) { in getOneShotPlugin() method in PluginManagerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakePluginManager.java66 public <T extends Plugin> T getOneShotPlugin(Class<T> cls) { in getOneShotPlugin() method in FakePluginManager
71 public <T extends Plugin> T getOneShotPlugin(String action, Class<?> cls) { in getOneShotPlugin() method in FakePluginManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/
DPluginManagerTest.java89 Plugin result = mPluginManager.getOneShotPlugin("myAction", TestPlugin.class); in testOneShot()
117 assertNull(mPluginManager.getOneShotPlugin("myPlugin", TestPlugin.class)); in testNonDebuggable()