History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
72c2feb57369527b5f0d2b89505f94503978b928 05-Jul-2013 Tadashi G. Takaoka <takaoka@google.com> Use TimeUnit instead of DateUtils for readability

Bug: 9550800
Change-Id: I087205530a5dbcff4bf08f48f4aa7068aae93215
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
e04794cbbeafec7463a91554d7c069deacddc744 27-Jun-2013 Jean Chalard <jchalard@google.com> Fix some warnings

Mostly remove unused imports

Change-Id: If8ceffdfad79b78194094527759f5c334746973e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
74a6196c6b7332164a438fa5aabce24b37ffca0e 20-May-2013 Kurt Partridge <kep@google.com> Modify isAllowedToLog

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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
7d72ca0b20334aba077e3a01d7b12f6f34618076 09-May-2013 Kurt Partridge <kep@google.com> Avoid JsonWriter multi-write error

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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
cd831fa285bda39104ef825a7642f59776cf8fe9 14-Apr-2013 Kurt Partridge <kep@google.com> Fix JsonWriter bug

JsonWriter requires that data be written to it, else close() will throw
an exception.

Change-Id: I596c5363e063cc75bcda55e0a506eefb3f17bd67
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
841c295f3c99214f45924434d9c0bb5b4760578d 19-Mar-2013 Tadashi G. Takaoka <takaoka@google.com> resolved conflicts for merge of 5b048292 to master

Change-Id: I67ebab46954cd7b8e3e79e7fed523bafb15f8835
9c3860ce461c3791891bf667edc77fe798c8d332 18-Mar-2013 Ken Wakasa <kwakasa@google.com> Rename ProductionFlag.IS_EXPERIMENTAL to USES_DEVELOPMENT_ONLY_DIAGNOSTICS

bug: 8393568
Change-Id: Ie5edf44a3627aca9416145aff56bf05bbf2a05f3
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
f33f1cab2fd57fe39955593e68902554ed57a053 27-Feb-2013 Kurt Partridge <kep@google.com> [FileEncap9] Extract ResearchLogDirectory class

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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
13a82d95306d9d5662fc11cfa5269cd86164bc3a 14-Feb-2013 Jean Chalard <jchalard@google.com> [Lazy2] Pass a runnable to abort

Change-Id: I721afbf426099753aa876a55323eb806b08c24d6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
7423005b96b3afc3a6ff55ae40d143920d5a6221 14-Feb-2013 Jean Chalard <jchalard@google.com> [Lazy1] Switch to blocking log closures

Change-Id: I4daec20b7b47b0d71c5aab6e17cd660015e19e71
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
f170f145afa821537b2e97a02a00da96723bb84e 15-Feb-2013 Kurt Partridge <kep@google.com> [TestPrep11] Only use mHasWrittenData to control JsonWriter#endArray() call

Change-Id: If2107e38575b009a4c372194ecd827e27bdbb2b4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
a5e564bea09b54822befff8977d971dd63303452 15-Feb-2013 Kurt Partridge <kep@google.com> [TestPrep10] Add some comments

Change-Id: Ia8e0bd72b0dc09bfc256ec5d1996637554376b5f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
744b363ae8bf7cf66809d4afae12d5cc860adef4 15-Feb-2013 Kurt Partridge <kep@google.com> [TestPrep8] Narrow try/catch scope

Change-Id: If15f250feb81c2ad55ce1bc7dc3dafa57de87aef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
78c1ad32e67fcb11448e23661aec33675f3dfa3b 15-Feb-2013 Kurt Partridge <kep@google.com> [TestPrep7] Encapsulate JsonWriter creation

Change-Id: I4e97fa28dd0bb1101edc0db03f024432fee6f6fe
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
b6d05aeb7c9d8c1627cd24b1e56bd70c9f50d396 15-Feb-2013 Kurt Partridge <kep@google.com> [TestPrep2] Rename a method

Change-Id: Id9a72045afa3558b20b9d63c8720fb7443d34fd9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
531dd150eb1ddf88cb09c404a14834893c82f960 05-Feb-2013 Kurt Partridge <kep@google.com> Cleanup in preparation for tests

multi-project commit with I1212da392ecda0ad78962da68941870b5a651eee

