Home
last modified time | relevance | path

Searched refs:TimeoutException (Results 1 – 22 of 22) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DStubDevice.java32 import com.android.ddmlib.TimeoutException;
69 public void createForward(int localPort, int remotePort) throws TimeoutException, in createForward()
79 throws TimeoutException, AdbCommandRejectedException, in executeShellCommand()
91 int maxTimeToOutputResponse) throws TimeoutException, AdbCommandRejectedException, in executeShellCommand()
176 public RawImage getScreenshot() throws TimeoutException, AdbCommandRejectedException, in getScreenshot()
186 throws TimeoutException, AdbCommandRejectedException, IOException { in getScreenshot()
210 public SyncService getSyncService() throws TimeoutException, AdbCommandRejectedException, in getSyncService()
333 public void reboot(String into) throws TimeoutException, AdbCommandRejectedException, in reboot()
342 public void removeForward(int localPort, int remotePort) throws TimeoutException, in removeForward()
359 public void runEventLogService(LogReceiver receiver) throws TimeoutException, in runEventLogService()
[all …]
DNativeDevice.java30 import com.android.ddmlib.TimeoutException;
242 public boolean run() throws IOException, TimeoutException, AdbCommandRejectedException, in run()
259 public boolean run() throws TimeoutException, IOException { in run()
265 throw new TimeoutException(); in run()
292 public boolean run() throws TimeoutException, IOException { in run()
302 throw new TimeoutException(mResult.getStderr()); in run()
320 public boolean run() throws TimeoutException, IOException, AdbCommandRejectedException { in run()
653 public boolean run() throws TimeoutException, IOException, in executeShellCommand()
672 public boolean run() throws TimeoutException, IOException, AdbCommandRejectedException, in executeShellCommand()
696 throws TimeoutException, IOException, AdbCommandRejectedException, in executeShellCommand()
[all …]
DNativeDeviceStateMonitor.java22 import com.android.ddmlib.TimeoutException;
179 } catch (TimeoutException e) { in waitForDeviceShell()
318 } catch (TimeoutException e) { in waitForStoreMount()
349 } catch (TimeoutException e) { in getMountPoint()
DWaitDeviceRecovery.java21 import com.android.ddmlib.TimeoutException;
332 } catch (TimeoutException e) { in rebootDeviceIntoBootloader()
351 } catch (TimeoutException e) { in rebootDevice()
DBatteryTemperature.java23 import com.android.ddmlib.TimeoutException;
78 } catch (TimeoutException in getBatteryTemperature()
DDeviceStateMonitor.java22 import com.android.ddmlib.TimeoutException;
61 } catch (TimeoutException e) { in waitForPmResponsive()
DBackgroundDeviceAction.java23 import com.android.ddmlib.TimeoutException;
104 } catch (IOException | ShellCommandUnresponsiveException | TimeoutException e) { in run()
DManagedTestDeviceFactory.java23 import com.android.ddmlib.TimeoutException;
171 } catch (TimeoutException | AdbCommandRejectedException | ShellCommandUnresponsiveException in checkFrameworkSupport()
DTestDevice.java25 import com.android.ddmlib.TimeoutException;
270 throws InstallException, SyncException, IOException, TimeoutException, in installPackage()
597 public boolean run() throws IOException, TimeoutException, AdbCommandRejectedException, in run()
959 public boolean run() throws IOException, TimeoutException, AdbCommandRejectedException, in run()
DDeviceSelectionOptions.java674 java.util.concurrent.TimeoutException e) { in getBatteryLevel()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DUiAutomatorRunner.java22 import com.android.ddmlib.TimeoutException;
303 public void run(ITestRunListener... listeners) throws TimeoutException, in run()
312 public void run(Collection<ITestRunListener> listeners) throws TimeoutException, in run()
336 } catch (TimeoutException e) { in run()
/tools/tradefederation/core/src/com/android/tradefed/util/
DDeviceRecoveryModeUtil.java20 import com.android.ddmlib.TimeoutException;
67 } catch (TimeoutException | AdbCommandRejectedException | IOException e) { in bootOutOfRecovery()
DDeviceConcurrentUtil.java29 import java.util.concurrent.TimeoutException;
56 throws DeviceNotAvailableException, TimeoutException { in joinFuture()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandInterrupterTest.java36 import java.util.concurrent.TimeoutException;
147 } catch (InterruptedException | ExecutionException | TimeoutException e) { in testAllowInterruptAsync()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DWaitDeviceRecoveryTest.java21 import com.android.ddmlib.TimeoutException;
338 EasyMock.expectLastCall().andThrow(new TimeoutException()); in testRebootDeviceIntoBootloader_timeoutException()
364 EasyMock.expectLastCall().andThrow(new TimeoutException()); in testReboot_timeoutException()
DTestDeviceTest.java27 import com.android.ddmlib.TimeoutException;
493 TimeoutException, AdbCommandRejectedException, ShellCommandUnresponsiveException { in testExecuteShellCommand_receiver()
613 TimeoutException, AdbCommandRejectedException, ShellCommandUnresponsiveException { in assertRecoverySuccess()
666 EasyMock.expectLastCall().andThrow(new TimeoutException()); in testExecuteShellCommand_recoveryTimeoutRetry()
1292 EasyMock.expectLastCall().andThrow(new InstallException(new TimeoutException())); in testInstallPackages_timeout()
1420 EasyMock.expectLastCall().andThrow(new InstallException(new TimeoutException())); in testInstallPackage_default_timeout()
1943 EasyMock.expectLastCall().andThrow(new InstallException(new TimeoutException())); in testInstallPackages_default_timeout()
2032 EasyMock.expectLastCall().andThrow(new InstallException(new TimeoutException())); in testInstallRemotePackages_default_timeout()
DNativeDeviceTest.java37 import com.android.ddmlib.TimeoutException;
2172 throws TimeoutException, AdbCommandRejectedException, in testGetMacAddress()
2198 throws TimeoutException, AdbCommandRejectedException, in testGetMacAddress_failure()
2217 throws TimeoutException, AdbCommandRejectedException, in testGetMacAddress_stubDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DRunCommandTargetPreparerTest.java23 import com.android.ddmlib.TimeoutException;
146 TargetSetupError, TimeoutException { in testBgCmd()
/tools/acloud/internal/lib/
Dutils_test.py382 @utils.TimeoutException(1, "should time out")
393 @utils.TimeoutException(5, "shouldn't time out")
Dutils.py1156 def TimeoutException(timeout_secs, timeout_error=_DEFAULT_TIMEOUT_ERR): function
/tools/acloud/create/
Dlocal_image_local_instance.py176 @utils.TimeoutException(_LAUNCH_CVD_TIMEOUT_SECS, _LAUNCH_CVD_TIMEOUT_ERROR)
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java239 | java.util.concurrent.TimeoutException e) { in testFastboot()