51 Commits

Author SHA1 Message Date
Chris Wren
6abeeb9119 add metrics for gestural notification expansions
Bug: 28146482
Change-Id: If202846c0d235830c7b41d76b55bdcc21d0ab90d
2016-05-26 17:20:33 -04:00
Chris Wren
698b1706be add metrics for notification and group expansion
Bug: 28146482
Change-Id: Id7f71873ba33f85c1a1f2c48b47f78d40df46c0d
2016-05-25 17:08:17 -04:00
Julia Reynolds
8f3e66f2fe Logging for QS settings launch.
Change-Id: Iff8bbb448454c8a82196d292a285827846b28357
Fixes: 28678032
2016-05-12 10:33:47 -04:00
Jason Monk
a1f697f537 Add metrics constant for new settings activity
Bug: 28554048
Change-Id: I3e2008890779867ecbc5fe485f33d52d75f0b324
2016-05-11 09:58:48 -04:00
Jason Monk
25118d1aa2 Add constants for settings pages
Some settings pages weren't extending SettingsPreferenceFragment
and they need to.

Bug: 28634520
Change-Id: Iebb63027b6390974eb2070b3388763d49e9529e6
2016-05-11 09:56:49 -04:00
Narayan Kamath
3496fdbd2f Patrially revert 4ec026930bfbbb5d8923f359c8.
In preparation for using MetricsLogger.histogram / count. The main
purpose of this change is to remove the (now bogus) action IDs
associated with this logging.

bug: 28528058
bug: 28544474

Change-Id: Id79de2d34c3f937a327ac21d44e55c18047bce85
2016-05-10 14:26:46 +01:00
Narayan Kamath
4ec026930b PackageManager : Log stats about the optimizing apps dialog.
Logs the following parameters :
- Total time spent optimizing apps.
- Total number of apps that were dexopted.

TESTED: with adb logcat -b events:
05-04 15:24:16.303  2065  2065 I sysui_action: [402,3]
05-04 15:24:16.303  2065  2065 I sysui_action: [403,34]
05-04 15:24:16.303  2065  2065 I sysui_action: [404,0]
05-04 15:24:16.304  2065  2065 I sysui_action: [405,163]
05-04 15:24:16.304  2065  2065 I sysui_action: [406,12168]

This shows that:
 - 3 apps were optimized
 - 34 apps were skipped
 - 0 apps failed to optimize
 - dialog showed a total of 37 (3 + 34 + 0) apps
 - system has 163 optimizable packages
 - a total of 12.2 seconds was spent in the optimizing apps dialog

bug: 28528058
bug: 28544474
Change-Id: I9eb5229a1589ca0df57d3fc03102992fa90a877f
2016-05-05 12:24:09 +01:00
Tony Mak
7a5b17bb98 Add metric for managed profile setting
Bug: 28281560
Change-Id: I6ec0a8dbfea179476335b9d624020b80e51e97a8
2016-04-29 13:36:46 +00:00
Adrian Roos
ceeb04c7c4 RemoteInput: add logging and metrics
Bug: 28277176
Change-Id: I79421927cc686f989231c29dd505b70ed22739f7
2016-04-27 09:04:25 -07:00
Felipe Leme
3ff576454b Added new actions for Data Saver stats.
BUG: 28166693
Change-Id: I9b7bba21da622ade9a419f3717a2d18a87f4143d
2016-04-15 09:10:17 -07:00
Julia Reynolds
4d920ff6eb Notification slider update.
Bug: 27558254
Change-Id: I5e03aacf3aafb900f45d227a031a5dbb328ba18f
2016-04-15 11:03:53 -04:00
Jorim Jaggi
29379ec859 TRON refinements for multi-window
Bug: 26013430
Change-Id: I89b139b4ca3e7b6a06d8b5b351d67ffac240f73f
2016-04-12 19:43:52 -07:00
Jason Monk
397df6875d Add constant for premium sms screen
Bug: 27657256
Change-Id: Ia5b209deceb1726b62529c4144a85f5fc2d26833
2016-04-08 11:37:34 -04:00
Jason Monk
d9b7909989 Fix build
Change-Id: I75e49ea144d47819c0fb7b4cd2e19a6c42b28ff1
2016-03-31 10:00:09 -04:00
Jason Monk
1b5d87ba5f Add constants for settings suggestions metrics
Bug: 27851236
Change-Id: Ia5962a5430246c7fa1221a638447c8c86b011223
2016-03-31 09:45:43 -04:00
Jason Monk
c36203965a Add some constants for settings conditionals
Bug: 27851236
Change-Id: I3725be01e0d5de13b81f82ec594bed5f95b5bb18
2016-03-31 09:44:10 -04:00
Anna Galusza
dad131f3c6 Add logging constants for SUW A11y (Vision Settings) screens.
Bug: 27777706

