Home
last modified time | relevance | path

Searched refs:IDeviceStateMonitor (Results 1 – 20 of 20) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DIDeviceRecovery.java34 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice()
43 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in recoverDeviceRecovery()
52 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in recoverDeviceBootloader()
DWaitDeviceRecovery.java111 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice()
160 private IDevice getDeviceAfterRecovery(IDeviceStateMonitor monitor) in getDeviceAfterRecovery()
205 protected void handleDeviceUnresponsive(IDevice device, IDeviceStateMonitor monitor) in handleDeviceUnresponsive()
234 protected void handleDeviceNotAvailable(IDeviceStateMonitor monitor, boolean recoverTillOnline) in handleDeviceNotAvailable()
244 public void recoverDeviceBootloader(final IDeviceStateMonitor monitor) in recoverDeviceBootloader()
275 protected void handleDeviceOnlineExpectedBootloader(final IDeviceStateMonitor monitor) in handleDeviceOnlineExpectedBootloader()
297 protected void handleDeviceBootloaderUnresponsive(IDeviceStateMonitor monitor) in handleDeviceBootloaderUnresponsive()
365 protected void handleDeviceBootloaderNotAvailable(final IDeviceStateMonitor monitor) in handleDeviceBootloaderNotAvailable()
376 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in recoverDeviceRecovery()
DReconnectingRecovery.java36 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice()
72 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in recoverDeviceBootloader()
86 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in recoverDeviceRecovery()
DIDeviceStateMonitor.java23 public interface IDeviceStateMonitor { interface
DIManagedTestDevice.java116 public IDeviceStateMonitor getMonitor(); in getMonitor()
DRemoteAndroidDevice.java46 public RemoteAndroidDevice(IDevice device, IDeviceStateMonitor stateMonitor, in RemoteAndroidDevice()
DDeviceManager.java479 IDeviceStateMonitor createStateMonitor(IDevice device) { in createStateMonitor()
883 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice()
893 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in recoverDeviceBootloader()
903 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in recoverDeviceRecovery()
DNativeDeviceStateMonitor.java38 public class NativeDeviceStateMonitor implements IDeviceStateMonitor {
DNativeDevice.java183 protected final IDeviceStateMonitor mStateMonitor;
288 public NativeDevice(IDevice device, IDeviceStateMonitor stateMonitor, in NativeDevice()
2564 IDeviceStateMonitor getDeviceStateMonitor() { in getDeviceStateMonitor()
3414 public IDeviceStateMonitor getMonitor() { in getMonitor()
DTestDevice.java111 public TestDevice(IDevice device, IDeviceStateMonitor stateMonitor, in TestDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DReconnectingRecoveryTest.java32 private IDeviceStateMonitor mMockMonitor;
46 mMockMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
DRemoteAndroidDeviceTest.java34 private IDeviceStateMonitor mMockStateMonitor;
63 mMockStateMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
DMockDeviceManager.java89 IDeviceStateMonitor stateMonitor = EasyMock.createNiceMock(IDeviceStateMonitor.class); in setNumDevicesCustomRealNoRecovery()
DManagedDeviceListTest.java43 IDeviceStateMonitor.class), null); in setUp()
DWaitDeviceRecoveryTest.java40 private IDeviceStateMonitor mMockMonitor;
56 mMockMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
DTestDeviceStressTest.java49 private IDeviceStateMonitor mMonitor;
DTestDeviceTest.java90 private IDeviceStateMonitor mMockStateMonitor;
134 mMockStateMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
435 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException()
441 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException()
447 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in testRecoverDevice_ThrowException()
952 mMockRecovery.recoverDeviceBootloader((IDeviceStateMonitor)EasyMock.anyObject()); in testExecuteFastbootCommand_state()
999 mMockRecovery.recoverDeviceBootloader((IDeviceStateMonitor)EasyMock.anyObject()); in testExecuteFastbootCommand_recovery()
DDeviceManagerTest.java60 private IDeviceStateMonitor mMockStateMonitor;
165 mMockStateMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
254 IDeviceStateMonitor createStateMonitor(IDevice device) { in createDeviceManagerNoInit()
DTestDeviceFuncTest.java66 private IDeviceStateMonitor mMonitor;
DNativeDeviceTest.java79 private IDeviceStateMonitor mMockStateMonitor;
115 mMockStateMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()