Home
last modified time | relevance | path

Searched refs:mDependency (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DDependencyTest.java43 mDependency.injectTestDependency(FlashlightController.class, f); in testClassDependency()
50 mDependency.injectTestDependency(Dependency.BG_LOOPER, l); in testStringDependency()
57 mDependency.injectTestDependency(DUMPABLE, d); in testDump()
59 mDependency.dump(null, mock(PrintWriter.class), null); in testDump()
DSysuiBaseFragmentTest.java45 protected final TestableDependency mDependency = new TestableDependency(mContext); field in SysuiBaseFragmentTest
86 mDependency.injectTestDependency(c, mLeakCheck.getLeakChecker(c)); in injectLeakCheckedDependency()
DScreenDecorationsTest.java91 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setup()
93 mTunablePaddingService = mDependency.injectMockDependency(TunablePaddingService.class); in setup()
94 mTunerService = mDependency.injectMockDependency(TunerService.class); in setup()
95 mFragmentService = mDependency.injectMockDependency(FragmentService.class); in setup()
96 mNavigationModeController = mDependency.injectMockDependency( in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallbackTest.java65 mDependency.injectTestDependency(NotificationEntryManager.class, mEntryManager); in setUp()
66 mDependency.injectTestDependency(DeviceProvisionedController.class, in setUp()
68 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setUp()
69 mDependency.injectTestDependency(NotificationLockscreenUserManager.class, in setUp()
DStatusBarTest.java189 mDependency.injectMockDependency(AssistManager.class); in setup()
190 mDependency.injectMockDependency(NotificationGutsManager.class); in setup()
191 mDependency.injectMockDependency(NotificationMediaManager.class); in setup()
192 mDependency.injectMockDependency(ForegroundServiceController.class); in setup()
193 mDependency.injectTestDependency(NotificationViewHierarchyManager.class, in setup()
195 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setup()
196 mDependency.injectTestDependency(NotificationListener.class, mNotificationListener); in setup()
197 mDependency.injectTestDependency(KeyguardMonitor.class, mock(KeyguardMonitor.class)); in setup()
198 mDependency.injectTestDependency(AppOpsController.class, mock(AppOpsController.class)); in setup()
199 mDependency.injectTestDependency(StatusBarStateController.class, mStatusBarStateController); in setup()
[all …]
DNotificationPanelViewTest.java119 mDependency.injectTestDependency(StatusBarStateController.class, in setup()
121 mDependency.injectMockDependency(ShadeController.class); in setup()
122 mDependency.injectMockDependency(NotificationLockscreenUserManager.class); in setup()
123 mDependency.injectMockDependency(ConfigurationController.class); in setup()
124 mDependency.injectMockDependency(ZenModeController.class); in setup()
DNavigationBarRotationContextTest.java53 private final TestableDependency mDependency = new TestableDependency(mContext); field in NavigationBarRotationContextTest
60 mDependency.injectMockDependency(RotationLockController.class); in setup()
DStatusBarNotificationPresenterTest.java68 mDependency.injectTestDependency(MetricsLogger.class, mMetricsLogger); in setup()
71 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setup()
DNavigationBarFragmentTest.java83 mDependency.injectMockDependency(OverviewProxyService.class);
157 mDependency.injectTestDependency(Dependency.BG_LOOPER, Looper.getMainLooper()); in setupSysuiDependency()
158 mDependency.injectTestDependency(AccessibilityManagerWrapper.class, mAccessibilityWrapper); in setupSysuiDependency()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java212 mDependency.injectMockDependency(ShadeController.class); in setUp()
213 mDependency.injectTestDependency(ForegroundServiceController.class, in setUp()
215 mDependency.injectTestDependency(NotificationLockscreenUserManager.class, in setUp()
217 mDependency.injectTestDependency(NotificationGroupManager.class, mGroupManager); in setUp()
218 mDependency.injectTestDependency(NotificationGutsManager.class, mGutsManager); in setUp()
219 mDependency.injectTestDependency(NotificationRemoteInputManager.class, mRemoteInputManager); in setUp()
220 mDependency.injectTestDependency(NotificationListener.class, mNotificationListener); in setUp()
221 mDependency.injectTestDependency(DeviceProvisionedController.class, in setUp()
223 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setUp()
224 mDependency.injectTestDependency(MetricsLogger.class, mMetricsLogger); in setUp()
[all …]
DNotificationFilterTest.java92 mDependency.injectTestDependency(ForegroundServiceController.class, mFsc); in setUp()
93 mDependency.injectTestDependency(NotificationGroupManager.class, in setUp()
95 mDependency.injectMockDependency(ShadeController.class); in setUp()
96 mDependency.injectTestDependency(NotificationData.KeyguardEnvironment.class, mEnvironment); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java83 mDependency.injectTestDependency(Dependency.BG_LOOPER, mTestableLooper.getLooper()); in setUp()
84 mController = mDependency.injectMockDependency(CastController.class); in setUp()
85 mActivityStarter = mDependency.injectMockDependency(ActivityStarter.class); in setUp()
86 mKeyguard = mDependency.injectMockDependency(KeyguardMonitor.class); in setUp()
87 mNetworkController = mDependency.injectMockDependency(NetworkController.class); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNonPhoneDependencyTest.java71 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setUp()
78 mDependency.injectMockDependency(ShadeController.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
103 assertFalse(mDependency.hasInstantiatedDependency(StatusBarWindowController.class)); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
DNotificationListenerTest.java71 mDependency.injectTestDependency(NotificationEntryManager.class, mEntryManager); in setUp()
72 mDependency.injectTestDependency(NotificationRemoteInputManager.class, in setUp()
74 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setUp()
DNotificationViewHierarchyManagerTest.java99 mDependency.injectTestDependency(NotificationEntryManager.class, mEntryManager); in setUp()
100 mDependency.injectTestDependency(NotificationLockscreenUserManager.class, in setUp()
102 mDependency.injectTestDependency(NotificationGroupManager.class, mGroupManager); in setUp()
103 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setUp()
104 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setUp()
DNotificationLockscreenUserManagerTest.java81 mDependency.injectTestDependency(NotificationEntryManager.class, mEntryManager); in setUp()
82 mDependency.injectTestDependency(DeviceProvisionedController.class, in setUp()
91 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setUp()
DSmartReplyControllerTest.java79 mDependency.injectTestDependency(NotificationEntryManager.class, in setUp()
84 mDependency.injectTestDependency(SmartReplyController.class, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFragmentTest.java75 mMockMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class); in addLeakCheckDependencies()
85 mDependency.injectTestDependency(Dependency.BG_LOOPER, in addLeakCheckDependencies()
87 mDependency.injectMockDependency(UserSwitcherController.class); in addLeakCheckDependencies()
DQSFooterImplTest.java54 mActivityStarter = mDependency.injectMockDependency(ActivityStarter.class); in setup()
55 mDeviceProvisionedController = mDependency.injectMockDependency( in setup()
DQSDetailTest.java62 mMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class); in setup()
63 mActivityStarter = mDependency.injectMockDependency(ActivityStarter.class); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayoutTest.java141 mDependency.injectTestDependency( in setUp()
144 mDependency.injectTestDependency(SysuiStatusBarStateController.class, mBarState); in setUp()
145 mDependency.injectTestDependency(NotificationLockscreenUserManager.class, in setUp()
147 mDependency.injectTestDependency(MetricsLogger.class, mMetricsLogger); in setUp()
148 mDependency.injectTestDependency(NotificationRemoteInputManager.class, in setUp()
150 mDependency.injectMockDependency(ShadeController.class); in setUp()
154 mDependency.injectTestDependency(NotificationEntryManager.class, mEntryManager); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java63 mPluginManager = mDependency.injectMockDependency(PluginManager.class); in setup()
64 mTunerService = mDependency.injectMockDependency(TunerService.class); in setup()
65 mConfigurationController = mDependency.injectMockDependency(ConfigurationController.class); in setup()
DKeyButtonViewTest.java69 mMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class); in setup()
70 mBubbleController = mDependency.injectMockDependency(BubbleController.class); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java85 mDependency.injectTestDependency(Dependency.BG_LOOPER, mTestableLooper.getLooper()); in setup()
86 mMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class); in setup()
88 mDependency.injectMockDependency(StatusBarStateController.class); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java74 mController = mDependency.injectMockDependency(VolumeDialogController.class); in setup()
75 mAccessibilityMgr = mDependency.injectMockDependency(AccessibilityManagerWrapper.class); in setup()

123