Change-Id: Iaf9ed7f9186fc1a6da3179e8e58b58341c4d8806
2016-03-30 10:30:41 -07:00
Jason Monk
96defbe2b1 Add more metrics for QS
Bug: 27851703
Change-Id: Iecd1eb739fa1a283b7964b6e0952673e5fb38e8f
2016-03-30 12:26:04 -04:00
Winson
3b6ba1ab14 Adding clear-all button.
Change-Id: Ife637438b191c4a5004f3c6551bc75691e8e426b
2016-03-29 17:57:56 -07:00
Felipe Leme
db892b84e5 Allow Scoped Directory Access on whole volume.
There are some scenarios where an app needs access to the whole SD Card,
not subdirectories. For example, user might have a SDCard with
directories like vacation_pictures (instead of Pictures/vacation);
another example is a file management app.

BUG: 27676858
Change-Id: I20ef713de7e4dfa7e2d7d07bab11898af186d673
2016-03-21 14:25:17 -07:00
Felipe Leme
adccb9950e Add a "Do not ask again" checkbox.
When an app request access to a scoped directory which the user already
denied access, it will display a "Do not ask again" checkbox; if the
user checks that option, further requests will be automatically
rejected.

The history of denials is stored in the shared property file.

The UI is not polished yet, the style will be fixed in a future change.

BUG: 26750152

Change-Id: I181923adfb6a1c7c1c17e305d6838314280417fc
2016-03-15 11:12:53 -07:00
Muyuan Li
a212999f24 Added shortcut key to dock windows
Meta + [ / ] will dock top window to left / right or cycle
between 1/3 1/2 2/3 of screen if it's already in docking mode

Change-Id: I546418235a9b9699d406b04f52914c85bd950532
(cherry picked from commit 63635675b56564a17e3897a221d73a19cfbc77f7)
2016-03-09 18:35:50 +00:00
Jason Monk
6f5354d291 Update metrics_constants from settings
Change-Id: I606afa7881bfd6b751f3cf6ab5f482ea62386b33
2016-03-09 09:01:40 -05:00
Ruben Brunk
e24b9a6cfa Add a VR listener service.
Bug: 22855417
Bug: 26724891
Bug: 27364145

- Add an API for VrListenerService, which is bound/unbound
  from the framework when the system VR mode changes.
- Allow only a single bound VrListenerService at a time.
- Monitor allowed VrListenerService implementations from
  VrManagerService and evict services as needed when packages,
  users, or settings change.
- Remove previous VR functionality in NotificationListenerService.
- Add component target to Activity#setVrMode to allow
  explicit selection of the running VrListenerService from
  the current VR activity.

Change-Id: I776335f4441be0e793d3126f2d16faf86a8c621a
2016-03-07 15:54:12 -08:00
Chris Wren
b279a8b39c Merge "add more comments from the other file" into nyc-dev 2016-03-04 22:42:03 +00:00
Chris Wren
dc86f34a09 add more comments from the other file
Bug: 27429645
Change-Id: Ie903240af25a15f0f57cda5a8c57377d001a2f2c
2016-03-04 22:34:44 +00:00
Mady Mellor
a41587b91f Add logging for actions around gear behind notifications
Bug: 22451710
Change-Id: Ife93a9fb983e53585445d5827dd4c15f5b35d637
2016-03-03 06:42:23 -08:00
Chris Wren
e83cd6147b Merge "add all those great comments from the other file" into nyc-dev 2016-03-02 17:51:29 +00:00
Chris Wren
7c5168457b add all those great comments from the other file
also pick up some enum renaming

Bug: 27429645
Change-Id: Id26ddea46755b43e8db298b87b3a47b69be0f728
2016-03-01 16:44:32 -05:00
Chris Wren
ccb7f018e6 Merge "Revert "add all those great comments from the other file."" into nyc-dev 2016-03-01 21:02:51 +00:00
Chris Wren
58f5bd5412 Revert "add all those great comments from the other file."
This reverts commit 72a4bbc694aef402a9a3fc1656d8bf26decaeb70.

