summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBookatz <bookatz@google.com>2018-01-16 11:24:30 -0800
committerAdam Bookatz <bookatz@google.com>2018-01-26 17:26:20 +0000
commit8bdae8d682f922384de6076f3fa6db0f3d710b26 (patch)
tree0a8ffc699d131990f19cdf4d1359786f528e526b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent83f489b583570523257e2b1c838ae73ad0829c4c (diff)
Proto enums for DeviceIdleMode
Created an enums.proto that contains the device idle modes, which is referenced by batterystats. Note that, currently, batterystats is the origin of these constants in the java code, and I have kept that as is. Thus, batterystats references the enum. Nevertheless, because the actual control of device idle mode is DeviceIdleController.java, where these constants will likely one day be moved, I have put the constants in server/enums.proto (since DeviceIdleController is in server, not os like BatteryStats). Bug: 69478930 Test: cts-tradefed run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.HostAtomTests#testDeviceIdleModeStateChangedAtom Change-Id: I6e66801ae8256aab423067f9a4b852a194564a8d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions