Show basic contacts stats in bugreport.
Bug 24949200
Example output:
PROVIDER ContentProviderRecord{5b986d5 u0 com.android.providers.contacts/.ContactsProvider2} pid=18434
Client:
Contact aggregator type: class com.android.providers.contacts.aggregation.ContactAggregator2
FastScrollingIndex stats:
request=0 miss=0 (0%) avg time=0ms
Contacts stats:
Database: Contacts
Accounts:
1 makoto.android.6@gmail.com com.google (null)
2 makoto.android.1@gmail.com com.google (null)
3 makoto.android.1@gmail.com com.google plus
Contacts:
# of visible: 2343
# of invisible: 3103
Max # of raw contacts: 3
Avg # of raw contacts: 1.001933612632936
Raw contacts (per account):
1 total # of raw contacts: 2018, max # per contact: 3, avg # per contact: 1.0009920634920635
2 total # of raw contacts: 1077, max # per contact: 2, avg # per contact: 1.0009293680297398
3 total # of raw contacts: 14, max # per contact: 1, avg # per contact: 1.0
Data (per account):
1 total # of data:15763, max # per raw contact: 15, avg # per raw contact: 7.811199207135778
2 total # of data:6887, max # per raw contact: 20, avg # per raw contact: 6.394614670380687
3 total # of data:95, max # per raw contact: 10, avg # per raw contact: 6.785714285714286
Database: Profile
Accounts:
1 makoto.android.1@gmail.com com.google plus
Contacts:
# of visible: 0
# of invisible: 1
Max # of raw contacts: 1
Avg # of raw contacts: 1.0
Raw contacts (per account):
1 total # of raw contacts: 1, max # per contact: 1, avg # per contact: 1.0
Data (per account):
1 total # of data:6, max # per raw contact: 6, avg # per raw contact: 6.0
Change-Id: Iae9f1f904b623a4f64684da99b825b2cb1127758
3 files changed