aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/ResearchLogger.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Close file properly•••Change-Id: Ied55b6a6f1e64bbca558316d8d3d207d7655cf91 Kurt Partridge2013-02-081-4/+12
* Refactor LogStatement publishing method•••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 Kurt Partridge2013-02-051-3/+11
* Merge "[Rlog79b] Save channel name during internal use"Kurt Partridge2013-02-041-4/+31
|\
| * [Rlog79b] Save channel name during internal use•••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 Kurt Partridge2013-02-041-4/+31
* | [Rlog48b] Better visual indicator for logging state•••Now applies yellow bars if recording, green bars if replaying. Change-Id: I39d39de6254fd57107ea5355c43b154244520985 Kurt Partridge2013-02-011-3/+19
* | Merge "[Rlog48a] Update and make logging strings consistent"Kurt Partridge2013-02-011-2/+3
|\ \
| * | [Rlog48a] Update and make logging strings consistent•••Change-Id: Iae04115921aaf6bbc3c6ad6e7d2d0e7401af41f8 Kurt Partridge2013-01-311-2/+3
* | | Merge "[Rlog47] Replayer service, inspect-researchLog.py"Kurt Partridge2013-02-011-2/+2
|\| |
| * | [Rlog47] Replayer service, inspect-researchLog.py•••multi-project commit with Ia2dd81afb4ea124094a20a39e31ffd193edff3d2 Change-Id: I80fe8f2ce137fedf48038955d5f3d9deed04f763 Kurt Partridge2013-01-311-2/+2
| |/
* / ResearchLogger invocation tests•••- Start with just a smoke test. - Sets up a private SharedPreferences multi-project commit with I81cceba23692d64c2ea58a46351fc36d118ff825 Change-Id: I96e02d9a8de70cb5c03fd7411b886903e7a83673 Kurt Partridge2013-01-311-1/+1
|/
* [Rlog39] Remove unnecessary commitCurrentLogUnit() call•••Change-Id: I1983095058d004476065328ad34bb9e325af7062 Kurt Partridge2013-01-301-1/+0
* [Rlog29] User interface for recording•••- 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 Kurt Partridge2013-01-291-41/+161
* [Rlog27] Add replay capability•••- 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 Kurt Partridge2013-01-291-74/+71
* Merge "[Rlog81a] Determine correction type of words"Kurt Partridge2013-01-231-4/+15
|\
| * [Rlog81a] Determine correction type of words•••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 Kurt Partridge2013-01-221-4/+15
* | [Rlog15] ResearchLogger option to include account name in feedback•••multi-project commit with I0a293f392bd605c8203dc9a62993345ad58dcfbe Change-Id: Ief5b940a62dbaeaecdf1c55f2ffdd1e0fdaea2b9 Kurt Partridge2013-01-211-3/+43
|/
* Merge "[Rlog78b] Make log privacy filtering decisions on n-grams"Kurt Partridge2013-01-211-48/+64
|\
| * [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 Kurt Partridge2013-01-211-48/+64
* | Merge "[Rlog81b] Log more data with handleSeparator"Kurt Partridge2013-01-211-1/+17
|\ \
| * | [Rlog81b] Log more data with handleSeparator•••Change-Id: I4b2ebaa2398ac2f669e1e009e00842e55979e866 Kurt Partridge2013-01-181-1/+17
* | | Fix Apache license comment•••Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086 Tadashi G. Takaoka2013-01-211-8/+8
| |/ |/|
* | [Rlog78a] Annotate logUnits with corrections•••If the user makes a correction to a word, this is now explicitly indicated in the logUnit. Change-Id: I8638aadd7b8c8e32bbc9c4b020548d786513d887 Kurt Partridge2013-01-171-3/+13
|/
* Merge "[Rlog14] Increase feedback buffer to cover whole session"Kurt Partridge2013-01-171-4/+3
|\
| * [Rlog14] Increase feedback buffer to cover whole session•••Change-Id: I55b61d9ca6eecd56181b8d2913f71559555cd89e Kurt Partridge2013-01-151-4/+3
* | Merge "[Rlog13] ResearchLogger fix feedback"Kurt Partridge2013-01-171-16/+23
|\ \
| * | [Rlog13] ResearchLogger fix feedback•••The feedback string was not being inserted in the feedback logs. Also changed the tag to "UserFeedback" from "UserTimestamp" to better reflect the data recorded. Change-Id: Iccf781b25e2573168c36e729419468f5bd73903e Kurt Partridge2013-01-161-16/+23
| |/
* | Merge "Fix commit partial text logStatement"Kurt Partridge2013-01-171-5/+5
|\ \
| * | Fix commit partial text logStatement•••- No longer suggests that it is called from a non-existent method in RichInputConnection Change-Id: I25fe4a0f232a4320ca113598bbcdd029ca319944 Kurt Partridge2013-01-171-5/+5
| |/
* | Merge "Add comment"Kurt Partridge2013-01-171-0/+5
|\ \
| * | Add comment•••Change-Id: If21222aa678a827c1fcad5cacac0fa20655e4e5e Kurt Partridge2013-01-141-0/+5
* | | [Rlog67] Renaming clarification•••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 Kurt Partridge2013-01-151-6/+10
| |/ |/|
* | Merge "[Rlog68] Logger; make filenames more unique to prevent filesys conflicts"Kurt Partridge2013-01-141-4/+15
|\ \
| * | [Rlog68] Logger; make filenames more unique to prevent filesys conflicts•••multi-project commit with If6b9f8990d7cdbf570740a81096513698d0e0f4c Change-Id: I124aed24be0beb4c472869594184ecf003c2fed4 Kurt Partridge2013-01-141-4/+15
* | | Merge "[Rlog63] Log whether a manual suggestion is a prediction"Kurt Partridge2013-01-141-3/+4
|\ \ \
| * | | [Rlog63] Log whether a manual suggestion is a prediction•••Change-Id: Ia6f793611d4b18aecb1a635655af5edb639e1ecf Kurt Partridge2013-01-111-3/+4
* | | | Merge "[Rlog59d] Pass separatorString through revertCommit"Kurt Partridge2013-01-141-3/+5
|\ \ \ \
| * | | | [Rlog59d] Pass separatorString through revertCommit•••Change-Id: I5ef20476318979f99f543f9300cf6198d18f6244 Kurt Partridge2013-01-141-3/+5
* | | | | Merge "[Rlog59c] More detailed logging of backspace"Kurt Partridge2013-01-131-4/+20
|\ \ \ \ \
| * | | | | [Rlog59c] More detailed logging of backspace•••- Normal delete events are recorded - Includes number of characters deleted for both batch and normal delete Change-Id: I422da3ddc94fa0ccd6c7586eaacf14c62dd16679 Kurt Partridge2013-01-121-4/+20
| |/ / / /
* | | | | Merge "[Rlog60] Log if a logUnit is uncommitted"Kurt Partridge2013-01-121-0/+3
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | [Rlog60] Log if a logUnit is uncommitted•••Normally logUnits are committed to a log when the word that their data corresponds to is complete. However, if the user reverts a word, or goes back to edit it, then the system may "uncommit" the logUnit, and append additional editing steps to the end of it. When this happens, we want to make a note of it in the log, which is what this patch does. Change-Id: If2bbb948469824c76facf5f06ed8a6da8ff9777c Kurt Partridge2013-01-101-0/+3
| |/ / /
* | | | Merge "[Rlog59b] Log CodeInput and KeyCode properly"Kurt Partridge2013-01-121-3/+20
|\ \ \ \
| * | | | [Rlog59b] Log CodeInput and KeyCode properly•••- Fix function calls to happen at more resilient times - In the case of phantom spaces, ensure that the logStatement goes to the correct logUnit Change-Id: Ida8f6eba1e4f33d9f9b4735316e3c6316ed316c0 Kurt Partridge2013-01-101-3/+20
| |/ / /
* | | | Merge "[Rlog58b] Log user pauses"Kurt Partridge2013-01-111-4/+18
|\ \ \ \
| * | | | [Rlog58b] Log user pauses•••Change-Id: I7802f07192a4cba4f3cfb5c08ce6d5d2d85a46c1 Kurt Partridge2013-01-101-4/+18
| |/ / /
* | | | Merge "[Rlog59a] Split logUnits correctly around separators"Kurt Partridge2013-01-111-1/+13
|\ \ \ \ | | |_|/ | |/| |
| * | | [Rlog59a] Split logUnits correctly around separators•••Change-Id: I65ecdead7e7bdeb8a5f1748e27068ddbd5d3ce00 Kurt Partridge2013-01-101-1/+13
| |/ /
* / / [Rlog] Fix some potential NPEs•••Change-Id: I07b18b5db81784dca32683e5f208088181c5eed9 Kurt Partridge2013-01-101-2/+12
|/ /
* / [Rlog57b] fix logging of reverts•••Change-Id: I07c817061a0cc060197e0fea45195ca07a9bf276 Kurt Partridge2013-01-101-8/+14
|/
* [Rlog56] Buffer words before pushing out LogUnit•••Previously, a logbuffer only held an n-gram. Data went in and out of it, FIFO, until privacy conditions were met (i.e. data not collected too frequently), and then an n-gram was saved. E.g., if n=2, and only 10% of data is collected, then 18 words went through the logbuffer before it captured the next 2 words. However, if a user then went back and edited the n-gram, these edits were not captured. This change changes the logbuffer size to temporarily hold data about words that are not recorded, so that if the user backs up over them, the edits to an n-gram that we do eventually capture are stored. If the example above, instead of a logbuffer holding 2 words, it holds 20. The system waits until all the words not needed for the n-gram have been gathered (i.e. the buffer is full), so the user has adequate time to edit, before shifting out the n-gram. The buffer is still flushed when the user closes the IME. See the comment for MainLogBuffer for an explanation. multi-project commit with I45317bc95eeb859adc1b35b24d0478f2df1a67f3 Change-Id: I4ffd95d08c6437dcf650d866ef9e24b6af512334 Kurt Partridge2013-01-091-9/+29