/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | DeviceMetricData.java | 56 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()
|
D | BugreportzOnFailureCollector.java | 29 for (ITestDevice device : getDevices()) { in onTestFail()
|
D | FilePullerDeviceMetricCollector.java | 149 for (ITestDevice device : getDevices()) { in pullMetricFile() 206 for (ITestDevice device : getDevices()) { in pullMetricDirectory()
|
D | IMetricCollector.java | 58 public List<ITestDevice> getDevices(); in getDevices() method
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollector.java | 142 for (ITestDevice device : getDevices()) { in onTestFail() 154 for (ITestDevice device : getDevices()) { in startCollection() 172 boolean isMultiDevice = getDevices().size() > 1; in collectMetrics() 173 for (ITestDevice device : getDevices()) { in collectMetrics() 197 for (ITestDevice device : getDevices()) { in stopCollection()
|
D | HostStatsdMetricCollector.java | 131 for (ITestDevice device : getDevices()) { in startCollection() 146 for (ITestDevice device : getDevices()) { in stopCollection()
|
D | AtraceCollector.java | 172 for (ITestDevice device : getDevices()) { in onTestStart() 253 for (ITestDevice device : getDevices()) { in onTestEnd()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MergeMultiBuildTargetPreparer.java | 70 context.getDevices().get(0).getDeviceDescriptor()); in setUp() 78 context.getDevices().get(0).getDeviceDescriptor()); in setUp()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/ |
D | TestInformation.java | 93 return mContext.getDevices().get(mPrimaryDeviceIndex); in getDevice() 97 public List<ITestDevice> getDevices() { in getDevices() method in TestInformation 98 return mContext.getDevices(); in getDevices()
|
/tools/loganalysis/test_framework/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollector.java | 105 for (ITestDevice device : getDevices()) { in onTestRunStart() 125 boolean isMultiDevice = getDevices().size() > 1; in onTestRunEnd() 126 for (ITestDevice device : getDevices()) { in onTestRunEnd() 153 for (ITestDevice device : getDevices()) { in onTestFail()
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | BaseRetryDecision.java | 146 recoverStateOfDevices(getDevices(), attemptJustExecuted); in shouldRetry() 154 autoRetryTest.recoverStateOfDevices(getDevices(), attemptJustExecuted); in shouldRetry() 288 private List<ITestDevice> getDevices() { in getDevices() method in BaseRetryDecision 289 List<ITestDevice> listDevices = new ArrayList<>(mContext.getDevices()); in getDevices()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 294 for (ITestDevice device : context.getDevices()) { in performInvocation() 309 if (context.getDevices().size() == 1 || badDevice != null) { in performInvocation() 312 collectBugreport = context.getDevices().get(0); in performInvocation() 316 } else if (context.getDevices().size() > 1) { in performInvocation() 318 new ParallelDeviceExecutor<>(context.getDevices()); in performInvocation() 321 for (ITestDevice device : context.getDevices()) { in performInvocation() 334 logExecuteShellCommand(context.getDevices(), listener); in performInvocation() 367 for (ITestDevice device : context.getDevices()) { in performInvocation() 564 for (ITestDevice testDevice : context.getDevices()) { in logDeviceBatteryLevel() 636 for (ITestDevice device : testInfo.getContext().getDevices()) { in invokeFetchBuild() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/recovery/ |
D | UsbResetMultiDeviceRecoveryTest.java | 65 when(mFastboot.getDevices()).thenReturn(new HashSet<>()); in setUp() 123 when(mFastboot.getDevices()).thenReturn(Sets.newHashSet(SERIAL)); in testRecover_fastboot_allocated() 137 when(mFastboot.getDevices()).thenReturn(ImmutableSet.of(SERIAL)); in testRecover_fastboot_unallocated()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollectorTest.java | 121 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testStatsdInteractions_singleDevice() 158 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testStatsdInteractions_multiDevice() 198 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_noRuntimeRestart_noPriorRuntimeRestart() 235 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_noRuntimeRestart_withPriorRuntimeRestart() 278 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_withRuntimeRestart_noPriorRuntimeRestart() 336 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_withRuntimeRestart_withPriorRuntimeRestart() 397 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_withRuntimeRestart_reportsSystemServerCrashesOnly() 448 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_withRuntimeRestart_useStatsdMetadataResultsForCount() 486 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testAddingMetrics_includesSerialForMultipleDevices()
|
D | RebootReasonCollectorTest.java | 73 when(mContext.getDevices()).thenReturn(Arrays.asList(testDevice)); in testStatsdInteractions_singleDevice() 97 when(mContext.getDevices()).thenReturn(Arrays.asList(testDevice)); in testAddingMetrics_singleDevice() 169 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testStatsdInteractions_multiDevice() 199 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testAddingMetrics_multiDevice() 283 when(mContext.getDevices()).thenReturn(Arrays.asList(testDevice)); in testCountOnlyWhenNoReboots()
|
D | BugreportzMetricCollectorTest.java | 52 doReturn(Arrays.asList(mTestDevice)).when(mContext).getDevices(); in setup()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | AndroidDebugBridgeWrapper.java | 54 public IDevice[] getDevices() { in getDevices() method in AndroidDebugBridgeWrapper 58 return mAdbBridge.getDevices(); in getDevices()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/module/ |
D | CarModuleController.java | 31 for (ITestDevice device : context.getDevices()) { in shouldRun()
|
D | NativeBridgeModuleController.java | 37 for (ITestDevice device : context.getDevices()) { in shouldRun()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/ |
D | DeviceFeatureModuleController.java | 33 for (ITestDevice device : context.getDevices()) { in shouldRun()
|
D | MinSdkModuleController.java | 42 for (ITestDevice device : context.getDevices()) { in shouldRun()
|
D | MainlineTestModuleController.java | 61 for (ITestDevice device : context.getDevices()) { in shouldRun()
|
/tools/tradefederation/contrib/src/com/android/tradefed/ |
D | HelloWorldMultiDevices.java | 43 for (ITestDevice device : context.getDevices()) { in run()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/multi/ |
D | HelloWorldMultiTargetPreparer.java | 36 ITestDevice device = testInfo.getContext().getDevices().get(0); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/command/remote/ |
D | ExecCommandTracker.java | 52 mState = devicesStates.get(metadata.getDevices().get(0)); in invocationComplete()
|