Home
last modified time | relevance | path

Searched refs:Dependency (Results 1 – 25 of 221) sorted by relevance

123456789

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DDependencyTest.java27 import com.android.systemui.Dependency.DependencyKey;
44 Assert.assertEquals(f, Dependency.get(FlashlightController.class)); in testClassDependency()
50 mDependency.injectTestDependency(Dependency.BG_LOOPER, l); in testStringDependency()
51 assertEquals(l, Dependency.get(Dependency.BG_LOOPER)); in testStringDependency()
58 Dependency.get(DUMPABLE); in testDump()
65 Dependency.clearDependencies(); in testInitDependency()
66 Dependency.initDependencies(SystemUIFactory.getInstance().getRootComponent()); in testInitDependency()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNonPhoneDependencyTest.java27 import com.android.systemui.Dependency;
71 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setUp()
79 NotificationEntryManager entryManager = Dependency.get(NotificationEntryManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
80 NotificationGutsManager gutsManager = Dependency.get(NotificationGutsManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
81 NotificationListener notificationListener = Dependency.get(NotificationListener.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
82 NotificationLogger notificationLogger = Dependency.get(NotificationLogger.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
83 NotificationMediaManager mediaManager = Dependency.get(NotificationMediaManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
85 Dependency.get(NotificationRemoteInputManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
87 Dependency.get(NotificationLockscreenUserManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
89 Dependency.get(NotificationViewHierarchyManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java33 import com.android.systemui.Dependency;
54 Dependency.get(NotificationRemoteInputManager.class);
56 Dependency.get(NotificationEntryManager.class);
58 Dependency.get(NotificationGroupManager.class);
82 Dependency.get(Dependency.MAIN_HANDLER).post(() -> { in onListenerConnected()
96 Dependency.get(Dependency.MAIN_HANDLER).post(() -> { in onNotificationPosted()
135 Dependency.get(Dependency.MAIN_HANDLER).post(() -> { in onNotificationRemoved()
151 Dependency.get(Dependency.MAIN_HANDLER).post(() -> { in onNotificationRankingUpdate()
DOperatorNameView.java32 import com.android.systemui.Dependency;
75 Dependency.get(DarkIconDispatcher.class).addDarkReceiver(this); in onAttachedToWindow()
76 Dependency.get(NetworkController.class).addCallback(this); in onAttachedToWindow()
77 Dependency.get(TunerService.class).addTunable(this, KEY_SHOW_OPERATOR_NAME); in onAttachedToWindow()
84 Dependency.get(DarkIconDispatcher.class).removeDarkReceiver(this); in onDetachedFromWindow()
85 Dependency.get(NetworkController.class).removeCallback(this); in onDetachedFromWindow()
86 Dependency.get(TunerService.class).removeTunable(this); in onDetachedFromWindow()
117 boolean showOperatorName = Dependency.get(TunerService.class) in update()
DNavigationBarController.java21 import static com.android.systemui.Dependency.MAIN_HANDLER_NAME;
39 import com.android.systemui.Dependency;
142 ? Dependency.get(LightBarController.class) in createNavigationBar()
144 Dependency.get(DarkIconDispatcher.class), in createNavigationBar()
145 Dependency.get(BatteryController.class)); in createNavigationBar()
153 ? Dependency.get(AutoHideController.class) in createNavigationBar()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java50 import com.android.systemui.Dependency;
110 mDependency.injectTestDependency(Dependency.BG_LOOPER, mBGLooper.getLooper()); in setup()
141 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testIsFinished_trueAfterQuerying()
151 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_callsListenerTwice()
166 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion()
181 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_correctTilesAndOrderOnlyStockTiles()
202 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles()
223 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_otherTileNotIncluded()
240 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testCustomTileNotCreated()
266 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testThirdPartyTilesInactive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java45 import com.android.systemui.Dependency;
86 Dependency.get(LockscreenGestureLogger.class);
90 private final ShadeController mShadeController = Dependency.get(ShadeController.class);
91 private final ActivityStarter mActivityStarter = Dependency.get(ActivityStarter.class);
92 private final KeyguardMonitor mKeyguardMonitor = Dependency.get(KeyguardMonitor.class);
94 Dependency.get(NotificationViewHierarchyManager.class);
96 Dependency.get(NotificationLockscreenUserManager.class);
98 (SysuiStatusBarStateController) Dependency.get(StatusBarStateController.class);
100 Dependency.get(NotificationEntryManager.class);
102 Dependency.get(NotificationInterruptionStateProvider.class);
[all …]
DKeyguardEnvironmentImpl.java23 import com.android.systemui.Dependency;
37 Dependency.get(NotificationLockscreenUserManager.class);
39 Dependency.get(DeviceProvisionedController.class);
DStatusBar.java28 import static com.android.systemui.Dependency.ALLOW_NOTIFICATION_LONG_PRESS_NAME;
29 import static com.android.systemui.Dependency.BG_HANDLER;
30 import static com.android.systemui.Dependency.MAIN_HANDLER;
135 import com.android.systemui.Dependency;
404 Dependency.get(RemoteInputQuickSettingsDisabler.class);
424 Dependency.get(NotificationAlertingManager.class);
435 private final DisplayMetrics mDisplayMetrics = Dependency.get(DisplayMetrics.class);
444 private final MetricsLogger mMetricsLogger = Dependency.get(MetricsLogger.class);
481 private final UiOffloadThread mUiOffloadThread = Dependency.get(UiOffloadThread.class);
583 (SysuiStatusBarStateController) Dependency.get(StatusBarStateController.class);
[all …]
DStatusBarTouchableRegionManager.java28 import com.android.systemui.Dependency;
40 private final BubbleController mBubbleController = Dependency.get(BubbleController.class);
59 mStatusBarWindowController = Dependency.get(StatusBarWindowController.class); in StatusBarTouchableRegionManager()
70 Dependency.get(ConfigurationController.class).addCallback(this); in StatusBarTouchableRegionManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIService.java59 }, Dependency.get(Dependency.MAIN_HANDLER)); in onCreate()
82 pw.println("dumping service: " + Dependency.class.getName()); in dumpServices()
83 Dependency.staticDump(fd, pw, args); in dumpServices()
90 ((PluginManagerImpl) Dependency.get(PluginManager.class)).dump(fd, pw, args); in dumpServices()
94 if (Dependency.class.getName().endsWith(svc)) { in dumpServices()
95 Dependency.staticDump(fd, pw, args); in dumpServices()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginInitializerImpl.java21 import com.android.systemui.Dependency;
37 return Dependency.get(Dependency.BG_LOOPER); in getBgLooper()
44 Dependency.get(PluginDependencyProvider.class) in onPluginManagerInit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DClockPreference.java23 import com.android.systemui.Dependency;
50 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST, in onAttached()
56 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
87 Dependency.get(TunerService.class).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 in persistString()
94 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_BLACKLIST, in persistString()
DBatteryPreference.java29 import com.android.systemui.Dependency;
55 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST); in onAttached()
60 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
95 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_BLACKLIST, in persistString()
DTunerSwitch.java11 import com.android.systemui.Dependency;
31 Dependency.get(TunerService.class).addTunable(this, getKey().split(",")); in onAttached()
36 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java28 import com.android.systemui.Dependency;
44 private final NotificationGroupManager mGroupManager = Dependency.get(
57 mEnvironment = Dependency.get(NotificationData.KeyguardEnvironment.class); in getEnvironment()
64 mShadeController = Dependency.get(ShadeController.class); in getShadeController()
71 mFsc = Dependency.get(ForegroundServiceController.class); in getFsc()
78 mUserManager = Dependency.get(NotificationLockscreenUserManager.class); in getUserManager()
/frameworks/base/packages/SystemUI/docs/
Ddagger.md16 for converting everything in [Dependency.java](packages/systemui/src/com/android/systemui/Dependenc…
17 to use Dagger. Since a lot of SystemUI depends on Dependency, stubs have been added to Dependency
23 For the classes that we're using in Dependency and are switching to dagger, the
37 Dependency.DependencyInjector createDependency();
64 + Dependency.DependencyInjector createDependency();
67 public class Dependency extends SystemUI {
71 + Dependency createSystemUI();
123 If you need to access this from Dependency#get, then add an adapter to Dependency
128 public class Dependency {
170 off from Dependency#get uses. Similar to how fragments are injected, the view
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogComponent.java29 import com.android.systemui.Dependency;
74 mController = (VolumeDialogControllerImpl) Dependency.get(VolumeDialogController.class); in VolumeDialogComponent()
77 Dependency.get(PluginDependencyProvider.class) in VolumeDialogComponent()
79 Dependency.get(ExtensionController.class).newExtension(VolumeDialog.class) in VolumeDialogComponent()
90 Dependency.get(TunerService.class).addTunable(this, VOLUME_DOWN_SILENT, VOLUME_UP_SILENT, in VolumeDialogComponent()
175 Dependency.get(ActivityStarter.class).startActivity(intent, in startSettings()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java74 import com.android.systemui.Dependency;
290 mDeviceProvisionedController = Dependency.get(DeviceProvisionedController.class); in start()
302 mScreenLifecycle = Dependency.get(ScreenLifecycle.class); in start()
410 mKeyguardMonitor = Dependency.get(KeyguardMonitor.class); in getDependencies()
411 mWakefulnessLifecycle = Dependency.get(WakefulnessLifecycle.class); in getDependencies()
412 mScreenLifecycle = Dependency.get(ScreenLifecycle.class); in getDependencies()
415 mZenController = Dependency.get(ZenModeController.class); in getDependencies()
417 mNetworkController = Dependency.get(NetworkController.class); in getDependencies()
421 mIconController = Dependency.get(StatusBarIconController.class); in getDependencies()
422 mLightBarController = Dependency.get(LightBarController.class); in getDependencies()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationRowBinderImpl.java33 import com.android.systemui.Dependency;
61 Dependency.get(NotificationGroupManager.class);
63 Dependency.get(NotificationGutsManager.class);
64 private final UiOffloadThread mUiOffloadThread = Dependency.get(UiOffloadThread.class);
66 Dependency.get(NotificationInterruptionStateProvider.class);
84 private final NotificationLogger mNotificationLogger = Dependency.get(NotificationLogger.class);
98 mRemoteInputManager = Dependency.get(NotificationRemoteInputManager.class); in getRemoteInputManager()
263 Dependency.get(NotificationLockscreenUserManager.class).needsRedaction(entry)); in updateNotification()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/qs/car/
DCarQSFooter.java30 import com.android.systemui.Dependency;
65 mUserInfoController = Dependency.get(UserInfoController.class); in onFinishInflate()
81 ActivityStarter activityStarter = Dependency.get(ActivityStarter.class); in onFinishInflate()
83 if (!Dependency.get(DeviceProvisionedController.class).isCurrentUserSetup()) { in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManager.java30 import com.android.systemui.Dependency;
102 NotificationGutsManager manager = Dependency.get(NotificationGutsManager.class); in perhapsShowBlockingHelper()
118 Dependency.get(MetricsLogger.class) in perhapsShowBlockingHelper()
142 Dependency.get(NotificationEntryManager.class).updateNotifications(); in dismissCurrentBlockingHelper()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeFactory.java28 import com.android.systemui.Dependency;
49 SensorManager sensorManager = Dependency.get(AsyncSensorManager.class); in assembleMachine()
51 DockManager dockManager = Dependency.get(DockManager.class); in assembleMachine()
52 WakefulnessLifecycle wakefulnessLifecycle = Dependency.get(WakefulnessLifecycle.class); in assembleMachine()
68 wakefulnessLifecycle, Dependency.get(BatteryController.class)); in assembleMachine()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsImpl.java35 import com.android.systemui.Dependency;
58 mKeyguardMonitor = Dependency.get(KeyguardMonitor.class); in GlobalActionsImpl()
59 mDeviceProvisionedController = Dependency.get(DeviceProvisionedController.class); in GlobalActionsImpl()
61 mPanelExtension = Dependency.get(ExtensionController.class) in GlobalActionsImpl()
132 GradientColors colors = Dependency.get(SysuiColorExtractor.class).getNeutralColors(); in showShutdownUi()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/voicerecognition/car/
DConnectedDeviceVoiceRecognitionNotifier.java29 import com.android.systemui.Dependency;
76 mHandler = Dependency.get(Dependency.MAIN_HANDLER); in ConnectedDeviceVoiceRecognitionNotifier()

123456789