Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginManager.java35 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls); in addPluginListener() method
36 <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls, in addPluginListener() method
38 <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() method
40 <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() method
DPluginManagerImpl.java154 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls) { in addPluginListener() method in PluginManagerImpl
155 addPluginListener(listener, cls, false); in addPluginListener()
158 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> cls, in addPluginListener() method in PluginManagerImpl
160 addPluginListener(PluginManager.Helper.getAction(cls), listener, cls, allowMultiple); in addPluginListener()
163 public <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, in addPluginListener() method in PluginManagerImpl
165 addPluginListener(action, listener, cls, false); in addPluginListener()
168 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/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<?> cls) { in addPluginListener() method in FakePluginManager
43 public <T extends Plugin> void addPluginListener(PluginListener<T> listener, Class<?> 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/tests/src/com/android/systemui/shared/plugins/
DPluginManagerTest.java114 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testAddListener()
121 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testRemoveListener()
143 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testNonDebuggable_noWhitelist()
167 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testNonDebuggable_whitelistedPkg()
174 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testExceptionHandler_foundPlugin()
189 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testExceptionHandler_noFoundPlugin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPluginInflateContainer.java75 Dependency.get(PluginManager.class).addPluginListener(this, mClass); in onAttachedToWindow()
DSystemUIApplication.java224 Dependency.get(PluginManager.class).addPluginListener( in startServicesIfNeeded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java78 verify(mPluginManager).addPluginListener(eq(OverlayPlugin.ACTION), listener.capture(), in testPlugin()
183 verify(mPluginManager).addPluginListener(any(), listener.capture(), any()); in testSortOrder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DAsyncSensorManagerTest.java97 verify(mPluginManager).addPluginListener(eq(mAsyncSensorManager), in registersPlugin_whenLoaded()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockManager.java172 mPluginManager.addPluginListener(availableClocks, ClockPlugin.class, true); in addOnClockChangedListener()
220 mPluginManager.addPluginListener(mPreviewClocks, ClockPlugin.class, true); in register()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationListenerWithPlugins.java46 Dependency.get(PluginManager.class).addPluginListener(this, in registerAsSystemService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java62 mPluginManager.addPluginListener(this, DozeServicePlugin.class, false /* allowMultiple */); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAsyncSensorManager.java75 pluginManager.addPluginListener(this, SensorManagerPlugin.class, true /* allowMultiple */); in AsyncSensorManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerProxy.java83 pluginManager.addPluginListener(mPluginListener, FalsingPlugin.class); in FalsingManagerProxy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java127 Dependency.get(PluginManager.class).addPluginListener(mPluginListener, FalsingPlugin.class); in DataCollector()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java230 mPluginManager.addPluginListener(action, this, cls); in PluginItem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java111 pluginManager.addPluginListener(this, QSFactory.class, true); in QSTileHost()
/frameworks/base/packages/SystemUI/docs/
Dplugins.md58 void addPluginListener(String action, PluginListener<T> listener,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java1128 Dependency.get(PluginManager.class).addPluginListener(this,