116 Commits

Author SHA1 Message Date
TreeHugger Robot
5962992e27 Merge "add event type enum to proto def" 2016-11-15 14:35:43 +00:00
Chris Wren
5e334f6b53 add event type enum to proto def
Test: ./vendor/google/tools/systemui/systemui_test_cookbook.sh
Change-Id: Idc8b5b942caa566f533b76f6d834291a71cf0da7
2016-11-14 10:16:21 -05:00
Bartosz Fabianowski
48e696141f Add metrics constant for Enterprise Privacy Settings page
This CL adds a metrics constant for the Enterprise Privacy page in
the Settings app.

Test: None
BUG: 32692748
Change-Id: Ifd5429b7db6c2d85858ed4128a5fba4f788911ac
2016-11-14 13:21:02 +01:00
Stephen Chen
0d14da39c9 Document Subtype additions for ACTION_WIFI_CONNECT, ACTION_WIFI_OFF.
Bug: 32371451
Test: n/a
Change-Id: Ib4f0eb49242c9ec248f3e8931ff73d35c2cb1167
2016-11-03 10:44:32 -07:00
TreeHugger Robot
890eb4c6a3 Merge "Provisioning constants" 2016-10-28 16:16:05 +00:00
Mahaver Chopra
cc7176fa32 Provisioning constants
Happens once, when the device is provisioned. It shouldn't be more than
10 times in device's life.

Test: NA

Bug: 31425628
Bug: 32438787
Bug: 31423584
Bug: 32439982
Bug: 32474640

Change-Id: Ib69805a2ebae3396968b47ec1f4821b567afa0d7
2016-10-28 14:15:33 +01:00
Glen Kuhne
94814570e9 Move wifi.proto to shared service .jar
Changes to ART are causing nano-proto's generated java base classes
to conflict with their duplicates in other projects, leading to a
NullPointerException.

Moving wifi.proto to the same build as other framework service protos in order
for them to share and not generate a duplicate CodedOutputByteBufferNano
classes.

wifi.proto previously lived at:
frameworks/opt/net/wifi/service/proto/wifi.proto

Bug: 32261442
Test: Builds, and existing Unit tests pass
Change-Id: Ia30391453e8d6614edc7f4397e9c17cfe95cf63e
2016-10-26 11:04:08 -07:00
Glen Kuhne
0719940ce4 Move ipconnectivity.proto to services-proto.jar
Moved ipconnectivity.proto from services.core.jar to
framework-protos.jar.
Replaced 'mergeFrom' MessageNano base class calls, with 'parseFrom'
IpConnectivityLog calls.

This solves an issue where the services.jar would conflict with
duplicate nano proto base class definitions in other .jars
(wifi-service.jar).

Bug: 32261442
Test: Existing unit tests pass
Change-Id: I49100935fcae2e85e12eaa7f3462864f3a340b97
2016-10-26 10:18:46 -07:00
Mahaver Chopra
667ae0adc2 Metrics constants for provisioning entry points
Added metrics variable to log provisioning entry points. Happens
once, when the device is provisioned. It shouldn't be more than
10 times in device's life.

Test: NA

Bug: 31424428
Bug: 31425628
Change-Id: I3ada95d5cfac0adf2aaa6433bc2669b989d2ba41
2016-10-19 11:40:29 +01:00
Salvador Martinez
64867c1986 added metrics constant to proto
Just adding a new constant to the proto
for the refactored bluetooth dialogs.

Test: Manual
Bug: 32180625
Change-Id: I7e59ea6abd65db777d48bd0f2927db7260c67965
2016-10-17 13:01:12 -07:00
Mahaver Chopra
ab28207cbc Provisioning extra constant
Added metrics variable to log provisioning extra.
Happens not more than 30 times, when the device is provisioned.
It shouldn't be more than 300 times in device's life.

Test: Not required

Bug: 31425014
Bug: 31425628
Change-Id: I99771677e64829fc75bdfbebc5817fe9f6fe6869
2016-10-07 13:09:40 +01:00
Mahaver Chopra
a12b487629 Provisioning action constant
Added mertrics variable to log provisioning action.
Happens only once, when the device is provisioned.
It shouldn't be more than 10 times for a device's life.

