aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/UploaderService.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use TimeUnit instead of DateUtils for readabilityTadashi G. Takaoka2013-07-051-1/+0
| | | | | Bug: 9550800 Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215
* Fix some warningsJean Chalard2013-06-271-4/+0
| | | | | | Mostly remove unused imports Change-Id: If8ceffdfad79b78194094527759f5c334746973e
* Fix alarm bugKurt Partridge2013-04-171-19/+6
| | | | | | The AlarmManager takes absolute times as an argument, not durations. Change-Id: I419434ba5908c5f4070608070bbecf753088ecc8
* [FileEncap18] Clean up uploading schedulingKurt Partridge2013-03-251-0/+46
| | | | | | | | | | | | | | | | - Move scheduling logic from ResearchLogger.java to UploaderService.java - Switch to a one-shot timer. Previously the uploader was scheduled on an inexact repeating schedule. It's better to reschedule the next upload after the current one is finished to reduce the chances of multiple uploads happening at the same time. - Avoid double-execution - Previously a scheduled upload might run right after an explicit one if they occured at the same time. This change reduces the chances of this. - Some method extraction and naming Change-Id: I9efda11be77d334c7f61bd40a36d65f0421ebde4
* resolved conflicts for merge of 5b048292 to masterTadashi G. Takaoka2013-03-191-1/+2
|\ | | | | | | Change-Id: I67ebab46954cd7b8e3e79e7fed523bafb15f8835
| * Rename ProductionFlag.IS_EXPERIMENTAL to USES_DEVELOPMENT_ONLY_DIAGNOSTICSKen Wakasa2013-03-181-2/+3
| | | | | | | | | | bug: 8393568 Change-Id: Ie5edf44a3627aca9416145aff56bf05bbf2a05f3
* | [FileEncap6] Extract Uploader classKurt Partridge2013-03-071-162/+10
| | | | | | | | | | | | Gerrit was stuck on original change I9ef4eb7450 Change-Id: I6d4ee686944074779aca5b09b018782c7033874d
* | [FileEncap5] Move conditional logic to callerKurt Partridge2013-03-061-3/+4
| | | | | | | | Change-Id: I6599539059f86dc8902210d325439c08035b2e2a
* | [FileEncap4] Simplify logicKurt Partridge2013-03-061-4/+5
| | | | | | | | Change-Id: Ibb8660d12812b867856259d3e5c04a31e281027d
* | [FileEncap3] Extract isUploadingUnconditionally methodKurt Partridge2013-03-061-5/+8
| | | | | | | | | | | | - remove isUploadingUnconditionally local variable Change-Id: I69be8708c1f306568cbb9c5cbefc9e42a87df497
* | [FileEncap2] Remove mCanUpload instance variableKurt Partridge2013-03-061-6/+5
| | | | | | | | Change-Id: I62a100c4d73bb64a14a7994f7dd9af7b6946d064
* | [FileEncap1] Extract hasUploadingPermisssions methodKurt Partridge2013-03-061-4/+7
|/ | | | Change-Id: Ica1dabcf066cde6580035f12fa35a404cb32fb3f
* [Rlog29] User interface for recordingKurt Partridge2013-01-291-1/+1
| | | | | | | | | - Also, internal flag for automatically replaying after a recording is made (off by default) - RLog key to "Bug?" multi-project commit with I0c2fababd73eed5a341af487bca04ddd650d4cc2 Change-Id: I162c96a715de7180f276e08b4686a20f29dabafb
* [Rlog27] Add replay capabilityKurt Partridge2013-01-291-1/+1
| | | | | | | | | | | - Add support for replaying log files to the ResearchLogger. This will let users preview data that they choose to upload. - When the user explicitly requests that the system record their action, it will record everything up to, and including, the motion involved in shutting off the recording. This change also removes the stop-recording motion commands. Change-Id: Ib1df383bbf1881512cb111fab9f6749c25e436ba
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* [Rlog41] ResearchLogger debugging support in UploaderServiceKurt Partridge2012-12-221-4/+12
| | | | Change-Id: I70d5bd0cb12be7a5cc216799f92622912646466f
* [Rlog13] Add flag to inhibit uploadingKurt Partridge2012-12-191-1/+6
| | | | Change-Id: I9d22dfb3fbc8332000507c8b97d9072bdd8dda91
* ResearchLogging upload via serviceKurt Partridge2012-08-221-0/+191
| | | | | | | | | | Upload using an intent service rather than just a thread. More robust in case the keyboard is closed and the upload hasn't finished yet. multi-project commit with Id515c2b1b0d6f85be50f92a661a2d32ebaeaa143 Bug: 6188932 Change-Id: I64a9fab92ff89ee09df877db4e5f7f0ec0ffb3b6
* Revert "ResearchLogging upload via service"Kurt Partridge2012-08-201-191/+0
| | | | | | This reverts commit baf1f0bd616ca1fc3b53ad832012f498b3601afb Change-Id: I7d959b9b626c8fb69a57788e243752952258fa80
* ResearchLogging upload via serviceKurt Partridge2012-08-171-0/+191
DO NOT MERGE Upload using an intent service rather than just a thread. More robust in case the keyboard is closed and the upload hasn't finished yet. multi-project commit with I40db74fb780e01364609339764e150f0291d3f9b Bug: 6188932 Change-Id: Ie980d38a713d15c01083d41bd73f0602ec75dd16