Home
last modified time | relevance | path

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

1234567891011

/aosp12/system/core/bootstat/
H A Dboot_reason_test.sh225 fastboot reboot
513 reboot,reboot | reboot,reboot,* ) var=${var#reboot,} ; var=${var%,} ;;
519 reboot | reboot,?* ) ;;
663 adb reboot ota
729 adb reboot >&2
734 report_bootstat_logs reboot,factory_reset reboot, reboot,adb \
760 fastboot reboot >&2
817 adb reboot cold >&2
974 adb reboot warm
1062 adb reboot
[all …]
/aosp12/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
H A DStagedRollbackTest.java161 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()
296 getDevice().reboot(); in testRollbackApexWithApk()
[all …]
/aosp12/system/core/fs_mgr/tests/
H A Dadb-remount-test.sh332 reboot*)
487 fastboot reboot
992 reboot=false
996 reboot=true
1080 reboot=false
1086 reboot=true
1089 if ${reboot}; then
1365 adb reboot </dev/null
1502 fastboot reboot ||
1607 fastboot reboot ||
[all …]
/aosp12/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/
H A DStagedInstallInternalTest.java169 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()
410 getDevice().reboot(); in testApexIsNotActivatedIfNotInCheckpointMode()
[all …]
/aosp12/frameworks/base/core/tests/overlaytests/remount/src/com/android/overlaytest/remounted/
H A DRegenerateIdmapTest.java36 .reboot() in testTargetUpgrade()
56 .reboot() in testTargetRelocated()
66 .reboot(); in testTargetRelocated()
79 .reboot() in testIdmapPoliciesChanged()
91 .reboot(); in testIdmapPoliciesChanged()
H A DOverlayApexTest.java37 .reboot() in testApkInApexCanBeOverlaid()
56 .reboot() in testApkInApexCanOverlay()
H A DOverlaySharedLibraryTest.java44 .reboot() in testSharedLibrary()
68 .reboot() in testSharedLibraryPreEnabled()
/aosp12/packages/modules/SdkExtensions/tests/e2e/Extensions/test-src/com/android/tests/apex/sdkextensions/
H A DSdkExtensionsHostTest.java100 reboot(); in upgradeOneApexWithBump()
115 reboot(); in upgradeOneApex()
124 reboot(); in upgradeTwoApexes()
234 boolean reboot = false; in uninstallApexes()
239 reboot |= res == null; in uninstallApexes()
241 if (reboot) { in uninstallApexes()
242 reboot(); in uninstallApexes()
248 private void reboot() throws Exception { in reboot() method in SdkExtensionsHostTest
249 getDevice().reboot(); in reboot()
/aosp12/system/apex/tests/testdata/
H A Dtrigger_watchdog.rc26 # Simulate a situation when userspace reboot fails to remount userdata. Since triggers in
28 # executed init already executed `on userspace-reboot-fs-remount` trigger in rootdir/init.rc,
30 on userspace-reboot-fs-remount && property:test.apex_userspace_reboot_simulate_remount_failed=1
33 # Simulate a situation when userspace reboot fails during a shutdown sequence. This is a very crude
35 on userspace-reboot-requested && property:test.apex_userspace_reboot_simulate_shutdown_failed=1
39 reboot_on_failure reboot,apex-revert-test
/aosp12/system/apex/tests/src/com/android/tests/apex/host/
H A DApexCompressionTests.java118 getDevice().reboot(); in deleteFiles()
126 getDevice().reboot(); in pushTestApex()
190 getDevice().reboot(); in testDecompressedApexSurvivesReboot()
213 getDevice().reboot(); in testDecompressionDoesNotHappenOnEveryReboot()
284 getDevice().reboot(); in testUnusedDecompressedApexIsCleanedUp_HigherVersion()
303 getDevice().reboot(); in testUnusedDecompressedApexIsCleanedUp_SameVersion()
316 getDevice().reboot(); in testReservedSpaceIsNotCleanedOnReboot()
404 getDevice().reboot(); in testCompressedApexCanBeRolledBack()
408 getDevice().reboot(); in testCompressedApexCanBeRolledBack()
427 getDevice().reboot(); in testOrphanedDecompressedApexInActiveDirIsIgnored()
/aosp12/system/core/reboot/
H A Dreboot.c28 static const char reboot[] = "reboot"; in main() local
29 const char* cmd = reboot; in main()
75 if (cmd == reboot) { in main()
H A DAndroid.bp8 name: "reboot",
9 srcs: ["reboot.c"],
/aosp12/system/apex/tests/src/com/android/tests/apex/
H A DApexdHostTest.java85 getDevice().reboot(); in testOrphanedApexIsNotActivated()
106 getDevice().reboot(); in testApexWithoutPbIsNotActivated()
146 getDevice().reboot(); in testRemountApex()
168 getDevice().reboot(); in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion()
209 getDevice().reboot(); in testApexWithoutPbIsNotActivated_ProductPartitionHasNewerVersion()
302 getDevice().reboot(); in testSessionsDirMigrationToMetadata()
324 getDevice().reboot(); in testFailsToActivateApexOnDataFallbacksToPreInstalled()
H A DSharedLibsApexTest.java191 mPreparer.reboot(); in testInstallAndRunDefaultApexs()
217 }).reboot(); in testInstallAndRunDefaultApexs()
263 mPreparer.reboot(); in testInstallAndRunOptimizedApexs()
305 }).reboot(); in testInstallAndRunOptimizedApexs()
347 }).reboot(); in testInstallAndRunOptimizedApexs()
383 mPreparer.reboot(); in testInstallAndRunOptimizedApexs()
428 mPreparer.reboot(); in testHigherVersionOnSystemDeletesDataVersion()
462 }).reboot(); in testHigherVersionOnSystemDeletesDataVersion()
513 mPreparer.reboot(); in testHigherVersionOnSystemDeletesDataVersion()
H A DApexE2EBaseHostTest.java102 reboot(userspaceReboot); // for install to take affect in stageActivateUninstallApexPackage()
128 protected final void reboot(boolean userspaceReboot) throws Exception { in reboot() method in ApexE2EBaseHostTest
133 getDevice().reboot(); in reboot()
160 getDevice().reboot(); // for the uninstall to take affect in uninstallApex()
H A DApexRollbackTests.java128 device.reboot(); in testAutomaticBootLoopRecovery()
168 device.reboot(); in testSessionNotRevertedWithCheckpointingDisabled()
206 device.reboot(); in testCheckpointingRevertsSession()
244 device.reboot(); in testRebootingOnceDoesNotRevertSession()
270 getDevice().reboot(); in testApexdDoesNotBootLoopDeviceIfThereIsNothingToRevert()
383 getDevice().reboot(); in testBootCompletedCleanupHappensEvenWhenThereIsCrashingProcess()
441 device.reboot(); in testReasonForRevertIsLoggedDuringBootloop()
/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
H A DSdCardEjectionTests.kt74 var reboot: Boolean = false
81 device.reboot()
197 if (reboot) {
202 device.reboot()
216 if (reboot) {
H A DInvalidNewSystemAppTest.kt60 .reboot()
67 .reboot()
76 .reboot()
H A DOriginalPackageMigrationTest.kt59 .reboot()
83 .reboot()
93 .reboot()
/aosp12/system/extras/tests/bootloader/
H A Dhaltest.py54 self.device.reboot()
76 self.device.reboot()
101 self.device.reboot()
109 self.device.reboot()
/aosp12/frameworks/base/tests/RollbackTest/MultiUserRollbackTest/src/com/android/tests/rollback/host/
H A DMultiUserRollbackTest.java74 getDevice().reboot(); in testStagedRollback()
80 getDevice().reboot(); in testStagedRollback()
85 getDevice().reboot(); in testStagedRollback()
/aosp12/art/test/odsign/test-src/com/android/tests/odsign/
H A DOnDeviceSigningHostTest.java74 reboot(); in setUp()
82 reboot(); in cleanup()
236 reboot(); in verifyGeneratedArtifactsLoadedForSamegradeUpdate()
300 private void reboot() throws Exception { in reboot() method in OnDeviceSigningHostTest
301 getDevice().reboot(); in reboot()
/aosp12/system/apex/apexd/
H A Dapexd.rc8 reboot_on_failure reboot,apexd-failed
15 reboot_on_failure reboot,bootloader,bootstrap-apexd-failed
/aosp12/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/
H A 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();
/aosp12/system/core/fs_mgr/
H A DREADME.overlayfs.md28 $ adb reboot
38 $ adb reboot
43 $ adb reboot
48 $ adb reboot
54 **Note:** _adb remount -R_ won’t reboot if the device is already in the adb remount state.
126 currently advised to confirm update is present after a reboot

1234567891011