Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerFuncTest.java266 TestDeviceOptions testDeviceOptions= new TestDeviceOptions(); in testBatteryLowLevel() local
267 testDeviceOptions.setCutoffBattery(20); in testBatteryLowLevel()
268 mMockConfig.addSpecificConfig(testDeviceOptions); in testBatteryLowLevel()
269 assertTrue(testDeviceOptions.getCutoffBattery() == 20); in testBatteryLowLevel()
270 EasyMock.expect(mSlowConfig.getDeviceOptions()).andReturn(testDeviceOptions).anyTimes(); in testBatteryLowLevel()
316 TestDeviceOptions testDeviceOptions= new TestDeviceOptions(); in testBatteryLowLevel_interruptible() local
317 testDeviceOptions.setCutoffBattery(20); in testBatteryLowLevel_interruptible()
318 mMockConfig.addSpecificConfig(testDeviceOptions); in testBatteryLowLevel_interruptible()
319 EasyMock.expect(mSlowConfig.getDeviceOptions()).andReturn(testDeviceOptions).anyTimes(); in testBatteryLowLevel_interruptible()