Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaTest.kt35 mDependency.injectMockDependency(AccessibilityController::class.java) in setup()
36 mDependency.injectMockDependency(ActivityStarter::class.java) in setup()
37 mDependency.injectMockDependency(AssistManager::class.java) in setup()
38 mDependency.injectTestDependency(Executor::class.java, Executor { it.run() }) in setup()
39 mDependency.injectMockDependency(FlashlightController::class.java) in setup()
40 mDependency.injectMockDependency(KeyguardStateController::class.java) in setup()
41 mDependency.injectMockDependency(TunerService::class.java) in setup()
DStatusBarNotificationPresenterTest.java94 mDependency.injectTestDependency(MetricsLogger.class, mMetricsLogger); in setup()
96 mDependency.injectTestDependency(StatusBarStateController.class, in setup()
98 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setup()
99 mDependency.injectTestDependency(NotificationRemoteInputManager.class, in setup()
101 mDependency.injectMockDependency(NotificationViewHierarchyManager.class); in setup()
102 mDependency.injectMockDependency(NotificationRemoteInputManager.Callback.class); in setup()
103 mDependency.injectMockDependency(NotificationLockscreenUserManager.class); in setup()
104 mDependency.injectMockDependency(NotificationMediaManager.class); in setup()
105 mDependency.injectMockDependency(VisualStabilityManager.class); in setup()
106 mDependency.injectMockDependency(NotificationGutsManager.class); in setup()
[all …]
DNavigationBarTransitionsTest.java51 mDependency.injectMockDependency(IWindowManager.class); in setup()
52 mDependency.injectMockDependency(AssistManager.class); in setup()
53 mDependency.injectMockDependency(OverviewProxyService.class); in setup()
54 mDependency.injectMockDependency(StatusBarStateController.class); in setup()
55 mDependency.injectMockDependency(KeyguardStateController.class); in setup()
57 .when(mDependency.injectMockDependency(NavigationModeController.class)) in setup()
DStatusBarRemoteInputCallbackTest.java67 mDependency.injectTestDependency(NotificationEntryManager.class, mEntryManager); in setUp()
68 mDependency.injectTestDependency(DeviceProvisionedController.class, in setUp()
70 mDependency.injectTestDependency(ShadeController.class, mShadeController); in setUp()
71 mDependency.injectTestDependency(NotificationLockscreenUserManager.class, in setUp()
DNavigationBarInflaterViewTest.java54 mDependency.injectMockDependency(AssistManager.class); in setUp()
55 mDependency.injectMockDependency(OverviewProxyService.class); in setUp()
56 mDependency.injectMockDependency(NavigationModeController.class); in setUp()
DHeadsUpManagerPhoneTest.java92 mDependency.injectMockDependency(AccessibilityManagerWrapper.class); in setUp()
96 mDependency.injectMockDependency(BubbleController.class); in setUp()
97 mDependency.injectMockDependency(NotificationShadeWindowController.class); in setUp()
98 mDependency.injectMockDependency(ConfigurationController.class); in setUp()
DNavigationBarButtonTest.java65 mDependency.injectMockDependency(AssistManager.class); in setup()
66 mDependency.injectMockDependency(OverviewProxyService.class); in setup()
67 mDependency.injectMockDependency(KeyguardStateController.class); in setup()
DLightBarTransitionsControllerTest.java53 mDependency.injectMockDependency(KeyguardStateController.class); in setup()
54 mDependency.injectMockDependency(StatusBarStateController.class); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestCase.java69 public TestableDependency mDependency; field in SysuiTestCase
76 mDependency = new TestableDependency(mContext); in SysuiSetup()
96 mDependency.injectTestDependency(BroadcastDispatcher.class, mFakeBroadcastDispatcher); in SysuiSetup()
99 mDependency.injectTestDependency(FalsingManager.class, new FalsingManagerFake()); in SysuiSetup()
100 mDependency.injectMockDependency(KeyguardUpdateMonitor.class); in SysuiSetup()
104 mDependency.injectMockDependency(LocalBluetoothManager.class); in SysuiSetup()
109 mDependency.injectMockDependency(SmartReplyController.class); in SysuiSetup()
110 mDependency.injectMockDependency(NotificationBlockingHelperManager.class); in SysuiSetup()
DSysuiBaseFragmentTest.java46 protected TestableDependency mDependency; field in SysuiBaseFragmentTest
57 mDependency = new TestableDependency(mContext); in SysuiSetup()
68 mDependency.injectMockDependency(AssistManager.class); in SysuiSetup()
90 mDependency.injectTestDependency(c, mLeakCheck.getLeakChecker(c)); in injectLeakCheckedDependency()
DExpandHelperTest.java52 mDependency.injectMockDependency(KeyguardUpdateMonitor.class); in setUp()
53 mDependency.injectMockDependency(NotificationMediaManager.class); in setUp()
58 mDependency, in setUp()
DDependencyTest.java35 mDependency.injectTestDependency(FlashlightController.class, f); in testClassDependency()
42 mDependency.injectTestDependency(Dependency.BG_LOOPER, l); in testStringDependency()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNonPhoneDependencyTest.java69 mDependency.injectMockDependency(KeyguardUpdateMonitor.class); in setUp()
70 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setUp()
76 mDependency.injectMockDependency(ShadeController.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
100 assertFalse(mDependency.hasInstantiatedDependency(NotificationShadeWindowController.class)); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
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()
106 mHelper = new NotificationTestHelper(mContext, mDependency, TestableLooper.get(this)); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java79 mDependency.injectTestDependency(RemoteInputQuickSettingsDisabler.class, in setUp()
81 mDependency.injectTestDependency(LightBarController.class, in setUp()
110 mDependency, in testSendRemoteInput_intentContainsResultsAndSource()
135 mDependency, in getTargetInputMethodUser()
181 mDependency, in testNoCrashWithoutVisibilityListener()
DKeyButtonViewTest.java80 mMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class); in setup()
81 mBubbleController = mDependency.injectMockDependency(BubbleController.class); in setup()
82 mDependency.injectMockDependency(OverviewProxyService.class); in setup()
83 mUiEventLogger = mDependency.injectMockDependency(UiEventLogger.class); in setup()
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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationFilterTest.java111 mDependency.injectTestDependency(ForegroundServiceController.class, mFsc); in setUp()
112 mDependency.injectTestDependency(NotificationGroupManager.class, in setUp()
116 mDependency.injectMockDependency(ShadeController.class); in setUp()
117 mDependency.injectMockDependency(NotificationLockscreenUserManager.class); in setUp()
118 mDependency.injectTestDependency(KeyguardEnvironment.class, mEnvironment); in setUp()
123 mDependency, in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java73 mDependency.injectTestDependency(KeyguardStateController.class, mKeyguardStateController); in setup()
74 mDependency.injectTestDependency(KeyguardSecurityModel.class, mKeyguardSecurityModel); in setup()
75 mDependency.injectTestDependency(KeyguardUpdateMonitor.class, mKeyguardUpdateMonitor); 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(KeyguardStateController.class); in setUp()
87 mNetworkController = mDependency.injectMockDependency(NetworkController.class); in setUp()
DScreenRecordTileTest.java65 mDependency.injectTestDependency(Dependency.BG_LOOPER, mTestableLooper.getLooper()); in setUp()
66 mController = mDependency.injectMockDependency(RecordingController.class); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFooterImplTest.java54 mActivityStarter = mDependency.injectMockDependency(ActivityStarter.class); in setup()
55 mDeviceProvisionedController = mDependency.injectMockDependency( in setup()
DQSPanelTest.java109 mDependency.injectTestDependency(ActivityStarter.class, mActivityStarter); in setup()
110 mDependency.injectMockDependency(SecurityController.class); in setup()
111 mDependency.injectTestDependency(Dependency.BG_LOOPER, mTestableLooper.getLooper()); in setup()
118 mMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class); in setup()
DQSFragmentTest.java83 mMockMetricsLogger = mDependency.injectMockDependency(MetricsLogger.class); in addLeakCheckDependencies()
93 mDependency.injectTestDependency(Dependency.BG_LOOPER, in addLeakCheckDependencies()
95 mDependency.injectMockDependency(UserSwitcherController.class); in addLeakCheckDependencies()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationGutsManagerTest.java141 mDependency.injectTestDependency(DeviceProvisionedController.class, in setUp()
143 mDependency.injectTestDependency(MetricsLogger.class, mMetricsLogger); in setUp()
144 mDependency.injectTestDependency(VisualStabilityManager.class, mVisualStabilityManager); in setUp()
145 mDependency.injectTestDependency(BubbleController.class, mBubbleController); in setUp()
146 mDependency.injectMockDependency(NotificationLockscreenUserManager.class); in setUp()
148 mHelper = new NotificationTestHelper(mContext, mDependency, TestableLooper.get(this)); in setUp()

1234