Home
last modified time | relevance | path

Searched refs:IDeviceSelection (Results 1 – 17 of 17) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceManager.java96 static final IDeviceSelection ANY_DEVICE_OPTIONS = new DeviceSelectionOptions();
137 private IDeviceSelection mGlobalDeviceFilter;
138 private IDeviceSelection mDeviceSelectionOptions;
214 public void init(IDeviceSelection globalDeviceFilter, in init()
224 public synchronized void init(IDeviceSelection globalDeviceFilter, in init()
610 public ITestDevice allocateDevice(IDeviceSelection options) { in allocateDevice()
616 public ITestDevice allocateDevice(IDeviceSelection options, boolean isTemporary) { in allocateDevice()
1145 IDeviceSelection getDeviceSelectionOptions() { in getDeviceSelectionOptions()
DIDeviceManager.java52 public void init(IDeviceSelection globalDeviceFilter, List<IDeviceMonitor> deviceMonitors); in init()
68 public ITestDevice allocateDevice(IDeviceSelection options); in allocateDevice()
77 public ITestDevice allocateDevice(IDeviceSelection options, boolean isTemporary); in allocateDevice()
DManagedDeviceList.java49 private IDeviceSelection mDeviceSelectionMatcher;
51 AllocationMatcher(IDeviceSelection options) { in AllocationMatcher()
169 public IManagedTestDevice allocate(IDeviceSelection options) {
DDeviceSelectionOptions.java41 public class DeviceSelectionOptions implements IDeviceSelection {
711 public static IDeviceSelection createForSerial(String serial) { in createForSerial()
DIDeviceSelection.java29 public interface IDeviceSelection extends IMatcher<IDevice> { interface
DNativeDevice.java4521 IDeviceSelection selector = new DeviceSelectionOptions(); in getDeviceDescriptor()
/tools/tradefederation/core/src/com/android/tradefed/config/
DDeviceConfigurationHolder.java22 import com.android.tradefed.device.IDeviceSelection;
45 private IDeviceSelection mDeviceSelection = new DeviceSelectionOptions();
92 } else if (config instanceof IDeviceSelection) { in addSpecificConfig()
93 mDeviceSelection = (IDeviceSelection) config; in addSpecificConfig()
191 public IDeviceSelection getDeviceRequirements() { in getDeviceRequirements()
DIConfiguration.java23 import com.android.tradefed.device.IDeviceSelection;
160 public IDeviceSelection getDeviceRequirements(); in getDeviceRequirements()
447 public void setDeviceRequirements(IDeviceSelection deviceSelection); in setDeviceRequirements()
DConfiguration.java25 import com.android.tradefed.device.IDeviceSelection;
167 sObjTypeMap.put(DEVICE_REQUIREMENTS_TYPE_NAME, new ObjTypeInfo(IDeviceSelection.class, in getObjTypeMap()
426 public IDeviceSelection getDeviceRequirements() { in getDeviceRequirements()
970 public void setDeviceRequirements(IDeviceSelection devRequirements) { in setDeviceRequirements()
DIDeviceConfiguration.java20 import com.android.tradefed.device.IDeviceSelection;
101 public IDeviceSelection getDeviceRequirements(); in getDeviceRequirements()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockDeviceManager.java155 private IDeviceSelection mDeviceOptions;
160 public TestDeviceMatcher(IDeviceSelection deviceSelectionOptions) { in TestDeviceMatcher()
248 public ITestDevice allocateDevice(IDeviceSelection options) { in allocateDevice()
254 public ITestDevice allocateDevice(IDeviceSelection options, boolean isTemporary) { in allocateDevice()
289 public void init(IDeviceSelection globalDeviceFilter, in init()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java27 import com.android.tradefed.device.IDeviceSelection;
293 sObjTypeMap.put(DEVICE_REQUIREMENTS_TYPE_NAME, new ObjTypeInfo(IDeviceSelection.class, in getObjTypeMap()
432 public IDeviceSelection getDeviceRequirements() { in getDeviceRequirements()
433 return (IDeviceSelection) getConfigurationObject(DEVICE_REQUIREMENTS_TYPE_NAME); in getDeviceRequirements()
590 public void setDeviceRequirements(IDeviceSelection devRequirements) { in setDeviceRequirements()
DIGlobalConfiguration.java23 import com.android.tradefed.device.IDeviceSelection;
162 public void setDeviceRequirements(IDeviceSelection deviceSelection); in setDeviceRequirements()
170 public IDeviceSelection getDeviceRequirements(); in getDeviceRequirements()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DRetryReschedulerTest.java29 import com.android.tradefed.device.IDeviceSelection;
62 private IDeviceSelection mMockRequirements;
76 mMockRequirements = EasyMock.createMock(IDeviceSelection.class); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java27 import com.android.tradefed.device.IDeviceSelection;
315 final IDeviceSelection deviceSelection = EasyMock.createMock( in testGetDeviceRequirements()
316 IDeviceSelection.class); in testGetDeviceRequirements()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java25 import com.android.tradefed.device.IDeviceSelection;
173 IDeviceSelection requirements = deviceConfig.getDeviceRequirements(); in secureDeviceAllocation()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryRescheduler.java29 import com.android.tradefed.device.IDeviceSelection;
154 IDeviceSelection requirements = mConfiguration.getDeviceRequirements(); in run()