Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java122 public void setLightStates(IBinder token, int[] lightIds, LightState[] lightStates) { in setLightStates() argument
125 Preconditions.checkState(lightIds.length == lightStates.length); in setLightStates()
131 checkRequestIsValid(lightIds); in setLightStates()
133 for (int i = 0; i < lightIds.length; i++) { in setLightStates()
134 session.setRequest(lightIds[i], lightStates[i]); in setLightStates()
220 private void checkRequestIsValid(int[] lightIds) { in checkRequestIsValid() argument
221 for (int i = 0; i < lightIds.length; i++) { in checkRequestIsValid()
222 final LightImpl light = mLightsById.get(lightIds[i]); in checkRequestIsValid()
224 "Invalid lightId " + lightIds[i]); in checkRequestIsValid()
/frameworks/base/core/java/android/hardware/lights/
DILightsManager.aidl32 void setLightStates(in IBinder sessionToken, in int[] lightIds, in LightState[] states); in setLightStates() argument