Commit Graph

7 Commits

Author SHA1 Message Date
Shaotang Li a23d13d1a6 Add new telecom metrics for emergency dialer am: 03ec7ce2dd
am: 32d5e4f2d9

Change-Id: I28d7da18055c128ad78f2b46c358a7cdbea7a642
2018-09-13 00:40:37 -07:00
Shaotang Li 03ec7ce2dd Add new telecom metrics for emergency dialer
These includes,
1. The source where user initiated the call.
2. The duration between START_CONNECTION and REQUEST_DISCONNECT.

Bug: 111818008
Test: manual and check the result of
'adb shell dumpsys telecom' for metrics data
Change-Id: I7d57ac29ad4bb6c8506b7a37b2f1bc63253fa9cb
2018-09-12 11:20:15 +08:00
Siddharth Ray 23e48f397d Add HW Revision to Telecom Metrics
Test:
adb shell dumpsys telecomm
Hardware Version: EVT2.0

BUG:112541087
Change-Id: I108b7b43d6fbd9899b4adba51720f0dd9ef3980b
2018-08-13 16:03:49 -07:00
Hall Liu aaebe966a3 Add _UNSPECIFIED fields to enumss
Conform to best practices for protos and makes it possible to add new
fields in the future.

Test: No functionality changes
Change-Id: I698c7228d8622cd8c8b4628f603383ca181b0506
2016-11-10 17:18:18 -08:00
Hall Liu d7fe686253 Add connection properties to analytics
Adds a record of which android.telecom.Connection properties were set on
a call during its lifetime. Also adds a test to verify that this behaves
correctly.

Change-Id: I1a5bc61228cbd676b8de218d503b30e8a76bfce2
Fix: 31395995
2016-09-09 16:40:18 -07:00
Hall Liu 9d15ca4316 Add In-call services to Analytics
Add a repeated field to the analytics proto containing the name of the
in-call service and the type, and adds code to populate the field from
InCallController.

Fix: 29228080
Change-Id: Ic57cd220e7f5ce1409516e520380f635c54d3013
2016-08-30 17:19:57 -07:00
Hall Liu 2f4f0a038d Add dumpsys to Telecom analytics output
Output a Base64-encoded proto when Telecom's dumpsys is called with the
"analytics" argument, with an option to clear analytics at the same
time. This is in preparation for moving Connectivity Metrics to GmsCore.

Also fixed a bug in video call analytics and adds a test for it.

Bug: 30600318

Change-Id: I567d769123d78b7e5e2b9e8865fccf36f4f30fae
2016-08-09 17:21:09 -07:00