/tools/tradefederation/core/src/com/android/tradefed/device/ |
TestDeviceState.java | 28 ONLINE, 38 case ONLINE: 39 return DeviceState.ONLINE; 56 case ONLINE: 57 return TestDeviceState.ONLINE;
|
BackgroundDeviceAction.java | 59 * @param startDelay the delay to wait after the device becomes online 90 // check again if the operation has been cancelled after the wait for online 142 CLog.d("Waiting for device %s online before starting.", mTestDevice.getSerialNumber()); 146 || !TestDeviceState.ONLINE.equals(mTestDevice.getDeviceState())) { 149 CLog.d("Device %s now online.", mTestDevice.getSerialNumber());
|
ManagedTestDeviceFactory.java | 107 if (!DeviceState.ONLINE.equals(idevice.getState())) { 110 CLog.w("Device state is not Online, assuming Framework support for now.");
|
ITestDevice.java | 41 /** recover device to online state only */ 42 ONLINE,
|
WaitDeviceRecovery.java | 33 * A simple implementation of a {@link IDeviceRecovery} that waits for device to be online and 51 @Option(name="online-wait-time", 52 description="maximum time in ms to wait for device to come online.") 125 "Found device %s in fastboot but expected online. Rebooting...", 132 // wait for device online 140 // occasionally device is erroneously reported as online - double check that we can shell 151 // device is online but not responsive 165 "Device still not online after successful recovery", monitor.getSerialNumber()); 201 * Handle situation where device is online but unresponsive. 222 "Device %s is online but unresponsive", monitor.getSerialNumber()) [all...] |
NativeDevice.java | 176 private TestDeviceState mState = TestDeviceState.ONLINE; 292 * Sets the time in ms to wait before starting logcat capture for a online device. 373 if (!DeviceState.ONLINE.equals(getIDevice().getState())) { 374 CLog.d("Device %s is not online cannot get property %s.", getSerialNumber(), name); [all...] |
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/ |
PresenceInfoParser.java | 96 ipVoiceCallState = RcsPresenceInfo.ServiceState.ONLINE; 97 ipVideoCallState = RcsPresenceInfo.ServiceState.ONLINE; 106 ipVideoCallState = RcsPresenceInfo.ServiceState.ONLINE; 118 ipVoiceCallState = RcsPresenceInfo.ServiceState.ONLINE; 162 ((ServiceState.ONLINE == presenceInfo.getServiceState( 164 (ServiceState.ONLINE == presenceInfoTmp.getServiceState( 165 ServiceType.VOLTE_CALL)))?ServiceState.ONLINE: 169 ((ServiceState.ONLINE == presenceInfo.getServiceState( 171 (ServiceState.ONLINE == presenceInfoTmp.getServiceState( 172 ServiceType.VT_CALL)))?ServiceState.ONLINE [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
DeviceWiperFuncTest.java | 15 assertTrue(getDevice().getDeviceState().equals(TestDeviceState.ONLINE));
|
DefaultTestsZipInstallerTest.java | 108 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); 137 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); 181 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE);
|
DeviceFlashPreparerTest.java | 113 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE); 149 mMockDevice.setRecoveryMode(RecoveryMode.ONLINE);
|
RunCommandTargetPreparerTest.java | 44 private static final TestDeviceState ONLINE_STATE = TestDeviceState.ONLINE;
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
DeviceStateMonitorTest.java | 52 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); 59 * Test {@link DeviceStateMonitor#waitForDeviceOnline()} when device is already online 66 * Test {@link DeviceStateMonitor#waitForDeviceOnline()} when device becomes online 75 mMonitor.setState(TestDeviceState.ONLINE); 84 * Test {@link DeviceStateMonitor#waitForDeviceOnline()} when device does not becomes online 98 EasyMock.expect(mockDevice.getState()).andReturn(DeviceState.ONLINE); 110 EasyMock.expect(mockDevice.getState()).andReturn(DeviceState.ONLINE); 131 mMonitor.setState(TestDeviceState.ONLINE); 151 mMonitor.setState(TestDeviceState.ONLINE); 161 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); [all...] |
BackgroundDeviceActionTest.java | 45 private TestDeviceState mDeviceState = TestDeviceState.ONLINE; 50 mDeviceState = TestDeviceState.ONLINE; 68 EasyMock.expect(mMockTestDevice.getDeviceState()).andReturn(TestDeviceState.ONLINE) 119 * is online.
|
ManagedTestDeviceFactoryTest.java | 87 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); 113 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); 146 EasyMock.expect(mMockDevice.getState()).andStubReturn(DeviceState.ONLINE);
|
TestDeviceStressTest.java | 77 assertEquals(TestDeviceState.ONLINE, mMonitor.getDeviceState()); 87 assertEquals(TestDeviceState.ONLINE, mMonitor.getDeviceState());
|
DeviceManagerTest.java | 494 EasyMock.expect(newMockDevice.getState()).andReturn(DeviceState.ONLINE); 496 mMockTestDevice.setDeviceState(TestDeviceState.ONLINE); 526 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE); 527 mMockTestDevice.setDeviceState(TestDeviceState.ONLINE); 554 EasyMock.expect(excludedDevice.getState()).andStubReturn(DeviceState.ONLINE); 555 EasyMock.expect(mMockIDevice.getState()).andStubReturn(DeviceState.ONLINE); 557 mMockTestDevice.setDeviceState(TestDeviceState.ONLINE); [all...] |
WaitDeviceRecoveryTest.java | 63 * when devices comes back online on its own accord. 108 EasyMock.expect(mMockMonitor.getDeviceState()).andReturn(TestDeviceState.ONLINE); 203 * online when bootloader is expected 209 EasyMock.expect(mMockMonitor.getDeviceState()).andReturn(TestDeviceState.ONLINE); 222 * initially unavailable, then comes online when bootloader is expected 231 EasyMock.expect(mMockMonitor.getDeviceState()).andReturn(TestDeviceState.ONLINE);
|
TestDeviceFuncTest.java | 515 assertEquals(TestDeviceState.ONLINE, mMonitor.getDeviceState()); 524 assertEquals(TestDeviceState.ONLINE, mMonitor.getDeviceState()); 554 assertEquals(TestDeviceState.ONLINE, mMonitor.getDeviceState()); 571 assertEquals(TestDeviceState.ONLINE, mMonitor.getDeviceState()); 580 assertEquals(TestDeviceState.ONLINE, mMonitor.getDeviceState()); [all...] |
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
TestSystemAppInstallSetup.java | 77 device.setRecoveryMode(RecoveryMode.ONLINE);
|
DeviceCleaner.java | 100 if (TestDeviceState.ONLINE.equals(device.getDeviceState())) {
|
DefaultTestsZipInstaller.java | 118 device.setRecoveryMode(RecoveryMode.ONLINE); 145 device.setRecoveryMode(RecoveryMode.ONLINE); 155 * Expects callers to have set device to {@link RecoveryMode#ONLINE}.
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/ |
CompanionDeviceTracker.java | 87 if (!TestDeviceState.ONLINE.equals(companion.getDeviceState())) {
|
/external/ims/rcs/rcsmanager/src/java/com/android/ims/ |
RcsPresenceInfo.java | 115 * ONLINE means the servie is available. 117 public static final int ONLINE = 1; 148 public static final String STATE = "state"; // ONLINE, etc.
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/ |
DeviceBridge.java | 144 if (device.getState() == IDevice.DeviceState.ONLINE) {
|
/tools/tradefederation/core/prod-tests/src/com/android/fastboot/tests/ |
FastbootTest.java | 61 private static final String ONLINE_TIME = "online"; 128 * Flash the device and calculate the time to bring the device online and first boot. 155 // always to skip because the test needs to detect device online 189 // check if device is online after flash, i.e. if adb is broken 190 CLog.v("Waiting for device %s online", mDevice.getSerialNumber()); 191 mDevice.setRecoveryMode(RecoveryMode.ONLINE); 196 CLog.e("Device not online after flashing"); 198 listener.testRunFailed("Device not online after flashing"); 199 throw new DeviceDisconnectedException("Device not online after flashing", 244 CLog.d("Device online time: %dms, initial boot time: %dms", onlineTime, bootTime) [all...] |