Age | Commit message (Collapse) | Author |
|
python we are using have json built-in.
Use it to not depend on simplejson package.
BUG=b:187794810
TEST=Run unit test, but fails at:
"/mnt/host/source/src/platform/mttools/mtreplay/replay: error while
loading shared libraries: libevdev_hollow.so.0: cannot open shared
object file: No such file or directory"
Change-Id: I27f034d10e24814f0d2e1ef3fdb15d19a25d5a6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/gestures/+/4300256
Code-Coverage: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Sean O'Brien <seobrien@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
Code-Coverage: Sean O'Brien <seobrien@chromium.org>
|
|
BUG=none
TEST=Check repo --verify is not complaining anymore.
Change-Id: Ia90fced35f679a52c76c78ad4a2ab80fce0ce64e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/gestures/+/4300260
Reviewed-by: Harry Cutts <hcutts@chromium.org>
Code-Coverage: Harry Cutts <hcutts@chromium.org>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
|
|
Shrink the activity log with a begin time and an end time.
Replace the properties in the log with the new ones. Perform
the operations using a command utility program without user
interaction in tpview and an editor.
BUG=chromium-os:31929
TEST=Copy latest_properties from Comment 1 in issue 31929 to
the directory '.../platform/gestures/tools'.
Perform the following tests.
$ cd .../platform/gestures/tools
$ ./tplog.py -l tools/logs/cr48/cursor_freeze.dat \
-b 2105.298021 \
-e 2118.742454 \
-p latest_properties \
-o tools/logs/cr48/new_cursor_freeze.dat
And check that the event timestamps are shrunk in the given time range
and the properties are replaced with the new ones.
Change-Id: Idf95d8bac2dc693e032d087f0f9a4dd5d86c077e
Reviewed-on: https://gerrit.chromium.org/gerrit/25526
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Joseph Shyh-In Hwang <josephsih@chromium.org>
Commit-Ready: Joseph Shyh-In Hwang <josephsih@chromium.org>
|