Skip to content
Snippets Groups Projects
  1. Apr 10, 2013
    • Kurt Partridge's avatar
      Better isolate ResearchLogging data · 6108624a
      Kurt Partridge authored
      Calls to LatinIME#onStartInputViewInternal log important information
      about the context in which an IME is used.  This is reported as a
      single LogStatement.  Previously, this was not placed into a separate
      LogUnit, and was mixed in with general word data.  This change wraps
      this LogStatement in its own LogUnit.
      
      Change-Id: I0fecd41c8a1de622a764cc4b5d6902336697046c
      6108624a
    • Kurt Partridge's avatar
      Better release build reporting · dfa5628c
      Kurt Partridge authored
      The ResearchLogger reports whether a build is a release build or not
      to avoid polluting data with IME debugging work by developers.
      Previously this was done by checking a constant flag, which was also
      serving the dual purpose of masking out debug code in release builds.
      
      This change introduces a heuristic to determine whether a build was
      created by a developer (using the package versionName), and annotating
      the data sent to the server appropriately.
      
      Change-Id: Icbad17c66b703cabf6d23d05e2c7c41bcceaae45
      dfa5628c
  2. Apr 01, 2013
    • Kurt Partridge's avatar
      Allow logging while replaying · 30772c37
      Kurt Partridge authored
      Previously logging was disabled during replay.  This makes it impossible to use logged data as a
      regression test, since the new log was unavailable.  This change corrects this problem.
      
      Change-Id: I19dc31def2f2f87fd219dc561c739d18e4ab9c9c
      30772c37
  3. Mar 26, 2013
    • Kurt Partridge's avatar
      Split LogUnits differently. · 189be519
      Kurt Partridge authored
      Previously an autocorrection caused a new LogUnit to be started,
      splitting off the previous LogUnit right at the autocorrection method
      time.  This change causes the split to happen before the MotionEvents
      that led to the autocorrection being called.
      
      Change-Id: I2504df8eb47ee77e5f46bac34a8450636c03fd9f
      189be519
    • Kurt Partridge's avatar
      [FileEncap18] Clean up uploading scheduling · 6d71d238
      Kurt Partridge authored
      - 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
      6d71d238
    • Kurt Partridge's avatar
      Close ResearchLogger upon onFinishInputView · 87bc3a4a
      Kurt Partridge authored
      Previously, ResearchLogger#stop() was called both in
      LatinIME#onFinishInputView() and in LatinIME#onWindowHidden().  This
      resulted in multiple logs being written.
      
      Since onFinishInputView is the more reliable of the two (it is called
      in InputMethodService#onDestroy; onWindowHidden is not), the code now
      uses onFinishInputView as a stopping signal.
      
      Change-Id: Iae4b8c3bdab226027624eeab19b3737367e4a108
      87bc3a4a
  4. Mar 18, 2013
  5. Mar 14, 2013
    • Kurt Partridge's avatar
      [FileEncap9] Extract ResearchLogDirectory class · f33f1cab
      Kurt Partridge authored
      Previously used a monotonically increasing int.  Now uses uuid and nanoseconds.
      
      squashed in:
          [FileEncap11] Read preference from ResearchSettings
          Change-Id: Ic779e0a69db6b16e92c6f4b63dbe7b7add566ab6
      
          [FileEncap12] Simplify directory cleanup invocation
          Change-Id: I688047409c0343d32b11447fb625dfb726c731ec
      
          [FileEncap14] Change log filename syntax
          Change-Id: I9243b20b2eb392f81ab8c5c3d19315211240e0bc
      
      Change-Id: I5c9d70e0cb7b0965158e17dd71dfab796bd9a440
      f33f1cab
  6. Mar 13, 2013
  7. Mar 06, 2013
  8. Mar 04, 2013
    • Kurt Partridge's avatar
      Clean up logic in onUserLoggingConsent · 157c0014
      Kurt Partridge authored
      - Make ResearchSetting for whether the user has seen the splash screen
      - Inline #setLoggingAllowed, which is short and is now only called by
        onUserLoggingConsent
      
      Change-Id: Icdf4592777b80643807b6ccf1d3896459c503e02
      157c0014
    • Kurt Partridge's avatar
      Clean up PREF_USABILITY_STUDY_MODE · 75e6fb68
      Kurt Partridge authored
      - Refer to a common default value in DebugSettings
      - Make PREF_USABILITY_STUDY_MODE independent of the ResearchLogger
      - ResearchLogger uses its own preference through ResearchSettings
      
      multi-project commit with Ie0df836c9d779eba484b522666ec357f4e234823
      
      Change-Id: I88547a2f619db6e7364abbbec12f9f76855dd11a
      75e6fb68
  9. Mar 01, 2013
  10. Feb 28, 2013
  11. Feb 27, 2013
  12. Feb 21, 2013
  13. Feb 08, 2013
  14. Feb 05, 2013
    • Kurt Partridge's avatar
      Refactor LogStatement publishing method · b02a19c4
      Kurt Partridge authored
      The method in LogUnit for publishing a LogStatement to a JsonWriter doesn't
      depend on anything in the LogUnit.
      
      multi-project commit with Id1d6ff4851148bba0e6b5a1ec6eec2b842d9c707
      
      Change-Id: I323cec239d6ea1cee602c2ecf9b13713791e9283
      b02a19c4
  15. Feb 04, 2013
    • Kurt Partridge's avatar
      [Rlog79b] Save channel name during internal use · d34347bd
      Kurt Partridge authored
      The feedback string is used as a channel name in internal builds.  Add a flag
      that lets it be saved between calls to make it easier to generate test data.
      
      Change-Id: I5c6149b1e68239cd968b6852d03cc240ddde99ca
      d34347bd
  16. Feb 02, 2013
  17. Feb 01, 2013
  18. Jan 31, 2013
  19. Jan 29, 2013
    • Kurt Partridge's avatar
      [Rlog29] User interface for recording · faf35c32
      Kurt Partridge authored
      - 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
      faf35c32
    • Kurt Partridge's avatar
      [Rlog27] Add replay capability · f3731188
      Kurt Partridge authored
      - 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
      f3731188
  20. Jan 22, 2013
    • Kurt Partridge's avatar
      [Rlog81a] Determine correction type of words · 0c16a5c6
      Kurt Partridge authored
      Heuristic to determine whether a word was a typo correction or a complete
      replacement by examining a correction to see if it falls within the list of
      suggested words of the original.
      
      Change-Id: Ieec4861a811e96aef0d14622e662b589ef8b4772
      0c16a5c6
  21. Jan 21, 2013
  22. Jan 18, 2013
  23. Jan 17, 2013
  24. Jan 16, 2013
  25. Jan 15, 2013
    • Kurt Partridge's avatar
      [Rlog67] Renaming clarification · 9579936b
      Kurt Partridge authored
      ResearchLogger.latinIME_handleSeparator wasn't doing anything really specific to
      the separator, so its implementation has been renamed according to its role.
      
      Change-Id: I24e8691c7dc440dd067e96d23e50463683e17cfc
      9579936b
Loading