Test: Not required

Bug: 31425628
Bug: 31426356
Change-Id: I254f0232ede6338313084d123b0a06883b82c267
2016-10-05 17:14:52 +00:00
Mahaver Chopra
2b0efb0919 Provisioning Network type constant
Added mertrics variable to network type used while provisioning.
Happens only once, when the device is provisioned.
It shouldn't be more than 10 times for a device's life.

Test: Not required

Bug: 31425625
Bug: 31425628

Change-Id: I5eccbda7ffd93f1bcceb37b8d485895598fa59a8
2016-10-05 18:11:11 +01:00
Fan Zhang
04c2035989 Add metrics constant for dialogs in Settings.
Bug: 31707295
Test: make frameworks
Change-Id: I79386bcddba959c7bf655f0659d89650b87e8a92
2016-09-23 13:02:35 -07:00
Fan Zhang
5e9f69c65e Add metrics constants for DialogCreatable in Settings.
Bug: 30681529
Test: adb logcat -b events | egrep "(sysui_|notification_)"
Change-Id: Ibc6f7eef45f6d49603ffaa1de30dd15ba36de02d
2016-09-21 16:07:16 -07:00
Fan Zhang
c1352ae856 Add metrics for Setting dialogs.
Bug: 30681529
Test: adb logcat -b events | egrep "(sysui_|notification_)"
Change-Id: I0d1bb103e7d90838af194754bd9564e5a138dfe3
2016-09-19 17:14:34 -07:00
Mahaver Chopra
a9a7932982 Add metrics constant for Managed provisioning
Add metric constants to track time taken by each activity. Update
metric constant used for DPC installer. These will be logged from
Managed provisioning.

Bug:31425628
Bug:31425755
Change-Id: I6ba966720375b6710f880114395c1c84e244b3f6
2016-09-15 11:01:26 +01:00
Fan Zhang
9509418250 Add metrics for some setting dialogs.
Bug: 30681529
Test: make framework builds successfully
Change-Id: I796cae6646dc42183c6502fc393dd44f174ee73f
2016-09-14 13:10:50 -07:00
Fan Zhang
3bf54dd64e Add metrics for Settings dialogs.
Bug: 30681529
Change-Id: I75f1f83f0c35507025dc2a4b207f3ef1a65e575e
Test: make frameworks
2016-09-13 11:31:20 -07:00
Mahaver Chopra
c8c97c2d10 Add metrics constant for Managed provisioning
Add metric constants to track DPC package name and DPC Installed from
play or not. These will be logged from Managed provisioning.

Bug: 31425628
Bug: 31426019
Change-Id: Ifc9a10d428a40006abfbab35ea455f95c02a14de
2016-09-12 16:58:48 +01:00
Fan Zhang
92c6038b58 Add metrics for fragments in Settings.
Bug: 30681771
Test: compiled fine with proto changes.
Change-Id: I5b4669d13d58987c12dcc78ebdc4d7bd22916a71
2016-08-18 13:41:57 -07:00
Doris Ling
88a6b1652f Add metrics logging for Settings -> Help & Feedback
Add new metrics event constant for Settings->Help & Feedback, and log it
whenever user selects the help option menu, passing the context extra for
the corresponding settings preference where the help menu is launched.

Change-Id: I971e8e50b959a5451ed085e5da5fd8504111e6c3
Fixes: 30140281
2016-08-09 14:54:01 -07:00
Doris Ling
6dd3e468c8 Move ACTION_AMBIENT_DISPLAY from O to N-MR1 constant.
Changed the constant value from 513 to 495.

Bug: 29994493
Change-Id: I0f163f40fb63aef1047885b756bbf68c49a9b022
2016-08-04 13:17:27 -07:00
Doris Ling
8d7213f0b7 Add metrics logging for fingerprint swipe for notification panel. am: 3c00afba0b am: ed1c7ba70e
am: 53c39ff132

