Searched refs:getNightModeCustomType (Results 1 – 6 of 6) sorted by relevance
93 int getNightModeCustomType(); in getNightModeCustomType() method
724 public @NightModeCustomReturnType int getNightModeCustomType() { in getNightModeCustomType() method in UiModeManager727 return sGlobals.mService.getNightModeCustomType(); in getNightModeCustomType()
712 assertThat(mService.getNightModeCustomType()).isEqualTo(MODE_NIGHT_CUSTOM_TYPE_UNKNOWN); in getNightModeCustomType_nightModeNo_shouldReturnUnknown()721 assertThat(mService.getNightModeCustomType()).isEqualTo(MODE_NIGHT_CUSTOM_TYPE_UNKNOWN); in getNightModeCustomType_nightModeYes_shouldReturnUnknown()730 assertThat(mService.getNightModeCustomType()).isEqualTo(MODE_NIGHT_CUSTOM_TYPE_UNKNOWN); in getNightModeCustomType_nightModeAuto_shouldReturnUnknown()740 assertThat(mService.getNightModeCustomType()).isEqualTo(MODE_NIGHT_CUSTOM_TYPE_SCHEDULE); in getNightModeCustomType_nightModeCustom_shouldReturnSchedule()750 assertThat(mService.getNightModeCustomType()).isEqualTo(MODE_NIGHT_CUSTOM_TYPE_BEDTIME); in getNightModeCustomType_nightModeCustomBedtime_shouldReturnBedtime()759 assertThrows(SecurityException.class, () -> mService.getNightModeCustomType()); in getNightModeCustomType_permissionNotGranted_shouldThrow()
135 int nightModeCustomType = mUiModeManager.getNightModeCustomType(); in handleUpdateState()
866 public @NightModeCustomReturnType int getNightModeCustomType() {2133 final int customType = mInterface.getNightModeCustomType(); in printCurrentNightMode()
1128 …sPermission(android.Manifest.permission.MODIFY_DAY_NIGHT_MODE) public int getNightModeCustomType();