Commit Graph

391496 Commits

Author SHA1 Message Date
Bookatz
ff71cadecc Statsd can dump data as proto to bugreport
* Creates an incident section for statsd data.
* Allows dump to output statsd data, in proto format.
* Hooks up two statsd outputs to bugreports:
  -statsd report data in proto format
  -statsd metadata (statsdstats) in text format

The incident section does not import stats_log.proto because that turns
out to be extremely difficult: stats_log.proto imports atoms.proto,
which imports more things and is enormous and causes all sorts of
problems. atoms.proto was purposefully never compiled in AOSP, so to
retain that feature, the incident section uses 'bytes' instead of an
actual message. Since this isn't ever read in AOSP (other than testing),
this should be fine.

Bug: 115678461
Test: take a bug report and confirm valid proto
Test: cts-tradefed run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.atom.HostAtomTests#testDumpsysStats

Change-Id: I1c370af7678d1dc7440ce299ea5ea4da6d33832b
2018-11-05 18:52:49 -08:00
Bill Yi
5f106c8ee5 [automerger skipped] Import translations. DO NOT MERGE am: 28d6f81665 -s ours
am: 231d627b11  -s ours

Change-Id: Ia6ad8c0eda1e1990ecd176c1aad6ce619496628a
2018-11-02 08:50:01 -07:00
Bill Yi
231d627b11 [automerger skipped] Import translations. DO NOT MERGE
am: 28d6f81665  -s ours

Change-Id: I74418f13916d2a22f66ec2ef940ac9457ef4f049
2018-11-02 08:44:49 -07:00
TreeHugger Robot
07e8416f8f Merge "Fixes clipping of icons in shelf." 2018-11-02 13:49:14 +00:00
David Brazdil
d68ee776be Merge "Remove non-SDK API toast" am: 13c2382d4f am: 6a35521032
am: c62139b488

Change-Id: Ie2a51568cf0630e0634548121b713f1778f1ff84
2018-11-02 06:30:04 -07:00
Beverly Tai
b9bfae6401 Merge "Use consolidated zen policy for dnd" 2018-11-02 13:21:06 +00:00
David Brazdil
c62139b488 Merge "Remove non-SDK API toast" am: 13c2382d4f
am: 6a35521032

Change-Id: Idd0496cf57b2b58a95a0377d969f7a0589f904a7
2018-11-02 06:17:10 -07:00
Richard Uhler
3853952b9b [automerger skipped] resolve merge conflicts of 617d382303 to pi-dev-plus-aosp
am: 58ccf0e41e  -s ours

Change-Id: Ic618b91ecf5597ea864347c964556dddd69260a9
2018-11-02 06:09:05 -07:00
Richard Uhler
58ccf0e41e resolve merge conflicts of 617d382303 to pi-dev-plus-aosp
Test: None
Bug: 113942223
Change-Id: I0ce0db080c355b259b6140cc67772b8400e46b82
Merged-In: I1b65a8bee81f1d190c587cf65cb55da64a184284
2018-11-02 11:19:57 +00:00
Bill Yi
28d6f81665 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I5d2c2e7a3e5cbdf820afc71ea2a340eb502982f6
2018-11-02 03:41:58 -07:00
David Brazdil
6a35521032 Merge "Remove non-SDK API toast"
am: 13c2382d4f

Change-Id: Iab7f96cc1c91367a0a677dfe52c6fae4a77c30ff
2018-11-02 03:36:22 -07:00
David Brazdil
13c2382d4f Merge "Remove non-SDK API toast" 2018-11-02 10:17:28 +00:00
Jack Yu
617d382303 Merge "Deprecated the resource config_tether_apndata"
am: 346bae7c76

