android-build-prod (mdb)
df487d3b6b
Merge "Convert to Soong" am: b466949e32 am: e4ed25ce8b
...
am: 6149739971
Change-Id: I1f0f2276e21ab46a7f0fed2f9e287b5f21b070cc
2018-05-05 09:58:46 -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
Dan Willemsen
0dec58456f
Convert to Soong
...
See build/soong/README.md for more information.
Test: cd frameworks/base/cmds/backup mma
Change-Id: I88a45ae568f80228c70f3e4a4a1facaff9520587
2018-05-04 23:17:00 -07:00
Yao Chen
46ab2531f3
Merge "Add cmd to let statsd print all logs it received for debugging." into pi-dev am: a62ae51ba9
...
am: 60bb3fe68d
Change-Id: If312f25ecbb27385b9b6ecc4a3e73ee7e90522bc
2018-05-04 13:55:30 -07:00
Yao Chen
60bb3fe68d
Merge "Add cmd to let statsd print all logs it received for debugging." into pi-dev
...
am: a62ae51ba9
Change-Id: I73cee7eb8bf174b7ee39ce0b94334e93ba48d5b2
2018-05-04 13:40:23 -07:00
Yao Chen
a62ae51ba9
Merge "Add cmd to let statsd print all logs it received for debugging." into pi-dev
2018-05-04 20:21:18 +00:00
android-build-team Robot
b096a34428
Merge "Reset statsd and correctly record the dump reason when system server restarts/crashes." into pi-dev am: ec41a069fd
...
am: c1d985cf8b
Change-Id: I4df0cd841757ed13a9f7bf0f5bbf4d2df8ff0fb2
2018-05-03 20:15:56 -07:00
android-build-team Robot
7b744af70f
Merge "Turns DEBUG to false in statsd." into pi-dev am: 1e9761df82
...
am: 77e1d3fc95
Change-Id: I59e2723e423748e24a5985d7db8377ce0588aef0
2018-05-03 20:07:48 -07:00
android-build-team Robot
c1d985cf8b
Merge "Reset statsd and correctly record the dump reason when system server restarts/crashes." into pi-dev
...
am: ec41a069fd
Change-Id: If18ec5d227a70e070a1a66d9a229de04d986d27f
2018-05-03 20:03:53 -07:00
android-build-team Robot
77e1d3fc95
Merge "Turns DEBUG to false in statsd." into pi-dev
...
am: 1e9761df82
Change-Id: I4f1f138ce9f1e2526c8ba44d0b6d8b6be7a2b63c
2018-05-03 19:58:24 -07:00
android-build-team Robot
ec41a069fd
Merge "Reset statsd and correctly record the dump reason when system server restarts/crashes." into pi-dev
2018-05-04 02:43:03 +00:00
android-build-team Robot
1e9761df82
Merge "Turns DEBUG to false in statsd." into pi-dev
2018-05-04 02:41:44 +00:00
Yangster-mac
892f3d3229
Reset statsd and correctly record the dump reason when system
...
server restarts/crashes.
Test: statsd test
BUG: b/79161505
Change-Id: I0646c764964f6eafde91f9ae0179a1c837af320d
2018-05-03 17:05:24 -07:00
Yangster-mac
754e29edd7
Turns DEBUG to false in statsd.
...
Test: statsd test
BUG: b/79161505
Change-Id: Ic6eee527d625b10aa86b2beb4b4c4fc05b051c7d
2018-05-03 21:19:39 +00:00
Yao Chen
876889cb76
Add cmd to let statsd print all logs it received for debugging.
...
It only works on eng build. And all code is behind a build flag, so the
code will be stripped out in production builds.
Bug: 78239479
Test: manual
Change-Id: I20ee51822d18e6c77ca324a5327712cbed09593e
2018-05-03 10:53:27 -07:00
Mickey Keeley
4d30c269bb
Merge "BootParameters: Use new JSON reader"
2018-05-03 16:55:13 +00:00
android-build-team Robot
c4e8cde88d
Merge "Preventing zombie process creation." into pi-dev am: ca6f36532d
...
am: 193c893b01
Change-Id: Id32203ab069343410a02c03956a7c6135f8a1b33
2018-05-02 18:05:11 -07:00
Yi Jin
68a16c4277
Merge "Add a section flag to bypass failure if a specific path can't be found." into pi-dev
...
am: e09cde0cd9
Change-Id: I01c5a7a2c1ead02f5af0514cf9bf9b83f1682316
2018-05-02 15:10:58 -07:00
Mickey Keeley
dfaa9c5e5c
BootParameters: Use new JSON reader
...
* Update JSON blob that BootParameters reads from.
* Change JSON reader to allow custom keys.
Bug: 78524407
Test: Builds. Unit tests pass. End to end flow with RebootActivity
passes values as expected.
Change-Id: I2966f560de4aaf045125946c7fbe1becd47354be
2018-05-02 14:56:52 -07:00
Yi Jin
e09cde0cd9
Merge "Add a section flag to bypass failure if a specific path can't be found." into pi-dev
2018-05-02 21:36:23 +00:00
Yang Lu
890db383f9
Merge "Lock the pulling alarm handler." into pi-dev am: 493bb2b119
...
am: 2eccd835de
Change-Id: I4c488e49c74021459b4a86ba9d596bed2e2007c1
2018-05-02 14:31:12 -07:00
android-build-team Robot
193c893b01
Merge "Preventing zombie process creation." into pi-dev
...
am: ca6f36532d
Change-Id: Ie0c1ea1d658f719262f3e7473046a732915d7284
2018-05-02 14:17:18 -07:00
android-build-team Robot
ca6f36532d
Merge "Preventing zombie process creation." into pi-dev
2018-05-02 20:58:14 +00:00
Yang Lu
2eccd835de
Merge "Lock the pulling alarm handler." into pi-dev
...
am: 493bb2b119
Change-Id: I91bc58bf99a1834821f88aeee3f1ce99da9861e5
2018-05-02 11:43:26 -07:00
Yang Lu
493bb2b119
Merge "Lock the pulling alarm handler." into pi-dev
2018-05-02 18:25:18 +00:00
Yi Jin
7fe3dee3ae
Add a section flag to bypass failure if a specific path can't be found.
...
This is a temporary solution to bypass failure of reading cpu info or
battery type in P if the path doesn't exist on some devices. See bug for
details. However in Q, incidentd should implement reading from the
common Linux kernel interfaces.
Bug: 78028767
Bug: 78239764
Test: atest incidentd_test
Change-Id: I08ffcb21709efe5478d2ac46121deb5795af1024
Merged-In: I08ffcb21709efe5478d2ac46121deb5795af1024
2018-05-02 01:31:08 +00:00
Yi Jin
d9956a06fd
Merge "Add a section flag to bypass failure if a specific path can't be found."
2018-05-02 01:30:13 +00:00
android-build-team Robot
b5371d441f
Merge "Reduce statsd log data size." into pi-dev am: b85e5616df
...
am: f308d98f79
Change-Id: I2ac1c09c4473eb31ed163395272b6ccfaba51917
2018-05-01 18:05:39 -07:00
android-build-team Robot
f308d98f79
Merge "Reduce statsd log data size." into pi-dev
...
am: b85e5616df
Change-Id: Id60db7bd29b103194904b8bdf5fc1b788cf7efc2
2018-05-01 17:56:08 -07:00
android-build-team Robot
b85e5616df
Merge "Reduce statsd log data size." into pi-dev
2018-05-02 00:45:51 +00:00
Yi Jin
3f3603587c
Add a section flag to bypass failure if a specific path can't be found.
...
This is a temporary solution to bypass failure of reading cpu info or
battery type in P if the path doesn't exist on some devices. See bug for
details. However in Q, incidentd should implement reading from the
common Linux kernel interfaces.
Bug: 78028767
Bug: 78239764
Test: atest incidentd_test
Change-Id: I08ffcb21709efe5478d2ac46121deb5795af1024
2018-05-01 16:25:52 -07:00
android-build-team Robot
c1b66305a6
Merge "Increase the bytes per config threshold to avoid too frequent uploading." into pi-dev am: e442db3e40
...
am: 80c93aed29
Change-Id: I9580a5cdccda24c7e5d7c586e783be90703c3de0
2018-05-01 14:39:36 -07:00
android-build-team Robot
80c93aed29
Merge "Increase the bytes per config threshold to avoid too frequent uploading." into pi-dev
...
am: e442db3e40
Change-Id: I4d3c0d72f5269ccd0f3e3ed6c38c06cd3de7021c
2018-05-01 14:24:48 -07:00
android-build-team Robot
e442db3e40
Merge "Increase the bytes per config threshold to avoid too frequent uploading." into pi-dev
2018-05-01 21:02:32 +00:00
android-build-team Robot
f370ee41fc
Merge "Clear the past buckets for no-report metrics" into pi-dev am: c0775117c4
...
am: 6e7821ec66
Change-Id: Ief582aa48afcfb0c6fe5b683bfa5b4ffa20ac80a
2018-04-30 17:42:46 -07:00
android-build-team Robot
6e7821ec66
Merge "Clear the past buckets for no-report metrics" into pi-dev
...
am: c0775117c4
Change-Id: I6ba6ff0c5acf845c8838224c0fea2ea62de112f0
2018-04-30 17:27:10 -07:00
Mickey Keeley
953f1093cd
Add BootParameters tests.
...
Bug: 78577334
Test: Builds on master (aosp_x86-userdebug),
unit tests pass on oc-mr1 (on iot target).
Change-Id: I3584a285f1be914cc3e940469d7dea142d4a4231
2018-04-27 10:44:42 -07:00
Yangster-mac
9def8e3995
Reduce statsd log data size.
...
1. Hash the strings in metric dimensions.
2. Optimize the timestamp encoding in bucket.
Use bucket num for full bucket and millis for
partial bucket.
3. Encode the dimension path per metric and avoid
deduping it across dimensons.
Test: statsd test
Change-Id: I18f69654de85edb21a9c835c73edead756295e05
BUG: b/77813755
2018-04-26 04:30:18 -07:00
Yangster-mac
a802d73da6
Clear the past buckets for no-report metrics
...
Test: statsd tests.
BUG: b/78503732
Change-Id: I3de855929ad05677769cffaae4fea2db0d2f32da
2018-04-24 08:07:20 -07:00
Kweku Adams
a8a56c8bd1
Preventing zombie process creation.
...
Bug: 78363774
Test: flash device, run 'adb shell incident', then check
'adb shell ps | grep incidentd'
Change-Id: I473894eb1c05ce8557da846d1ccdcbfa672356eb
2018-04-24 05:53:15 -07:00
TreeHugger Robot
53f35f7780
Merge "[statsd] Fix a memory leak"
2018-04-24 02:52:19 +00:00
Yi Jin
8cb370f2a2
Use the right printf symbols rather than converting to ints.
...
Bug: 77333635
Test: make -j incidentd
Change-Id: I3338279c385051b5df334af481e7f47f16d16480
2018-04-23 13:03:14 -07:00
Yi Jin
74679ef6c4
Merge "Make the logging more concise."
2018-04-23 17:57:53 +00:00
George Burgess IV
ef8262cedf
[statsd] Fix a memory leak
...
Reported by the static analyzer:
frameworks/base/cmds/statsd/src/main.cpp:81:16: warning: Potential leak
of memory pointed to by 'data' [clang-analyzer-cplusplus.NewDeleteLeaks]
Bug: None
Test: Built with the static analyzer; warning disappeared.
Change-Id: Icf2cfb4bc4b397d8664e91ddb6c6e346c33ec4ac
2018-04-23 10:18:34 -07:00
TreeHugger Robot
6a35cdcc82
Merge "Retry when IO operations fail with EINTR, make incidentd more robust."
2018-04-21 10:36:48 +00:00
Yao Chen
c0100c1222
Merge changes from topic "statsd_socket_review" into pi-dev am: 46fca44ee5
...
am: 3585804c70
Change-Id: I97f951a53f7d0466be48c521a58ac77b3616145a
2018-04-20 20:33:43 -07:00
Yao Chen
3585804c70
Merge changes from topic "statsd_socket_review" into pi-dev
...
am: 46fca44ee5
Change-Id: Iae06193a18ad48a664904dbd5bc26c5b4c7ae45f
2018-04-20 19:56:54 -07:00
TreeHugger Robot
46fca44ee5
Merge changes from topic "statsd_socket_review" into pi-dev
...
* changes:
Add socket listener to statsd. And remove Davey atom.
Allow StatsLog to directly write to statsd's socket.
2018-04-21 02:29:55 +00:00
Yao Chen
49954cd681
Add socket listener to statsd. And remove Davey atom.
...
+ The socket listener is behind a flag. It's disabled until we get sepolicy changes in.
+ Data parsing code is from logd, because we use the same format.
+ Removed Davey from JankTracker because it violates our new sepolicy
Test: manually
Bug: 78239479
Change-Id: Ib17729fbc362cdb13385f780e2d636a95adf9bc3
2018-04-20 17:41:25 -07:00