Change-Id: Ib351cdd85b8daf17fecc23a3851dda9fb89e477c
2016-03-01 21:02:21 +00:00
Adrian Roos
159ef7b4e9 Improve mergeability of metrics_constants.proto
Change-Id: I6f964d85b5d1b85a04bc8ac2a87453455be93719
2016-03-01 11:59:15 -08:00
Chris Wren
f3179cf56a Merge "add all those great comments from the other file." into nyc-dev 2016-03-01 19:38:45 +00:00
Chris Wren
72a4bbc694 add all those great comments from the other file.
Bug: 27429645
Change-Id: Ice3b1d01f27fa872191cd07f54b55a51733f77a1
2016-03-01 14:31:56 -05:00
Felipe Leme
3e166b27fc Created metric events for scoped directory access API.
BUG: 27334821
Change-Id: I8a1bfc328dcd26b42bb66884d14b34ad11aa232f
2016-03-01 10:12:58 -08:00
Jorim Jaggi
275561a746 App transition delay tracking
Add TRON logging for all kinds aspects when we execute an app transition.

Bug: 27295491
Change-Id: Icb0cbdb92d4d5fbfedadd40a017a50eb217058aa
2016-02-26 14:15:00 -05:00
Winson
d93429076c Track double taps to launch the previous task.
Change-Id: Icd792ed4f508f8a8540a5cd2d12c3bdfd5827410
2016-02-25 14:17:05 -08:00
Adrian Roos
9046222cb2 Add logging to crash and anr dialog
Bug: 26760334
Change-Id: If81c7a6834e86f7390febef6767a07fa4caded4d
2016-02-25 18:41:01 +00:00
Jason Monk
5732df41db Make sure tuner has metrics coverage for new stuff
Change-Id: I1e0d8e34f518cb3fc2bd9ccff0b71dc586ed2ab6
2016-02-24 16:24:55 -05:00
Chris Wren
34f6f699f0 Merge "hide the nanos even harder" into nyc-dev 2016-02-23 18:25:14 +00:00
Felipe Leme
6605bd89c5 Initial implementation of logging metrics for bugreport.
This change logs the following user actions:

  - Interactive bug report initiated from power menu.
  - Full bug report initiated from power menu.
  - Bug report canceled using system notification.
  - Bug report details screen open using system notification.
  - Additional Bug report screen shot taken using system notification.
  - User changed bug report name using the details screen.
  - User changed bug report title using the details screen.
  - User changed bug report description using the details screen.
  - Changes made on bug report details screen were saved by user.
  - Changes made on bug report details screen were canceled by user.

BUG: 26759986
Change-Id: I1aae98b87a4dea66a1030a024dd799b97c25dd6d
2016-02-23 09:08:56 -08:00
Chris Wren
2633e24ed8 hide the nanos even harder
Bug: 26925668
Change-Id: Ic56460926bd62ac41e64f4d37f52d962976ca644
2016-02-23 11:10:44 -05:00
Julia Reynolds
b1a235f952 Importance slider logging.
Change-Id: I3c4ad73d1460e4d28cb1a10846159128590d2b20
2016-02-09 13:06:46 -05:00
Winson
423295222c Adding logging for timeout and other features.
Change-Id: Ife9fca1a2ced08c6cbd38ab55d9ea878928de439

Signed-off-by: Winson <winsonc@google.com>
2016-02-08 17:12:01 -08:00
Julia Reynolds
d560729ce3 Update DND visual interruption choices.
Change-Id: I7050264839c566dcef1dd01d155dda694a8d1ec0
2016-02-08 15:20:02 +00:00
Jorim Jaggi
dd50c3fc15 Fix build
Change-Id: I42ae0a22ce7259aa37c39a09d3b754785d000892
2016-02-04 14:55:50 -08:00
Jorim Jaggi
ea4a19f1aa When long pressing recents and already docked, undock
Bug: 26771328
Change-Id: I1fe12181cd80fd948e4184be6a8790c77bfe9e45
2016-02-04 14:39:22 -08:00
Robin Lee
8c1306e397 [Metrics] declare a constant for user credentials
Bug: 22541933
Change-Id: I774f74f3dd21f242a821bb08db6c09a8fc668671
2016-02-03 13:01:49 +00:00
Jason Monk
9a4ce137eb Add data saver tile
Bug: 22817899
Change-Id: I900f19cca54daabd45fe358ae4117d4f3e9ab824
2016-01-25 17:16:22 -05:00
mariagpuyol
64916b72fa Add constants for EmergencyInfo app.
Bug: 23591361
Bug: 26688835
Change-Id: If1039356468d173522132df252e81807cdc756c8
2016-01-25 09:43:30 -08:00