Searched refs:RebootReadinessManager (Results 1 – 10 of 10) sorted by relevance
4 public final class RebootReadinessManager {5 …nNull java.util.concurrent.Executor, @NonNull android.scheduling.RebootReadinessManager.RequestReb…9 …RequestRebootReadinessStatusListener(@NonNull android.scheduling.RebootReadinessManager.RequestReb…14 public static final class RebootReadinessManager.RebootReadinessStatus {15 ctor public RebootReadinessManager.RebootReadinessStatus(boolean, long, @NonNull String);21 public static interface RebootReadinessManager.RequestRebootReadinessStatusListener {22 …method @NonNull public android.scheduling.RebootReadinessManager.RebootReadinessStatus onRequestRe…
2 BroadcastBehavior: android.scheduling.RebootReadinessManager#ACTION_REBOOT_READY:6 RequiresPermission: android.scheduling.RebootReadinessManager#markRebootPending():10 Todo: android.scheduling.RebootReadinessManager#markRebootPending():
27 import android.scheduling.RebootReadinessManager;48 RebootReadinessManager rebootReadinessManager = InstrumentationRegistry.getContext() in testRebootReadyBroadcastReceived()49 .getSystemService(RebootReadinessManager.class); in testRebootReadyBroadcastReceived()57 RebootReadinessManager.EXTRA_IS_READY_TO_REBOOT, false)) { in testRebootReadyBroadcastReceived()62 IntentFilter filter = new IntentFilter(RebootReadinessManager.ACTION_REBOOT_READY); in testRebootReadyBroadcastReceived()
32 import android.scheduling.RebootReadinessManager;33 import android.scheduling.RebootReadinessManager.RebootReadinessStatus;34 import android.scheduling.RebootReadinessManager.RequestRebootReadinessStatusListener;122 RebootReadinessManager mRebootReadinessManager =123 (RebootReadinessManager) InstrumentationRegistry.getContext().getSystemService(179 RebootReadinessManager.EXTRA_IS_READY_TO_REBOOT, false); in testCallbackReadyToReboot()185 new IntentFilter(RebootReadinessManager.ACTION_REBOOT_READY)); in testCallbackReadyToReboot()243 new IntentFilter(RebootReadinessManager.ACTION_REBOOT_READY)); in testCancelPendingReboot()
54 import android.scheduling.RebootReadinessManager;255 assertThat(readyIntent.getAction()).isEqualTo(RebootReadinessManager.ACTION_REBOOT_READY); in testCorrectIntentsSent()258 RebootReadinessManager.EXTRA_IS_READY_TO_REBOOT, false); in testCorrectIntentsSent()262 RebootReadinessManager.ACTION_REBOOT_READY); in testCorrectIntentsSent()265 RebootReadinessManager.EXTRA_IS_READY_TO_REBOOT, false); in testCorrectIntentsSent()284 assertThat(secondIntent.getAction()).isEqualTo(RebootReadinessManager.ACTION_REBOOT_READY); in testSecondClientReceivesBroadcastImmediately()286 RebootReadinessManager.EXTRA_IS_READY_TO_REBOOT, false); in testSecondClientReceivesBroadcastImmediately()629 bundle.putBoolean(RebootReadinessManager.IS_REBOOT_READY_KEY, false); in getStatusListener()630 bundle.putLong(RebootReadinessManager.ESTIMATED_FINISH_TIME_KEY, 1000L); in getStatusListener()631 bundle.putString(RebootReadinessManager.SUBSYSTEM_NAME_KEY, COMPONENT_NAME); in getStatusListener()
41 Context.REBOOT_READINESS_SERVICE, RebootReadinessManager.class, in registerServiceWrappers()42 (context, service) -> new RebootReadinessManager(context, in registerServiceWrappers()
57 public final class RebootReadinessManager { class121 public RebootReadinessManager(Context context, IRebootReadinessManager binder) { in RebootReadinessManager() method in RebootReadinessManager
24 import android.scheduling.RebootReadinessManager;133 IntentFilter filter = new IntentFilter(RebootReadinessManager.ACTION_REBOOT_READY); in runStartReadinessChecks()139 RebootReadinessManager.EXTRA_IS_READY_TO_REBOOT, false) in runStartReadinessChecks()
45 import android.scheduling.RebootReadinessManager;418 RebootReadinessManager.IS_REBOOT_READY_KEY); in checkSystemComponentsState()420 RebootReadinessManager.SUBSYSTEM_NAME_KEY); in checkSystemComponentsState()527 Intent intent = new Intent(RebootReadinessManager.ACTION_REBOOT_READY); in sendRebootReadyBroadcast()528 intent.putExtra(RebootReadinessManager.EXTRA_IS_READY_TO_REBOOT, isReadyToReboot); in sendRebootReadyBroadcast()