/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/ |
D | PluginManagerTest.java | 64 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/ |
D | DozeService.java | 44 private PluginManager mPluginManager; field in DozeService 61 mPluginManager = Dependency.get(PluginManager.class); in onCreate() 62 mPluginManager.addPluginListener(this, DozeServicePlugin.class, false /* allowMultiple */); in onCreate() 69 if (mPluginManager != null) { in onDestroy() 70 mPluginManager.removePluginListener(this); in onDestroy()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | AsyncSensorManagerTest.java | 49 private PluginManager mPluginManager; field in AsyncSensorManagerTest 53 mPluginManager = mock(PluginManager.class); in setUp() 97 verify(mPluginManager).addPluginListener(eq(mAsyncSensorManager), in registersPlugin_whenLoaded() 103 super(sensorManager, mPluginManager); in TestableAsyncSensorManager()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | FalsingManagerProxyTest.java | 48 PluginManager mPluginManager; field in FalsingManagerProxyTest 76 getContext(), mPluginManager, mHandler, mProximitySensor); in test_brightLineFalsingManagerDisabled() 86 getContext(), mPluginManager, mHandler, mProximitySensor); in test_brightLineFalsingManagerEnabled() 94 getContext(), mPluginManager, mHandler, mProximitySensor); in test_brightLineFalsingManagerToggled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImplTest.java | 56 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/src/com/android/keyguard/clock/ |
D | ClockManager.java | 90 private final PluginManager mPluginManager; field in ClockManager 140 mPluginManager = pluginManager; in ClockManager() 172 mPluginManager.addPluginListener(availableClocks, ClockPlugin.class, true); in addOnClockChangedListener() 181 mPluginManager.removePluginListener(availableClocks); in removeOnClockChangedListener() 220 mPluginManager.addPluginListener(mPreviewClocks, ClockPlugin.class, true); in register() 234 mPluginManager.removePluginListener(mPreviewClocks); in unregister()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImpl.java | 52 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/qs/ |
D | QSTileHostTest.java | 78 private PluginManager mPluginManager; field in QSTileHostTest 98 mPluginManager, mTunerService, mAutoTiles, mDumpController); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileHost.java | 81 private final PluginManager mPluginManager; field in QSTileHost 104 mPluginManager = pluginManager; in QSTileHost() 133 mPluginManager.removePluginListener(this); in destroy()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 216 @Inject Lazy<PluginManager> mPluginManager; field in Dependency 365 mProviders.put(PluginManager.class, mPluginManager::get); in start()
|