Change-Id: Ia0e2926f96bb2d6e1003b3c0f453b4980e986675
2016-08-03 19:43:13 +00: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
Doris Ling
6524c50b3b Add metrics event for Settings->Display->Ambient Display.
Bug: 29994493
Change-Id: Idd644854b7f63c89f4672cae68ea208d65fed0ef
2016-08-01 14:50:55 -07:00
Justin Klaassen
e5ebdd8db3 Merge \\"Add SETTINGS_CONDITION_NIGHT_DISPLAY\\" into nyc-mr1-dev am: 1e6e1ffeaa
am: 7b330a1f2b

Change-Id: I46bebb5f6b267df5bcd69a03a98b24a61a6a41a7
2016-07-20 02:55:03 +00:00
Justin Klaassen
19494275a2 Add SETTINGS_CONDITION_NIGHT_DISPLAY
Bug: 30043281
Change-Id: Icf218a8fdc7421620d2bb6057b55f1d511621b8b
2016-07-19 14:36:48 -07:00
Justin Klaassen
c9975c0420 Merge \\"Add Night display QSTile\\" into nyc-mr1-dev am: 558393740d
am: 29977c9a7b

Change-Id: I0ba476fc589d86473499e5b2669ad14dd9ff2fc6
2016-07-14 02:16:42 +00:00
Jason Monk
572d1b1a8a Merge \\"Make Recents button work in demo mode\\" into nyc-mr1-dev am: 9f311f6827
am: 06da9f8b54

Change-Id: Ibdf19d559d4485ec4d0084470290f1f8fe4f841f
2016-07-13 23:31:20 +00: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
Chris Wren
bd6599d1a8 Merge \\"sync rich comments back from google3\\" into nyc-mr1-dev am: ad2bf54fda
am: 472eaa4b9d

Change-Id: Iaffdcdc0cf87ab60a9d61b9d02abdea779053824
2016-07-13 21:18:26 +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
04e97a158a Merge \\"Add a constant for when the storage manager is toggled on and off.\\" into nyc-mr1-dev am: b5bb9f5ca7
am: 3d38bbb7c3

Change-Id: I76340654ee6904b4f02326b4242eaacf7ee5bf49
2016-07-13 16:47:22 +00: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
029c2f4e3f Merge \\"Add Night display feature\\" into nyc-mr1-dev am: 76262b8e14
am: 1228803cde

Change-Id: I855bf48a271b15f671957b1451caab24d08d8293
2016-07-08 21:46:23 +00: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
dc92d76a2b Merge \\"Add metrics for toll-free/travel-abroad buttons in Settings\\" into nyc-mr1-dev am: 48c5660c1f
am: 45ee8403d0

Change-Id: I9dc5f4bb835f82bffc9adce60ee24eacf0bf7995
2016-07-01 16:16:31 +00: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
4b47b2934c Merge \\"Add metrics for button taps in Settings support tab.\\" into nyc-mr1-dev am: 03e387e5b5
am: 009b86ae02

Change-Id: I774056992896bf6ef0a7b310d67fc9442e11d5ef
2016-06-21 15:47:24 +00:00
Philip P. Moltmann
2e3012624b Add event tracking to print UI.
Bug: 29391676
Change-Id: Iec09ac7296e50329e87268bcb70f5e60d566961c
2016-06-20 11:50:44 -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
b639781733 Merge \\"Add metrics for new tabs in Settings.\\" into nyc-mr1-dev am: 1f7be32325
am: 5d4871f6cb

Change-Id: I8ebf997150bd39db6be6fa099ae17e6792e47efc
2016-06-17 21:51:30 +00: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
1d0de18985 resolve merge conflicts of 2d41ae0 to master
Change-Id: I78fa76877b1f93cf2ad2ee923e2f2bf7c554cfa8
2016-06-15 13:50:37 -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
6b68cb8546 Merge \\"Logging tron metrics for ambient display gestures\\" into nyc-mr1-dev am: acc8944582
am: 77f3612ed2

Change-Id: Ie7ec8e79d36a5074e3a55f43d7d77c7025751b4e
2016-06-09 03:13:53 +00: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