Commit Graph

276 Commits

Author SHA1 Message Date
Jaewan Kim
36b01e6429 Merge "TV PIP: Fix broken TV PIP" into oc-dev am: 2e0d455177
am: 84744bdae2

Change-Id: Ic3d5d6f34a5ee9ddd231efc973576b57394b281f
2017-05-08 22:47:37 +00:00
TreeHugger Robot
2e0d455177 Merge "TV PIP: Fix broken TV PIP" into oc-dev 2017-05-08 22:26:18 +00:00
Jorim Jaggi
1a8c4ddcca Merge "Add TRON logging for bindApplication" into oc-dev am: 802d008e1b
am: fa5252f628

Change-Id: I76fe64031bb9ad22d77be8dcce4923831242079a
2017-05-05 15:58:53 +00:00
Jorim Jaggi
515dd689ad Add TRON logging for bindApplication
Such that we know how much startup latency is the system to blame
and how much of it is the client process to blame.

Test: Open dead app, inspect logs
Change-Id: Ib8d359c2d59ef6f90893928f2b1d4e2ac2590d74
Fixes: 37327717
2017-05-05 15:05:07 +02:00
TreeHugger Robot
bbc79c71a1 Merge "Add metric for anomaly detection" 2017-05-05 01:27:28 +00:00
Jaewan Kim
26c6356397 TV PIP: Fix broken TV PIP
Bug: 37249867
Test: Manual test (checked that the notification UI is shown when the
    PIP starts, and dismissed when the PIP is closed. The 'DETAILS' and
    the 'DISMISS' button in the notification also worked.)
Change-Id: I12e385b51f834991a0115ce5ba7dd98180577adb
2017-05-04 16:16:38 +00:00
jackqdyulei
92e492e9b7 Add metric for anomaly detection
1. FUELGAUGE_ANOMALY_DETAIL(anomaly detail page)
2. DIALOG_HANDLE_ANOMALY(anomaly dialog)

Bug: 37681923
Test: Build
Change-Id: I3c27832933df0d59f16c0124b09aaac2cec9af8a
2017-05-01 13:10:26 -07:00
Badhri Jagan Sridharan
405ce17abb Notify the user when an unsupported accessory is attached
This CL pops up a notification to the user when the device does not
support Analog Type-C headphones but the user connects one.
i.e when the Usb port status reports currentMode=audio_acc, but
audio_acc is not present in the supportedModes list.

Bug: 36604276
Test: Manually test inserting an Audio accessory
Change-Id: If514b9f238da196a7157e1aacb6d7690fde66f21
2017-05-01 10:30:49 -07:00
Dianne Hackborn
8a40a4ca27 Merge "Work on issue #36891897: Need to ensure foreground services can't..." into oc-dev am: f1a4b50739
am: a766f1d1ec

Change-Id: I82c6b62af3d4eddbd4e97c83b2bb7d4a1657c63d
2017-04-30 17:44:10 +00:00
Dianne Hackborn
83b40f69be Work on issue #36891897: Need to ensure foreground services can't...
...hide themselves

The activity manager now keeps track of all apps that are running
foreground services and builds a notification showing them to the
user.  We ensure they are shown to the user for at least 30 seconds
(configurable).  If foreground services are executed while the
screen is off, their apps will be shown to the user for at least
30 seconds after the screen turns back on.

While doing this I am also adding a new process state to distinguish
between "important background" stuff that should bypass bg check vs.
ones that don't.  By default, these now no longer bypass bg check,
which is really the expected (and documented) behavior.  There is a
new bind flag to allow them to bypass bg check, which is currently
only used by the IME.

Also add some new job scheduler commands that will be used to
write new tests cases for jobs timing out.

Bug: 36891897

Test: manual

Change-Id: Ied3f7b56444254513fd776f06b88bc0e54704958
2017-04-29 19:41:12 -07:00
Chris Wren
d8cc90c303 Merge "expose the UID in the EventLog API" into oc-dev am: 8ae5e04636
am: 21abf1cd20

Change-Id: Id1ccf3fa7a50f276003e98cfebee1407e0fa4090
2017-04-28 18:02:57 +00:00
Chris Wren
4d6b54d2bf expose the UID in the EventLog API
Bug: 32806111
Test: runtest --path frameworks/base/core/tests/coretests/src/android/metrics
Change-Id: I16800a33bc6d4d37b3addd71b675fd760bd5d7b8
2017-04-28 11:18:07 -04:00
Julia Reynolds
8c756155e5 Merge "New constant for new settings screen." into oc-dev am: 04225787d8
am: 15b267d59b

