Home
last modified time | relevance | path

Searched refs:AmbientDisplayAlwaysOnPreferenceController (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAmbientDisplayAlwaysOnPreferenceControllerTest.java66 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 …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DLockscreenDashboardFragmentTest.java31 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()
/packages/apps/Settings/src/com/android/settings/display/
DAmbientDisplayAlwaysOnPreferenceController.java32 public class AmbientDisplayAlwaysOnPreferenceController extends TogglePreferenceController { class
43 public AmbientDisplayAlwaysOnPreferenceController(Context context, String key) { in AmbientDisplayAlwaysOnPreferenceController() method in AmbientDisplayAlwaysOnPreferenceController
95 public AmbientDisplayAlwaysOnPreferenceController setConfig( in setConfig()
DScreenSaverPreferenceController.java44 && AmbientDisplayAlwaysOnPreferenceController.isAodSuppressedByBedtime(mContext)) { in getSummary()
/packages/apps/Settings/src/com/android/settings/dream/
DWhenToDreamPreferenceController.java26 import com.android.settings.display.AmbientDisplayAlwaysOnPreferenceController;
61 && AmbientDisplayAlwaysOnPreferenceController.isAodSuppressedByBedtime(mContext)) { in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DWhenToDreamPreferenceControllerTest.java36 import com.android.settings.display.AmbientDisplayAlwaysOnPreferenceController;
105 assertTrue(AmbientDisplayAlwaysOnPreferenceController.isAodSuppressedByBedtime(mContext)); in testBedtimeModeSuppression()
/packages/apps/Settings/src/com/android/settings/security/
DLockscreenDashboardFragment.java36 import com.android.settings.display.AmbientDisplayAlwaysOnPreferenceController;
112 use(AmbientDisplayAlwaysOnPreferenceController.class).setConfig(getConfig(context)); in onAttach()