Joe Onorato
99598ee6ee
incidentd can now handle multiple callers asking it for incident reports
...
Test: bit incident_test:* GtsIncidentManagerTestCases:*
Bug: 123543706
Change-Id: I9f671dd5d8b2ad139f952a23e575c2be16120459
2019-03-26 11:20:48 -07:00
Yangster
af9aee7f3d
Avoid importing protos.
...
Test: statsd test
Fix: b/117624077
Change-Id: I64ec8ed73c77dbff954b74882f753b90cf3ebead
2018-10-12 20:16:14 +00:00
Chenjie Yu
ab53020345
pull PowerProfile into statsd
...
pull constants from PowerProfile into statsd for power model
calculations. The data is mostly from power_profile.xml
power_profile {
power_profile_proto {
cpu_suspend: 5.734
cpu_idle: 1.389
cpu_active: 18.76
wifi_controller_idle: 2.0
wifi_controller_rx: 107.0
wifi_controller_tx: 371.0
wifi_controller_operating_voltage: 3700.0
bluetooth_controller_idle: 0.01
bluetooth_controller_rx: 8.0
bluetooth_controller_tx: 7.0
bluetooth_controller_operating_voltage: 3300.0
modem_controller_idle: 105.0
modem_controller_rx: 175.0
modem_controller_tx: 176.0
modem_controller_tx: 216.0
modem_controller_tx: 300.0
modem_controller_tx: 427.0
modem_controller_tx: 604.0
modem_controller_operating_voltage: 3700.0
gps_signal_quality_based: 49.0
gps_signal_quality_based: 11.0
gps_operating_voltage: 3700.0
screen_on: 178.708
screen_full: 240.79
audio: 75.6
video: 50.93
flashlight: 298.498
camera: 1152.292
battery_capacity: 3450.0
cpu_cluster {
cores: 2
speed: 307200
speed: 384000
speed: 460800
speed: 537600
speed: 614400
speed: 691200
speed: 768000
speed: 844800
speed: 902600
speed: 979200
speed: 1056000
speed: 1132800
speed: 1209600
speed: 1286400
speed: 1363200
speed: 1440000
speed: 1516800
speed: 1593600
core_power: 11.272
core_power: 14.842
core_power: 18.497
core_power: 22.518
core_power: 25.967
core_power: 31.694
core_power: 37.673
core_power: 42.859
core_power: 46.872
core_power: 57.92
core_power: 67.561
core_power: 76.303
core_power: 87.613
core_power: 97.045
core_power: 109.544
core_power: 122.054
core_power: 136.345
core_power: 154.435
}
cpu_cluster {
id: 1
cores: 2
speed: 307200
speed: 384000
speed: 460800
speed: 537600
speed: 614400
speed: 691200
speed: 748800
speed: 825600
speed: 902400
speed: 979200
speed: 1056000
speed: 1132800
speed: 1209600
speed: 1286400
speed: 1363200
speed: 1440000
speed: 1516800
speed: 1593600
speed: 1670400
speed: 1747200
speed: 1824000
speed: 1900800
speed: 1977600
speed: 2054400
speed: 2150400
core_power: 7.055
core_power: 11.483
core_power: 14.979
core_power: 19.642
core_power: 23.167
core_power: 27.479
core_power: 31.632
core_power: 39.192
core_power: 47.817
core_power: 55.659
core_power: 64.908
core_power: 73.824
core_power: 85.299
core_power: 96.036
core_power: 109.233
core_power: 118.56
core_power: 132.959
core_power: 143.692
core_power: 161.378
core_power: 180.616
core_power: 193.897
core_power: 214.361
core_power: 238.338
core_power: 265.759
core_power: 297.918
}
}
}
Bug: 113353350
Test: manual test on statsd
Change-Id: I1edd4db255c0440ddbff1d40e1515caaccbc73f8
2018-10-03 10:39:49 -07:00
Kweku Adams
21b8d26084
Cleaning up frameworks protos.
...
Note: It is currently only safe to renumber the fields because we have
not started using them yet.
* animationadapter: added in http://ag/3709688 , but was not following
the indentation policy or the unit naming policy. The durations that
have documentation in
frameworks/base/services/core/java/com/android/server/wm/ state that
they're in milliseconds. These durations didn't have documentation, but
I'm assuming they're in the same units.
* batterystats: was not following the indentation policy
* jobscheduler: AppIdleController was removed in http://ag/3699210 and
the proto was only partially updated
* powermanagerservice: BatterySaverStateMachineProto added in
http://ag/3763026 but was not privacy tagged and the indentation was off
* surfaceanimator: was not following the indentation policy
* remote_animation_target: was not following the indentation policy
* others: weren't following the indentation policy
Bug: 74975371
Test: flash device and run 'test CtsIncidentHostTestCases'
Change-Id: Id012f4690b1d58816fef096523e1a0ea2bccadb0
2018-04-11 16:55:33 -07:00
Kweku Adams
ce9ab2d9e1
Adding privacy tags to alarmmanager protos.
...
Bug: 72393215
Test: Flash device and check incident.proto output
Change-Id: Ibd28a52621ce3c8e1ba447356522772aa04baa3b
2018-01-25 15:52:15 -08:00
Kweku Adams
983829fec5
incidentd: Dumping java process meminfo data.
...
Bug: 65750823
Test: flash device and check incident.proto output
Change-Id: I9b10daddf0580b3fab4ed7970fb838a605eef0e6
2017-12-18 15:19:13 -08:00
Kweku Adams
61e0329207
incidentd: Adding proto dump for AlarmManager.
...
Test: flash device and check incident.proto output.
Bug: 65750801
Change-Id: If1e42c70908a0b11358cf48766c028e37c0329ae
2017-10-23 17:49:13 -07:00