Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java381 HwLightState lightState = new HwLightState(); in setLightUnchecked() local
382 lightState.color = color; in setLightUnchecked()
383 lightState.flashMode = (byte) mode; in setLightUnchecked()
384 lightState.flashOnMs = onMS; in setLightUnchecked()
385 lightState.flashOffMs = offMS; in setLightUnchecked()
386 lightState.brightnessMode = (byte) brightnessMode; in setLightUnchecked()
388 mVintfLights.setLightState(mHwLight.id, lightState); in setLightUnchecked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java1908 private void enterLightState(int lightState) { in enterLightState() argument
1909 switch (lightState) { in enterLightState()
1923 while (mDeviceIdleController.getLightState() != lightState) { in enterLightState()
1940 mDeviceIdleController.setLightStateForTest(lightState); in enterLightState()
1943 fail("Unknown light state " + lightStateToString(lightState)); in enterLightState()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java2961 void setLightStateForTest(int lightState) { in setLightStateForTest() argument
2963 mLightState = lightState; in setLightStateForTest()