Searched refs:testDeviceOptions (Results 1 – 2 of 2) sorted by relevance
296 TestDeviceOptions testDeviceOptions = new TestDeviceOptions(); in testBatteryLowLevel() local297 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() local338 testDeviceOptions.setCutoffBattery(20); in testBatteryLowLevel_interruptible()339 mMockConfig.addSpecificConfig(testDeviceOptions); in testBatteryLowLevel_interruptible()340 when(mSlowConfig.getDeviceOptions()).thenReturn(testDeviceOptions); in testBatteryLowLevel_interruptible()
201 TestDeviceOptions testDeviceOptions = in testLeaseWithoutBuildId() local211 OptionSetter setter = new OptionSetter(testDeviceOptions); in testLeaseWithoutBuildId()249 CommandResult res = mOxygenClient.leaseDevice(mBuildInfo, testDeviceOptions, attributes); in testLeaseWithoutBuildId()