/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | DependencyTest.java | 45 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()
|
D | SysuiBaseFragmentTest.java | 45 protected final TestableDependency mDependency = new TestableDependency(mContext); field in SysuiBaseFragmentTest 86 mDependency.injectTestDependency(c, mLeakCheck.getLeakChecker(c)); in injectLeakCheckedDependency()
|
D | ScreenDecorationsTest.java | 88 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/ |
D | StatusBarRemoteInputCallbackTest.java | 65 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()
|
D | NotificationPanelViewTest.java | 108 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()
|
D | StatusBarTest.java | 187 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 …]
|
D | NavigationBarRotationContextTest.java | 53 private final TestableDependency mDependency = new TestableDependency(mContext); field in NavigationBarRotationContextTest 60 mDependency.injectMockDependency(RotationLockController.class); in setup()
|
D | StatusBarNotificationPresenterTest.java | 67 mDependency.injectTestDependency(MetricsLogger.class, mMetricsLogger); in setup() 70 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setup()
|
D | NavigationBarFragmentTest.java | 83 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/ |
D | NotificationEntryManagerTest.java | 210 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 …]
|
D | NotificationFilterTest.java | 91 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/ |
D | NonPhoneDependencyTest.java | 71 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setUp() 78 mDependency.injectMockDependency(ShadeController.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager() 103 assertFalse(mDependency.hasInstantiatedDependency(StatusBarWindowController.class)); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
|
D | NotificationListenerTest.java | 71 mDependency.injectTestDependency(NotificationEntryManager.class, mEntryManager); in setUp() 72 mDependency.injectTestDependency(NotificationRemoteInputManager.class, in setUp() 74 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setUp()
|
D | NotificationViewHierarchyManagerTest.java | 98 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()
|
D | NotificationLockscreenUserManagerTest.java | 81 mDependency.injectTestDependency(NotificationEntryManager.class, mEntryManager); in setUp() 82 mDependency.injectTestDependency(DeviceProvisionedController.class, in setUp() 91 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setUp()
|
D | SmartReplyControllerTest.java | 77 mDependency.injectTestDependency(NotificationEntryManager.class, in setUp() 82 mDependency.injectTestDependency(SmartReplyController.class, in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | CastTileTest.java | 83 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/ |
D | QSFragmentTest.java | 74 mMockMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class); in addLeakCheckDependencies() 84 mDependency.injectTestDependency(Dependency.BG_LOOPER, in addLeakCheckDependencies() 86 mDependency.injectMockDependency(UserSwitcherController.class); in addLeakCheckDependencies()
|
D | QSFooterImplTest.java | 54 mActivityStarter = mDependency.injectMockDependency(ActivityStarter.class); in setup() 55 mDeviceProvisionedController = mDependency.injectMockDependency( in setup()
|
D | QSDetailTest.java | 62 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/ |
D | NotificationStackScrollLayoutTest.java | 135 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/ |
D | ExtensionControllerImplTest.java | 63 mPluginManager = mDependency.injectMockDependency(PluginManager.class); in setup() 64 mTunerService = mDependency.injectMockDependency(TunerService.class); in setup() 65 mConfigurationController = mDependency.injectMockDependency(ConfigurationController.class); in setup()
|
D | KeyButtonViewTest.java | 69 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/ |
D | QSTileImplTest.java | 85 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/ |
D | VolumeDialogImplTest.java | 74 mController = mDependency.injectMockDependency(VolumeDialogController.class); in setup() 75 mAccessibilityMgr = mDependency.injectMockDependency(AccessibilityManagerWrapper.class); in setup()
|