Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/lights/cts/
DLightsManagerTest.java53 private List<Light> mLights; field in LightsManagerTest
63 mLights = mManager.getLights(); in setUp()
90 assumeTrue(mLights.size() >= 1); in testControlSingleLight()
95 .addLight(mLights.get(0), STATE_RED) in testControlSingleLight()
99 assertThat(mManager.getLightState(mLights.get(0)).getColor()).isEqualTo(ON_RED); in testControlSingleLight()
105 assumeTrue(mLights.size() >= 2); in testControlMultipleLights()
107 int[] initialColors = new int[mLights.size()]; in testControlMultipleLights()
108 for (int i = 0; i < mLights.size(); i++) { in testControlMultipleLights()
109 initialColors[i] = mManager.getLightState(mLights.get(i)).getColor(); in testControlMultipleLights()
115 .addLight(mLights.get(0), new LightState(0xffaaaaff)) in testControlMultipleLights()
[all …]