/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | ConditionContextualCardController.java | 51 private final ConditionManager mConditionManager; field in ConditionContextualCardController 58 mConditionManager = new ConditionManager(mContext, this); in ConditionContextualCardController() 59 mConditionManager.startMonitoringStateChange(); in ConditionContextualCardController() 78 mConditionManager.startMonitoringStateChange(); in onStart() 83 mConditionManager.stopMonitoringStateChange(); in onStop() 89 mConditionManager.onPrimaryClick(mContext, card.getConditionId()); in onPrimaryClick() 95 mConditionManager.onActionClick(card.getConditionId()); in onActionClick() 108 final List<ContextualCard> conditionCards = mConditionManager.getDisplayableCards(); in onConditionsChanged()
|
D | GrayscaleConditionController.java | 45 private final ConditionManager mConditionManager; field in GrayscaleConditionController 53 mConditionManager = conditionManager; in GrayscaleConditionController() 86 mConditionManager.onConditionChanged(); in onActionClick() 127 mConditionManager.onConditionChanged(); in onReceive()
|
D | HotspotConditionController.java | 46 private final ConditionManager mConditionManager; field in HotspotConditionController 53 mConditionManager = conditionManager; in HotspotConditionController() 111 mConditionManager.onConditionChanged(); in startMonitoringStateChange() 132 mConditionManager.onConditionChanged(); in onReceive()
|
D | AbnormalRingerConditionController.java | 33 private final ConditionManager mConditionManager; field in AbnormalRingerConditionController 38 mConditionManager = manager; in AbnormalRingerConditionController() 71 mConditionManager.onConditionChanged(); in onReceive()
|
D | BackgroundDataConditionController.java | 34 private final ConditionManager mConditionManager; field in BackgroundDataConditionController 39 mConditionManager = manager; in BackgroundDataConditionController() 62 mConditionManager.onConditionChanged(); in onActionClick()
|
D | NightDisplayConditionController.java | 37 private final ConditionManager mConditionManager; field in NightDisplayConditionController 43 mConditionManager = manager; in NightDisplayConditionController() 101 mConditionManager.onConditionChanged(); in onActivated()
|
D | AirplaneModeConditionController.java | 40 private final ConditionManager mConditionManager; field in AirplaneModeConditionController 47 mConditionManager = conditionManager; in AirplaneModeConditionController() 102 mConditionManager.onConditionChanged(); in onReceive()
|
D | BatterySaverConditionController.java | 39 private final ConditionManager mConditionManager; field in BatterySaverConditionController 45 mConditionManager = conditionManager; in BatterySaverConditionController() 103 mConditionManager.onConditionChanged(); in onPowerSaveModeChanged()
|
D | DndConditionCardController.java | 48 private final ConditionManager mConditionManager; field in DndConditionCardController 54 mConditionManager = conditionManager; in DndConditionCardController() 118 mConditionManager.onConditionChanged(); in onReceive()
|
D | CellularDataConditionController.java | 41 private final ConditionManager mConditionManager; field in CellularDataConditionController 50 mConditionManager = conditionManager; in CellularDataConditionController() 135 mConditionManager.onConditionChanged();
|
D | WorkModeConditionController.java | 53 private final ConditionManager mConditionManager; field in WorkModeConditionController 62 mConditionManager = manager; in WorkModeConditionController() 137 mConditionManager.onConditionChanged(); in onReceive()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ |
D | AbnormalRingerConditionControllerBaseTest.java | 47 private ConditionManager mConditionManager; field in AbnormalRingerConditionControllerBaseTest 56 mCondition = new TestCondition(mContext, mConditionManager); in setUp() 69 verify(mConditionManager, never()).onConditionChanged(); in startMonitor_shouldMonitorRingerStateChangeBroadcast() 74 verify(mConditionManager).onConditionChanged(); in startMonitor_shouldMonitorRingerStateChangeBroadcast()
|
D | NightDisplayConditionControllerTest.java | 35 private ConditionManager mConditionManager; field in NightDisplayConditionControllerTest 44 mController = new NightDisplayConditionController(mContext, mConditionManager); in setUp() 51 verify(mConditionManager).onConditionChanged(); in onActivated_shouldUpdateCondition()
|
D | ConditionContextualCardControllerTest.java | 56 private ConditionManager mConditionManager; field in ConditionContextualCardControllerTest 78 ReflectionHelpers.setField(mController, "mConditionManager", mConditionManager); in setUp() 85 verify(mConditionManager).startMonitoringStateChange(); in onStart_shouldStartMonitoring() 92 verify(mConditionManager).stopMonitoringStateChange(); in onStop_shouldStopMonitoring() 100 when(mConditionManager.getDisplayableCards()).thenReturn(conditionalCards); in onConditionsChanged_listenerIsSet_shouldUpdateData() 113 when(mConditionManager.getDisplayableCards()).thenReturn(conditionalCards); in onConditionsChanged_listenerNotSet_shouldNotUpdateData()
|
D | BackgroundDataConditionControllerTest.java | 44 private ConditionManager mConditionManager; field in BackgroundDataConditionControllerTest 56 mController = new BackgroundDataConditionController(mActivity, mConditionManager); in setUp() 73 verify(mConditionManager).onConditionChanged(); in onActionClick_shouldRefreshCondition()
|
D | GrayscaleConditionControllerTest.java | 45 private ConditionManager mConditionManager; field in GrayscaleConditionControllerTest 57 mController = new GrayscaleConditionController(mContext, mConditionManager); in setUp() 86 verify(mConditionManager).onConditionChanged(); in onActionClick_shouldRefreshCondition()
|
D | WorkModeConditionControllerTest.java | 42 private ConditionManager mConditionManager; field in WorkModeConditionControllerTest 50 mController = new WorkModeConditionController(mActivity, mConditionManager); in setUp()
|
D | BatterySaverConditionControllerTest.java | 44 private ConditionManager mConditionManager; field in BatterySaverConditionControllerTest 55 mController = new BatterySaverConditionController(mContext, mConditionManager); in setUp()
|
D | HotspotConditionControllerTest.java | 47 private ConditionManager mConditionManager; field in HotspotConditionControllerTest 58 mController = new HotspotConditionController(mContext, mConditionManager); in setUp()
|
D | DndConditionalCardControllerTest.java | 49 private ConditionManager mConditionManager; field in DndConditionalCardControllerTest 58 mController = new DndConditionCardController(mContext, mConditionManager); in setUp()
|