Searched refs:lightState (Results 1 – 5 of 5) sorted by relevance
400 HwLightState lightState = new HwLightState(); in setLightUnchecked() local401 lightState.color = color; in setLightUnchecked()402 lightState.flashMode = (byte) mode; in setLightUnchecked()403 lightState.flashOnMs = onMS; in setLightUnchecked()404 lightState.flashOffMs = offMS; in setLightUnchecked()405 lightState.brightnessMode = (byte) brightnessMode; in setLightUnchecked()406 mVintfLights.get().setLightState(mHwLight.id, lightState); in setLightUnchecked()
298 for (LightState lightState : lightsRequest.getLightStates()) { in testNoLightSensor()299 assertEquals(mDefaultColors[mDefaultColors.length - 1], lightState.getColor()); in testNoLightSensor()336 for (LightState lightState : mLightsRequestCaptor.getValue().getLightStates()) { in testAlsThresholds()337 assertEquals(expectedColor, lightState.getColor()); in testAlsThresholds()
2726 private void enterLightState(int lightState) { in enterLightState() argument2727 switch (lightState) { in enterLightState()2742 while (mDeviceIdleController.getLightState() != lightState) { in enterLightState()2759 mDeviceIdleController.setLightStateForTest(lightState); in enterLightState()2762 fail("Unknown light state " + lightStateToString(lightState)); in enterLightState()
1892 private void setLightStateInternal(int deviceId, Light light, LightState lightState) { in setLightStateInternal() argument1896 + "lightState " + lightState); in setLightStateInternal()1899 mNative.setLightPlayerId(deviceId, light.getId(), lightState.getPlayerId()); in setLightStateInternal()1903 mNative.setLightColor(deviceId, light.getId(), lightState.getColor()); in setLightStateInternal()
3725 void setLightStateForTest(int lightState) { in setLightStateForTest() argument3727 mLightState = lightState; in setLightStateForTest()