Home
last modified time | relevance | path

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

/frameworks/base/tests/Input/src/com/android/server/input/
DKeyboardBacklightControllerTests.kt104 private var lightColorMap: HashMap<Int, Int> = HashMap() in createKeyboard() variable in com.android.server.input.KeyboardBacklightControllerTests
119 lightColorMap.put(args[1] as Int, args[2] as Int) in createKeyboard()
123 lightColorMap.getOrDefault(args[1] as Int, 0) in createKeyboard()
125 lightColorMap.clear() in createKeyboard()
186 assertTrue("Non Keyboard backlights should not change", lightColorMap.isEmpty()) in createKeyboard()
201 assertEquals("Only keyboard backlights should change", 1, lightColorMap.size) in createKeyboard()
202 assertNotNull("Keyboard backlight should change", lightColorMap[LIGHT_ID]) in createKeyboard()
203 assertNull("Input lights should not change", lightColorMap[SECOND_LIGHT_ID]) in createKeyboard()
266 lightColorMap[LIGHT_ID], in createKeyboard()
274 lightColorMap[LIGHT_ID], in createKeyboard()
[all …]