Commit Graph

3309 Commits

Author SHA1 Message Date
David Chen
56bd86bfda Merge "Fixes Value metrics in statsd and app upgrades." into pi-dev am: c9076fac9b
am: fcac66945b

Change-Id: I69ec35986b48e33b61a93dca78b0aa4dff2a9ce8
2018-05-15 19:54:54 -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
f97d380ca7 Merge "Convert to Soong" am: acbd94d76f am: b1005a8a2a
am: d00c851e55

Change-Id: I889b5d31535d927b3aa9cf5ad6af955ca0678356
2018-05-15 15:52:51 -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
fc5e3bc1a7 Merge "Configurable data error action in value metric" into pi-dev am: 5ca38cafe8
am: 315211c74b

Change-Id: Iafca516e23b063bab59e751cecbea9ef9e25c1bd
2018-05-14 16:10:18 -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
ef68bf057f Merge "Guardrail the max gauge atoms per dimension in one bucket." into pi-dev am: 67cee97754
am: 2d41c7d382

Change-Id: I59c218fe5048f2d9e828f6f4f621b031cd424acd
2018-05-11 20:23:49 -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
bf0f709aa4 Merge "Fixes statsd reports missing strings and SCS." into pi-dev am: 50a5e71bf3
am: efe26104b3

Change-Id: Ied3e488c357ce30206aa80179a8d204204ff07a4
2018-05-11 20:01:47 -07: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
8c65f9b68a Merge "MediaSessionService: Provide caller information for media key events" into pi-dev am: 183a63474f
am: 399a7e999c

Change-Id: I7282bf70bfb59ed9d9d81f5780bd49090bb252c6
2018-05-09 22:13:52 -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
0353819e3e Merge "Fix the gauge metric data size estimation." into pi-dev am: 3b592910c5
am: 018765f4ca

Change-Id: Ie878c5b50a2c11f85283d1108a6af08b071110b6
2018-05-09 20:03:55 -07:00
Yang Lu
9324996312 Merge "Add a sampling method to pull gauge when condition changes to true." into pi-dev am: c2f44a19b2
am: 85d7b2a060

Change-Id: I0ca761b2a13c95c86c604873d80597ba91a3d8bb
2018-05-09 19:59:14 -07: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
54db2eb0cf Merge "Skip writing metrics to disk if it's entirely composed of no_report_metric" into pi-dev am: 3f57b16deb
am: ef16759cdd

Change-Id: I68f6ff7f259acd0ac43c7e34bf259e35bcc2fd1a
2018-05-09 19:24:10 -07: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
dbaaa54aa1 Merge "Fix the flaky gauge/value e2e test due to cached events." into pi-dev am: a159842161
am: 5ba80b011f

Change-Id: I5765a703cdd641d1d0d054a3b9697e558d133a51
2018-05-09 18:25:32 -07: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
ef2a0c3c0d Merge "Fix partial bucket unit tests." into pi-dev am: c3d0798455
am: e46d7975b8

Change-Id: I8f0022a85d9a86c71e421654542b9082d2231e0c
2018-05-09 12:12:28 -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
21f0b3abea Merge "fix cts error on x86 simulator" into pi-dev am: 9743fae2d9
am: b0828d55e5

Change-Id: Id25dc7960e984e99328fcbbdc729c29021677e3e
2018-05-08 18:15:01 -07: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
3183470221 Merge "Fix statsd returning uidmap with empty reports." into pi-dev am: 0d3a6dee7f
am: 30b2280bbe

Change-Id: I27d74b551c56552542a2f56c64fb8326fabb9a9a
2018-05-08 17:42:52 -07: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
1515a28eed Merge "Should not use the absolute value when the value does not change." into pi-dev am: 64307ea578
am: 6a748eee30

Change-Id: I8c3a1f81ef65bc0af8fcb8dbbb832c5cf2b80285
2018-05-08 16:55:17 -07: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