Chenjie Yu
dcc56f980a
Merge "ValueMetric pushed events should check condition" into pi-dev
...
am: 644c94f125
Change-Id: Ib8555c0664bceee108dc4f93bbeaaa9a146ef00a
2018-05-17 15:53:17 -07:00
Chenjie Yu
021e25307d
ValueMetric pushed events should check condition
...
+ fix unit test flakiness
Bug: 79873404
Change-Id: I15b52a79b18c05603640781e4450e7b62fac24ba
Fix: 79873404
Test: unit test
2018-05-16 14:50:11 -07:00
David Chen
fcac66945b
Merge "Fixes Value metrics in statsd and app upgrades." into pi-dev
...
am: c9076fac9b
Change-Id: Ib54ea85970d57c70cba12157f8d0ef1fcf602a6d
2018-05-15 19:41:05 -07:00
TreeHugger Robot
c9076fac9b
Merge "Fixes Value metrics in statsd and app upgrades." into pi-dev
2018-05-16 02:27:37 +00:00
David Chen
092a5a9b85
Fixes Value metrics in statsd and app upgrades.
...
Pulled value metrics with conditions had a subtle bug that caused
us to leave the condition on even if it should've been false.
Bug: 79778783
Test: Added unit-test and verified on marlin-eng.
Change-Id: I31f34791118319b3471f7a6ea8a024e2d511cfe7
2018-05-15 17:51:47 -07:00
Dan Willemsen
d00c851e55
Merge "Convert to Soong" am: acbd94d76f
...
am: b1005a8a2a
Change-Id: If5cb26e0669f79240d8fee1d40aaa2162d8e611f
2018-05-15 15:06:19 -07:00
Dan Willemsen
b1005a8a2a
Merge "Convert to Soong"
...
am: acbd94d76f
Change-Id: Ib04e6936303b53cf4d919ad07a27a9b8dda86168
2018-05-15 15:00:18 -07:00
Dan Willemsen
4888b1f6f0
Convert to Soong
...
See build/soong/README.md for more information.
Test: m libframeworks_coretests_jni
Test: m FrameworkCoreTests_install
Test: m libshim_jni
Test: m CtsShimPrivUpgrade
Test: m libfilterfw
Test: m PMTest_Java_dual
Test: m libdefcontainer_jni
Test: m libperftestscore_jni
Test: m libpmtest32 libpmtest64
Test: m libprintspooler_jni
Test: m libsmartcamera_jni
Test: m idmap
Test: m libdrmframework_jni
Test: m libdvr_loader com.google.vr.platform com.google.vr.platform.xml
Test: m libfilterpack_imageproc libfilterpack_base
Test: m libwebviewchromium_loader
Test: m shared_mem_test
Test: m test-touchlag
Change-Id: I868561dd237fa28647896d59049ab9260373ada1
2018-05-14 16:47:02 -07:00
Chenjie Yu
315211c74b
Merge "Configurable data error action in value metric" into pi-dev
...
am: 5ca38cafe8
Change-Id: Ic4ce7443e381e42e6b33f93021c6344d18abb9c2
2018-05-14 15:57:30 -07:00
Chenjie Yu
47234644ca
Configurable data error action in value metric
...
Right now in value metric, if a later pull produces a smaller number
than the previous one, we use absolute value of the current value.
This is not correct for some atoms as listed in the CL, which should
just take 0.
For some other atoms, this is unexpected error and should just dump
stale data.
Test: manual test
Bug: 79265262
Change-Id: I59fbfd96cbb57be22cd8d21cb57a7c60ca6856ee
2018-05-14 13:50:25 -07:00
Yangster-mac
2d41c7d382
Merge "Guardrail the max gauge atoms per dimension in one bucket." into pi-dev
...
am: 67cee97754
Change-Id: I74ad62e53fc245f8c77741db3235543846f70832
2018-05-11 20:15:13 -07:00
TreeHugger Robot
67cee97754
Merge "Guardrail the max gauge atoms per dimension in one bucket." into pi-dev
2018-05-12 03:03:01 +00:00
David Chen
efe26104b3
Merge "Fixes statsd reports missing strings and SCS." into pi-dev
...
am: 50a5e71bf3
Change-Id: Icc690ce0a82d07ad46fb95e1a369a037cc9ff9e3
2018-05-11 19:52:59 -07:00
Yangster-mac
50b0c9a608
Guardrail the max gauge atoms per dimension in one bucket.
...
Test: statsd
BUG: b/78603347
Change-Id: Ide77cc8ff0cde6cf6cc9e56034727ed27dd7be88
2018-05-11 17:15:44 -07:00
David Chen
56ae0d9a48
Fixes statsd reports missing strings and SCS.
...
Reports written to disk don't contain the strings used, which will
make this report unusable if there are strings that don't show up
again. We should always include the strings, so this option is
removed entirely.
Also, we hard-coded the wrong number of fields when pulling
ModemActivityInfo. There are actually 10 fields, not 6.
Bug: 79601503
Test: Tested unit-tests pass on marlin-eng.
Change-Id: I6834b096ced77418a9cc2ddd79b08d1c9c447fae
2018-05-11 17:04:56 -07:00
Jaewan Kim
399a7e999c
Merge "MediaSessionService: Provide caller information for media key events" into pi-dev
...
am: 183a63474f
Change-Id: I6ad5053137c2ae7d123940c7f5239060d70ce68f
2018-05-09 22:02:41 -07:00
Jaewan Kim
183a63474f
Merge "MediaSessionService: Provide caller information for media key events" into pi-dev
2018-05-10 04:48:35 +00:00
Yangster-mac
018765f4ca
Merge "Fix the gauge metric data size estimation." into pi-dev
...
am: 3b592910c5
Change-Id: Ie8977d334e3345dd273f7f7fb587e5cd0edd77d8
2018-05-09 19:53:03 -07:00
Yang Lu
85d7b2a060
Merge "Add a sampling method to pull gauge when condition changes to true." into pi-dev
...
am: c2f44a19b2
Change-Id: Ie85fb0789c2330e563242345876ade0e916754fe
2018-05-09 19:49:36 -07:00
TreeHugger Robot
3b592910c5
Merge "Fix the gauge metric data size estimation." into pi-dev
2018-05-10 02:43:20 +00:00
Yang Lu
c2f44a19b2
Merge "Add a sampling method to pull gauge when condition changes to true." into pi-dev
2018-05-10 02:37:49 +00:00
yro
ef16759cdd
Merge "Skip writing metrics to disk if it's entirely composed of no_report_metric" into pi-dev
...
am: 3f57b16deb
Change-Id: Ie5dce0d1678408986360815ec3190c32ee88fbe1
2018-05-09 19:13:51 -07:00
TreeHugger Robot
3f57b16deb
Merge "Skip writing metrics to disk if it's entirely composed of no_report_metric" into pi-dev
2018-05-10 02:02:37 +00:00
Yangster-mac
5ba80b011f
Merge "Fix the flaky gauge/value e2e test due to cached events." into pi-dev
...
am: a159842161
Change-Id: I3942b5c691b31054ca63b3bbd7fc89ec269c9e28
2018-05-09 18:15:58 -07:00
TreeHugger Robot
a159842161
Merge "Fix the flaky gauge/value e2e test due to cached events." into pi-dev
2018-05-10 01:02:10 +00:00
Yangster-mac
b2532daf4d
Fix the gauge metric data size estimation.
...
Test: statsd test
BUG: b/77906846
Change-Id: Ie5ab54771acadde1e825289fe5ec491cc2225458
2018-05-09 23:14:26 +00:00
yro
028091cb15
Skip writing metrics to disk if it's entirely composed of
...
no_report_metric
Test: unit test, cts
Bug: 79488249
Change-Id: I3e13a6271cc36665a43d0f09d8663e5996224477
2018-05-09 16:03:27 -07:00
Yangster
ec3c7a3e58
Add a sampling method to pull gauge when condition changes to true.
...
Test: statsd test
BUG: b/79490890
Change-Id: I82ed6681151f8a217e74bd0d855f817b4fa0619c
2018-05-09 16:02:35 -07:00
android-build-team Robot
e46d7975b8
Merge "Fix partial bucket unit tests." into pi-dev
...
am: c3d0798455
Change-Id: I44f0aa78defe58a6c04411d76d97631fb808305c
2018-05-09 11:40:04 -07:00
android-build-team Robot
c3d0798455
Merge "Fix partial bucket unit tests." into pi-dev
2018-05-09 18:07:24 +00:00
Chenjie Yu
b0828d55e5
Merge "fix cts error on x86 simulator" into pi-dev
...
am: 9743fae2d9
Change-Id: I13f5120724b6983661bd29f93112c66c4bce0f3d
2018-05-08 18:07:57 -07:00
Chenjie Yu
9743fae2d9
Merge "fix cts error on x86 simulator" into pi-dev
2018-05-09 00:53:09 +00:00
android-build-team Robot
30b2280bbe
Merge "Fix statsd returning uidmap with empty reports." into pi-dev
...
am: 0d3a6dee7f
Change-Id: I3ab384316614255710a51ff84e43d1fe4dc076c8
2018-05-08 17:38:02 -07:00
android-build-team Robot
0d3a6dee7f
Merge "Fix statsd returning uidmap with empty reports." into pi-dev
2018-05-09 00:25:31 +00:00
android-build-team Robot
6a748eee30
Merge "Should not use the absolute value when the value does not change." into pi-dev
...
am: 64307ea578
Change-Id: I8d4c27f386e4e952d2d32f627ea3818d8f50334e
2018-05-08 16:46:37 -07:00
Yangster-mac
58e609e339
Fix the flaky gauge/value e2e test due to cached events.
...
Test: statsd test
BUG: b/79265262
Change-Id: I4d67f1c2edb6215a3cea23f8c7b2e8d5099c4aac
2018-05-08 16:19:48 -07:00
Chenjie Yu
3b3adcd8b6
fix cts error on x86 simulator
...
Bug: 78242568
Fix: 78242568
Test: cts test
Change-Id: I235991c7c5b7c5a0d660ebaaff1356cc69fd1854
2018-05-08 15:40:01 -07:00
Yangster
613a7e2a7d
Should not use the absolute value when the value does not change.
...
Test: statsd test
BUG: b/79265262
Change-Id: Ic654e1a07a505ec0e073a41fb41bcd38a29b125e
2018-05-08 15:12:30 -07:00
android-build-team Robot
ccb89f9263
Merge "Adding batterystats history to proto dump." into pi-dev
...
am: 291b944d89
Change-Id: Ie1766ac31bc048eeba13d540c446372ef56c2da6
2018-05-08 08:11:22 -07:00
android-build-team Robot
291b944d89
Merge "Adding batterystats history to proto dump." into pi-dev
2018-05-08 14:58:09 +00:00
Jaewan Kim
77748b623c
MediaSessionService: Provide caller information for media key events
...
Current limitation is that we cannot distinguish between key events
from Window#injectInputEvent() and key presses from physical devices.
Bug: 79185725
Test: Manually verified with the test app, and Cts
Change-Id: I1c3da4a963238512eec8b57fbc2d825c7436b140
2018-05-08 15:53:00 +09:00
David Chen
9e6dbbdadf
Fix statsd returning uidmap with empty reports.
...
We notice devices uploading a bunch of bytes for the uidmap even if
the device is running an empty config, so there are no actual metrics
to report. This hardcodes some logic to skip the inclusion of the
uidmap if there are exactly 0 metrics.
Bug: 79381210
Test: Tested unit-tests on marlin-eng
Change-Id: I96348235341a7faf15ff57d4d1eccac635a3a999
2018-05-07 18:07:19 -07:00
Kweku Adams
71a9531806
Adding batterystats history to proto dump.
...
It will only print out a dump for userdebug or eng builds.
Bug: 77727638
Test: flash device and check output of incident proto and
'dumpsys batterystats -c --history'
Merged-In: Ib74d4c664f23a61e6fc33f700ba6a3c6fad32c74
Change-Id: Ia0c993d1281cc350d93f9c13f5540b349a4bfb84
2018-05-07 17:53:57 -07:00
Yang Lu
0e4b1c1bee
Merge "Fixes statsd returning too much data at once." into pi-dev
...
am: cdb093e080
Change-Id: I64e129a2061c561ddb017067e095ed0e2e9d471b
2018-05-07 17:00:26 -07:00
Yang Lu
cdb093e080
Merge "Fixes statsd returning too much data at once." into pi-dev
2018-05-07 23:49:54 +00:00
Howard Ro
e68a729b08
Merge "Re-enable the logging of APP_BREADCRUMB_REPORTED atom" into pi-dev
...
am: 7ca1b03ece
Change-Id: If52d4b0f2b648e118e9cf10705b4eb2068153b75
2018-05-07 14:56:40 -07:00
Yao Chen
cc884dfc94
Fix partial bucket unit tests.
...
Bug: 79347749
Test: statsd_test
Change-Id: I69eee7172d6fe4ce895530f089193eb08653e269
2018-05-07 10:34:31 -07:00
yro
be6d7f90e8
Re-enable the logging of APP_BREADCRUMB_REPORTED atom
...
Bug: 78613419
Test: manual, cts, unit tests
Change-Id: I279158c8031eda3ee648053ae6a0d13fde7f1176
2018-05-06 22:25:05 -07:00
android-build-prod (mdb)
6149739971
Merge "Convert to Soong" am: b466949e32
...
am: e4ed25ce8b
Change-Id: I8a36b21a97daf698ef7eabd3a840dd06f988f075
2018-05-05 09:48:02 -07:00
android-build-prod (mdb)
e4ed25ce8b
Merge "Convert to Soong"
...
am: b466949e32
Change-Id: I3572e751c4f5da7e57fed17a39c481c51d4c758b
2018-05-05 08:50:28 -07:00