Home
last modified time | relevance | path

Searched refs:getSerials (Results 1 – 13 of 13) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceSelectionOptionsTest.java94 assertEquals(1, options.getSerials(mMockDevice).size()); in testGetSerials()
95 assertTrue(options.getSerials(mMockDevice).contains(DEVICE_ENV_SERIAL)); in testGetSerials()
96 assertFalse(options.getSerials(mMockDevice).contains(DEVICE_SERIAL)); in testGetSerials()
106 assertEquals(0, options.getSerials(device).size()); in testGetSerials_envVariable_nullDevice()
116 assertEquals(1, options.getSerials(device).size()); in testGetSerials_envVariable_FastbootDevice()
126 assertEquals(1, options.getSerials(device).size()); in testGetSerials_envVariable_FastbootDevice_noMatch()
139 assertEquals(1, options.getSerials(mMockDevice).size()); in testGetSerialsDoesNotOverride()
140 assertFalse(options.getSerials(mMockDevice).contains(DEVICE_ENV_SERIAL)); in testGetSerialsDoesNotOverride()
141 assertTrue(options.getSerials(mMockDevice).contains(DEVICE_SERIAL)); in testGetSerialsDoesNotOverride()
152 assertTrue(options.getSerials(mMockDevice).isEmpty()); in testGetSerialsWithNoEnvValue()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java187 public List<String> getSerials() { in getSerials() method in DeviceSelectionOptions
218 public Collection<String> getSerials(IDevice device) { in getSerials() method in DeviceSelectionOptions
451 Collection<String> serials = getSerials(device); in matches()
DIDeviceSelection.java37 public Collection<String> getSerials(IDevice device); in getSerials() method
40 public List<String> getSerials(); in getSerials() method
DManagedDeviceList.java59 if (!mDeviceSelectionMatcher.getSerials().isEmpty()) { in matches()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1663 context.getSerials().get(0)); in startInvocation()
1679 for (String serial : context.getSerials()) { in logInvocationStartedEvent()
1942 invThread.getInvocationContext().getSerials().toString(), in displayInvocationsInfo()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java1298 assertEquals(serials, config.getDeviceRequirements().getSerials(null)); in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
1303 .getSerials(null)); in testCreateConfigurationFromArgs_old_config_with_deviceHolder()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DIInvocationContext.java89 public List<String> getSerials(); in getSerials() method
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DShardMainResultForwarder.java79 mOriginalContext.addSerialsFromShard(shardIndex, context.getSerials()); in invocationStarted()
DInvocationContext.java152 public List<String> getSerials() { in getSerials() method in InvocationContext
DTestInvocation.java912 context.getSerials()); in invoke()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandLauncher.java338 for (String serial : mInvocationContext.getSerials()) { in resetUsbPorts()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java221 deviceList = String.join(",", holder.context.getSerials()); in writeResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java1063 deviceConfigs.get(i).getDeviceRequirements().getSerials(null);