Home
last modified time | relevance | path

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

123456789

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DDependencyTest.java27 import com.android.systemui.Dependency.DependencyKey;
46 Assert.assertEquals(f, Dependency.get(FlashlightController.class)); in testClassDependency()
52 mDependency.injectTestDependency(Dependency.BG_LOOPER, l); in testStringDependency()
53 assertEquals(l, Dependency.get(Dependency.BG_LOOPER)); in testStringDependency()
60 Dependency.get(DUMPABLE); in testDump()
69 Dependency.get(CONFIGURATION_CHANGED_RECEIVER); in testConfigurationChanged()
76 Dependency.clearDependencies(); in testInitDependency()
77 Dependency.initDependencies(mContext); in testInitDependency()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationListener.java33 import com.android.systemui.Dependency;
50 Dependency.get(NotificationRemoteInputManager.class);
52 Dependency.get(NotificationEntryManager.class);
54 Dependency.get(NotificationGroupManager.class);
77 Dependency.get(Dependency.MAIN_HANDLER).post(() -> { in onListenerConnected()
91 Dependency.get(Dependency.MAIN_HANDLER).post(() -> { in onNotificationPosted()
130 Dependency.get(Dependency.MAIN_HANDLER).post(() -> { in onNotificationRemoved()
146 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()
DNotificationLockscreenUserManagerImpl.java44 import com.android.systemui.Dependency;
71 Dependency.get(DeviceProvisionedController.class);
72 private final KeyguardMonitor mKeyguardMonitor = Dependency.get(KeyguardMonitor.class);
129 Dependency.get(OverviewProxyService.class).startConnectionToCurrentUser();
169 mEntryManager = Dependency.get(NotificationEntryManager.class); in getEntryManager()
182 Dependency.get(StatusBarStateController.class).addCallback(this); in NotificationLockscreenUserManagerImpl()
190 mLockscreenSettingsObserver = new ContentObserver(Dependency.get(Dependency.MAIN_HANDLER)) { in setUpWithPresenter()
203 mSettingsObserver = new ContentObserver(Dependency.get(Dependency.MAIN_HANDLER)) { in setUpWithPresenter()
/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/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java49 import com.android.systemui.Dependency;
107 mDependency.injectTestDependency(Dependency.BG_LOOPER, mBGLooper.getLooper()); in setup()
138 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testIsFinished_trueAfterQuerying()
148 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_callsListenerTwice()
163 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion()
178 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_correctTilesAndOrderOnlyStockTiles()
199 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_correctTilesAndOrderOtherFactoryTiles()
220 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_otherTileNotIncluded()
251 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;
33 Dependency.get(NotificationLockscreenUserManager.class);
35 Dependency.get(DeviceProvisionedController.class);
DStatusBarTouchableRegionManager.java28 import com.android.systemui.Dependency;
41 private final AssistManager mAssistManager = Dependency.get(AssistManager.class);
42 private final BubbleController mBubbleController = Dependency.get(BubbleController.class);
66 Dependency.get(ConfigurationController.class).addCallback(this); in StatusBarTouchableRegionManager()
DStatusBar.java28 import static com.android.systemui.Dependency.BG_HANDLER;
29 import static com.android.systemui.Dependency.MAIN_HANDLER;
134 import com.android.systemui.Dependency;
388 Dependency.get(RemoteInputQuickSettingsDisabler.class);
408 Dependency.get(NotificationAlertingManager.class);
419 private final DisplayMetrics mDisplayMetrics = Dependency.get(DisplayMetrics.class);
428 private final MetricsLogger mMetricsLogger = Dependency.get(MetricsLogger.class);
465 private final UiOffloadThread mUiOffloadThread = Dependency.get(UiOffloadThread.class);
543 private KeyguardMonitor mKeyguardMonitor = Dependency.get(KeyguardMonitor.class);
564 (SysuiStatusBarStateController) Dependency.get(StatusBarStateController.class);
[all …]
/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()
DStatusBarSwitch.java29 import com.android.systemui.Dependency;
46 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST); in onAttached()
51 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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DFileDescriptor.cs101 if (index < 0 || index >= proto.Dependency.Count)
105 string name = proto.Dependency[index];
247 if (dependencies.Length != proto.Dependency.Count) in BuildFrom()
254 for (int i = 0; i < proto.Dependency.Count; i++) in BuildFrom()
256 if (dependencies[i].Name != proto.Dependency[i]) in BuildFrom()
262 proto.Dependency[i] + " but was: " + dependencies[i].Name); in BuildFrom()
/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/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/collection/
DNotificationRowBinderImpl.java34 import com.android.systemui.Dependency;
60 Dependency.get(NotificationGroupManager.class);
62 Dependency.get(NotificationGutsManager.class);
63 private final UiOffloadThread mUiOffloadThread = Dependency.get(UiOffloadThread.class);
65 Dependency.get(NotificationInterruptionStateProvider.class);
81 private final NotificationLogger mNotificationLogger = Dependency.get(NotificationLogger.class);
91 mRemoteInputManager = Dependency.get(NotificationRemoteInputManager.class); in getRemoteInputManager()
256 Dependency.get(NotificationLockscreenUserManager.class).needsRedaction(entry)); in updateNotification()
/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/globalactions/
DGlobalActionsImpl.java34 import com.android.systemui.Dependency;
57 mKeyguardMonitor = Dependency.get(KeyguardMonitor.class); in GlobalActionsImpl()
58 mDeviceProvisionedController = Dependency.get(DeviceProvisionedController.class); in GlobalActionsImpl()
60 mPanelExtension = Dependency.get(ExtensionController.class) in GlobalActionsImpl()
130 GradientColors colors = Dependency.get(SysuiColorExtractor.class).getNeutralColors(); in showShutdownUi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerFactory.java21 import com.android.systemui.Dependency;
39 sInstance = Dependency.get(FalsingManager.class); in getInstance()

123456789