Change-Id: I1d90ce713522809e97fa67ae3e6aaa25966c55bd
2018-11-02 00:11:45 -07:00
Jack Yu
346bae7c76 Merge "Deprecated the resource config_tether_apndata" 2018-11-02 06:54:03 +00:00
TreeHugger Robot
13638940ca Merge "passpoint-r2: change the status for server connection" 2018-11-02 06:38:31 +00:00
TreeHugger Robot
9df66fc2f1 Merge "Don't restore from recent task if not launching" 2018-11-02 05:02:53 +00:00
TreeHugger Robot
a17b785a64 Merge "Performs null checks in NanoApp class" 2018-11-02 03:43:02 +00:00
Kevin Chyn
0ac63d74fb Merge "Fix BiometricDialog onConfigChange crash" 2018-11-02 03:24:03 +00:00
Hall Liu
8d79bdc341 Merge "Protect TelephonyManager.ACTION_SECRET_CODE" am: 68a544d209 am: a0c65b0651
am: 66bd451023

Change-Id: I2a66287f3db25990ad76479ace0a01414e116d4e
2018-11-01 19:06:52 -07:00
TreeHugger Robot
3985b94caf Merge "WM: Fix jumpcut animations" 2018-11-02 01:51:19 +00:00
Hall Liu
e3f689d924 Merge "Add TestApi to get RTT support status" am: f583bb525a am: c02e86d0bf
am: 80dc0e2676

Change-Id: I9a9c30bac258ae38c44b2d82fca1572e96eb1cf7
2018-11-01 18:49:41 -07:00
Hall Liu
66bd451023 Merge "Protect TelephonyManager.ACTION_SECRET_CODE" am: 68a544d209
am: a0c65b0651

Change-Id: I193d79249991c8d946624110dfded9bcb1b5b195
2018-11-01 18:47:40 -07:00
TreeHugger Robot
6f78be2b03 Merge "annotate intentional fallthroughs in switch()" 2018-11-02 01:38:36 +00:00
Hall Liu
a0c65b0651 Merge "Protect TelephonyManager.ACTION_SECRET_CODE"
am: 68a544d209

Change-Id: I1cf6213ec9b2762f467e1c8c828635b02e421f5e
2018-11-01 18:38:13 -07:00
Hall Liu
80dc0e2676 Merge "Add TestApi to get RTT support status" am: f583bb525a
am: c02e86d0bf

Change-Id: I2dae10205691bc6e32be24f70bc786a1ec6f1a96
2018-11-01 18:24:42 -07:00
Hall Liu
68a544d209 Merge "Protect TelephonyManager.ACTION_SECRET_CODE" 2018-11-02 01:23:43 +00:00
TreeHugger Robot
c0f94f4189 Merge "Grant split permission from config" 2018-11-02 01:10:46 +00:00
Hall Liu
c02e86d0bf Merge "Add TestApi to get RTT support status"
am: f583bb525a

Change-Id: Iaec0f9d035cfa657a345ee8ca25fc7d810f1d933
2018-11-01 18:05:09 -07:00
Nick Kralevich
7ad27176ec Merge "set O_CLOEXEC on /dev/tun open" am: 68fd19b04c am: 780ba3226e
am: 6f787d1bd5

Change-Id: If496a6f0690da479634d61a8642f4abec0172f6a
2018-11-01 17:52:40 -07:00
Hall Liu
f583bb525a Merge "Add TestApi to get RTT support status" 2018-11-02 00:43:27 +00:00
Kenny Root
8b0a22dbad Merge changes from topic "usb-adb-separation"
* changes:
  Update USB tests for ADB split
  Move AdbDebuggingManager to AdbService
  AdbService: move source of truth for enabled
  Add empty AdbHandler
  Add systemReady call for AdbService
  Add function to query ADB state
  Register USB as an ADB transport type
  Add ADB transport skeleton
  Add empty AdbManagerInternal for system server
  Add empty AdbService to SystemServer
  Move ADB debugging manager to core
  Rename to AdbDebuggingManager
  Move UsbDebuggingManager to new package
2018-11-02 00:43:05 +00:00
Nick Kralevich
6f787d1bd5 Merge "set O_CLOEXEC on /dev/tun open" am: 68fd19b04c
am: 780ba3226e

