summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobin Lee <rgl@google.com>2020-02-07 04:20:33 +0100
committerRobin Lee <rgl@google.com>2020-03-10 11:29:25 +0100
commit95d05138c549263a12aa00a37413c2e723e61263 (patch)
tree7bd45223b6296d138ef0f6d39408c2db6404b7b6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb9e44e5007c57e6f0b148385a21a800a51a7f8e5 (diff)
Make LogicalLight @Nullable: part two (internal)
Primarily refactors populateAvailableLights() * breaks AIDL and HIDL logic into two small helpers * stops going and inventing fake lights if we have the AIDL HAL. Also reworks some LightsService internals * move "system light" definition into the light class * rename mLights -> mLightsByType (matching mLightsById) * put the traceEnd() for "setLightState" in one final block The way the HIDL HAL goes and invents fake lights hasn't been changed, to avoid breaking HALs that didn't implement getLights() before. Bug: 151113302 Test: atest LightsManagerTest Test: atest LightsServiceTest Test: atest google/perf/boottime/boottime-test Change-Id: I23545586a2fa44ec656cd4c58df61970ce6db979
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions