Home
last modified time | relevance | path

Searched refs:getDevices (Results 1 – 25 of 36) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DDeviceMetricData.java56 if (mContext.getDevices().size() > 1) { in addMetric()
58 String deviceName = mContext.getDeviceName(mContext.getDevices().get(0)); in addMetric()
77 if (mContext.getDevices().size() > 1) { in addMetricForDevice()
DIMetricCollector.java57 public List<ITestDevice> getDevices(); in getDevices() method
DFilePullerDeviceMetricCollector.java116 for (ITestDevice device : getDevices()) { in pullMetricFile()
151 for (ITestDevice device : getDevices()) { in pullMetricDirectory()
DAtraceCollector.java150 for (ITestDevice device : getDevices()) { in onTestStart()
201 for (ITestDevice device : getDevices()) { in onTestEnd()
DBaseDeviceMetricCollector.java84 public final List<ITestDevice> getDevices() { in getDevices() method in BaseDeviceMetricCollector
85 return mContext.getDevices(); in getDevices()
DProcessMaxMemoryCollector.java67 for (ITestDevice device : getDevices()) { in onStart()
131 for (ITestDevice device : getDevices()) { in onEnd()
DScheduledDeviceMetricCollector.java65 for (ITestDevice device : getDevices()) { in onTestRunStart()
DTemperatureCollector.java127 for (ITestDevice device : getDevices()) { in onEnd()
DScheduleMultipleDeviceMetricCollector.java168 for (ITestDevice device : getDevices()) { in collect()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/
DMergeMultiBuildTargetPreparer.java70 context.getDevices().get(0).getDeviceDescriptor()); in setUp()
78 context.getDevices().get(0).getDeviceDescriptor()); in setUp()
DHelloWorldMultiTargetPreparer.java38 ITestDevice device = context.getDevices().get(0); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/device/
DAndroidDebugBridgeWrapper.java54 public IDevice[] getDevices() { in getDevices() method in AndroidDebugBridgeWrapper
58 return mAdbBridge.getDevices(); in getDevices()
DFastbootHelper.java83 public Set<String> getDevices() { in getDevices() method in FastbootHelper
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/
DNativeBridgeModuleController.java37 for (ITestDevice device : context.getDevices()) { in shouldRun()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBugreportzMetricCollectorTest.java52 doReturn(Arrays.asList(mTestDevice)).when(mContext).getDevices(); in setup()
DProcessMaxMemoryCollectorTest.java67 when(mContext.getDevices()).thenReturn(Collections.singletonList(mDevice)); in setup()
DBaseDeviceMetricCollectorTest.java103 Assert.assertEquals(0, mBase.getDevices().size()); in testInitAndForwarding()
175 Assert.assertEquals(0, mBase.getDevices().size()); in testForwarding_withException()
322 Assert.assertEquals(0, mBase.getDevices().size()); in verifyFiltering()
DTraceCmdCollectorTest.java62 EasyMock.expect(mMockInvocationContext.getDevices()) in setUp()
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/
DHelloWorldMultiDevices.java69 for (ITestDevice device : mContext.getDevices()) { in run()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DExecCommandTracker.java52 mState = devicesStates.get(metadata.getDevices().get(0)); in invocationComplete()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java265 for (ITestDevice device : context.getDevices()) { in performInvocation()
279 for (ITestDevice device : context.getDevices()) { in performInvocation()
309 for (ITestDevice device : context.getDevices()) { in performInvocation()
524 for (ITestDevice testDevice : context.getDevices()) { in logDeviceBatteryLevel()
586 for (ITestDevice device : context.getDevices()) { in invokeFetchBuild()
DIInvocationContext.java72 public List<ITestDevice> getDevices(); in getDevices() method
DInvocationContext.java124 public List<ITestDevice> getDevices() { in getDevices() method in InvocationContext
285 for (ITestDevice device : getDevices()) { in setRecoveryModeForAllDevices()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationContextTest.java114 assertTrue(deserialized.getDevices().isEmpty()); in testSerialize()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DFastbootHelperTest.java148 assertTrue(mFastbootHelper.getDevices().isEmpty()); in testGetDevice_fail()

12