/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | DeviceStateMonitorTest.java | 83 when(mMockDevice.getState()).thenReturn(DeviceState.ONLINE); in setUp() 128 when(mockDevice.getState()).thenReturn(DeviceState.ONLINE); in testIsAdbTcp_usb() 139 when(mockDevice.getState()).thenReturn(DeviceState.ONLINE); in testIsAdbTcp_tcp() 191 when(mMockDevice.getState()).thenReturn(DeviceState.ONLINE); in testWaitForShellAvailable() 218 when(mMockDevice.getState()).thenReturn(DeviceState.ONLINE); in testWaitForShell_becomeAvailable() 266 when(mMockDevice.getState()).thenReturn(DeviceState.ONLINE); in testWaitForShell_timeout() 422 when(mMockDevice.getState()).thenReturn(DeviceState.ONLINE); in testWaitForPmResponsive() 453 when(mMockDevice.getState()).thenReturn(DeviceState.ONLINE); in testWaitForPm_becomeResponsive() 497 when(mMockDevice.getState()).thenReturn(DeviceState.ONLINE); in testWaitForPm_timeout() 525 when(mMockDevice.getState()).thenReturn(DeviceState.ONLINE); in testgetMountPoint() [all …]
|
D | DeviceManagerTest.java | 506 when(newMockDevice.getState()).thenReturn(DeviceState.ONLINE); in testSetIDevice() 537 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testInit_excludeDevice() 562 when(excludedDevice.getState()).thenReturn(DeviceState.ONLINE); in testInit_includeDevice() 563 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testInit_includeDevice() 616 when(newDevice.getState()).thenReturn(DeviceState.OFFLINE); in testSetState_offline() 622 verify(newDevice, times(2)).getState(); in testSetState_offline() 842 when(iDevice.getState()).thenReturn(DeviceState.ONLINE); in setCheckAvailableDeviceExpectations() 893 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testFreeDevice_unavailable() 951 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testFreeDevice_recovery() 1012 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testFreeDevice_unknown() [all …]
|
D | ManagedTestDeviceFactoryTest.java | 93 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testNestedDevice()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | Sl4aBluetoothUtilTest.java | 257 BluetoothConnectionState.CONNECTED.getState(), in testConnect_success() 263 BluetoothConnectionState.CONNECTED.getState(), in testConnect_success() 269 BluetoothConnectionState.CONNECTED.getState(), in testConnect_success() 275 BluetoothConnectionState.CONNECTED.getState(), in testConnect_success() 302 BluetoothConnectionState.DISCONNECTED.getState(), in testDisconnect_success() 308 BluetoothConnectionState.DISCONNECTED.getState(), in testDisconnect_success() 314 BluetoothConnectionState.DISCONNECTED.getState(), in testDisconnect_success() 320 BluetoothConnectionState.DISCONNECTED.getState(), in testDisconnect_success()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommandStatus.java | 34 public ClusterCommand.State getState() { in getState() method in ClusterCommandStatus
|
D | ClusterDeviceInfo.java | 115 json.put("state", mDeviceDescriptor.getState()); in toJSON()
|
D | ClusterCommandScheduler.java | 468 if (ClusterCommand.State.CANCELED.equals(commandStatus.getState())) { in run() 485 commandStatus.getState())) { in run() 577 if (availableOnly && device.getState() != DeviceAllocationState.Available) { in getDevices()
|
D | ClusterClient.java | 217 return getCommandStatus(requestId, commandId).getState(); in getCommandState()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceManager.java | 1236 if (o1.getState() != o2.getState()) { in sortDeviceList() 1238 return o1.getState().toString() in sortDeviceList() 1239 .compareTo(o2.getState().toString()); in sortDeviceList() 1268 if (desc.isStubDevice() && desc.getState() != DeviceAllocationState.Allocated) { in addDevicesInfo() 1282 desc.getState().toString(), in addDevicesInfo() 1310 TestDeviceState newState = TestDeviceState.getStateByDdms(idevice.getState()); in deviceChanged() 1319 } else if (DeviceState.OFFLINE.equals(idevice.getState()) || in deviceChanged() 1320 DeviceState.UNAUTHORIZED.equals(idevice.getState())) { in deviceChanged() 1350 TestDeviceState.getStateByDdms(idevice.getState()); in deviceConnected() 1363 } else if (DeviceState.OFFLINE.equals(idevice.getState()) in deviceConnected() [all …]
|
D | NativeDeviceStateMonitor.java | 86 mDeviceState = TestDeviceState.getStateByDdms(device.getState()); in NativeDeviceStateMonitor()
|
D | NativeDevice.java | 5433 idevice.getState(), in getDeviceDescriptor() 5465 idevice.getState(), in getDeviceDescriptor()
|
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/ |
D | DeviceDescriptor.java | 239 d.getState(), in DeviceDescriptor() 264 d.getState(), in DeviceDescriptor() 298 public DeviceAllocationState getState() { in getState() method in DeviceDescriptor
|
/tools/tradefederation/core/src/com/android/tradefed/device/recovery/ |
D | BatteryUnavailableDeviceRecovery.java | 36 if (DeviceState.OFFLINE.equals(device.getIDevice().getState())) { in shouldSkip()
|
/tools/tradefederation/core/src/com/android/tradefed/service/management/ |
D | DeviceManagementGrpcServer.java | 181 if (DeviceAllocationState.Allocated.equals(descriptor.getState())) { in reserveDevice() 187 } else if (DeviceAllocationState.Unavailable.equals(descriptor.getState())) { in reserveDevice() 265 allocationStateToReservation(descriptor.getState(), descriptor.getSerial())); in descriptorToStatus()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/connection/ |
D | AdbSshConnectionTest.java | 186 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testPowerwashGce() 262 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testPowerwashOxygenGce() 333 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testPowerwashMultiInstance() 494 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testPreInvocationLaunchedDeviceSetup() 664 when(mMockIDevice.getState()).thenReturn(DeviceState.ONLINE); in testSnapshotGce()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/host/ |
D | PrettyTestEventLogger.java | 86 if (!DeviceState.ONLINE.equals(device.getIDevice().getState())) { in logOnAllDevices()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | BluetoothConnectionStateCollector.java | 97 int btState = bluetoothConnectionStateChanged.getState().getNumber(); in processEventMetric()
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/ |
D | hfp_lib.py | 397 def getState(self): member in FuchsiaHfpLib
|
/tools/asuite/asuite_plugin/src/java/com/android/atest/run/ |
D | AtestRunConfiguration.java | 154 public RunProfileState getState( in getState() method in AtestRunConfiguration
|
/tools/apksig/src/test/java/com/android/apksig/kms/gcp/ |
D | KeyRingClient.java | 158 while (mClient.getImportJob(importJob.getName()).getState() in createImportJob()
|
/tools/tradefederation/core/javatests/com/android/tradefed/monitoring/ |
D | LabResourceDeviceMonitorTest.java | 159 DEVICE_DESCRIPTOR.getState().toString(), in testBuildMonitoredDeviceEntity()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | Sl4aBluetoothUtil.java | 158 public int getState() { in getState() method in Sl4aBluetoothUtil.BluetoothConnectionState 663 if (state == targetState.getState() && address.equals(actualAddress)) { in waitForConnectedOrDisconnectedProfiles()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | StubDevice.java | 153 public DeviceState getState() { in getState() method in StubDevice
|
/tools/tradefederation/core/src/com/android/tradefed/monitoring/ |
D | LabResourceDeviceMonitor.java | 372 .setTag(descriptor.getState().name()) in buildMonitoredDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/device/connection/ |
D | AdbSshConnection.java | 176 if (!DeviceState.ONLINE.equals(getDevice().getIDevice().getState()) || unresponsive) { in initializeConnection() 190 getDevice().getIDevice().getState()), in initializeConnection()
|