Home
last modified time | relevance | path

Searched refs:addPluginListener (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/plugin_core/src/com/android/systemui/plugins/
DPluginManager.java32 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls); in addPluginListener() method
34 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls, in addPluginListener() method
36 <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() method
38 <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() method
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakePluginManager.java32 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() method in FakePluginManager
38 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls) { in addPluginListener() method in FakePluginManager
43 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls, in addPluginListener() method in FakePluginManager
49 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() method in FakePluginManager
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManagerImpl.java88 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls) { in addPluginListener() method in PluginManagerImpl
89 addPluginListener(listener, cls, false); in addPluginListener()
93 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<T> cls, in addPluginListener() method in PluginManagerImpl
95 addPluginListener(PluginManager.Helper.getAction(cls), listener, cls, allowMultiple); in addPluginListener()
98 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() method in PluginManagerImpl
100 addPluginListener(action, listener, cls, false); in addPluginListener()
103 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() method in PluginManagerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginManagerTest.java91 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testAddListener()
98 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testRemoveListener()
117 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testNonDebuggable_nonPrivileged()
139 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testNonDebuggable_privilegedPackage()
147 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testExceptionHandler_foundPlugin()
159 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testExceptionHandler_noFoundPlugin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastFactory.java52 pluginManager.addPluginListener( in ToastFactory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPluginInflateContainer.java77 Dependency.get(PluginManager.class).addPluginListener(this, mClass); in onAttachedToWindow()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java86 verify(mPluginManager).addPluginListener(eq(OverlayPlugin.ACTION), listener.capture(), in testPlugin()
191 verify(mPluginManager).addPluginListener(any(), listener.capture(), any()); in testSortOrder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DAsyncSensorManagerTest.java98 verify(mPluginManager).addPluginListener(eq(mAsyncSensorManager), in registersPlugin_whenLoaded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java56 mPluginManager.addPluginListener(this, NotificationListenerController.class); in registerAsSystemService()
DCentralSurfacesImpl.java1026 mPluginManager.addPluginListener( in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java60 mPluginManager.addPluginListener(this, DozeServicePlugin.class, false /* allowMultiple */); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerProxy.java91 mPluginManager.addPluginListener(mPluginListener, FalsingPlugin.class); in FalsingManagerProxy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DAsyncSensorManager.java70 pluginManager.addPluginListener(this, SensorManagerPlugin.class, in AsyncSensorManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java231 mPluginManager.addPluginListener(action, this, cls); in PluginItem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowController.java325 mPluginManager.addPluginListener(mView, in init()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/
DClockRegistryTest.kt178 .addPluginListener(captor.capture(), eq(ClockProviderPlugin::class.java), eq(true)) in setUp()
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/
DClockRegistry.kt421 pluginManager.addPluginListener( in registerListeners()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java158 pluginManager.addPluginListener(this, QSFactory.class, true); in QSTileHost()
/frameworks/base/packages/SystemUI/docs/
Dplugins.md59 void addPluginListener(String action, PluginListener<T> listener,
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgeBackGestureHandler.java691 mPluginManager.addPluginListener( in updateIsEnabledInner()