Home
last modified time | relevance | path

Searched refs:reboot (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
DStagedRollbackTest.java146 getDevice().reboot(); in deleteFiles()
161 getDevice().reboot(); in testBadApkOnly()
183 getDevice().reboot(); in testNativeWatchdogTriggersRollback()
216 getDevice().reboot(); in testNativeWatchdogTriggersRollbackForAll()
220 getDevice().reboot(); in testNativeWatchdogTriggersRollbackForAll()
253 getDevice().reboot(); in testPreviouslyAbandonedRollbacks()
255 getDevice().reboot(); in testPreviouslyAbandonedRollbacks()
266 getDevice().reboot(); in testRollbackAllowlistedApp()
275 getDevice().reboot(); in testRollbackDataPolicy()
277 getDevice().reboot(); in testRollbackDataPolicy()
[all …]
/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/
DStagedInstallInternalTest.java131 getDevice().reboot(); in deleteFiles()
169 getDevice().reboot(); in testDuplicateApkInApexShouldFail()
172 getDevice().reboot(); in testDuplicateApkInApexShouldFail()
240 getDevice().reboot(); in testAdbRollbackAppWaitsForStagedReady()
296 getDevice().reboot(); in testStagedSessionShouldCleanUpOnOnSuccess()
330 getDevice().reboot(); in testOrphanedStagingDirectoryGetsCleanedUpOnReboot()
346 getDevice().reboot(); in testFailStagedSessionIfStagingDirectoryDeleted()
367 getDevice().reboot(); in testApexActivationFailureIsCapturedInSession()
381 getDevice().reboot(); in testActiveApexIsRevertedOnCheckpointRollback()
390 getDevice().reboot(); in testActiveApexIsRevertedOnCheckpointRollback()
[all …]
/frameworks/base/core/tests/overlaytests/remount/src/com/android/overlaytest/remounted/
DRegenerateIdmapTest.java36 .reboot() in testTargetUpgrade()
56 .reboot() in testTargetRelocated()
66 .reboot(); in testTargetRelocated()
79 .reboot() in testIdmapPoliciesChanged()
91 .reboot(); in testIdmapPoliciesChanged()
DOverlayApexTest.java37 .reboot() in testApkInApexCanBeOverlaid()
56 .reboot() in testApkInApexCanOverlay()
DOverlaySharedLibraryTest.java44 .reboot() in testSharedLibrary()
68 .reboot() in testSharedLibraryPreEnabled()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DInvalidNewSystemAppTest.kt60 .reboot() in removeApk()
67 .reboot() in verify()
76 .reboot() in verify()
DOriginalPackageMigrationTest.kt59 .reboot() in deleteApkFolders()
83 .reboot() in runForApk()
93 .reboot() in runForApk()
DSdCardEjectionTests.kt74 var reboot: Boolean = false in parameters() variable in com.android.server.pm.test.SdCardEjectionTests
81 device.reboot() in parameters()
197 if (reboot) { in unmount()
202 device.reboot() in unmount()
216 if (reboot) { in remount()
DFactoryPackageTest.kt45 device.reboot() in removeApk()
52 .reboot() in testGetInstalledPackagesFactoryOnlyFlag()
DOverlayActorVisibilityTest.kt87 .reboot() in pushSysConfigFile()
93 .reboot() in deleteSysConfigFile()
/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/
DMultiUserRollbackTest.java74 getDevice().reboot(); in testStagedRollback()
80 getDevice().reboot(); in testStagedRollback()
85 getDevice().reboot(); in testStagedRollback()
/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/
DSystemPreparer.java190 public SystemPreparer reboot() throws DeviceNotAvailableException { in reboot() method in SystemPreparer
194 device.reboot(); in reboot()
282 reboot(); in after()
362 device.reboot();
381 device.reboot();
/frameworks/base/tests/RollbackTest/NetworkStagedRollbackTest/src/com/android/tests/rollback/host/
DNetworkStagedRollbackTest.java87 getDevice().reboot(); in testNetworkFailedRollback()
117 getDevice().reboot(); in testNetworkPassedDoesNotRollback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsComponent.java118 public void reboot(boolean safeMode) { in reboot() method in GlobalActionsComponent
120 mBarService.reboot(safeMode); in reboot()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DGlobalActions.java43 void reboot(boolean safeMode); in reboot() method
/frameworks/base/libs/hwui/tests/scripts/
Dprep_fugu.sh14 adb reboot
/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTest.java201 verify(mIPowerManager).reboot(anyBoolean(), eq("recovery"), anyBoolean()); in rebootRecoveryWithCommand_success()
289 verify(mIPowerManager).reboot(anyBoolean(), eq("foobar"), anyBoolean()); in requestLskf_subsequentRequestNotClearPrepared()
395 verify(mIPowerManager).reboot(anyBoolean(), eq("ab-update"), anyBoolean()); in rebootWithLskf_Success()
432 verify(mIPowerManager).reboot(anyBoolean(), eq("ab-update"), anyBoolean()); in rebootWithLskf_multiClient_ClientASuccess()
449 verify(mIPowerManager).reboot(anyBoolean(), eq("ab-update"), anyBoolean()); in rebootWithLskf_multiClient_success_reportMetrics()
478 verify(mIPowerManager).reboot(anyBoolean(), eq("ab-update"), anyBoolean()); in rebootWithLskf_multiClient_ClientBSuccess()
/frameworks/base/services/core/java/com/android/server/policy/
DRestartAction.java58 mWindowManagerFuncs.reboot(false /* confirm */); in onPress()
/frameworks/base/services/core/java/com/android/server/rollback/
DREADME.md124 Rollback can be enabled for staged installs, which require reboot to take
125 effect. If reboot was required when the package was updated, then reboot is
126 required when the package is rolled back. If no reboot was required when the
127 package was updated, then no reboot is required when the package is rolled back.
206 For rollback of staged installs, you have to manually reboot the device for the
240 rollback is for a staged update; reboot will be required after the rollback
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java239 public static void reboot(final Context context, String reason, boolean confirm) { in reboot() method in ShutdownThread
680 public static void rebootOrShutdown(final Context context, boolean reboot, String reason) { in rebootOrShutdown() argument
681 if (reboot) { in rebootOrShutdown()
707 private static void saveMetrics(boolean reboot, String reason) { in saveMetrics() argument
710 metricValue.append(reboot ? "y" : "n"); in saveMetrics()
/frameworks/base/core/java/com/android/internal/app/
DShutdownActivity.java56 pm.reboot(mConfirm, null, false); in onCreate()
/frameworks/base/services/core/java/com/android/server/
DBootReceiver.java674 String reboot = null; in logSystemServerShutdownTimeMetrics() local
693 reboot = keyValue[1]; in logSystemServerShutdownTimeMetrics()
700 logStatsdShutdownAtom(reboot, reason, start_time, duration); in logSystemServerShutdownTimeMetrics()
720 boolean reboot = false; in logStatsdShutdownAtom()
727 reboot = true; in logStatsdShutdownAtom()
761 FrameworkStatsLog.write(FrameworkStatsLog.SHUTDOWN_SEQUENCE_REPORTED, reboot, reason, start, in logStatsdShutdownAtom()
/frameworks/base/core/sysprop/
DWatchdogProperties.sysprop18 # To escape the watchdog timeout loop, fatal reboot the system when
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java104 pm.reboot(false, mode, true); in run()
/frameworks/base/wifi/tests/
DREADME.md22 2. adb reboot

123