Home
last modified time | relevance | path

Searched refs:DeviceSelectionOptions (Results 1 – 14 of 14) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceSelectionOptionsTest.java81 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(DEVICE_ENV_SERIAL); in testGetSerials()
91 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(DEVICE_ENV_SERIAL); in testGetSerials_envVariable_nullDevice()
104 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(DEVICE_ENV_SERIAL); in testGetSerialsDoesNotOverride()
119 DeviceSelectionOptions options = getDeviceSelectionOptionsWithEnvVar(null); in testGetSerialsWithNoEnvValue()
139 private DeviceSelectionOptions getDeviceSelectionOptionsWithEnvVar(final String value) { in getDeviceSelectionOptionsWithEnvVar()
140 return new DeviceSelectionOptions() { in getDeviceSelectionOptionsWithEnvVar()
151 DeviceSelectionOptions options = new DeviceSelectionOptions();
163 DeviceSelectionOptions options = new DeviceSelectionOptions();
175 DeviceSelectionOptions options = new DeviceSelectionOptions();
187 DeviceSelectionOptions options = new DeviceSelectionOptions();
[all …]
DDeviceManagerTest.java300 DeviceSelectionOptions options = new DeviceSelectionOptions(); in testAllocateDevice_match()
316 DeviceSelectionOptions options = new DeviceSelectionOptions(); in testAllocateDevice_stubEmulator()
335 DeviceSelectionOptions options = new DeviceSelectionOptions(); in testFreeDevice_emulator()
370 DeviceSelectionOptions options = new DeviceSelectionOptions(); in testAllocateDevice_nullDevice()
558 DeviceSelectionOptions excludeFilter = new DeviceSelectionOptions(); in testInit_excludeDevice()
587 DeviceSelectionOptions includeFilter = new DeviceSelectionOptions(); in testInit_includeDevice()
883 DeviceSelectionOptions options = new DeviceSelectionOptions(); in testFreeDevice_tcpDevice()
DMockDeviceManager.java250 ((DeviceSelectionOptions)options).setTcpDeviceRequested(true); in allocateDevice()
253 ((DeviceSelectionOptions) options).setNullDeviceRequested(true); in allocateDevice()
256 ((DeviceSelectionOptions)options).setStubEmulatorRequested(true); in allocateDevice()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/companion/
DCompanionAllocator.java21 import com.android.tradefed.device.DeviceSelectionOptions;
55 protected abstract DeviceSelectionOptions getCompanionDeviceSelectionOptions(); in getCompanionDeviceSelectionOptions()
DCompanionDeviceTracker.java21 import com.android.tradefed.device.DeviceSelectionOptions;
61 public ITestDevice allocateCompanionDevice(ITestDevice device, DeviceSelectionOptions opt) { in allocateCompanionDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerStressApp.java21 import com.android.tradefed.device.DeviceSelectionOptions;
52 new DeviceSelectionOptions()); in CommandSchedulerStressApp()
DCommandSchedulerFuncTest.java29 import com.android.tradefed.device.DeviceSelectionOptions;
73 private DeviceSelectionOptions mDeviceOptions;
79 mDeviceOptions = new DeviceSelectionOptions(); in setUp()
102 new DeviceSelectionOptions()); in setUp()
104 new DeviceSelectionOptions()); in setUp()
DCommandSchedulerTest.java33 import com.android.tradefed.device.DeviceSelectionOptions;
89 private DeviceSelectionOptions mDeviceOptions;
155 mDeviceOptions = new DeviceSelectionOptions(); in setUp()
1007 DeviceSelectionOptions options = new DeviceSelectionOptions(); in createDeviceConfig()
/tools/tradefederation/core/src/com/android/tradefed/config/
DDeviceConfigurationHolder.java20 import com.android.tradefed.device.DeviceSelectionOptions;
44 private IDeviceSelection mDeviceSelection = new DeviceSelectionOptions();
DGlobalConfiguration.java23 import com.android.tradefed.device.DeviceSelectionOptions;
291 setDeviceRequirements(new DeviceSelectionOptions()); in GlobalConfiguration()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java36 public class DeviceSelectionOptions implements IDeviceSelection { class
592 DeviceSelectionOptions o = new DeviceSelectionOptions(); in createForSerial()
DDeviceManager.java89 static final IDeviceSelection ANY_DEVICE_OPTIONS = new DeviceSelectionOptions();
981 return new DeviceSelectionOptions(); in getDeviceSelectionOptions()
DNativeDevice.java3845 IDeviceSelection selector = new DeviceSelectionOptions(); in getDeviceDescriptor()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceBatteryLevelChecker.java24 import com.android.tradefed.device.DeviceSelectionOptions;