Searched refs:DeviceState (Results 1 – 18 of 18) sorted by relevance
24 DeviceState39 DeviceState(48 DeviceState('svc data', 'enable', 'disable')57 DeviceState('svc wifi', 'enable', 'disable')61 ethernet = DeviceState('ifconfig eth0', 'up', 'down')63 bluetooth = DeviceState('service call bluetooth_manager', '6', '8')65 nfc = DeviceState('svc nfc', 'enable', 'disable')79 screen_always_on = DeviceState('svc power stayon', 'true', 'false')
22 import DeviceState35 DeviceState('content insert --uri content://com.google.settings/'38 DeviceState('content insert --uri content://com.google.settings/'
18 import com.android.ddmlib.IDevice.DeviceState;39 DeviceState getDdmsState() { in getDdmsState()42 return DeviceState.ONLINE; in getDdmsState()44 return DeviceState.RECOVERY; in getDdmsState()46 return DeviceState.SIDELOAD; in getDdmsState()55 static TestDeviceState getStateByDdms(DeviceState ddmsState) { in getStateByDdms()
21 class DeviceState(object): class58 class DeviceSetprop(DeviceState):72 class DeviceSetting(DeviceState):88 class DeviceGServices(DeviceState):
28 DeviceState40 device_state = DeviceState(base_cmd)50 device_state = DeviceState(base_cmd)58 device_binary_state = DeviceState('', on_cmd, off_cmd)144 DeviceState('svc test_svc', 'enable', 'disable')
22 import com.android.ddmlib.IDevice.DeviceState;53 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); in setUp()99 EasyMock.expect(mockDevice.getState()).andReturn(DeviceState.ONLINE); in testIsAdbTcp_usb()111 EasyMock.expect(mockDevice.getState()).andReturn(DeviceState.ONLINE); in testIsAdbTcp_tcp()162 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); in testWaitForShellAvailable()189 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); in testWaitForShell_becomeAvailable()230 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); in testWaitForShell_timeout()335 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); in testWaitForPmResponsive()363 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); in testWaitForPm_becomeResponsive()405 EasyMock.expect(mMockDevice.getState()).andReturn(DeviceState.ONLINE); in testWaitForPm_timeout()[all …]
22 import com.android.ddmlib.IDevice.DeviceState;93 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE); in testNestedDevice()115 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE); in testFrameworkAvailable()144 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE); in testFrameworkNotAvailable()180 EasyMock.expect(mMockIDevice.getState()).andStubReturn(DeviceState.ONLINE); in testCheckFramework_emptyReturns()
28 import com.android.ddmlib.IDevice.DeviceState;590 EasyMock.expect(newMockDevice.getState()).andReturn(DeviceState.ONLINE); in testSetIDevice()621 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE); in testInit_excludeDevice()648 EasyMock.expect(excludedDevice.getState()).andStubReturn(DeviceState.ONLINE); in testInit_includeDevice()649 EasyMock.expect(mMockIDevice.getState()).andStubReturn(DeviceState.ONLINE); in testInit_includeDevice()703 EasyMock.expect(newDevice.getState()).andReturn(DeviceState.OFFLINE).times(2); in testSetState_offline()936 EasyMock.expect(iDevice.getState()).andReturn(DeviceState.ONLINE); in setCheckAvailableDeviceExpectations()988 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE); in testFreeDevice_unavailable()1049 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE); in testFreeDevice_recovery()1113 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE); in testFreeDevice_unknown()[all …]
24 import com.android.ddmlib.IDevice.DeviceState;400 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE).times(2); in testGetProductType_adbFail()
18 import com.android.ddmlib.IDevice.DeviceState;31 if (DeviceState.OFFLINE.equals(device.getIDevice().getState())) { in shouldSkip()
20 import com.android.ddmlib.IDevice.DeviceState;33 private final DeviceState mDeviceState; // Ddmlib updated state.120 DeviceState deviceState, in DeviceDescriptor()156 DeviceState deviceState, in DeviceDescriptor()245 public DeviceState getDeviceState() { in getDeviceState()
18 import com.android.ddmlib.IDevice.DeviceState;86 if (!DeviceState.ONLINE.equals(device.getIDevice().getState())) { in logOnAllDevices()
21 import com.android.ddmlib.IDevice.DeviceState;159 if (!DeviceState.ONLINE.equals(idevice.getState())) { in checkFrameworkSupport()
19 import com.android.ddmlib.IDevice.DeviceState;200 DeviceState.ONLINE, in testSupportedRunTargetMatchPattern()
27 import com.android.ddmlib.IDevice.DeviceState;283 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE); in testPreInvocationSetup()312 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.OFFLINE).times(2); in testPreInvocationSetup_fails()531 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE).times(2); in testDeviceNotStoreShutdownState()634 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.ONLINE); in testDevice_skipTearDown()720 EasyMock.expect(mMockIDevice.getState()).andReturn(DeviceState.OFFLINE).times(2); in testDeviceBoot_offline()
203 public DeviceState getState() { in getState()204 return DeviceState.OFFLINE; in getState()
19 import com.android.ddmlib.IDevice.DeviceState;129 if (!DeviceState.ONLINE.equals(getIDevice().getState())) { in preInvocationSetup()
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...