Home
last modified time | relevance | path

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

123456789

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java22 import com.android.systemui.Dependency;
48 new Handler(Dependency.get(Dependency.BG_LOOPER))); in AutoTileManager()
59 Dependency.get(HotspotController.class).addCallback(mHotspotCallback); in AutoTileManager()
62 Dependency.get(DataSaverController.class).addCallback(mDataSaverListener); in AutoTileManager()
80 Dependency.get(ManagedProfileController.class).addCallback(mProfileCallback); in AutoTileManager()
84 Dependency.get(ColorDisplayController.class).setListener(mColorDisplayCallback); in AutoTileManager()
93 Dependency.get(HotspotController.class).removeCallback(mHotspotCallback); in destroy()
94 Dependency.get(DataSaverController.class).removeCallback(mDataSaverListener); in destroy()
95 Dependency.get(ManagedProfileController.class).removeCallback(mProfileCallback); in destroy()
96 Dependency.get(ColorDisplayController.class).setListener(null); in destroy()
[all …]
DKeyguardStatusBarView.java44 import com.android.systemui.Dependency;
115 mBatteryController = Dependency.get(BatteryController.class); in onFinishInflate()
317 UserInfoController userInfoController = Dependency.get(UserInfoController.class); in onAttachedToWindow()
319 mUserSwitcherController = Dependency.get(UserSwitcherController.class); in onAttachedToWindow()
322 Dependency.get(ConfigurationController.class).addCallback(this); in onAttachedToWindow()
324 Dependency.get(StatusBarIconController.class).addIconGroup(mIconManager); in onAttachedToWindow()
331 Dependency.get(UserInfoController.class).removeCallback(this); in onDetachedFromWindow()
332 Dependency.get(StatusBarIconController.class).removeIconGroup(mIconManager); in onDetachedFromWindow()
333 Dependency.get(ConfigurationController.class).removeCallback(this); in onDetachedFromWindow()
450 ((UserInfoControllerImpl) Dependency.get(UserInfoController.class)) in onThemeChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNonPhoneDependencyTest.java28 import com.android.systemui.Dependency;
66 NotificationEntryManager entryManager = Dependency.get(NotificationEntryManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
67 NotificationGutsManager gutsManager = Dependency.get(NotificationGutsManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
68 NotificationListener notificationListener = Dependency.get(NotificationListener.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
69 NotificationLogger notificationLogger = Dependency.get(NotificationLogger.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
70 NotificationMediaManager mediaManager = Dependency.get(NotificationMediaManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
72 Dependency.get(NotificationRemoteInputManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
74 Dependency.get(NotificationLockscreenUserManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
76 Dependency.get(NotificationViewHierarchyManager.class); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
80 Dependency.get(NotificationGroupManager.class)); in testNotificationManagementCodeHasNoDependencyOnStatusBarWindowManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileQueryHelperTest.java31 import com.android.systemui.Dependency;
58 mDependency.injectTestDependency(Dependency.BG_LOOPER, mBGLooper.getLooper()); in setup()
72 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testIsFinished_trueAfterQuerying()
82 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_callsListenerTwice()
97 waitForIdleSync(Dependency.get(Dependency.MAIN_HANDLER)); in testQueryTiles_isFinishedFalseOnListenerCalls_thenTrueAfterCompletion()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DDependencyTest.java26 import com.android.systemui.Dependency.DependencyKey;
45 Assert.assertEquals(f, Dependency.get(FlashlightController.class)); in testClassDependency()
51 mDependency.injectTestDependency(Dependency.BG_LOOPER, l); in testStringDependency()
52 assertEquals(l, Dependency.get(Dependency.BG_LOOPER)); in testStringDependency()
59 Dependency.get(DUMPABLE); in testDump()
68 Dependency.get(CONFIGURATION_CHANGED_RECEIVER); in testConfigurationChanged()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DExpr.java53 private List<Dependency> mDependencies;
55 private List<Dependency> mDependants = new ArrayList<Dependency>();
151 for (Dependency dependency : getDependencies()) { in resolveInvalidFlags()
222 for (Dependency dependency : getDependants()) { in resolveShouldReadWithConditionals()
242 for (Dependency dependency : getDependants()) { in resolveShouldReadFlags()
259 private static boolean isUnreadElevated(Dependency input) { in isUnreadElevated()
383 abstract protected List<Dependency> constructDependencies(); in constructDependencies()
389 protected List<Dependency> constructDynamicChildrenDependencies() { in constructDynamicChildrenDependencies()
390 List<Dependency> dependencies = new ArrayList<Dependency>(); in constructDynamicChildrenDependencies()
395 dependencies.add(new Dependency(this, node)); in constructDynamicChildrenDependencies()
[all …]
DTernaryExpr.java85 protected List<Dependency> constructDependencies() { in constructDependencies()
86 List<Dependency> deps = new ArrayList<Dependency>(); in constructDependencies()
88 final Dependency pred = new Dependency(this, predExpr); in constructDependencies()
94 deps.add(new Dependency(this, ifTrueExpr, predExpr, true)); in constructDependencies()
98 deps.add(new Dependency(this, ifFalseExpr, predExpr, false)); in constructDependencies()
DListenerExpr.java71 protected List<Dependency> constructDependencies() { in constructDependencies()
72 final List<Dependency> dependencies = new ArrayList<Dependency>(); in constructDependencies()
73 Dependency dependency = new Dependency(this, getTarget()); in constructDependencies()
DDependency.java16 public class Dependency { class
29 public Dependency(Expr dependant, Expr other) { in Dependency() method in Dependency
37 public Dependency(Expr dependant, Expr other, Expr condition, boolean expectedOutput) { in Dependency() method in Dependency
DCastExpr.java40 protected List<Dependency> constructDependencies() { in constructDependencies()
41 final List<Dependency> dependencies = constructDynamicChildrenDependencies(); in constructDependencies()
42 for (Dependency dependency : dependencies) { in constructDependencies()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java33 import com.android.systemui.Dependency;
76 Dependency.get(DarkIconDispatcher.class).addDarkReceiver(this); in onAttachedToWindow()
77 Dependency.get(NetworkController.class).addCallback(this); in onAttachedToWindow()
78 Dependency.get(TunerService.class).addTunable(this, KEY_SHOW_OPERATOR_NAME); in onAttachedToWindow()
85 Dependency.get(DarkIconDispatcher.class).removeDarkReceiver(this); in onDetachedFromWindow()
86 Dependency.get(NetworkController.class).removeCallback(this); in onDetachedFromWindow()
87 Dependency.get(TunerService.class).removeTunable(this); in onDetachedFromWindow()
118 boolean showOperatorName = Dependency.get(TunerService.class) in update()
DNotificationBlockingHelperManager.java27 import com.android.systemui.Dependency;
92 NotificationGutsManager manager = Dependency.get(NotificationGutsManager.class); in perhapsShowBlockingHelper()
103 Dependency.get(MetricsLogger.class) in perhapsShowBlockingHelper()
127 Dependency.get(NotificationEntryManager.class).updateNotifications(); in dismissCurrentBlockingHelper()
DSmartReplyController.java23 import com.android.systemui.Dependency;
36 mBarService = Dependency.get(IStatusBarService.class); in SmartReplyController()
41 = Dependency.get(NotificationEntryManager.class); in smartReplySent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DClockPreference.java22 import com.android.systemui.Dependency;
49 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST, in onAttached()
55 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
86 Dependency.get(TunerService.class).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 in persistString()
93 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_BLACKLIST, in persistString()
DTunablePadding.java21 import com.android.systemui.Dependency;
47 Dependency.get(TunerService.class).addTunable(this, key); in TunablePadding()
67 Dependency.get(TunerService.class).removeTunable(this); in destroy()
82 return Dependency.get(TunablePaddingService.class).add(view, key, defaultSize, flags); in addTunablePadding()
DBatteryPreference.java25 import com.android.systemui.Dependency;
53 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST); in onAttached()
58 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
93 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_BLACKLIST, in persistString()
DTunerSwitch.java10 import com.android.systemui.Dependency;
30 Dependency.get(TunerService.class).addTunable(this, getKey().split(",")); in onAttached()
35 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java22 import com.android.systemui.Dependency;
162 Dependency.get(LeakDetector.class).trackGarbage(mItem); in clearItem()
169 Dependency.get(LeakDetector.class).trackGarbage(mItem); in notifyChanged()
210 Dependency.get(PluginManager.class).addPluginListener(action, this, cls); in PluginItem()
238 Dependency.get(PluginManager.class).removePluginListener(this); in destroy()
254 Dependency.get(TunerService.class).addTunable(this, setting); in TunerItem()
264 Dependency.get(TunerService.class).removeTunable(this); in destroy()
292 Dependency.get(ConfigurationController.class).addCallback(this); in UiModeItem()
312 Dependency.get(ConfigurationController.class).removeCallback(this); in destroy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogComponent.java31 import com.android.systemui.Dependency;
76 mController = (VolumeDialogControllerImpl) Dependency.get(VolumeDialogController.class); in VolumeDialogComponent()
79 Dependency.get(PluginDependencyProvider.class) in VolumeDialogComponent()
81 Dependency.get(ExtensionController.class).newExtension(VolumeDialog.class) in VolumeDialogComponent()
93 Dependency.get(TunerService.class).addTunable(this, VOLUME_DOWN_SILENT, VOLUME_UP_SILENT, in VolumeDialogComponent()
187 Dependency.get(ActivityStarter.class).startActivity(intent, in startSettings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/car/
DCarQSFooter.java27 import com.android.systemui.Dependency;
62 mUserInfoController = Dependency.get(UserInfoController.class); in onFinishInflate()
78 ActivityStarter activityStarter = Dependency.get(ActivityStarter.class); in onFinishInflate()
80 if (!Dependency.get(DeviceProvisionedController.class).isCurrentUserSetup()) { in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterImpl.java50 import com.android.systemui.Dependency;
113 Dependency.get(ActivityStarter.class).postQSRunnableDismissingKeyguard(() -> in onFinishInflate()
141 mUserInfoController = Dependency.get(UserInfoController.class); in onFinishInflate()
142 mActivityStarter = Dependency.get(ActivityStarter.class); in onFinishInflate()
313 if (Dependency.get(NetworkController.class).hasVoiceCallingFeature()) { in updateListeners()
314 Dependency.get(NetworkController.class).addEmergencyListener(this); in updateListeners()
315 Dependency.get(NetworkController.class).addCallback(this); in updateListeners()
319 Dependency.get(NetworkController.class).removeEmergencyListener(this); in updateListeners()
320 Dependency.get(NetworkController.class).removeCallback(this); in updateListeners()
341 if (!Dependency.get(DeviceProvisionedController.class).isCurrentUserSetup()) { in onClick()
[all …]
DQSTileHost.java31 import com.android.systemui.Dependency;
79 mServices = new TileServices(this, Dependency.get(Dependency.BG_LOOPER)); in QSTileHost()
82 Dependency.get(PluginManager.class).addPluginListener(this, QSFactory.class, true); in QSTileHost()
84 Dependency.get(TunerService.class).addTunable(this, TILES_SETTING); in QSTileHost()
96 Dependency.get(TunerService.class).removeTunable(this); in destroy()
98 Dependency.get(PluginManager.class).removePluginListener(this); in destroy()
105 String value = Dependency.get(TunerService.class).getValue(TILES_SETTING); in onPluginConnected()
115 String value = Dependency.get(TunerService.class).getValue(TILES_SETTING); in onPluginDisconnected()
/frameworks/support/jetifier/jetifier/gradle-plugin/src/main/kotlin/com/android/tools/build/jetifier/plugin/gradle/
DJetifyGlobalTask.kt24 import org.gradle.api.artifacts.Dependency in <lambda>()
99 val dependenciesMap = mutableMapOf<File, MutableSet<Dependency>>() in <lambda>()
112 .getOrPut(it, { mutableSetOf<Dependency>() }) in <lambda>()
127 .getOrPut(it.file, { mutableSetOf<Dependency>() }) in <lambda>()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
DExpressionVisitorTest.java25 import android.databinding.tool.expr.Dependency;
138 for (Dependency dependency : parsed.getDependencies()) { in testTernary()
154 final Dependency dep = parsed.getDependencies().get(0); in testInheritedFieldResolution()
170 final Dependency dep = parsed.getDependencies().get(0); in testGetterResolution()
182 final Dependency dep = parsed.getDependencies().get(0); in testMethodCall()
196 final List<Dependency> deps = parsed.getDependencies(); in testMethodCallWithArgs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIService.java58 }, Dependency.get(Dependency.MAIN_HANDLER)); in onCreate()
77 ((PluginManagerImpl) Dependency.get(PluginManager.class)).dump(fd, pw, args); in dump()

123456789