Searched refs:ConditionManager (Results 1 – 16 of 16) sorted by relevance
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
D | ConditionManager.java | 40 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()
|
D | Condition.java | 36 protected final ConditionManager mManager; 45 Condition(ConditionManager manager) { in Condition() 49 Condition(ConditionManager manager, MetricsFeatureProvider metricsFeatureProvider) { in Condition()
|
D | AirplaneModeCondition.java | 38 public AirplaneModeCondition(ConditionManager conditionManager) { in AirplaneModeCondition() 110 ConditionManager.get(context).getCondition(AirplaneModeCondition.class) in onReceive()
|
D | CellularDataCondition.java | 32 public CellularDataCondition(ConditionManager manager) { in CellularDataCondition() 108 ConditionManager.get(context).getCondition(CellularDataCondition.class) in onReceive()
|
D | HotspotCondition.java | 44 public HotspotCondition(ConditionManager manager) { in HotspotCondition() 135 ConditionManager.get(context).getCondition(HotspotCondition.class) in onReceive()
|
D | DndCondition.java | 50 public DndCondition(ConditionManager manager) { in DndCondition() 150 ConditionManager.get(context).getCondition(DndCondition.class); in onReceive()
|
D | BackgroundDataCondition.java | 27 public BackgroundDataCondition(ConditionManager manager) { in BackgroundDataCondition()
|
D | BatterySaverCondition.java | 26 public BatterySaverCondition(ConditionManager manager) { in BatterySaverCondition()
|
D | NightDisplayCondition.java | 32 NightDisplayCondition(ConditionManager manager) { in NightDisplayCondition()
|
D | WorkModeCondition.java | 36 public WorkModeCondition(ConditionManager conditionManager) { in WorkModeCondition()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardSummary.java | 36 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/ |
D | DashboardSummaryTest.java | 24 import com.android.settings.dashboard.conditional.ConditionManager; 59 private ConditionManager mConditionManager;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/conditional/ |
D | ConditionTest.java | 48 private ConditionManager mConditionManager; 110 TestCondition(ConditionManager manager, in TestCondition()
|
D | DndConditionTest.java | 42 private ConditionManager mConditionManager;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatterySaverController.java | 39 import com.android.settings.dashboard.conditional.ConditionManager; 115 ConditionManager.get(mContext).getCondition(BatterySaverCondition.class).refreshState(); in refreshConditionManager()
|
D | BatterySaverSettings.java | 42 import com.android.settings.dashboard.conditional.ConditionManager; 152 ConditionManager.get(getContext()).getCondition(BatterySaverCondition.class).refreshState(); in trySetPowerSaveMode()
|