Home
last modified time | relevance | path

Searched refs:RebootReadinessManager (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Scheduling/framework/api/
Dsystem-current.txt4 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…
Dsystem-lint-baseline.txt2 BroadcastBehavior: android.scheduling.RebootReadinessManager#ACTION_REBOOT_READY:
6 RequiresPermission: android.scheduling.RebootReadinessManager#markRebootPending():
10 Todo: android.scheduling.RebootReadinessManager#markRebootPending():
Dmodule-lib-lint-baseline.txt2 BroadcastBehavior: android.scheduling.RebootReadinessManager#ACTION_REBOOT_READY:
6 RequiresPermission: android.scheduling.RebootReadinessManager#markRebootPending():
10 Todo: android.scheduling.RebootReadinessManager#markRebootPending():
/packages/modules/Scheduling/tests/hostsidetests/testapp/src/com/android/tests/scheduling/
DRebootReadinessTest.java27 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()
/packages/modules/Scheduling/tests/src/com/android/cts/scheduling/
DRebootReadinessManagerTest.java32 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()
/packages/modules/Scheduling/tests/unittests/src/com/android/server/scheduling/
DRebootReadinessUnitTest.java54 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()
/packages/modules/Scheduling/framework/java/android/scheduling/
DSchedulingFrameworkInitializer.java41 Context.REBOOT_READINESS_SERVICE, RebootReadinessManager.class, in registerServiceWrappers()
42 (context, service) -> new RebootReadinessManager(context, in registerServiceWrappers()
DRebootReadinessManager.java57 public final class RebootReadinessManager { class
121 public RebootReadinessManager(Context context, IRebootReadinessManager binder) { in RebootReadinessManager() method in RebootReadinessManager
/packages/modules/Scheduling/service/java/com/android/server/scheduling/
DRebootReadinessShellCommand.java24 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()
DRebootReadinessManagerService.java45 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()