/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NonPhoneDependencyTest.java | 28 import com.android.systemui.Dependency; 70 mDependency.injectTestDependency(Dependency.MAIN_HANDLER, in setUp() 78 NotificationEntryManager entryManager = Dependency.get(NotificationEntryManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager() 79 NotificationGutsManager gutsManager = Dependency.get(NotificationGutsManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager() 80 NotificationListener notificationListener = Dependency.get(NotificationListener.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager() 81 NotificationLogger notificationLogger = Dependency.get(NotificationLogger.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager() 82 NotificationMediaManager mediaManager = Dependency.get(NotificationMediaManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager() 84 Dependency.get(NotificationRemoteInputManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager() 86 Dependency.get(NotificationLockscreenUserManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager() 88 Dependency.get(NotificationViewHierarchyManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | DependencyTest.java | 36 Assert.assertEquals(f, Dependency.get(FlashlightController.class)); in testClassDependency() 42 mDependency.injectTestDependency(Dependency.BG_LOOPER, l); in testStringDependency() 43 assertEquals(l, Dependency.get(Dependency.BG_LOOPER)); in testStringDependency() 48 Dependency.clearDependencies(); in testInitDependency() 49 Dependency dependency = in testInitDependency()
|
D | TestableDependency.java | 23 public class TestableDependency extends Dependency { 28 private final Dependency mParent; 30 public TestableDependency(Dependency parent) { in TestableDependency()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | OperatorNameView.java | 30 import com.android.systemui.Dependency; 73 mKeyguardUpdateMonitor = Dependency.get(KeyguardUpdateMonitor.class); in onAttachedToWindow() 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() 121 boolean showOperatorName = Dependency.get(TunerService.class) in update()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginInitializerImpl.java | 22 import com.android.systemui.Dependency; 38 return Dependency.get(Dependency.BG_LOOPER); in getBgLooper() 45 Dependency.get(PluginDependencyProvider.class) in onPluginManagerInit()
|
D | PluginDependencyProvider.java | 19 import com.android.systemui.Dependency; 43 allowPluginDependency(cls, Dependency.get(cls)); in allowPluginDependency()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarNotificationPresenter.java | 44 import com.android.systemui.Dependency; 89 Dependency.get(LockscreenGestureLogger.class); 93 private final ActivityStarter mActivityStarter = Dependency.get(ActivityStarter.class); 96 Dependency.get(NotificationViewHierarchyManager.class); 98 Dependency.get(NotificationLockscreenUserManager.class); 100 (SysuiStatusBarStateController) Dependency.get(StatusBarStateController.class); 102 Dependency.get(NotificationEntryManager.class); 104 Dependency.get(NotificationMediaManager.class); 106 Dependency.get(VisualStabilityManager.class); 108 Dependency.get(NotificationGutsManager.class); [all …]
|
D | KeyguardEnvironmentImpl.java | 23 import com.android.systemui.Dependency; 37 Dependency.get(NotificationLockscreenUserManager.class); 39 Dependency.get(DeviceProvisionedController.class);
|
D | PhoneStatusBarView.java | 40 import com.android.systemui.Dependency; 92 mCommandQueue = Dependency.get(CommandQueue.class); in PhoneStatusBarView() 93 mContentInsetsProvider = Dependency.get(StatusBarContentInsetsProvider.class); in PhoneStatusBarView() 123 Dependency.get(DarkIconDispatcher.class).addDarkReceiver(mBattery); in onAttachedToWindow() 124 Dependency.get(DarkIconDispatcher.class).addDarkReceiver(mClock); in onAttachedToWindow() 133 Dependency.get(DarkIconDispatcher.class).removeDarkReceiver(mBattery); in onDetachedFromWindow() 134 Dependency.get(DarkIconDispatcher.class).removeDarkReceiver(mClock); in onDetachedFromWindow()
|
D | KeyguardStatusBarView.java | 49 import com.android.systemui.Dependency; 145 mBatteryController = Dependency.get(BatteryController.class); in onFinishInflate() 146 mAnimationScheduler = Dependency.get(SystemStatusAnimationScheduler.class); in onFinishInflate() 147 mFeatureFlags = Dependency.get(FeatureFlags.class); in onFinishInflate() 366 UserInfoController userInfoController = Dependency.get(UserInfoController.class); in onAttachedToWindow() 369 Dependency.get(ConfigurationController.class).addCallback(this); in onAttachedToWindow() 372 Dependency.get(StatusBarIconController.class).addIconGroup(mIconManager); in onAttachedToWindow() 380 Dependency.get(UserInfoController.class).removeCallback(this); in onDetachedFromWindow() 381 Dependency.get(StatusBarIconController.class).removeIconGroup(mIconManager); in onDetachedFromWindow() 382 Dependency.get(ConfigurationController.class).removeCallback(this); in onDetachedFromWindow() [all …]
|
D | NotificationListenerWithPlugins.java | 25 import com.android.systemui.Dependency; 48 Dependency.get(PluginManager.class).addPluginListener(this, in registerAsSystemService() 55 Dependency.get(PluginManager.class).removePluginListener(this); in unregisterAsSystemService()
|
D | KeyguardBottomAreaView.java | 81 import com.android.systemui.Dependency; 290 mKeyguardStateController = Dependency.get(KeyguardStateController.class); in onFinishInflate() 297 mActivityStarter = Dependency.get(ActivityStarter.class); in onFinishInflate() 298 mFlashlightController = Dependency.get(FlashlightController.class); in onFinishInflate() 299 mAccessibilityController = Dependency.get(AccessibilityController.class); in onFinishInflate() 321 mRightExtension = Dependency.get(ExtensionController.class).newExtension(IntentButton.class) in onAttachedToWindow() 328 mLeftExtension = Dependency.get(ExtensionController.class).newExtension(IntentButton.class) in onAttachedToWindow() 339 mKeyguardUpdateMonitor = Dependency.get(KeyguardUpdateMonitor.class); in onAttachedToWindow() 677 Dependency.get(AssistManager.class).launchVoiceAssistFromKeyguard(); in launchVoiceAssist() 681 Dependency.get(Dependency.BACKGROUND_EXECUTOR).execute(runnable); in launchVoiceAssist() [all …]
|
D | SystemUIDialog.java | 31 import com.android.systemui.Dependency; 108 if (Dependency.get(KeyguardStateController.class).isShowing()) { in setWindowOnTop() 152 mBroadcastDispatcher = Dependency.get(BroadcastDispatcher.class); in DismissReceiver()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ClockPreference.java | 23 import com.android.systemui.Dependency; 50 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_HIDE_LIST, 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_HIDE_LIST, in persistString()
|
D | BatteryPreference.java | 29 import com.android.systemui.Dependency; 55 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_HIDE_LIST); in onAttached() 60 Dependency.get(TunerService.class).removeTunable(this); in onDetached() 95 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_HIDE_LIST, in persistString()
|
D | TunerSwitch.java | 11 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()
|
D | StatusBarSwitch.java | 29 import com.android.systemui.Dependency; 46 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_HIDE_LIST); in onAttached() 51 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
|
D | TunerService.java | 21 import com.android.systemui.Dependency; 63 Dependency.get(TunerService.class).clearAll(); in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DateView.java | 31 import com.android.systemui.Dependency; 87 mBroadcastDispatcher = Dependency.get(BroadcastDispatcher.class); in DateView() 100 Dependency.get(Dependency.TIME_TICK_HANDLER)); in onAttachedToWindow()
|
/frameworks/base/packages/SystemUI/docs/ |
D | dagger.md | 16 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(); 88 If you need to access this from Dependency#get, then add an adapter to Dependency 93 public class Dependency { 169 - Eliminate usages of Dependency#get
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogComponent.java | 29 import com.android.systemui.Dependency; 89 Dependency.get(PluginDependencyProvider.class) in VolumeDialogComponent() 91 Dependency.get(ExtensionController.class).newExtension(VolumeDialog.class) in VolumeDialogComponent() 102 Dependency.get(TunerService.class).addTunable(this, VOLUME_DOWN_SILENT, VOLUME_UP_SILENT, in VolumeDialogComponent() 192 Dependency.get(ActivityStarter.class).startActivity(intent, in startSettings()
|
/frameworks/opt/chips/ |
D | build.gradle | 1 import org.gradle.api.artifacts.Dependency; 17 Dependency findDependency(String projectName, String moduleName) {
|
/frameworks/opt/photoviewer/ |
D | build.gradle | 1 import org.gradle.api.artifacts.Dependency; 18 Dependency findDependency(String projectName, String moduleName) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDetail.java | 43 import com.android.systemui.Dependency; 200 Dependency.get(CommandQueue.class).animateExpandSettingsPanel(null); in handleShowingDetail() 212 Dependency.get(CommandQueue.class).animateCollapsePanels(); in handleShowingDetail() 236 Dependency.get(MetricsLogger.class).visible(adapter.getMetricsCategory()); in handleShowingDetail() 247 Dependency.get(MetricsLogger.class).hidden(mDetailAdapter.getMetricsCategory()); in handleShowingDetail() 292 Dependency.get(MetricsLogger.class).action(ACTION_QS_MORE_SETTINGS, in setupDetailFooter() 295 Dependency.get(ActivityStarter.class) in setupDetailFooter()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ |
D | ToggleSeekBar.java | 27 import com.android.systemui.Dependency; 52 Dependency.get(ActivityStarter.class).postStartActivityDismissingKeyguard(intent, 0); in onTouchEvent()
|