Searched refs:switchOn (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/preference/src/android/preference/cts/ |
D | SwitchPreferenceTest.java | 88 final CharSequence switchOn = "SwitchedOff"; in testSetSwitchTextOn_One() local 91 mSwitchPref.setSwitchTextOn(switchOn); in testSetSwitchTextOn_One() 95 assertEquals(switchOnExp, switchOn); in testSetSwitchTextOn_One() 102 CharSequence switchOn = mSwitchPref.getSwitchTextOn(); in testSetSwitchTextOn_Two() local 103 assertEquals(switchOnExp, switchOn); in testSetSwitchTextOn_Two()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 311 private String handleSensorSwitchCommand(String sensorList, boolean switchOn) { in handleSensorSwitchCommand() argument 317 response = switchAllSensors(switchOn); in handleSensorSwitchCommand() 325 response = switchAllSensors(switchOn); in handleSensorSwitchCommand() 329 response = switchSensor(sensorId, switchOn, requestRate); in handleSensorSwitchCommand() 381 private String switchSensor(int sensorId, boolean switchOn) { in switchSensor() argument 382 return switchSensor(sensorId, switchOn, "SENSOR_DELAY_NORMAL"); in switchSensor() 385 private String switchSensor(int sensorId, boolean switchOn, String requestFrequency) { in switchSensor() argument 397 if (switchOn) { in switchSensor()
|