1// Signature format: 2.0
2package android.scheduling {
3
4  public final class RebootReadinessManager {
5    method @RequiresPermission(android.Manifest.permission.SIGNAL_REBOOT_READINESS) public void addRequestRebootReadinessStatusListener(@NonNull java.util.concurrent.Executor, @NonNull android.scheduling.RebootReadinessManager.RequestRebootReadinessStatusListener);
6    method @RequiresPermission(android.Manifest.permission.REBOOT) public void cancelPendingReboot();
7    method @RequiresPermission(android.Manifest.permission.REBOOT) public boolean isReadyToReboot();
8    method @RequiresPermission(android.Manifest.permission.REBOOT) public void markRebootPending();
9    method @RequiresPermission(android.Manifest.permission.SIGNAL_REBOOT_READINESS) public void removeRequestRebootReadinessStatusListener(@NonNull android.scheduling.RebootReadinessManager.RequestRebootReadinessStatusListener);
10    field public static final String ACTION_REBOOT_READY = "android.scheduling.action.REBOOT_READY";
11    field public static final String EXTRA_IS_READY_TO_REBOOT = "android.scheduling.extra.IS_READY_TO_REBOOT";
12  }
13
14  public static final class RebootReadinessManager.RebootReadinessStatus {
15    ctor public RebootReadinessManager.RebootReadinessStatus(boolean, long, @NonNull String);
16    method public long getEstimatedFinishTime();
17    method @NonNull public String getLogSubsystemName();
18    method public boolean isReadyToReboot();
19  }
20
21  public static interface RebootReadinessManager.RequestRebootReadinessStatusListener {
22    method @NonNull public android.scheduling.RebootReadinessManager.RebootReadinessStatus onRequestRebootReadinessStatus();
23  }
24
25}
26
27