Home
last modified time | relevance | path

Searched refs:testDeviceOptions (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerFuncTest.java296 TestDeviceOptions testDeviceOptions = new TestDeviceOptions(); in testBatteryLowLevel() local
297 testDeviceOptions.setCutoffBattery(20); in testBatteryLowLevel()
298 mMockConfig.addSpecificConfig(testDeviceOptions); in testBatteryLowLevel()
299 assertTrue(testDeviceOptions.getCutoffBattery() == 20); in testBatteryLowLevel()
300 when(mSlowConfig.getDeviceOptions()).thenReturn(testDeviceOptions); in testBatteryLowLevel()
337 TestDeviceOptions testDeviceOptions = new TestDeviceOptions(); in testBatteryLowLevel_interruptible() local
338 testDeviceOptions.setCutoffBattery(20); in testBatteryLowLevel_interruptible()
339 mMockConfig.addSpecificConfig(testDeviceOptions); in testBatteryLowLevel_interruptible()
340 when(mSlowConfig.getDeviceOptions()).thenReturn(testDeviceOptions); in testBatteryLowLevel_interruptible()
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/
DOxygenClientTest.java201 TestDeviceOptions testDeviceOptions = in testLeaseWithoutBuildId() local
211 OptionSetter setter = new OptionSetter(testDeviceOptions); in testLeaseWithoutBuildId()
249 CommandResult res = mOxygenClient.leaseDevice(mBuildInfo, testDeviceOptions, attributes); in testLeaseWithoutBuildId()