Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginManagerTest.java64 private PluginManagerImpl mPluginManager; field in PluginManagerTest
85 mPluginManager = new PluginManagerImpl( in setup()
108 Plugin result = mPluginManager.getOneShotPlugin("myAction", TestPlugin.class); in testOneShot()
114 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testAddListener()
121 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testRemoveListener()
123 mPluginManager.removePluginListener(mMockListener); in testRemoveListener()
130 mPluginManager = new PluginManagerImpl(getContext(), mMockFactory, false, in testNonDebuggable_noWhitelist()
143 mPluginManager.addPluginListener("myAction", mMockListener, TestPlugin.class); in testNonDebuggable_noWhitelist()
144 assertNull(mPluginManager.getOneShotPlugin(sourceDir, TestPlugin.class)); in testNonDebuggable_noWhitelist()
145 assertNull(mPluginManager.getClassLoader(applicationInfo)); in testNonDebuggable_noWhitelist()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeService.java43 private PluginManager mPluginManager; field in DozeService
49 mPluginManager = pluginManager; in DozeService()
58 mPluginManager.addPluginListener(this, DozeServicePlugin.class, false /* allowMultiple */); in onCreate()
64 if (mPluginManager != null) { in onDestroy()
65 mPluginManager.removePluginListener(this); in onDestroy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DAsyncSensorManagerTest.java48 private PluginManager mPluginManager; field in AsyncSensorManagerTest
52 mPluginManager = mock(PluginManager.class); in setUp()
55 fakeSensorManager, mPluginManager, new Handler()); in setUp()
97 verify(mPluginManager).addPluginListener(eq(mAsyncSensorManager), in registersPlugin_whenLoaded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java56 private PluginManager mPluginManager; field in ExtensionControllerImplTest
63 mPluginManager = mDependency.injectMockDependency(PluginManager.class); in setup()
67 mock(LeakDetector.class), mPluginManager, mTunerService, mConfigurationController); in setup()
78 verify(mPluginManager).addPluginListener(eq(OverlayPlugin.ACTION), listener.capture(), in testPlugin()
85 verify(mPluginManager).removePluginListener(any()); in testPlugin()
183 verify(mPluginManager).addPluginListener(any(), listener.capture(), any()); in testSortOrder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingManagerProxyTest.java57 PluginManager mPluginManager; field in FalsingManagerProxyTest
89 mProxy = new FalsingManagerProxy(getContext(), mPluginManager, mExecutor, mDisplayMetrics, in test_brightLineFalsingManagerDisabled()
100 mProxy = new FalsingManagerProxy(getContext(), mPluginManager, mExecutor, mDisplayMetrics, in test_brightLineFalsingManagerEnabled()
108 mProxy = new FalsingManagerProxy(getContext(), mPluginManager, mExecutor, mDisplayMetrics, in test_brightLineFalsingManagerToggled()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockManager.java92 private final PluginManager mPluginManager; field in ClockManager
142 mPluginManager = pluginManager; in ClockManager()
172 mPluginManager.addPluginListener(availableClocks, ClockPlugin.class, true); in addOnClockChangedListener()
181 mPluginManager.removePluginListener(availableClocks); in removeOnClockChangedListener()
221 mPluginManager.addPluginListener(mPreviewClocks, ClockPlugin.class, true); in register()
235 mPluginManager.removePluginListener(mPreviewClocks); in unregister()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowController.java52 private final PluginManager mPluginManager; field in ExpandableNotificationRowController
91 mPluginManager = pluginManager; in ExpandableNotificationRowController()
149 mPluginManager.addPluginListener(mView, in init()
155 mPluginManager.removePluginListener(mView); in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java52 private final PluginManager mPluginManager; field in ExtensionControllerImpl
66 mPluginManager = pluginManager; in ExtensionControllerImpl()
230 mPluginManager.addPluginListener(action, this, cls); in PluginItem()
258 mPluginManager.removePluginListener(this); in destroy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowViewTest.java70 @Mock private PluginManager mPluginManager; field in NotificationShadeWindowViewTest
109 mPluginManager, in setUp()
DStatusBarTest.java234 @Mock private PluginManager mPluginManager; field in StatusBarTest
388 mPluginManager, in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServicesTest.java82 private PluginManager mPluginManager; field in TileServicesTest
106 mPluginManager, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DEdgeBackGestureHandler.java126 private final PluginManager mPluginManager; field in EdgeBackGestureHandler
208 mPluginManager = pluginManager; in EdgeBackGestureHandler()
344 mPluginManager.removePluginListener(this); in updateIsEnabled()
378 mPluginManager.addPluginListener( in updateIsEnabled()
DNotificationShadeWindowViewController.java72 private final PluginManager mPluginManager; field in NotificationShadeWindowViewController
139 mPluginManager = pluginManager; in NotificationShadeWindowViewController()
DNavigationBarView.java101 private final PluginManager mPluginManager; field in NavigationBarView
287 mPluginManager = Dependency.get(PluginManager.class); in NavigationBarView()
330 mSysUiFlagContainer, mPluginManager, this::updateStates); in NavigationBarView()
DStatusBar.java375 private final PluginManager mPluginManager; field in StatusBar
786 mPluginManager = pluginManager; in StatusBar()
944 mPluginManager.addPluginListener( in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java88 private final PluginManager mPluginManager; field in QSTileHost
121 mPluginManager = pluginManager; in QSTileHost()
159 mPluginManager.removePluginListener(this); in destroy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSTileHostTest.java91 private PluginManager mPluginManager; field in QSTileHostTest
121 mLooper.getLooper(), mPluginManager, mTunerService, mAutoTiles, mDumpManager, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java234 @Inject Lazy<PluginManager> mPluginManager; field in Dependency
384 mProviders.put(PluginManager.class, mPluginManager::get); in start()