Bug: 35877479
Test: none
This adds a metrics event code for the new page, and removes the final
keyword from some classes to facilitate robolectric tests.
Change-Id: Ia0ae93840f7f12dd57101e7aba9360c210f15a03
- Add logging constant to track when default app is changed in Settings
- Add constants to track Settings search result count/query length
Change-Id: I7cbe5ff5a1cd6ab4cf3a70997268cbfcee1b567a
Fix: 62072727
Test: builds
New metrics added:
1. Number of times HAL crashed during operation.
2. Number of times wificond crashed during operation.
3. Number of times wifi start failed because of a native issue.
Basically the number of times calls to WifiNative.setupForClientMode() &
WifiNative.setupForSoftApMode() fails.
Bug: 36586897
Test: Compiles
Change-Id: Ie9683fd8bfea6b0c64605e407559ff561898c11b
(cherry picked from commit 3607a39bbf99889d964f985727d14bcbdbecfac6)
- FIELD_SETTINGS_PREFERENCE_CHANGE_LONG_VALUE is for int/long/boolean
- FIELD_SETTINGS_PREFERENCE_CHANGE_FLOAT_VALUE is for float
Bug: 38258793
Test: builds
Change-Id: I3cf7750912d64b1efea8e58c3cf83d425a9d11f4
New metrics added:
1. Number of times HAL crashed during operation.
2. Number of times wificond crashed during operation.
3. Number of times wifi start failed because of a native issue.
Basically the number of times calls to WifiNative.setupForClientMode() &
WifiNative.setupForSoftApMode() fails.
Bug: 36586897
Test: Compiles
Change-Id: Ie9683fd8bfea6b0c64605e407559ff561898c11b
Add registration for the camera lift trigger sensor and handling for its
events to GestureLauncherService
Test: Confirmed camera launches on lift gesture if setting is enabled
(and other pieces are in place)
Change-Id: Ibfad2040409d86af2d019e2ce97ab546bef9ba78
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
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
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
...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
Bug: 32692748
Test: Tests for functional changes are in ag/2085657
Change-Id: I6988a950ab2aa78dcb3f848b59a5b0905da7b204
Merged-In: I6988a950ab2aa78dcb3f848b59a5b0905da7b204
(cherry picked from commit 7152a41d25f0296ec5ed41c497f7666e185890eb)
- 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
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
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