summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/cmstats
Commit message (Collapse)AuthorAgeFilesLines
* remove CyanogenMod's statsWolfgang Wiedmeyer2015-12-266-783/+0
| | | | | | | This is an updated patch, based on what Paul did in 0071a841f73f571c29fb1651a88fda8b9bce70ca for Replicant 4.2 Change-Id: I5ec28bc505a35e045701a030a90804a6b35655b2 Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* Settings: implement metrics logging interface from aosp.Adnan Begovic2015-11-232-0/+12
| | | | Change-Id: I4a656471a12821de2c16c2a19be01b7d9eba4e9a
* Settings: utilize STATS_COLLECTION from CMSettings.Adnan Begovic2015-11-231-4/+6
| | | | Change-Id: Id57336c400ebabcb525f1a5e741c49bfa11c2916
* Settings: add fallback strings to device versioning for metricsRoman Birg2015-11-231-2/+3
| | | | | Change-Id: Ia82f19d4248d5807282f076cfd76a462b1189f26 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: add opt out stats eventSteve Kondik2015-11-234-118/+117
| | | | | | | | | | | | - Get rid of keeping track of queued jobs, job scheduler does this and all we really want is a new job id to not interfere with old ones (unless we hit the max jobs allowed, then start the count over). - Persist whether we have reported metrics for the owner user (once per device) Ref: CYNGNOS-1131 Change-Id: Ib5bac2944b5ca4259ea82a357b24708377c1dc4c
* Settings: report stats upload immediatelyRoman Birg2015-11-231-20/+11
| | | | | | | | | | | | | We should report the upload status immediately to the job service and not let the executor leave doInBackground() even after the job successfully finished, and report a potential failure in onPostExecut(). Otherwise if conditions are no longer met, and the job has finished, it can result in the job reporting as failed, even though it has succeeded. Ref: CYNGNOS-714 Change-Id: I5e06ae9dbca5c1412641eed51acded7c67522ded Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: fix reversed name/id fields in metricsRoman Birg2015-11-231-2/+2
| | | | | | Ref: CYNGNOS-471 Change-Id: Icfe5bf69b30afcddc1f23ae9ce1589e1c6ca2f6d Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: improved stats upload logicRoman Birg2015-11-232-15/+21
| | | | | | | | | We don't get onStopJob() callbacks after the job is finished. Ref: CYNGNOS-714 Change-Id: I1906cb80854a193efaba0f662d66823fec5f7073 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: update community metricsRoman Birg2015-11-234-149/+460
| | | | | | | | | | | | - Send community metrics to CM.org as well as Cyanogen server - Kill off Google Analytics - Use JobScheduler to intelligently schedule uploads when network connection is available Change-Id: Ibd7d84a961dda4af20db9226191380e9f977b5de Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Rebase against GoogleAnalyticsV3.Adnan Begovic2015-11-232-7/+18
| | | | Change-Id: Ia015847be4bf985e206a5b4b2362959c6220e2ba
* Settings: Map to new Secure Setting for Stats Collection.Adnan Begovic2015-11-231-4/+4
| | | | Change-Id: I7de094ed9d0621f8744f8fb6236ae0085832d7ca
* Settings: Migrate stats opt out to global settings.Adnan2015-11-233-6/+36
| | | | | | Control newly introduced global setting Change-Id: Iea22206cd8ac8bf7d45e4b7dabfb9f0d1e602e0e
* Use SSL for submitting statsChris Soyars2015-11-231-1/+1
| | | | Change-Id: If830c05ee121d3951ffcf34cd3bbd499c5107f1d
* ReportingService: Fix service startupRicardo Cerqueira2015-11-231-2/+3
| | | | | | | Turns out the service wasn't starting at all until someone looked at the data, so no reports were being sent for CM11... Change-Id: Ib64ddbed4e0cae9c2f71d6c0c79f8081d6f15301
* Settings: Update Anonymous Stats Implementation.Adnan Begovic2015-11-231-88/+3
| | | | Change-Id: I0347b4401563acff1a9f488cde5d53bb76b02c10
* Settings: Anonymous Statistics (CMStats)Danesh Mondegarian2015-11-235-0/+504
CMStats is now integrated into settings. Change-Id: Ice1b2c0c4882620eef774aca26b91a39d27f7b47