/bionic/libc/bionic/ |
reboot.cpp | 30 #include <sys/reboot.h> 34 int reboot(int mode) { function
|
/development/gsi/gsi_util/gsi_util/utils/ |
fastboot_utils.py | 43 def reboot(): function 44 """fastboot reboot a device.""" 45 run_command(['fastboot', 'reboot'], raise_on_error=False)
|
/external/toolchain-utils/binary_search_tool/common/ |
test_setup.sh | 67 echo " 'update_engine_client --rollback --nopowerwash --reboot'" 75 reboot() function 114 reboot 117 echo "Could not automatically reboot device!" 118 read -p "Please manually reboot device and press enter to continue" notused
|
/external/skia/tools/skpbench/ |
_adb.py | 48 def reboot(self): member in class:Adb 50 self.shell('reboot')
|
/external/skqp/tools/skpbench/ |
_adb.py | 48 def reboot(self): member in class:Adb 50 self.shell('reboot')
|
/development/python-packages/fastboot/ |
device.py | 164 def reboot(self, bootloader=False): member in class:FastbootDevice 165 """Calls `fastboot reboot [bootloader]`. 168 bootloader: True to reboot back to the bootloader. 170 command = [self.path, 'reboot']
|
/external/autotest/server/cros/ |
tradefed_chromelogin.py | 15 """Marks state as "dirty" - reboot needed during/after test.""" 16 logging.info('Will reboot DUT when Chrome stops.') 26 @param reboot: indicate if a reboot before destruction is required. 33 # We will override reboot/restart options to some degree. Keep track 36 if kwargs.get('reboot'): 45 # DUT power off -> on cycle will still adhere DUT's reboot preference. 99 self.reboot() 105 self.reboot() 126 """On exit restart the browser or reboot the machine 173 def reboot(self, exc_type=None, exc_value=None, traceback=None): member in class:ChromeLogin [all...] |
sonic_client_utils.py | 34 # right across a reboot. 195 def reboot(self, when="now"): member in class:SonicProxy 197 Post to the server asking for a reboot. 199 @param when: The time till reboot. Can be any of: 201 fdr: set factory data reset flag and reboot now 202 ota: set recovery flag and reboot now 203 ota fdr: set both recovery and fdr flags, and reboot now 204 ota foreground: reboot and start force update page 205 idle: reboot only when idle screen usage > 10 mins 207 @raises SonicProxyException: if we're unable to post a reboot request [all...] |
/external/autotest/server/hosts/ |
sonic_host.py | 11 resort to ssh (eg: to reboot into recovery). The server exposes the same stack 36 # Maximum time a reboot can take. 106 self.reboot() 135 Ssh ping is vital for connectivity checks and waiting on a reboot. 164 Since this method is usually called right after a reboot/install, 188 def reboot(self, timeout=5): member in class:SonicHost 189 """Reboot the sonic device by submitting a post to the server.""" 194 self.client.reboot() 197 'Unable to reboot through the sonic proxy: %s' % e) 205 If removing state information fails, do a hard reboot. This will hi [all...] |
remote.py | 114 def reboot(self, timeout=DEFAULT_REBOOT_TIMEOUT, wait=True, member in class:RemoteHost 117 Reboot the remote host. 120 timeout - How long to wait for the reboot. 128 reboot_cmd - Reboot command to execute. 133 'reboot & sleep 60; ' 134 'reboot -f & sleep 10; ' 135 'reboot -nf & sleep 10; ' 138 def reboot(): function in function:RemoteHost.reboot 140 self.record("GOOD", None, "reboot.start") 145 # sync before starting the reboot, so that a long sync durin [all...] |
servo_host.py | 77 REBOOT_CMD = 'sleep 1; reboot & sleep 10; reboot -f' 363 def reboot(self, *args, **dargs): member in class:ServoHost 364 """Reboot using special servo host reboot command.""" 365 super(ServoHost, self).reboot(reboot_cmd=self.REBOOT_CMD, 370 """Reboot this servo host if an upgrade is waiting. 373 build, reboot. 376 whether reboot is needed. 382 logging.info('Servohost requies synchronized reboot, which is no [all...] |
/external/autotest/server/site_tests/enterprise_CFM_HuddlyUpdater/ |
enterprise_CFM_HuddlyUpdater.py | 146 # Make the file system read-writable, reboot, and continue the test 177 """Remove rootfs verification on DUT, reboot, 184 self.reboot() 203 def reboot(self): member in class:enterprise_CFM_HuddlyUpdater 205 self._client.reboot()
|
/external/autotest/server/site_tests/enterprise_CFM_LogitechPtzUpdater/ |
enterprise_CFM_LogitechPtzUpdater.py | 104 """Remove rootfs verification on DUT, reboot, 111 self.reboot() 131 def reboot(self): member in class:enterprise_CFM_LogitechPtzUpdater 134 self.host.reboot()
|
/external/autotest/server/site_tests/enterprise_CFM_SiSFwUpdater/ |
enterprise_CFM_SiSFwUpdater.py | 95 """Remove rootfs verification on DUT, reboot, 102 self.reboot() 122 def reboot(self): member in class:enterprise_CFM_SiSFwUpdater 125 self.host.reboot()
|
/bootable/recovery/otautil/ |
sysutil.cpp | 217 bool reboot(const std::string& command) { function
|
/development/ide/emacs/ |
android-host.el | 36 ;; C-x a b android-adb-shell-reboot-bootloader 59 (define-key map (kbd "b") 'android-adb-shell-reboot-bootloader) 78 (defun android-adb-shell-reboot-bootloader () 79 "Execute 'adb shell reboot bootloader'." 81 (android-adb-shell-command "reboot bootloader"))
|
/external/autotest/server/cros/servo/ |
chrome_ec.py | 212 def reboot(self, flags=''): member in class:ChromeEC 213 """Reboot EC with given flags. 217 reboot command, including: 218 default: EC soft reboot; 219 'hard': EC hard/cold reboot; 220 'ap-off': Leave AP off after EC reboot (by default, EC turns 221 AP on after reboot if lid is open). 229 'The flag %s of EC reboot command is invalid.' % flag) 230 self.send_command("reboot %s" % flags)
|
/development/python-packages/adb/ |
device.py | 456 def reboot(self): member in class:AndroidDevice 457 return self._simple_call(['reboot'])
|
/external/autotest/server/ |
site_linux_system.py | 81 or to re-establish a good state after a reboot. 275 def reboot(self, timeout): member in class:LinuxSystem 276 """Reboot this system, and restore it to a known-good state. 281 self.host.reboot(timeout=timeout, wait=True)
|
site_linux_router.py | 176 object, or to re-establish a good state after a reboot. 264 def reboot(self, timeout): member in class:LinuxRouter 265 """Reboot this router, and restore it to a known-good state. 270 super(LinuxRouter, self).reboot(timeout) [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowPowerManager.java | 140 protected void reboot(String reason) { method in class:ShadowPowerManager 144 /** Returns the number of times {@link #reboot(String)} was called. */ 149 /** Returns the list of reasons for each reboot, in chronological order. */
|
/external/u-boot/cmd/ |
tpm_test.c | 160 #define reboot() do { \ macro
|
/external/autotest/client/common_lib/hosts/ |
base_classes.py | 63 OP_REBOOT = 'reboot' 134 def reboot(self): member in class:Host 135 """Reboot the host. 137 raise NotImplementedError('Reboot not implemented!') 147 """Execute host reboot via SysRq key. 149 raise NotImplementedError('Sysrq reboot not implemented!') 153 """Prepare for reboot. 164 """Post reboot work. 231 not reboot between the two calls, and two different strings if it 283 """Wait for the host to come back from a reboot [all...] |
/external/autotest/client/cros/chameleon/ |
chameleon.py | 46 be lost due to reboot. 265 def reboot(self): member in class:ChameleonBoard 267 self._chameleond_proxy.Reboot() [all...] |
/device/google/contexthub/contexthubhal/ |
system_comms.cpp | 396 setState(REBOOT); 485 case REBOOT: 777 /* reboot notification, when triggered by App request */ 786 ALOGI("Nanohub reboot status [USER REQ]: %08" PRIX32 "\n", rsp.mStatus); 788 // reboot notification is sent by SessionManager 1370 bool reboot = false; local [all...] |