Change-Id: I21408b9e8451595d9bf16e2123eda7fc3e75fa9a
2017-04-27 15:30:50 +00:00
Julia Reynolds
80b180761d New constant for new settings screen.
Bug: 36561295
Test: make
Change-Id: I0e2ec6d7b372a9594f8b583540804dde1b79de1a
2017-04-27 14:52:04 +00:00
Denis Kuznetsov
605beddfee Create a metrics events for ag/2085657 (DO disclosure screens)
Bug: 32692748
Test: Tests for functional changes are in ag/2085657
Change-Id: I6988a950ab2aa78dcb3f848b59a5b0905da7b204
Merged-In: I6988a950ab2aa78dcb3f848b59a5b0905da7b204
(cherry picked from commit 7152a41d25)
2017-04-27 11:35:01 +00:00
Daniel Sheng
68a3f53f9b Merge "Added metrics key for camera lift trigger." 2017-04-25 20:43:59 +00:00
Denis Kuznetsov
7152a41d25 Create a metrics events for ag/2085657 (DO disclosure screens)
Bug: 32692748
Test: Tests for functional changes are in ag/2085657
Change-Id: I6988a950ab2aa78dcb3f848b59a5b0905da7b204
2017-04-25 16:28:53 +02:00
Glen Kuhne
f264a71d67 Merge "Wifi Metrics STA event list" into oc-dev am: 9870d0bef7
am: 19bdb91fb7

Change-Id: Ice4284ca5c947b738a4c1d5452e6e7e9502aecd1
2017-04-24 22:00:03 +00:00
TreeHugger Robot
9870d0bef7 Merge "Wifi Metrics STA event list" into oc-dev 2017-04-24 17:57:32 +00:00
Abodunrinwa Toki
c63a0033f8 Merge "Merge "TRON: Log "textAssist" actions." into oc-dev am: fa9d889d3e" into oc-dev-plus-aosp
am: a039aa4439

Change-Id: I417110a15dfef29ff01fcd923ae29ec6f76f4d51
2017-04-20 16:39:54 +00:00
Abodunrinwa Toki
54486c16ba TRON: Log "textAssist" actions.
- Logs when the assist menu item appears in the text selection menu.
- Logs when the assist menu item is selected.
- Logs the the type of the assist menu item that was presented.

Test: Manually tested by looking at the logs. See: go/tron-howto
Bug: 32572232
Change-Id: Ibbbf59423b3f510ab6f2f072962a556c3d6e2f65
2017-04-19 22:10:51 +01:00
Daniel Sheng
2c4bc64f8d Added metrics key for camera lift trigger.
Bug: 37154489
Test: make

Change-Id: I2814092f423d5727b03b1374c53f4612991b8142
2017-04-18 18:32:21 -07:00
Glen Kuhne
8ce9a1ceca Wifi Metrics STA event list
Implemented a new, more atomic connection event list for tracking wifi
connection event metrics. The old 'packaged' connection events are too
inflexible/artificial, and only track the connection ATTEMPT.
The new event list will track the individual commands/messages/events
modifying the state of wifi, with the post processing to determine
number of connections, successes, failures, etc, offloaded to the
consumer of the data.
Coverage has also been extended to track the full connection from
initiation, to connection and final disconnection, as well as piping
through of specific disconnection status and reason codes.

Bug: 35799311
Test: Added unit tests
Change-Id: Id29f39b31ec59adbe010bd21c1c7de7d305ff0f7
2017-04-18 15:57:52 -07:00
Daniel Nishi
ff97ea2eef Merge changes from topic 'cp-movies' into oc-dev
* changes:
  Use the real filters when determining Other Apps.
  Add support for movies & tv apps querying.
2017-04-13 18:39:57 +00:00
Salvador Martinez
fe169d9a0e Merge "Added strings for thermal shutdown warning" into oc-dev am: dc52fd3168
am: 37393f92f3

Change-Id: I1e0c5aa83f7e12a864c607264957a7a985251866
2017-04-13 01:11:25 +00:00
Salvador Martinez
ab932147aa Added strings for thermal shutdown warning
Strings for thermal shutdown warning were missing
so this CL adds them and a proto message value.

Test: SysUI tests still pass
Bug: 30994946
Change-Id: Ifd0b26248c2ebae5bcf32ecbea2566c14be7dc32
2017-04-12 18:41:35 +00:00
Daniel Nishi
77389ff7ec Move the movies metrics constant back into O.
Test: None
Change-Id: I101c334973476af84ddfb76589c851fbb1f82426
2017-04-07 14:25:17 -07:00
Daniel Nishi
45c23fa689 Add support for movies & tv apps querying.
Bug: 36223441
Test: Robotest
Change-Id: Icbb9b8947112f45d37858ceb5cfb1d76f06bda32
Merged-In: Icfb34844601f87d11b7309eacf9385d49ed36338
2017-04-07 14:20:36 -07:00
Kevin Chyn
79932641b6 Merge "renaming/removing fingerprints should be reflected in UI immediately" into oc-dev am: 1a199ba7e1
am: 7b1e255bff

Change-Id: I7508c6e731acf54e71a40b840aba3acad3eadf48
2017-04-07 21:08:56 +00:00
Kevin Chyn
8d1a52803d renaming/removing fingerprints should be reflected in UI immediately
Fixes 30252265
Test: manual

Change-Id: I1828a9f24f732ae3026074fe58542988ca839ef7
2017-04-06 17:51:39 -07:00
Siddharth Ray
6e600c995e Merge "Addition of GNSS key performance indicator logs" 2017-04-06 23:18:30 +00:00
Jason Monk
1b77565a6f Add metrics for nav buttons through KeyButtonView
Doesn't cover home-long-press or overview, but those appear to be
covered by other events.

