Home
last modified time | relevance | path

Searched refs:Plugin (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManager.java19 import com.android.systemui.plugins.Plugin;
32 <T extends Plugin> T getOneShotPlugin(Class<T> cls); in getOneShotPlugin()
33 <T extends Plugin> T getOneShotPlugin(String action, Class<?> cls); in getOneShotPlugin()
35 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls); in addPluginListener()
36 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls, in addPluginListener()
38 <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener()
40 <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener()
45 <T> boolean dependsOn(Plugin p, Class<T> cls); in dependsOn()
DPluginManagerImpl.java45 import com.android.systemui.plugins.Plugin;
124 public <T extends Plugin> T getOneShotPlugin(Class<T> cls) { in getOneShotPlugin()
135 public <T extends Plugin> T getOneShotPlugin(String action, Class<?> cls) { in getOneShotPlugin()
140 PluginListener<Plugin> dummy = null; in getOneShotPlugin()
154 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls) { in addPluginListener()
158 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls, in addPluginListener()
163 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener()
168 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener()
324 public <T> boolean dependsOn(Plugin p, Class<T> cls) { in dependsOn()
347 public <T extends Plugin> PluginInstanceManager createPluginInstanceManager(Context context, in createPluginInstanceManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakePluginManager.java19 import com.android.systemui.plugins.Plugin;
32 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener()
38 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls) { in addPluginListener()
43 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls, in addPluginListener()
49 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener()
60 public <T> boolean dependsOn(Plugin p, Class<T> cls) { in dependsOn()
70 public <T extends Plugin> T getOneShotPlugin(Class<T> cls) { in getOneShotPlugin()
75 public <T extends Plugin> T getOneShotPlugin(String action, Class<?> cls) { in getOneShotPlugin()
/frameworks/base/core/java/android/webkit/
DPluginList.java34 private ArrayList<Plugin> mPlugins;
45 mPlugins = new ArrayList<Plugin>(); in PluginList()
68 public synchronized void addPlugin(Plugin plugin) { in addPlugin()
82 public synchronized void removePlugin(Plugin plugin) { in removePlugin()
111 Plugin plugin = mPlugins.get(position); in pluginClicked()
DPlugin.java34 public class Plugin { class
61 public Plugin(String name, in Plugin() method in Plugin
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DPluginDependency.java24 public static <T> T get(Plugin p, Class<T> cls) { in get()
29 abstract <T> T get(Plugin p, Class<T> cls); in get()
DViewProvider.java19 public interface ViewProvider extends Plugin {
DDozeServicePlugin.java6 public interface DozeServicePlugin extends Plugin {
DIntentButtonProvider.java27 public interface IntentButtonProvider extends Plugin {
DFalsingPlugin.java32 public interface FalsingPlugin extends Plugin {
DOverlayPlugin.java21 public interface OverlayPlugin extends Plugin {
DVolumeDialog.java27 public interface VolumeDialog extends Plugin {
DGlobalActions.java23 public interface GlobalActions extends Plugin {
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSFactory.java17 import com.android.systemui.plugins.Plugin;
28 public interface QSFactory extends Plugin {
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/
DOMXMaster.h55 struct Plugin { struct
59 List<Plugin> mPlugins;
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverLocationPlugin.java24 import com.android.server.power.batterysaver.BatterySaverController.Plugin;
26 public class BatterySaverLocationPlugin implements Plugin {
DBatterySaverController.java105 private final Plugin[] mPlugins;
157 public interface Plugin { interface in BatterySaverController
207 mPlugins = new Plugin[] { in BatterySaverController()
284 for (Plugin p : mPlugins) { in dispatchMessage()
467 for (Plugin p : mPlugins) { in handleBatterySaverStateChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginManagerTest.java39 import com.android.systemui.plugins.Plugin;
105 Plugin mockPlugin = mock(Plugin.class); in testOneShot()
108 Plugin result = mPluginManager.getOneShotPlugin("myAction", TestPlugin.class); in testOneShot()
226 public static interface TestPlugin extends Plugin {
DPluginInstanceManagerTest.java51 import com.android.systemui.plugins.Plugin;
74 private static Plugin sMockPlugin;
102 sMockPlugin = mock(Plugin.class); in setup()
153 verify(mMockListener).onPluginDisconnected(ArgumentCaptor.forClass(Plugin.class).capture()); in testPluginDestroy()
185 verify(mMockListener).onPluginDisconnected(ArgumentCaptor.forClass(Plugin.class).capture()); in testReloadOnChange()
324 public static class TestPlugin implements Plugin {
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationMenuRowPlugin.java25 import com.android.systemui.plugins.Plugin;
40 public interface NotificationMenuRowPlugin extends Plugin {
/frameworks/base/packages/SystemUI/plugin_core/src/com/android/systemui/plugins/
DPluginListener.java22 public interface PluginListener<T extends Plugin> {
DPlugin.java113 public interface Plugin { interface
DPluginFragment.java22 public abstract class PluginFragment extends Fragment implements Plugin {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java34 import com.android.systemui.plugins.Plugin;
152 Plugin plugin = mock(Plugin.class); in testSortOrder()
/frameworks/base/packages/SystemUI/docs/
Dplugins.md7 ## Adding Plugin Hooks
15 … main interface (entry point) for the plugin should extend the interface Plugin so that you can li…
18 …uld also be tagged with an action if they are the root interface for the Plugin. If a plugin makes…
24 public interface MyPlugin extends Plugin {
31 ### Plugin Listener
36 public interface PluginListener<T extends Plugin> {
144 …end on any hidden APIs (which plugins should avoid anyway) and only uses Plugin APIs, you can be s…
175 ### Compiling against Plugin APIs
204 ### Plugin Management

12