/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 | 43 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/ |
D | AsyncSensorManagerTest.java | 48 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/ |
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/tests/src/com/android/systemui/classifier/ |
D | FalsingManagerProxyTest.java | 57 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/ |
D | ClockManager.java | 92 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/ |
D | ExpandableNotificationRowController.java | 52 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/ |
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/statusbar/phone/ |
D | NotificationShadeWindowViewTest.java | 70 @Mock private PluginManager mPluginManager; field in NotificationShadeWindowViewTest 109 mPluginManager, in setUp()
|
D | StatusBarTest.java | 234 @Mock private PluginManager mPluginManager; field in StatusBarTest 388 mPluginManager, in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileServicesTest.java | 82 private PluginManager mPluginManager; field in TileServicesTest 106 mPluginManager, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | EdgeBackGestureHandler.java | 126 private final PluginManager mPluginManager; field in EdgeBackGestureHandler 208 mPluginManager = pluginManager; in EdgeBackGestureHandler() 344 mPluginManager.removePluginListener(this); in updateIsEnabled() 378 mPluginManager.addPluginListener( in updateIsEnabled()
|
D | NotificationShadeWindowViewController.java | 72 private final PluginManager mPluginManager; field in NotificationShadeWindowViewController 139 mPluginManager = pluginManager; in NotificationShadeWindowViewController()
|
D | NavigationBarView.java | 101 private final PluginManager mPluginManager; field in NavigationBarView 287 mPluginManager = Dependency.get(PluginManager.class); in NavigationBarView() 330 mSysUiFlagContainer, mPluginManager, this::updateStates); in NavigationBarView()
|
D | StatusBar.java | 375 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/ |
D | QSTileHost.java | 88 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/ |
D | QSTileHostTest.java | 91 private PluginManager mPluginManager; field in QSTileHostTest 121 mLooper.getLooper(), mPluginManager, mTunerService, mAutoTiles, mDumpManager, in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 234 @Inject Lazy<PluginManager> mPluginManager; field in Dependency 384 mProviders.put(PluginManager.class, mPluginManager::get); in start()
|