Home
last modified time | relevance | path

Searched refs:ConditionManager (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
DConditionManager.java40 public class ConditionManager implements LifecycleObserver, OnResume, OnPause { class
53 private static ConditionManager sInstance;
61 private ConditionManager(Context context, boolean loadConditionsNow) { in ConditionManager() method in ConditionManager
270 public static ConditionManager get(Context context) { in get()
274 public static ConditionManager get(Context context, boolean loadConditionsNow) { in get()
276 sInstance = new ConditionManager(context.getApplicationContext(), loadConditionsNow); in get()
DCondition.java36 protected final ConditionManager mManager;
45 Condition(ConditionManager manager) { in Condition()
49 Condition(ConditionManager manager, MetricsFeatureProvider metricsFeatureProvider) { in Condition()
DAirplaneModeCondition.java38 public AirplaneModeCondition(ConditionManager conditionManager) { in AirplaneModeCondition()
110 ConditionManager.get(context).getCondition(AirplaneModeCondition.class) in onReceive()
DCellularDataCondition.java32 public CellularDataCondition(ConditionManager manager) { in CellularDataCondition()
108 ConditionManager.get(context).getCondition(CellularDataCondition.class) in onReceive()
DHotspotCondition.java44 public HotspotCondition(ConditionManager manager) { in HotspotCondition()
135 ConditionManager.get(context).getCondition(HotspotCondition.class) in onReceive()
DDndCondition.java50 public DndCondition(ConditionManager manager) { in DndCondition()
150 ConditionManager.get(context).getCondition(DndCondition.class); in onReceive()
DBackgroundDataCondition.java27 public BackgroundDataCondition(ConditionManager manager) { in BackgroundDataCondition()
DBatterySaverCondition.java26 public BatterySaverCondition(ConditionManager manager) { in BatterySaverCondition()
DNightDisplayCondition.java32 NightDisplayCondition(ConditionManager manager) { in NightDisplayCondition()
DWorkModeCondition.java36 public WorkModeCondition(ConditionManager conditionManager) { in WorkModeCondition()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardSummary.java36 import com.android.settings.dashboard.conditional.ConditionManager;
52 implements SettingsDrawerActivity.CategoryListener, ConditionManager.ConditionListener,
68 private ConditionManager mConditionManager;
94 mConditionManager = ConditionManager.get(activity, false); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardSummaryTest.java24 import com.android.settings.dashboard.conditional.ConditionManager;
59 private ConditionManager mConditionManager;
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/conditional/
DConditionTest.java48 private ConditionManager mConditionManager;
110 TestCondition(ConditionManager manager, in TestCondition()
DDndConditionTest.java42 private ConditionManager mConditionManager;
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatterySaverController.java39 import com.android.settings.dashboard.conditional.ConditionManager;
115 ConditionManager.get(mContext).getCondition(BatterySaverCondition.class).refreshState(); in refreshConditionManager()
DBatterySaverSettings.java42 import com.android.settings.dashboard.conditional.ConditionManager;
152 ConditionManager.get(getContext()).getCondition(BatterySaverCondition.class).refreshState(); in trySetPowerSaveMode()