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.java45 mDependency.injectTestDependency(FlashlightController.class, f); in testClassDependency()
52 mDependency.injectTestDependency(Dependency.BG_LOOPER, l); in testStringDependency()
59 mDependency.injectTestDependency(DUMPABLE, d); in testDump()
61 mDependency.dump(null, mock(PrintWriter.class), null); in testDump()
68 mDependency.injectTestDependency(CONFIGURATION_CHANGED_RECEIVER, d); in testConfigurationChanged()
70 mDependency.onConfigurationChanged(null); in testConfigurationChanged()
DSysuiBaseFragmentTest.java45 protected final TestableDependency mDependency = new TestableDependency(mContext); field in SysuiBaseFragmentTest
86 mDependency.injectTestDependency(c, mLeakCheck.getLeakChecker(c)); in injectLeakCheckedDependency()
DScreenDecorationsTest.java88 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setup()
90 mTunablePaddingService = mDependency.injectMockDependency(TunablePaddingService.class); in setup()
91 mTunerService = mDependency.injectMockDependency(TunerService.class); in setup()
92 mFragmentService = mDependency.injectMockDependency(FragmentService.class); in setup()
93 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()
71 mDependency.putComponent(CommandQueue.class, mock(CommandQueue.class)); in setUp()
DNotificationPanelViewTest.java108 mDependency.injectTestDependency(StatusBarStateController.class, in setup()
110 mDependency.injectMockDependency(ShadeController.class); in setup()
111 mDependency.injectMockDependency(NotificationLockscreenUserManager.class); in setup()
112 mDependency.injectMockDependency(ConfigurationController.class); in setup()
113 mDependency.injectMockDependency(ZenModeController.class); in setup()
DStatusBarTest.java187 mDependency.injectMockDependency(AssistManager.class); in setup()
188 mDependency.injectMockDependency(NotificationGutsManager.class); in setup()
189 mDependency.injectMockDependency(NotificationMediaManager.class); in setup()
190 mDependency.injectMockDependency(ForegroundServiceController.class); in setup()
191 mDependency.injectTestDependency(NotificationViewHierarchyManager.class, in setup()
193 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setup()
194 mDependency.injectTestDependency(NotificationListener.class, mNotificationListener); in setup()
195 mDependency.injectTestDependency(KeyguardMonitor.class, mock(KeyguardMonitor.class)); in setup()
196 mDependency.injectTestDependency(AppOpsController.class, mock(AppOpsController.class)); in setup()
197 mDependency.injectTestDependency(StatusBarStateController.class, mStatusBarStateController); in setup()
[all …]
DNavigationBarRotationContextTest.java53 private final TestableDependency mDependency = new TestableDependency(mContext); field in NavigationBarRotationContextTest
60 mDependency.injectMockDependency(RotationLockController.class); in setup()
DStatusBarNotificationPresenterTest.java67 mDependency.injectTestDependency(MetricsLogger.class, mMetricsLogger); in setup()
70 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.java210 mDependency.injectMockDependency(ShadeController.class); in setUp()
211 mDependency.injectTestDependency(ForegroundServiceController.class, in setUp()
213 mDependency.injectTestDependency(NotificationLockscreenUserManager.class, in setUp()
215 mDependency.injectTestDependency(NotificationGroupManager.class, mGroupManager); in setUp()
216 mDependency.injectTestDependency(NotificationGutsManager.class, mGutsManager); in setUp()
217 mDependency.injectTestDependency(NotificationRemoteInputManager.class, mRemoteInputManager); in setUp()
218 mDependency.injectTestDependency(NotificationListener.class, mNotificationListener); in setUp()
219 mDependency.injectTestDependency(DeviceProvisionedController.class, in setUp()
221 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setUp()
222 mDependency.injectTestDependency(MetricsLogger.class, mMetricsLogger); in setUp()
[all …]
DNotificationFilterTest.java91 mDependency.injectTestDependency(ForegroundServiceController.class, mFsc); in setUp()
92 mDependency.injectTestDependency(NotificationGroupManager.class, in setUp()
94 mDependency.injectMockDependency(ShadeController.class); in setUp()
95 mDependency.injectTestDependency(NotificationData.KeyguardEnvironment.class, mEnvironment); 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.java98 mDependency.injectTestDependency(NotificationEntryManager.class, mEntryManager); in setUp()
99 mDependency.injectTestDependency(NotificationLockscreenUserManager.class, in setUp()
101 mDependency.injectTestDependency(NotificationGroupManager.class, mGroupManager); in setUp()
102 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setUp()
103 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.java77 mDependency.injectTestDependency(NotificationEntryManager.class, in setUp()
82 mDependency.injectTestDependency(SmartReplyController.class, 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/qs/
DQSFragmentTest.java74 mMockMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class); in addLeakCheckDependencies()
84 mDependency.injectTestDependency(Dependency.BG_LOOPER, in addLeakCheckDependencies()
86 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.java135 mDependency.injectTestDependency( in setUp()
138 mDependency.injectTestDependency(StatusBarStateController.class, mBarState); in setUp()
139 mDependency.injectTestDependency(MetricsLogger.class, mMetricsLogger); in setUp()
140 mDependency.injectTestDependency(NotificationRemoteInputManager.class, in setUp()
142 mDependency.injectMockDependency(ShadeController.class); in setUp()
146 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