Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/src/com/android/tradefed/device/
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()
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()
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()
DDeviceManager.java545 IDeviceStateMonitor createStateMonitor(IDevice device) { in createStateMonitor()
958 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in recoverDevice()
968 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in recoverDeviceBootloader()
978 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in recoverDeviceRecovery()
DRetryingWaitDeviceRecovery.java32 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) { in recoverDevice()
DIDeviceStateMonitor.java23 public interface IDeviceStateMonitor { interface
DIManagedTestDevice.java122 public IDeviceStateMonitor getMonitor(); in getMonitor()
DRemoteAndroidDevice.java60 public RemoteAndroidDevice(IDevice device, IDeviceStateMonitor stateMonitor, in RemoteAndroidDevice()
DNativeDeviceStateMonitor.java38 public class NativeDeviceStateMonitor implements IDeviceStateMonitor {
DNativeDevice.java197 protected final IDeviceStateMonitor mStateMonitor;
334 public NativeDevice(IDevice device, IDeviceStateMonitor stateMonitor, in NativeDevice()
2768 IDeviceStateMonitor getDeviceStateMonitor() { in getDeviceStateMonitor()
3691 public IDeviceStateMonitor getMonitor() { in getMonitor()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DNestedRemoteDeviceTest.java26 import com.android.tradefed.device.IDeviceStateMonitor;
46 private IDeviceStateMonitor mMockStateMonitor;
54 mMockStateMonitor = Mockito.mock(IDeviceStateMonitor.class); in setUp()
DRemoteAndroidVirtualDeviceTest.java36 import com.android.tradefed.device.IDeviceStateMonitor;
71 private IDeviceStateMonitor mMockStateMonitor;
123 mMockStateMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceBatteryLevelCheckerTest.java22 import com.android.tradefed.device.IDeviceStateMonitor;
43 private IDeviceStateMonitor mMockStateMonitor;
76 mMockStateMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DReconnectingRecoveryTest.java32 private IDeviceStateMonitor mMockMonitor;
46 mMockMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
DRemoteAndroidDeviceTest.java41 private IDeviceStateMonitor mMockStateMonitor;
66 mMockStateMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
DMockDeviceManager.java89 IDeviceStateMonitor stateMonitor = EasyMock.createNiceMock(IDeviceStateMonitor.class); in setNumDevicesCustomRealNoRecovery()
DWaitDeviceRecoveryTest.java40 private IDeviceStateMonitor mMockMonitor;
56 mMockMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
DManagedDeviceListTest.java43 IDeviceStateMonitor.class), null); in setUp()
DTestDeviceTest.java95 private IDeviceStateMonitor mMockStateMonitor;
139 mMockStateMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
454 public void recoverDeviceRecovery(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException()
460 public void recoverDeviceBootloader(IDeviceStateMonitor monitor) in testRecoverDevice_ThrowException()
466 public void recoverDevice(IDeviceStateMonitor monitor, boolean recoverUntilOnline) in testRecoverDevice_ThrowException()
970 mMockRecovery.recoverDeviceBootloader((IDeviceStateMonitor)EasyMock.anyObject()); in testExecuteFastbootCommand_state()
1017 mMockRecovery.recoverDeviceBootloader((IDeviceStateMonitor)EasyMock.anyObject()); in testExecuteFastbootCommand_recovery()
DTestDeviceStressTest.java49 private IDeviceStateMonitor mMonitor;
DDeviceManagerTest.java71 private IDeviceStateMonitor mMockStateMonitor;
173 mMockStateMonitor = EasyMock.createMock(IDeviceStateMonitor.class); in setUp()
268 IDeviceStateMonitor createStateMonitor(IDevice device) { in createDeviceManagerNoInit()
DTestDeviceFuncTest.java68 private IDeviceStateMonitor mMonitor;
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DManagedRemoteDevice.java22 import com.android.tradefed.device.IDeviceStateMonitor;
60 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in ManagedRemoteDevice()
DNestedRemoteDevice.java22 import com.android.tradefed.device.IDeviceStateMonitor;
82 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in NestedRemoteDevice()
DRemoteAndroidVirtualDevice.java23 import com.android.tradefed.device.IDeviceStateMonitor;
80 IDevice device, IDeviceStateMonitor stateMonitor, IDeviceMonitor allocationMonitor) { in RemoteAndroidVirtualDevice()

12