/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparerTest.java | 231 mMockDevice.reboot(); in testSetupSuccess_removeExistingStagedApexSuccess() 288 mMockDevice.reboot(); in testSetupSuccess_getActivatedPackageSuccess() 321 mMockDevice.reboot(); in testSetupSuccess_withAbsoluteTestFileName() 354 mMockDevice.reboot(); in testSetupFail_getActivatedPackageSuccessThrowModuleNotPreloaded() 384 mMockDevice.reboot(); in testSetupFail_getActivatedPackageFail() 419 mMockDevice.reboot(); in testSetupFail_apexActivationFailPackageNameWrong() 461 mMockDevice.reboot(); in testSetupFail_apexActivationFailVersionWrong() 503 mMockDevice.reboot(); in testSetupFail_apexActivationFailSourceDirWrong() 545 mMockDevice.reboot(); in testSetupSuccess_activatedSuccessOnQ() 576 mMockDevice.reboot(); in testSetupAndTearDown_SingleApk() [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_android_device_test.py | 507 ad.reboot = mock.MagicMock() 509 ad.reboot.assert_called_once() 528 ad.reboot = mock.MagicMock() 532 ad.reboot.assert_called_once() 550 ad.reboot = mock.MagicMock() 553 assert not ad.reboot.called 570 ad.reboot = mock.MagicMock() 573 ad.reboot.assert_called_once() 590 ad.reboot = mock.MagicMock() 594 ad.reboot.assert_called_once() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | TestDeviceFuncTest.java | 535 mTestDevice.reboot(); in testExecuteFastbootCommand_deviceInAdb() 565 mTestDevice.reboot(); in testExecuteFastbootCommand_badCommand() 582 mTestDevice.reboot(); in testRebootIntoBootloader() 591 mTestDevice.reboot(); in testReboot() 611 getDevice().getIDevice().reboot(null); in testRebootIntoRecovery() 651 mTestDevice.reboot(); in testDeviceSoftRestart() 685 getDevice().reboot(); in testClearErrorDialogs_crash() 715 getDevice().reboot(); in testDisableKeyguard() 821 getDevice().reboot(); in testEncryption() 856 getDevice().reboot(); in testGetFileEntry_recovery()
|
D | WaitDeviceRecoveryTest.java | 146 mMockDevice.reboot(null); in testRecoverDevice_unavailable_recovery() 226 mMockDevice.reboot((String)EasyMock.isNull()); in testRecoverDevice_unresponsive() 328 mMockDevice.reboot("bootloader"); in testRecoverDeviceBootloader_online() 351 mMockDevice.reboot("bootloader"); in testRecoverDeviceBootloader_unavailable_online()
|
D | TestDeviceStressTest.java | 76 mTestDevice.reboot(); in testManyReboots() 86 mTestDevice.reboot(); in testManyRebootBootloaders() 96 mTestDevice.reboot(); in testManyDisableKeyguard()
|
D | NativeDeviceTest.java | 1592 mMockIDevice.reboot(into); in testDoAdbReboot_emulator() 1609 mMockIDevice.reboot(null); in testDoReboot() 1671 mMockIDevice.reboot(into); in testRebootIntoSideload() 1691 mMockIDevice.reboot(into); in testRebootIntoBootloader() 1741 mMockIDevice.reboot(into); in testRebootIntoFastbootd()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | InstallApexModuleTargetPreparer.java | 123 device.reboot(); in setUp() 131 device.reboot(); in setUp() 591 boolean reboot = false; in cleanUpStagedAndActiveSession() 596 reboot = true; in cleanUpStagedAndActiveSession() 600 reboot = true; in cleanUpStagedAndActiveSession() 604 reboot = true; in cleanUpStagedAndActiveSession() 608 reboot = true; in cleanUpStagedAndActiveSession() 611 if (reboot) { in cleanUpStagedAndActiveSession() 612 device.reboot(); in cleanUpStagedAndActiveSession()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/recovery/ |
D | UsbResetMultiDeviceRecoveryTest.java | 104 verify(mDevice, never()).reboot(); in testRecover_available() 117 verify(mDevice, times(1)).reboot(); in testRecover_unavailable() 131 verify(mDevice, never()).reboot(); in testRecover_fastboot_allocated() 145 verify(mDevice, times(1)).reboot(); in testRecover_fastboot_unallocated() 157 verify(mDevice, never()).reboot(); in testRecover_notManaged() 170 verify(mDevice, never()).reboot(); in testRecover_notConnected()
|
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/ |
D | gnss_test_utils.py | 93 reboot(ad) 100 def reboot(ad): function 107 ad.reboot() 206 reboot(ad) 252 reboot(ad) 318 reboot(ad) 553 ad.adb.reboot("bootloader", ignore_status=True) 560 ad.fastboot.reboot()
|
/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveEmergencyTest.py | 239 self.dut.reboot(stop_at_lock_screen=True) 259 self.dut.reboot(stop_at_lock_screen=True) 483 self.dut.reboot(stop_at_lock_screen=True) 503 self.dut.reboot(stop_at_lock_screen=True) 749 self.dut.reboot(stop_at_lock_screen=True) 771 self.dut.reboot(stop_at_lock_screen=True)
|
D | TelLiveLockedSimTest.py | 94 self.dut.reboot(stop_at_lock_screen=True) 283 self.dut.reboot(stop_at_lock_screen=True) 306 self.dut.reboot(stop_at_lock_screen=True)
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | android_device.py | 1224 def reboot(self, stop_at_lock_screen=False, timeout=180): member in AndroidDevice 1238 self.fastboot.reboot() 1242 self.adb.reboot() 1511 self.reboot(stop_at_lock_screen=True) 1576 self.reboot() 1592 self.reboot()
|
/tools/test/connectivity/acts_tests/tests/google/gnss/ |
D | GnssFunctionTest.py | 53 from acts.test_utils.gnss.gnss_test_utils import reboot 217 reboot(self.ad) 1133 reboot(self.ad) 1211 reboot(self.ad) 1215 reboot(self.ad)
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiManagerTest.py | 413 self.dut.reboot() 446 self.dut.reboot() 482 self.dut.reboot() 970 self.dut.reboot()
|
D | WifiMacRandomizationTest.py | 90 self.dut.reboot() 91 self.dut_client.reboot() 225 self.dut.reboot()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | UsbResetTestTest.java | 80 verify(mDevice).reboot(); in testReset() 93 verify(mDevice).reboot(); in testReset_recovery() 107 verify(mDevice, never()).reboot(); in testReset_noDevice()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | CdmaDeviceFlasher.java | 103 device.reboot(); in flash() 109 device.reboot(); in flash() 186 device.reboot(); in flashSystem()
|
D | RebootTargetPreparer.java | 40 device.reboot(); in setUp() 48 device.reboot(); in tearDown()
|
D | FastbootCommandPreparer.java | 71 testInformation.getDevice().reboot(); in setUp() 79 testInformation.getDevice().reboot(); in tearDown()
|
D | TimeWaster.java | 48 device.reboot(); in setUp() 56 device.reboot(); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | TestFailureListenerTest.java | 66 mMockDevice.reboot(); in testTestFailed() 104 mMockDevice.reboot(); in testFailed_multiDevice() 107 device2.reboot(); in testFailed_multiDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 342 getIDevice().reboot(mRebootMode.formatRebootCommand(mReason)); in run() 3007 public void reboot() throws DeviceNotAvailableException { in reboot() method in NativeDevice 3008 reboot(null); in reboot() 3013 public void reboot(@Nullable String reason) throws DeviceNotAvailableException { in reboot() method in NativeDevice 3487 reboot(); in unencryptDevice() 4218 reboot(); in remountSystemWritable() 4232 reboot(); in remountVendorWritable()
|
/tools/test/connectivity/acts_tests/tests/google/fuchsia/hardware_power_statecontrol/ |
D | HardwarePowerStatecontrolTest.py | 60 self.dut.reboot() 83 self.dut.reboot()
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/ |
D | adb_sideload_ota_tool.py | 38 ota_runner.android_device.adb.reboot('sideload') 47 ota_runner.android_device.reboot(stop_at_lock_screen=True)
|
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/ |
D | DeviceStateTransitionFuncTests.java | 40 getDevice().reboot(); in setUp() 49 getDevice().reboot(); in testFastbootTransition()
|