74 Commits

Author SHA1 Message Date
Doris Ling
f3cd2c6116 Add metrics event for Settings->Display->Ambient Display.
Bug: 29994493
Change-Id: I2eb71063db254cbe92511ca5cbe93b32c6b2c601
2016-08-04 13:21:53 -07:00
Doris Ling
3c00afba0b Add metrics logging for fingerprint swipe for notification panel.
Add metrics log when fingerprint swipe to expand/collapse notification
panel is handled, and increment the notification and quick setting open
count correspondingly.

Bug: 29257528
Change-Id: Ic24c6463a4400711874602157e2fcadc7f0f6da6
2016-08-02 10:25:39 -07:00
Justin Klaassen
19494275a2 Add SETTINGS_CONDITION_NIGHT_DISPLAY
Bug: 30043281
Change-Id: Icf218a8fdc7421620d2bb6057b55f1d511621b8b
2016-07-19 14:36:48 -07:00
Justin Klaassen
137909005c Add Night display QSTile
Bug: 28615069
Bug: 29619615
Change-Id: Ie23bd1ed9266941682eceb5f2086201bf02af765
2016-07-13 15:47:39 -07:00
TreeHugger Robot
9f311f6827 Merge "Fix QS gear metrics" into nyc-mr1-dev 2016-07-13 22:39:35 +00:00
Jason Monk
484fd36dfa Fix QS gear metrics
Change-Id: If1eeefa3831010d1567861dd71af6f29833496b3
Fixes: 30117924
2016-07-13 16:07:28 -04:00
Chris Wren
38f988120c sync rich comments back from google3
Bug: 30116535
Change-Id: I6e43ffda3d15b331c18752b5ee15770c6cdbfe85
2016-07-13 14:45:55 -04:00
Daniel Nishi
ff69a4ba1b Add a constant for when the storage manager is toggled on and off.
Bug: 30095915
Change-Id: I9fef3ec47552d344cff51fc1f2cf2e02e9b51574
2016-07-12 13:59:37 -07:00
Justin Klaassen
911e88939c Add Night display feature
Bug: 28615069

Tints the display at night automatically according to your schedule or
using the sunrise/sunset corresponding to your current location.

Change-Id: Ie56b4eed88cc2fcbae88002492b1edad5820b6b1
2016-07-08 11:47:50 -07:00
Fan Zhang
8080721854 Add metrics for toll-free/travel-abroad buttons in Settings
Bug: 29105266
Change-Id: I44cf2bdc3b01d0755e0305e8c26e6bf871ae9d52
2016-06-30 16:41:06 -07:00
Fan Zhang
a198550804 Add metrics for button taps in Settings support tab.
Bug: 29282762
Change-Id: I62f840fbc312ce759b5e6559e26d916181739d75
2016-06-20 09:47:47 -07:00
Fan Zhang
5e956e8ccd Add metrics for new tabs in Settings.
Bug: 28141203
Change-Id: I37b6fce7a5c4ca1cf2dbe0795aeb58bb23ae2160
2016-06-16 16:47:43 -07:00
Daniel Nishi
597e67ffe2 Add metrics for the deletion helper.
Bug: 28918007
Change-Id: Iead0cba7c35367be4e03fb8af6a038f709c95146
2016-06-15 11:10:14 -07:00
Bhavik Singh
3451da4a27 Logging tron metrics for ambient display gestures
Introducing new TRON metric (ACTION_AMBIENT_GESTURE)
and implementing logging for metric in DozeService.java

BUG=27907309

Change-Id: I324b6ef65e251f62b277beb1cb76af25159dbd90
2016-06-08 18:30:51 -07:00
Chris Wren
c6a9857f35 Give the auto-merger somthing to hang on to.
Bug: 29001173
Change-Id: Ie244f79f1569e2b32be4046d111919120ce6111e
2016-06-02 15:11:48 -04:00
Chris Wren
7ee8418076 resolve merge conflicts of cd9ea74 to nyc-mr1-dev
Change-Id: I37bc8256b8b91274f418cbefe2797f068cd98dd4
2016-05-27 13:34:02 -04:00
Chris Wren
5b3b72e7b7 resolve merge conflicts of 0f97b8f to nyc-mr1-dev
Change-Id: I5e03144e3ae95777eb651add098eabe8af6ad08e
2016-05-26 22:28:03 -04:00
Chris Wren
6abeeb9119 add metrics for gestural notification expansions
Bug: 28146482
Change-Id: If202846c0d235830c7b41d76b55bdcc21d0ab90d
2016-05-26 17:20:33 -04:00
Doris Ling
5b2c0ad312 Added new action for gesture settings.
Added new event for Settings -> Gestures

Bug: 28565958
Change-Id: I126ab29cf312b09cad1bd86cf614019616642536
2016-05-25 15:08:29 -07:00
Chris Wren
698b1706be add metrics for notification and group expansion
Bug: 28146482
Change-Id: Id7f71873ba33f85c1a1f2c48b47f78d40df46c0d
2016-05-25 17:08:17 -04:00
Daniel Nishi
010aa499cd Add new action for the storage manager settings.
Bug: 28560570
Change-Id: I7a17feff51c96634bfcc7d238ab168f0878e0e62
2016-05-13 12:10:00 -07:00
Julia Reynolds
94ad652c7a resolve merge conflicts of 407c434 to nyc-mr1-dev
Change-Id: I7d4590dc22902dade7a8f81bb1a8321b526a4925
2016-05-12 12:45:29 -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
d0ea9bafaa resolve merge conflicts of 8b3cb1b to nyc-mr1-dev
Change-Id: Ifc87af6444612f67cace41da9bb96d3283cf33b2
2016-05-11 11:35:46 -04:00
Jason Monk
9fa5f82e1b resolve merge conflicts of 25118d1 to nyc-mr1-dev
Change-Id: I6adc48f30d21f99cd2cb105d0fca2643afb0cff5
2016-05-11 10:26:31 -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
Clara Bayarri
fa902aaa61 Add Tron logging for open/close App Disambig
This change adds
- Open/close the disambig shade with a featured app
- Open/close the disambig shade with no featured app
- User selected "Always" for the featured app
- User selected "Just Once" for the featured app
- User chose a non-featured app

Bug: 26108706
Change-Id: I4d2c99cee1a784aa1cab156939c57c83d35a4aa5
2016-05-10 15:15:29 -07: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