Change-Id: Ie74af59d4e45bf954723fee9dcf350a36468c381
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
8b788374dee56dfe95e7af42a358923cfcb3668e 21-Jan-2013 Kurt Partridge <kep@google.com> Merge "[Rlog78b] Make log privacy filtering decisions on n-grams"
80685aa4b95173638c7982dbac723b282292a931 12-Jan-2013 Kurt Partridge <kep@google.com> [Rlog78b] Make log privacy filtering decisions on n-grams

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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
8aa9963a895f9dd5bb1bc92ab2e4f461e058f87a 21-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Fix Apache license comment

Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
67a61fc6bea2c4bf4e3d5096f9664547ecb47a9a 11-Jan-2013 Kurt Partridge <kep@google.com> [Rlog68] Logger; make filenames more unique to prevent filesys conflicts

multi-project commit with If6b9f8990d7cdbf570740a81096513698d0e0f4c

Change-Id: I124aed24be0beb4c472869594184ecf003c2fed4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
8bda35809b4cc02c9c41134f0a2ff9a648d25500 08-Jan-2013 Kurt Partridge <kep@google.com> [Rlog52z] Cleanup and small bug fixes

Change-Id: Ia3fca4881370ffcdd5f2b14d2d1094c51f4330ae
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
58281a98eb8750d334db24e626c8fce37ffb5e9e 18-Dec-2012 Kurt Partridge <kep@google.com> [Rlog6.2] ResearchLogging Refactor

Move specifics of Log output format from ResearchLog to LogUnit

Change-Id: I9d0253c50bb8175ab141bd87dd9a09f39f316b10
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
0aafbcf879a31afc8361078bd9574915d95694c0 18-Dec-2012 Kurt Partridge <kep@google.com> Add ProductionFlag.IS_EXPERIMENTAL_DEBUG

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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
3370dc82370f5397bafdaeba395e3dfc8b8adf3a 10-Aug-2012 Kurt Partridge <kep@google.com> [Rlog2] ResearchLogging fix multi-space logging

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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
5e854e281a525f0c2dcdb753db2fac3eb810470f 10-Aug-2012 Kurt Partridge <kep@google.com> [Rlog1] Track time of log statements

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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
33d5da590f8b733b7bae980f919705b9d975c568 01-Dec-2012 Kurt Partridge <kep@google.com> Revert "ResearchLog. Track time of log statements"

This reverts commit bdbe279cecea7a16ef2a5c3b62622eb19e4b18bf

Other half of this change couldn't be committed because of a inter-project directory migration. Reverting until things settle down.

Change-Id: I3862fc8485dfca6d507f620e905cfa583aa0e39a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
bdbe279cecea7a16ef2a5c3b62622eb19e4b18bf 10-Aug-2012 Kurt Partridge <kep@google.com> ResearchLog. Track time of log statements

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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
fe05b881342645f75428cc51849f7326cb76a408 09-Aug-2012 Kurt Partridge <kep@google.com> add logging code

Change-Id: I0abb4a1ad67666162ab6703ffdb33c5e0675be93
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
17114054e91d9172f0432171862a72e832838e96 08-Aug-2012 Kurt Partridge <kep@google.com> ResearchLog uploadingService now waits for logging to finish

Bug: 6188932
Change-Id: I31c0f380b334d9117990f2d92de8d385e4a52c7c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
29d5973fd35438a83acf7f44b5d55d5620278ee3 28-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Optimize rare Key attributes to separate class

This change also removes per-Key verticalGap and horizontalGap.

Change-Id: Id4d2129022fbbfbf5d740b8d1257032c945bb775
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
bf653996eab40e2c66cfd2eaeb48ed5175b78455 03-Aug-2012 Kurt Partridge <kep@google.com> ResearchLogging capture full n-gram data

- 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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
3d3590874926ff92009ed0b4f114c6e5a8ee7394 20-Aug-2012 Kurt Partridge <kep@google.com> Revert "ResearchLogging capture full n-gram data"

This reverts commit 221e756fd7d585f0eb75377b851f23cad24ccd7f

Change-Id: Iefc4e4e27ddc925d4a4634627b0467bd4ee2a66e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
221e756fd7d585f0eb75377b851f23cad24ccd7f 03-Aug-2012 Kurt Partridge <kep@google.com> ResearchLogging capture full n-gram data

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
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java
6b966160ac8570271547bf63217efa5e228d4acc 20-Jul-2012 Kurt Partridge <kep@google.com> ResearchLog refactor

- new package: com.android.inputmethod.research

multi-project commit with Ic0a5744f3160d13218addd589890623c0d120ffc

Bug: 6188932

Change-Id: Icf8d4a40a5725401799be6e209a640d99a5f34c4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ResearchLog.java