Test: runtest systemui
Merged-In: I590b52765aaef3c2bf573ce8ab980aa992b1d5b0
Change-Id: I630356245e223a3fb8d4d2fe11be5d498227c0e3
Fixes: 25931698
2017-04-06 15:19:14 -07:00
Jason Monk
cbf591bb91 Add metrics for nav buttons through KeyButtonView
Doesn't cover home-long-press or overview, but those appear to be
covered by other events.

Test: runtest systemui
Change-Id: I590b52765aaef3c2bf573ce8ab980aa992b1d5b0
Fixes: 25931698
2017-04-06 16:46:17 -04:00
Siddharth Ray
bb608c8958 Addition of GNSS key performance indicator logs
Bug: 35963181
Test: Manual
Change-Id: Ibbc8986eb5c52b8e0065b5fd2fdb8579eda11949
2017-04-05 12:00:08 -07:00
TreeHugger Robot
ec814cc255 Merge "Revert "Add constant to track the number of emergency contacts set Test: This CL requires no tests"" 2017-04-04 16:45:53 +00:00
Chris Wren
c4e2e4c3c8 Merge "standardize account manager notification IDs" into oc-dev am: 31a6d784d6
am: 3947186017

Change-Id: I65db298669a1d7d269976c69dde16413950369c0
2017-04-04 14:44:21 +00:00
Chris Wren
717a8815c2 standardize account manager notification IDs
Bug: 36807942
Test: frameworks/base/services/tests/runtests/py
Change-Id: Iad5383ebbf9cf1765da5ad7405da1f79a3761c63
2017-04-04 08:20:58 -04:00
Chad Brubaker
d6ce1adabf Merge "Rename READ_PHONE_NUMBER to READ_PHONE_NUMBERS" into oc-dev am: e35d50622c
am: a8c068f723

Change-Id: Id57b91b68ce6a4e1f31e8670798b59b82593ea96
2017-04-03 18:25:36 +00:00
Maria Garcia Puyol
5841aa811e Revert "Add constant to track the number of emergency contacts set Test: This CL requires no tests"
This reverts commit c7ded40e56.

Change-Id: I169f57704623c6ac79c45d7f1666fa5f8a840522
2017-04-03 18:17:37 +00:00
Chris Wren
be5d41d551 Merge "standardize network policy notification IDs" into oc-dev am: ef3a28cb92
am: 04b0e05bef

Change-Id: Ifd5acffff7b45e02d5ba404550e32e16b5003bd7
2017-04-03 17:58:54 +00:00
Chad Brubaker
e35d50622c Merge "Rename READ_PHONE_NUMBER to READ_PHONE_NUMBERS" into oc-dev 2017-04-03 17:34:13 +00:00
Chris Wren
ef3a28cb92 Merge "standardize network policy notification IDs" into oc-dev 2017-04-03 13:42:44 +00:00
Chris Wren
e970a91765 Merge "move network notification IDs to central registry" into oc-dev am: fb54aee325
am: af2a16bfb0

Change-Id: I3400b06758615aa82e2a87cd4140b91aa9ec853b
2017-04-01 16:28:53 +00:00
TreeHugger Robot
34524fe4f2 Merge "Add constant to track the number of emergency contacts set Test: This CL requires no tests" 2017-04-01 03:11:26 +00:00
Chris Wren
193ae6bc78 standardize network policy notification IDs
Bug: 36811253
Test: make
Change-Id: I8cb2c0a4be549f6e600b4d75b8113a2fd6d7cd64
2017-03-31 15:17:11 -04:00
Chad Brubaker
0c1651f289 Rename READ_PHONE_NUMBER to READ_PHONE_NUMBERS
Bug: 35853790
Test: make -j128 checkbuild
Test: cts-tradefed run commandAndExit cts-dev -m CtsPermission2TestCases
Change-Id: I11d374cbbb6c2deaf74ac784ff995bd182fe9157
2017-03-31 11:20:02 -07:00
Chris Wren
f8c4f620ca move network notification IDs to central registry
Bug: 36808999
Test: make
Change-Id: I34bafa9ce69fc6913a6b4a5935cafd8979d0193b
2017-03-31 14:02:23 -04:00
Chris Wren
49ce49034f Merge "standardize system notification IDs" into oc-dev am: 441162562b
am: 72eb5da93b

Change-Id: Icf0abd881615f16e85547b275edbf081d6ee1819
2017-03-31 17:21:33 +00:00
Chris Wren
282cfefea0 standardize system notification IDs
All the trivial cases, plus some fixes to try to
mitigate collisions with the complex ones.

Complex services to follow in another CL,

Bug: 32584866
Test: make framework services
Change-Id: Ie9663600171d8ede11676e9d66f009dbb06def03
2017-03-31 11:44:05 -04:00
mariagpuyol
c7ded40e56 Add constant to track the number of emergency contacts set
Test: This CL requires no tests

Change-Id: Ic9e666994bb0907d27a20b756862e832d0a3998b
2017-03-30 11:06:47 -07:00