Searched refs:AmbientDisplayAlwaysOnPreferenceController (Results 1 – 7 of 7) sorted by relevance
66 private AmbientDisplayAlwaysOnPreferenceController mController;73 mController = new AmbientDisplayAlwaysOnPreferenceController(mContext, "key"); in setUp()93 AmbientDisplayAlwaysOnPreferenceController.AVAILABLE); in getAvailabilityStatus_available()101 AmbientDisplayAlwaysOnPreferenceController.UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_disabled_unsupported()136 final AmbientDisplayAlwaysOnPreferenceController controller = in isPublicSliceCorrectKey_returnsTrue()137 new AmbientDisplayAlwaysOnPreferenceController(mContext, in isPublicSliceCorrectKey_returnsTrue()144 final AmbientDisplayAlwaysOnPreferenceController controller = in isPublicSliceIncorrectKey_returnsFalse()145 new AmbientDisplayAlwaysOnPreferenceController(mContext, "bad_key"); in isPublicSliceIncorrectKey_returnsFalse()159 assertThat(AmbientDisplayAlwaysOnPreferenceController in isAodSuppressedByBedtime_bedTimeModeOn_returnTrue()165 assertThat(AmbientDisplayAlwaysOnPreferenceController in isAodSuppressedByBedtime_bedTimeModeOff_returnFalse()[all …]
31 import com.android.settings.display.AmbientDisplayAlwaysOnPreferenceController;85 final AmbientDisplayAlwaysOnPreferenceController controller = spy( in onAttach_alwaysOn_shouldInvokeSetters()86 new AmbientDisplayAlwaysOnPreferenceController(mContext, "key")); in onAttach_alwaysOn_shouldInvokeSetters()88 AmbientDisplayAlwaysOnPreferenceController.class); in onAttach_alwaysOn_shouldInvokeSetters()
32 public class AmbientDisplayAlwaysOnPreferenceController extends TogglePreferenceController { class43 public AmbientDisplayAlwaysOnPreferenceController(Context context, String key) { in AmbientDisplayAlwaysOnPreferenceController() method in AmbientDisplayAlwaysOnPreferenceController95 public AmbientDisplayAlwaysOnPreferenceController setConfig( in setConfig()
44 && AmbientDisplayAlwaysOnPreferenceController.isAodSuppressedByBedtime(mContext)) { in getSummary()
26 import com.android.settings.display.AmbientDisplayAlwaysOnPreferenceController;61 && AmbientDisplayAlwaysOnPreferenceController.isAodSuppressedByBedtime(mContext)) { in updateState()
36 import com.android.settings.display.AmbientDisplayAlwaysOnPreferenceController;105 assertTrue(AmbientDisplayAlwaysOnPreferenceController.isAodSuppressedByBedtime(mContext)); in testBedtimeModeSuppression()
36 import com.android.settings.display.AmbientDisplayAlwaysOnPreferenceController;112 use(AmbientDisplayAlwaysOnPreferenceController.class).setConfig(getConfig(context)); in onAttach()