Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java133 public void setLightStates(IBinder token, int[] lightIds, LightState[] lightStates) { in setLightStates() argument
135 Preconditions.checkState(lightIds.length == lightStates.length); in setLightStates()
141 checkRequestIsValid(lightIds); in setLightStates()
143 for (int i = 0; i < lightIds.length; i++) { in setLightStates()
144 session.setRequest(lightIds[i], lightStates[i]); in setLightStates()
231 private void checkRequestIsValid(int[] lightIds) { in checkRequestIsValid() argument
232 for (int lightId : lightIds) { in checkRequestIsValid()
/frameworks/base/core/java/android/hardware/lights/
DILightsManager.aidl37 void setLightStates(in IBinder sessionToken, in int[] lightIds, in LightState[] states); in setLightStates() argument
/frameworks/base/tests/Input/src/android/hardware/input/
DInputDeviceLightsManagerTest.java98 final int[] lightIds = (int[]) invocation.getArguments()[1]; in setUp()
101 for (int i = 0; i < lightIds.length; i++) { in setUp()
102 lightStatesById.put(lightIds[i], lightStates[i]); in setUp()
/frameworks/base/core/java/android/hardware/input/
DInputManagerGlobal.java1197 int[] lightIds = new int[lightIdList.size()]; in requestLights() local
1198 for (int i = 0; i < lightIds.length; i++) { in requestLights()
1199 lightIds[i] = lightIdList.get(i); in requestLights()
1202 mIm.setLightStates(deviceId, lightIds, in requestLights()
DIInputManager.aidl194 void setLightStates(int deviceId, in int[] lightIds, in LightState[] states, in IBinder token); in setLightStates() argument
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java1910 private void setLightStatesInternal(int deviceId, int[] lightIds, LightState[] lightStates) { in setLightStatesInternal() argument
1916 for (int i = 0; i < lightIds.length; i++) { in setLightStatesInternal()
1917 if (lightArray.contains(lightIds[i])) { in setLightStatesInternal()
1918 setLightStateInternal(deviceId, lightArray.get(lightIds[i]), lightStates[i]); in setLightStatesInternal()
1927 public void setLightStates(int deviceId, int[] lightIds, LightState[] lightStates, in setLightStates() argument
1929 Preconditions.checkArgument(lightIds.length == lightStates.length, in setLightStates()
1935 lightSession.mLightIds = lightIds.clone(); in setLightStates()
1941 setLightStatesInternal(deviceId, lightIds, lightStates); in setLightStates()
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1319 std::vector<int32_t> lightIds; in getRawLightIds() local
1322 lightIds.push_back(id); in getRawLightIds()
1325 return lightIds; in getRawLightIds()