Home
last modified time | relevance | path

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

12345

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java231 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/
Dacts_android_device_test.py507 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/
DTestDeviceFuncTest.java535 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()
DWaitDeviceRecoveryTest.java146 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()
DTestDeviceStressTest.java76 mTestDevice.reboot(); in testManyReboots()
86 mTestDevice.reboot(); in testManyRebootBootloaders()
96 mTestDevice.reboot(); in testManyDisableKeyguard()
DNativeDeviceTest.java1592 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/
DInstallApexModuleTargetPreparer.java123 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/
DUsbResetMultiDeviceRecoveryTest.java104 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/
Dgnss_test_utils.py93 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/
DTelLiveEmergencyTest.py239 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)
DTelLiveLockedSimTest.py94 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/
Dandroid_device.py1224 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/
DGnssFunctionTest.py53 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/
DWifiManagerTest.py413 self.dut.reboot()
446 self.dut.reboot()
482 self.dut.reboot()
970 self.dut.reboot()
DWifiMacRandomizationTest.py90 self.dut.reboot()
91 self.dut_client.reboot()
225 self.dut.reboot()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DUsbResetTestTest.java80 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/
DCdmaDeviceFlasher.java103 device.reboot(); in flash()
109 device.reboot(); in flash()
186 device.reboot(); in flashSystem()
DRebootTargetPreparer.java40 device.reboot(); in setUp()
48 device.reboot(); in tearDown()
DFastbootCommandPreparer.java71 testInformation.getDevice().reboot(); in setUp()
79 testInformation.getDevice().reboot(); in tearDown()
DTimeWaster.java48 device.reboot(); in setUp()
56 device.reboot(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestFailureListenerTest.java66 mMockDevice.reboot(); in testTestFailed()
104 mMockDevice.reboot(); in testFailed_multiDevice()
107 device2.reboot(); in testFailed_multiDevice()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java342 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/
DHardwarePowerStatecontrolTest.py60 self.dut.reboot()
83 self.dut.reboot()
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/
Dadb_sideload_ota_tool.py38 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/
DDeviceStateTransitionFuncTests.java40 getDevice().reboot(); in setUp()
49 getDevice().reboot(); in testFastbootTransition()

12345