Change-Id: I2433ece20b0ac8704e6349c06860a9eec121d14f
2018-11-01 17:38:07 -07:00
Kevin Chyn
838df2502f Merge "Update LockPatternUtils for consistency" 2018-11-02 00:37:24 +00:00
Chen Xu
252040f54f Merge "hidden API getCertsFromCarrierPrivilegeAccessRules" 2018-11-02 00:20:33 +00:00
Nick Kralevich
780ba3226e Merge "set O_CLOEXEC on /dev/tun open"
am: 68fd19b04c

Change-Id: I3edea2f3738764d486a7b60a8f13697396d2ef7d
2018-11-01 17:15:03 -07:00
TreeHugger Robot
9b2ca344b7 Merge "Implement matchFamilyStyleCharacter API" 2018-11-01 23:53:12 +00:00
Treehugger Robot
68fd19b04c Merge "set O_CLOEXEC on /dev/tun open" 2018-11-01 23:52:27 +00:00
Kevin Chyn
02129b19f1 Fix BiometricDialog onConfigChange crash
BiometricDialog was crashing during orientation changes due to
incorrectly tracked window state.

Test: With BiometricPromptDemo, orientation changes work again
Test: Unplub USB, enable battery saver, start authentication,
      plug in USB. Changes from dark theme to light theme
Test: BiometricDialog width is correct before/after rotation

Change-Id: Id6021f3defded1bfd71c008b4ebdab2e13f9f515
Fixes: 118835751
2018-11-01 16:50:16 -07:00
Tyler Gunn
ee72c438b7 Merge "Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call." am: cc690e9a48 am: f2dc5a204a
am: 3584c0a088

Change-Id: Ie20ead7404d1f200785104d896129212d126d9e7
2018-11-01 16:34:34 -07:00
TreeHugger Robot
1322fa1efe Merge "Allow apps to construct AudioPresentation object" 2018-11-01 23:24:56 +00:00
TreeHugger Robot
4f906f8898 Merge "Makes iterator internal in NanoAppStateManager" 2018-11-01 23:20:54 +00:00
Tyler Gunn
3584c0a088 Merge "Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call." am: cc690e9a48
am: f2dc5a204a

Change-Id: I39dd19c1c09b15136460854fd0e5a2b8161766c3
2018-11-01 16:15:49 -07:00
TreeHugger Robot
005489c07e Merge "Adding screen recording function." 2018-11-01 23:14:14 +00:00
Tyler Gunn
f2dc5a204a Merge "Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call."
am: cc690e9a48

Change-Id: I95cc7e6ac3b15491790bec13f794a6c9042a628c
2018-11-01 16:01:54 -07:00
Tyler Gunn
cc690e9a48 Merge "Add PROPERTY_VOIP_AUDIO_MODE to android.telecom.Call." 2018-11-01 22:42:22 +00:00
Chen Xu
4c2ca62956 [automerger skipped] Merge "refactor resetNv API to resetRadioConfig and rebootRadio" am: e459133141 am: d565e3168e
am: 35d377e27d  -s ours

Change-Id: I08a94ce62e4dfe6de29a6e8e062a19917477577b
2018-11-01 15:40:04 -07:00
Eugene Susla
8394092808 Merge "Revert sms appops to their original defaults" 2018-11-01 22:32:55 +00:00
Selim Cinek
7a62dca13e [automerger skipped] Merge "Added new members as SystemUI owners" am: 73c861da69 am: 7859ff0248
am: 0ce850b827  -s ours

Change-Id: Ida9970b28f37e12167adbefc9461b9878e7ba2d2
2018-11-01 15:31:36 -07:00
Ray Essick
67004bc46d annotate intentional fallthroughs in switch()
also disable the temporary 'suppress the warning' flags

Bug: 118756460
Test: compilation
Change-Id: Iefeb66be13099021940ec8bce2515c62052b9304
2018-11-01 15:25:23 -07:00
TreeHugger Robot
eb651edabf Merge "Add controller APIs for RoleManager." 2018-11-01 22:22:45 +00:00