Skip to content
Snippets Groups Projects
  1. Jul 05, 2013
  2. Jun 27, 2013
    • Jean Chalard's avatar
      Fix some warnings · e04794cb
      Jean Chalard authored
      Mostly remove unused imports
      
      Change-Id: If8ceffdfad79b78194094527759f5c334746973e
      e04794cb
  3. May 21, 2013
    • Kurt Partridge's avatar
      Modify isAllowedToLog · 74a6196c
      Kurt Partridge authored
      Currently isAllowedToLog only checks the state of the
      ResearchLogger, and does not consider which log the data is
      going to.  This causes problems with the logs for Feedback.
      The Feedback log should inhibit normal logging procedures,
      but the system needs to be able to write specific data
      directly to it.
      
      This change renames to isAllowedToLogTo and adds the
      destination ResearchLog as a parameter.  A FeedbackLog is also
      added as a new class so it can be distinguished from other
      ResearchLogs.
      
      Change-Id: I5a1eea05bb040c26bf816b89179f44b3024fa2ad
      74a6196c
  4. May 11, 2013
    • Kurt Partridge's avatar
      Avoid JsonWriter multi-write error · 7d72ca0b
      Kurt Partridge authored
      JsonWriter requires that its clients pass it only a single top-level object.
      The existing implementation tries to make code cleaner by having mJsonWriter
      never be null, and instead use a global static "NULL_JSON_WRITER" that just
      discards data.  But because JsonWriter complains if more than one top-level
      object is passed, making this a global object does not work.  This change
      instead copes with mJsonWriter being null.
      
      Change-Id: Ia37ccfc8646e91f11a64713dd92d2846eb86ac54
      7d72ca0b
  5. Apr 17, 2013
    • Kurt Partridge's avatar
      Fix JsonWriter bug · cd831fa2
      Kurt Partridge authored
      JsonWriter requires that data be written to it, else close() will throw
      an exception.
      
      Change-Id: I596c5363e063cc75bcda55e0a506eefb3f17bd67
      cd831fa2
  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. Feb 26, 2013
  10. Feb 22, 2013
  11. Feb 21, 2013
  12. Feb 13, 2013
  13. Jan 21, 2013
    • Kurt Partridge's avatar
      [Rlog78b] Make log privacy filtering decisions on n-grams · 80685aa4
      Kurt Partridge authored
      Previously, words were pushed out of a LogBuffer one at a time.  The receiving code had to keep
      state to know whether a n-gram was safe to log.  This patch looks at the entire n-gram and makes a
      single decision based on it alone.
      
      mult-project commit with I3c40d7e02c77943d2668094ddb1d03efb942c74f
      
      Change-Id: Id7d90bbd551b1a2f4e0e35f38852652f68f273f8
      80685aa4
    • Tadashi G. Takaoka's avatar
      Fix Apache license comment · 8aa9963a
      Tadashi G. Takaoka authored
      Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
      8aa9963a
  14. Jan 14, 2013
  15. Jan 10, 2013
  16. Dec 21, 2012
  17. Dec 19, 2012
    • Kurt Partridge's avatar
      Add ProductionFlag.IS_EXPERIMENTAL_DEBUG · 0aafbcf8
      Kurt Partridge authored
      The IS_EXPERIMENTAL_DEBUG flag gives a single place to turn off all debugging flags that might be
      set and to also enforce privacy controls.  Currently only used in the research package.
      
      multi-project commit with I9275a7c8e40bf56106447a02d3056655329074b3
      
      Change-Id: If769fe3a633f33963ca49e8ddf01ab24a30b6fd2
      0aafbcf8
  18. Dec 17, 2012
    • Kurt Partridge's avatar
      [Rlog2] ResearchLogging fix multi-space logging · 3370dc82
      Kurt Partridge authored
      multi-space logging should look like single-space logging, missing a few minor log statements
      (SuggestionUpdates, SetComposingText)
      
      multi-project commit with I2af842348c2f2b8f7271ac5b63def245e83df24d
      
      Change-Id: Icd3187c0d0377255f82787afffea657c14345803
      3370dc82
  19. Dec 14, 2012
    • Kurt Partridge's avatar
      [Rlog1] Track time of log statements · 5e854e28
      Kurt Partridge authored
      Log statements are now recorded with a timestamp.  This is important for filtering out statements
      not part of words that are sampled when spaces are inserted automatically.
      
      multi-project commit with Change-Id: I68221a2528045d25632aef4bb716f92a4f4a56a4
      
      Change-Id: I46ac9b3b1dcbb08425160d0109028cb64445139c
      5e854e28
  20. Nov 30, 2012
    • Kurt Partridge's avatar
      Revert "ResearchLog. Track time of log statements" · 33d5da59
      Kurt Partridge authored
      This reverts commit bdbe279c
      
      Other half of this change couldn't be committed because of a inter-project directory migration.  Reverting until things settle down.
      
      Change-Id: I3862fc8485dfca6d507f620e905cfa583aa0e39a
      33d5da59
    • Kurt Partridge's avatar
      ResearchLog. Track time of log statements · bdbe279c
      Kurt Partridge authored
      Log statements are now recorded with a timestamp.  This is important for filtering out statements
      not part of words that are sampled when spaces are inserted automatically.
      
      multi-project commit with Change-Id: I68221a2528045d25632aef4bb716f92a4f4a56a4
      
      Change-Id: I9f49c36391e1e1773b6d4876d7387c893024f87b
      bdbe279c
  21. Sep 04, 2012
  22. Aug 30, 2012
  23. Aug 22, 2012
    • Kurt Partridge's avatar
      ResearchLogging capture full n-gram data · bf653996
      Kurt Partridge authored
      - Captures complete motion data for all words in an n-gram.
      - Also filters n-grams properly; if any word in the n-gram is not
        in the dictionary, it is not included.
      - Simplify ResearchLog to not require explicit state
      - Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
        about privacy.
      - Moved LogUnit out from ResearchLogger
      
      multi-project change with Ic70ccb6c2e11eb02d887821434b44daa3eb7a3e2
      
      Bug: 6188932
      Change-Id: I731d6cff6539e997874f723b68bdb0d9b651b937
      bf653996
  24. Aug 20, 2012
  25. Aug 18, 2012
    • Kurt Partridge's avatar
      ResearchLogging capture full n-gram data · 221e756f
      Kurt Partridge authored
      DO NOT MERGE
      
      - Captures complete motion data for all words in an n-gram.
      - Also filters n-grams properly; if any word in the n-gram is not
        in the dictionary, it is not included.
      - Simplify ResearchLog to not require explicit state
      - Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
        about privacy.
      - Moved LogUnit out from ResearchLogger
      
      multi-project change with Ie2bc79fd7fe6b951b24771e94b8d4ca21989af65
      
      Bug: 6188932
      Change-Id: I568c90d4af07e7c759c1e7fc64b716bd8c7b4ae5
      221e756f
  26. Aug 08, 2012
  27. Aug 05, 2012
    • Kurt Partridge's avatar
      ResearchLogging capture full n-gram data · 838e6c1e
      Kurt Partridge authored
      - Captures complete motion data for all words in an n-gram.
      - Also filters n-grams properly; if any word in the n-gram is not
        in the dictionary, it is not included.
      - Simplify ResearchLog to not require explicit state
      - Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
        about privacy.
      - Moved LogUnit out from ResearchLogger
      
      multi-project change with Id997fb6572daa3ff55591afa1676953bb204f33a
      
      Because of a strange Gerrit interaction, earlier patchsets were recorded
      as the following separate changes (to soon be abandoned):
      
      - I59d86ae28123890ddb7aabc7dc9a73a75eecbca4
      - I9cc95266fa4500d019e09ec53ec00e5dea7ffd38
      - Ie6f23a2035e160f231406df1388a43725380df1d
      - Id87909e96fa7fa91174c86395a964404f3490fe1
      - I57c5cbde0425c42538d589fa4d1802b3e5688f7c
      - Ic1f9d7727e416da1b6c4f1a45b53750cd4088dcf
      - I20a72ccc4ba1bc08ed3ee39bff71d2adb376588c
      - I417f6f364144b90085f5fef4bd2de1a40b5dfa79
      
      Bug: 6188932
      Change-Id: I771e57e3b8c0eb6721c2022e775cb0b528bdff93
      838e6c1e
  28. Jul 20, 2012
    • Kurt Partridge's avatar
      ResearchLog refactor · 6b966160
      Kurt Partridge authored
      - new package: com.android.inputmethod.research
      
      multi-project commit with Ic0a5744f3160d13218addd589890623c0d120ffc
      
      Bug: 6188932
      
      Change-Id: Icf8d4a40a5725401799be6e209a640d99a5f34c4
      6b966160
  29. Jul 19, 2012
  30. Jul 11, 2012
    • Kurt Partridge's avatar
      intentional logging · 223d671f
      Kurt Partridge authored
      - separate ResearchLog from ResearchLogger
      - fix abort menu to explicitly indicate re-enabling of logging
      - auto flush entries every 5s
      - conform to new suggestedWords class
      
      multi-project change with I9fe1f8fe59d5891daa4ca84af157f36fb1bb17dc
      
      Bug: 6188932
      
      Change-Id: I7e99390f934481c6ed9cea2b259944583edda5bb
      223d671f
Loading