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.java424 HwLightState lightState = new HwLightState(); in setLightUnchecked() local
425 lightState.color = color; in setLightUnchecked()
426 lightState.flashMode = (byte) mode; in setLightUnchecked()
427 lightState.flashOnMs = onMS; in setLightUnchecked()
428 lightState.flashOffMs = offMS; in setLightUnchecked()
429 lightState.brightnessMode = (byte) brightnessMode; in setLightUnchecked()
430 mVintfLights.get().setLightState(mHwLight.id, lightState); in setLightUnchecked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java2022 private void enterLightState(int lightState) { in enterLightState() argument
2023 switch (lightState) { in enterLightState()
2037 while (mDeviceIdleController.getLightState() != lightState) { in enterLightState()
2054 mDeviceIdleController.setLightStateForTest(lightState); in enterLightState()
2057 fail("Unknown light state " + lightStateToString(lightState)); in enterLightState()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2992 void setLightStateForTest(int lightState) { in setLightStateForTest() argument
2994 mLightState = lightState; in setLightStateForTest()