Searched refs:mAutoTimePreferenceController (Results 1 – 4 of 4) sorted by relevance
44 private AutoTimePreferenceController mAutoTimePreferenceController; field in TimePreferenceControllerTest53 mController = new TimePreferenceController(mContext, mHost, mAutoTimePreferenceController); in setUp()66 when(mAutoTimePreferenceController.isEnabled()).thenReturn(true); in updateState_autoTimeEnabled_shouldDisablePref()77 when(mAutoTimePreferenceController.isEnabled()).thenReturn(false); in updateState_autoTimeDisabled_shouldEnablePref()
47 private AutoTimePreferenceController mAutoTimePreferenceController; field in DatePreferenceControllerTest57 mController = new DatePreferenceController(mContext, mHost, mAutoTimePreferenceController); in setUp()76 when(mAutoTimePreferenceController.isEnabled()).thenReturn(true); in updateState_autoTimeEnabled_shouldDisablePref()87 when(mAutoTimePreferenceController.isEnabled()).thenReturn(false); in updateState_autoTimeDisabled_shouldEnablePref()
47 private final AutoTimePreferenceController mAutoTimePreferenceController; field in TimePreferenceController56 mAutoTimePreferenceController = autoTimePreferenceController; in TimePreferenceController()72 preference.setEnabled(!mAutoTimePreferenceController.isEnabled()); in updateState()
49 private final AutoTimePreferenceController mAutoTimePreferenceController; field in DatePreferenceController55 mAutoTimePreferenceController = autoTimePreferenceController; in DatePreferenceController()71 preference.setEnabled(!mAutoTimePreferenceController.isEnabled()); in updateState()