/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollector.java | 140 for (ITestDevice device : getDevices()) { in onTestFail() 152 for (ITestDevice device : getDevices()) { in startCollection() 163 boolean isMultiDevice = getDevices().size() > 1; in collectMetrics() 164 for (ITestDevice device : getDevices()) { in collectMetrics() 188 for (ITestDevice device : getDevices()) { in stopCollection()
|
D | AtraceCollector.java | 189 for (ITestDevice device : getDevices()) { in onTestStart() 207 for (ITestDevice device : getDevices()) { in onTestStart() 293 for (ITestDevice device : getDevices()) { in onTestEnd()
|
D | HostStatsdMetricCollector.java | 133 for (ITestDevice device : getDevices()) { in startCollection() 149 for (ITestDevice device : getDevices()) { in stopCollection()
|
/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 onTestRunFailed()
|
D | BugreportzOnTestCaseFailureCollector.java | 48 for (ITestDevice device : getDevices()) { in onTestRunEnd()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | RuntimeRestartCollectorTest.java | 124 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testStatsdInteractions_singleDevice() 161 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testStatsdInteractions_multiDevice() 205 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_noRuntimeRestart_noPriorRuntimeRestart() 242 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_noRuntimeRestart_withPriorRuntimeRestart() 285 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_withRuntimeRestart_noPriorRuntimeRestart() 343 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_withRuntimeRestart_withPriorRuntimeRestart() 404 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_withRuntimeRestart_reportsSystemServerCrashesOnly() 455 doReturn(Arrays.asList(testDevice)).when(mContext).getDevices(); in testAddingMetrics_withRuntimeRestart_useStatsdMetadataResultsForCount() 493 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testAddingMetrics_includesSerialForMultipleDevices()
|
D | RebootReasonCollectorTest.java | 74 when(mContext.getDevices()).thenReturn(Arrays.asList(testDevice)); in testStatsdInteractions_singleDevice() 98 when(mContext.getDevices()).thenReturn(Arrays.asList(testDevice)); in testAddingMetrics_singleDevice() 170 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testStatsdInteractions_multiDevice() 204 doReturn(Arrays.asList(testDevice1, testDevice2)).when(mContext).getDevices(); in testAddingMetrics_multiDevice() 292 when(mContext.getDevices()).thenReturn(Arrays.asList(testDevice)); in testCountOnlyWhenNoReboots()
|
D | BluetoothHciSnoopLogCollectorTest.java | 81 doReturn(mDevices).when(mContext).getDevices(); in setUp() 84 when(mContext.getDevices()).thenReturn(mDevices); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | TestInvocation.java | 367 for (ITestDevice device : context.getDevices()) { in performInvocation() 395 exception = bareMinimumResponsiveness(context.getDevices()); in performInvocation() 408 if (context.getDevices().size() == 1 || badDevice != null) { in performInvocation() 411 collectBugreport = context.getDevices().get(0); in performInvocation() 419 } else if (context.getDevices().size() > 1) { in performInvocation() 421 new ParallelDeviceExecutor<>(context.getDevices().size()); in performInvocation() 424 for (ITestDevice device : context.getDevices()) { in performInvocation() 444 reportRecoveryLogs(context.getDevices(), listener); in performInvocation() 448 logExecuteShellCommand(context.getDevices(), listener); in performInvocation() 456 exception = checkDevicesAvailable(context.getDevices(), listener); in performInvocation() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | BaseRetryDecision.java | 212 recoverStateOfDevices(getDevices(), attempt, module); in shouldRetryPreparation() 277 recoverStateOfDevices(getDevices(), attemptJustExecuted, module); in shouldRetry() 295 recoverStateOfDevices(getDevices(), attemptJustExecuted, module); in shouldRetry() 334 recoverStateOfDevices(getDevices(), attemptJustExecuted, module); in shouldRetry() 342 recoverStateOfDevices(getDevices(), attemptJustExecuted, module); in shouldRetry() 656 private List<ITestDevice> getDevices() { in getDevices() method in BaseRetryDecision 657 List<ITestDevice> listDevices = new ArrayList<>(mContext.getDevices()); in getDevices()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/ |
D | TestInformation.java | 101 return mContext.getDevices().get(mPrimaryDeviceIndex); in getDevice() 105 public List<ITestDevice> getDevices() { in getDevices() method in TestInformation 106 return mContext.getDevices(); in getDevices()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MergeMultiBuildTargetPreparer.java | 76 context.getDevices().get(0).getDeviceDescriptor()); in setUp() 84 context.getDevices().get(0).getDeviceDescriptor()); in setUp()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/suite/module/ |
D | KernelTestModuleController.java | 105 for (ITestDevice device : context.getDevices()) { in deviceLowMem() 131 for (ITestDevice device : context.getDevices()) { in deviceWithHwasan()
|
D | CarModuleController.java | 31 for (ITestDevice device : context.getDevices()) { in shouldRun()
|
/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()
|
D | IAndroidDebugBridge.java | 33 IDevice[] getDevices(); in getDevices() method
|
/tools/tradefederation/core/javatests/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()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommandScheduler.java | 223 for (ITestDevice device : context.getDevices()) { in invocationInitiated() 234 for (ITestDevice device : context.getDevices()) { in invocationInitiated() 542 devices = getDevices(manager, false); in processReadyCommands() 563 return getDevices(manager, true); in getAvailableDevices() 573 MultiMap<String, DeviceDescriptor> getDevices(IDeviceManager manager, boolean availableOnly) { in getDevices() method in ClusterCommandScheduler
|
D | ClusterCommandLauncher.java | 162 mEnvVars.put(TF_DEVICE_COUNT, String.valueOf(mInvocationContext.getDevices().size())); in run() 387 for (final ITestDevice device : mInvocationContext.getDevices()) { in buildJavaCommandArgs() 408 List<ITestDevice> devices = mInvocationContext.getDevices(); in resetDevices()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 308 if (mModuleContext == null || mModuleContext.getDevices().isEmpty()) { in getSerial() 311 return mModuleContext.getDevices().get(0).getSerialNumber(); in getSerial()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/module/ |
D | SkipHWASanModuleController.java | 29 for (ITestDevice device : context.getDevices()) { in shouldRun()
|
D | PackageInstalledModuleController.java | 38 for (ITestDevice device : context.getDevices()) { in shouldRun()
|
D | MinSdkModuleController.java | 43 for (ITestDevice device : context.getDevices()) { in shouldRun()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | LoopSummary.java | 336 if (context.getDevices().size() > 1) { in getActualMetricKey() 337 String deviceName = context.getDeviceName(context.getDevices().get(0)); in getActualMetricKey()
|