Searched refs:getNightModeCustomType (Results 1 – 6 of 6) sorted by relevance
95 int getNightModeCustomType(); in getNightModeCustomType() method
782 public @NightModeCustomReturnType int getNightModeCustomType() { in getNightModeCustomType() method in UiModeManager785 return sGlobals.mService.getNightModeCustomType(); in getNightModeCustomType()
746 assertThat(mService.getNightModeCustomType()).isEqualTo(MODE_NIGHT_CUSTOM_TYPE_UNKNOWN); in getNightModeCustomType_nightModeNo_shouldReturnUnknown()755 assertThat(mService.getNightModeCustomType()).isEqualTo(MODE_NIGHT_CUSTOM_TYPE_UNKNOWN); in getNightModeCustomType_nightModeYes_shouldReturnUnknown()764 assertThat(mService.getNightModeCustomType()).isEqualTo(MODE_NIGHT_CUSTOM_TYPE_UNKNOWN); in getNightModeCustomType_nightModeAuto_shouldReturnUnknown()774 assertThat(mService.getNightModeCustomType()).isEqualTo(MODE_NIGHT_CUSTOM_TYPE_SCHEDULE); in getNightModeCustomType_nightModeCustom_shouldReturnSchedule()784 assertThat(mService.getNightModeCustomType()).isEqualTo(MODE_NIGHT_CUSTOM_TYPE_BEDTIME); in getNightModeCustomType_nightModeCustomBedtime_shouldReturnBedtime()792 assertThrows(SecurityException.class, () -> mService.getNightModeCustomType()); in getNightModeCustomType_permissionNotGranted_shouldThrow()
135 int nightModeCustomType = mUiModeManager.getNightModeCustomType(); in handleUpdateState()
904 public @NightModeCustomReturnType int getNightModeCustomType() { in getNightModeCustomType() method in UiModeManagerService.Stub2238 final int customType = mInterface.getNightModeCustomType(); in printCurrentNightMode()
1182 …sPermission(android.Manifest.permission.MODIFY_DAY_NIGHT_MODE) public int getNightModeCustomType();