Searched refs:reboot (Results 1 - 17 of 17) sorted by relevance

/system/core/bootstat/
H A Dboot_reason_test.sh25 # Best guess to an average device's reboot time, refined as tests return
186 fastboot reboot
417 reboot,reboot | reboot,reboot,* ) var=${var#reboot,} ; var=${var%,} ;;
418 reboot,cold | reboot,cold,* ) var=${var#reboot,} ; va
[all...]
/system/core/reboot/
H A Dreboot.c28 static const char reboot[] = "reboot"; local
29 const char* cmd = reboot;
73 // Don't return early. Give the reboot command time to take effect
74 // to avoid messing up scripts which do "adb shell reboot && adb wait-for-device"
75 if (cmd == reboot) {
/system/connectivity/wificond/
H A Druntests.sh42 adb reboot
/system/connectivity/wifilogd/
H A Druntests.sh41 adb reboot
/system/extras/tests/bootloader/
H A Dhaltest.py41 """Ensure mark successful works, and persists on reboot.
54 self.device.reboot()
64 change the reported slot until the reboot."""
76 self.device.reboot()
101 self.device.reboot()
109 self.device.reboot()
H A Dbootloadertest.py172 """Tests that A/B devices can switch to each slot, and the change persists over a reboot."""
190 self.fastboot.reboot(True)
/system/core/rootdir/
H A Dasan_extract.sh19 # This script will extract ASAN libraries from /system/asan.tar.gz to /data and then reboot.
90 # We want to reboot now. It seems it is not possible to run "reboot" here, the device will
93 log -p i -t asan_install "Signaling init to reboot..."
95 setprop sys.powerctl reboot
H A DAndroid.mk129 # system before reboot.
/system/core/init/
H A Dreboot.cpp17 #include "reboot.h"
27 #include <sys/reboot.h>
67 // represents umount status during reboot / shutdown.
78 the state where umount status before reboot is not found / available. */
193 reboot(RB_POWER_OFF);
202 reboot(RB_POWER_OFF);
205 // In normal case, reboot should not return.
206 PLOG(ERROR) << "reboot call returned";
259 * up and leave it to e2fsck after reboot to fix it.
297 * and necessary check can be done at the next reboot
[all...]
H A Dperfboot.py361 device.reboot()
/system/extras/boottime_tools/bootanalyze/
H A Dbootanalyze.py64 if args.iterate > 1 and not args.reboot:
65 print "Forcing reboot flag"
66 args.reboot = True
299 if args.reboot:
300 # sleep to make sure that logcat reader is reading before adb is gone by reboot. ugly but make
302 t = threading.Thread(target = lambda : (time.sleep(2), reboot(args.serial, args.stressfs != '',\
481 parser.add_argument('-r', '--reboot', dest='reboot',
483 help='reboot device for measurement', )
506 help='check fs_stat after reboot', )
755 def reboot(serial, use_stressfs, permissive, use_adb_reboot): function
[all...]
/system/core/healthd/
H A Dhealthd_mode_charger.cpp43 #include <sys/reboot.h>
429 all devices. Check the property and continue booting or reboot
437 reboot(RB_AUTOBOOT);
490 reboot(RB_POWER_OFF);
/system/vold/
H A Dcryptfs.cpp228 enum class RebootType {reboot, recovery, shutdown}; member in class:RebootType
232 case RebootType::reboot:
233 property_set(ANDROID_RB_PROPERTY, "reboot");
237 property_set(ANDROID_RB_PROPERTY, "reboot,recovery");
247 /* Shouldn't get here, reboot should happen before sleep times out */
1632 /* Let's hope that a reboot clears away whatever is keeping
1634 cryptfs_reboot(RebootType::reboot);
1975 SLOGE("Default password did not match on reboot encryption");
1983 SLOGE("Could not change password on reboot encryption");
2128 SLOGE("cryptfs_enable: crypto block dev failure. Must reboot
[all...]
/system/extras/tests/workloads/
H A Dpwrtest.sh47 echo "-r restart : 0=no reboot between tests, 1=reboot (default)"
225 adb reboot
/system/update_engine/
H A Dupdate_engine_client.cc93 // Return whether we need to reboot. 0 if reboot is needed, 1 if an error
94 // occurred, 2 if no reboot is needed.
239 LOG(INFO) << "Update succeeded -- reboot needed.";
264 DEFINE_bool(reboot, false, "Initiate a reboot if needed.");
266 "Exit status 0 if reboot is needed, "
267 "2 if reboot is not needed or 1 if an error occurred.");
269 "Blocks until reboot is "
294 "Show the previous OS version used before the update reboot
[all...]
/system/sepolicy/prebuilts/api/27.0/private/
H A Dfile_contexts375 /data/misc/reboot(/.*)? u:object_r:reboot_data_file:s0
/system/sepolicy/prebuilts/api/26.0/private/
H A Dfile_contexts368 /data/misc/reboot(/.*)? u:object_r:reboot_data_file:s0

Completed in 296 milliseconds