Skip to content
Snippets Groups Projects
  1. Apr 17, 2013
    • Kurt Partridge's avatar
      Include nanoTime in filename · 125f22dc
      Kurt Partridge authored
      System is fast enough that sometimes SystemClock.currentTimeMillis() is duplicated
      when used to make a unique filename.
      
      Change-Id: I9454fbb5e10265d36b8e17cba183a1591d52cc7b
      125f22dc
  2. Apr 12, 2013
    • Jean Chalard's avatar
      Restart suggestions when the cursor moves. · 6a114fa7
      Jean Chalard authored
      This uses the old suggestions. It does not try to recompute
      new suggestions if there are no old suggestions yet: this is
      coming in a later change.
      If there are no suggestions, this shows the word itself
      as a suggestion.
      
      Bug: 8084810
      Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48
      6a114fa7
  3. 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
  4. 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
  5. Mar 26, 2013
    • Kurt Partridge's avatar
      Avoid NPE · 39cb0334
      Kurt Partridge authored
      Initialize FeedbackLog earlier to avoid NPE
      
      Change-Id: I646944c68a7d092345def16060b2a4edd8c7dbef
      39cb0334
    • 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
  6. Mar 18, 2013
  7. 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
  8. Mar 13, 2013
  9. Mar 06, 2013
  10. 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
  11. Mar 01, 2013
  12. Feb 28, 2013
  13. Feb 27, 2013
  14. Feb 21, 2013
  15. Feb 08, 2013
  16. 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
  17. 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
  18. Feb 02, 2013
  19. Feb 01, 2013
  20. Jan 31, 2013
  21. 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
  22. 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
  23. Jan 21, 2013
  24. Jan 18, 2013
  25. Jan 17, 2013
Loading