Refine the GTI dump order
Adjust the order to get the touch snapshot as soon as possible. This will avoid the following operations to overwrite the touch statistics for further analysis. Bug: 356993163 Flag: EXEMPT bugfix Test: Manual test. Change-Id: I012544849868ca7b81c11ffa13858eaa209af5c5 Signed-off-by: Super Liu <supercjliu@google.com>
This commit is contained in:
parent
f91cdac2fe
commit
8aaaec0793
2 changed files with 10 additions and 10 deletions
|
@ -8,6 +8,11 @@ else
|
||||||
heatmap_path=$path
|
heatmap_path=$path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -f "${procfs_path}/dump" ]]; then
|
||||||
|
echo "------ Dump ------"
|
||||||
|
cat ${procfs_path}/dump
|
||||||
|
fi
|
||||||
|
|
||||||
echo "------ Force Touch Active ------"
|
echo "------ Force Touch Active ------"
|
||||||
result=$( cat "$path/force_active" 2>&1 )
|
result=$( cat "$path/force_active" 2>&1 )
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
@ -60,10 +65,5 @@ cat $heatmap_path/ss_raw
|
||||||
echo "------ Self Test ------"
|
echo "------ Self Test ------"
|
||||||
cat $path/self_test
|
cat $path/self_test
|
||||||
|
|
||||||
if [[ -f "${procfs_path}/dump" ]]; then
|
|
||||||
echo "------ Dump ------"
|
|
||||||
cat ${procfs_path}/dump
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "------ Disable Force Touch Active ------"
|
echo "------ Disable Force Touch Active ------"
|
||||||
echo 0 > $path/force_active
|
echo 0 > $path/force_active
|
||||||
|
|
|
@ -8,6 +8,11 @@ else
|
||||||
heatmap_path=$path
|
heatmap_path=$path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -f "${procfs_path}/dump" ]]; then
|
||||||
|
echo "------ Dump ------"
|
||||||
|
cat ${procfs_path}/dump
|
||||||
|
fi
|
||||||
|
|
||||||
echo "------ Force Touch Active ------"
|
echo "------ Force Touch Active ------"
|
||||||
result=$( cat "$path/force_active" 2>&1 )
|
result=$( cat "$path/force_active" 2>&1 )
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
@ -60,10 +65,5 @@ cat $heatmap_path/ss_raw
|
||||||
echo "------ Self Test ------"
|
echo "------ Self Test ------"
|
||||||
cat $path/self_test
|
cat $path/self_test
|
||||||
|
|
||||||
if [[ -f "${procfs_path}/dump" ]]; then
|
|
||||||
echo "------ Dump ------"
|
|
||||||
cat ${procfs_path}/dump
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "------ Disable Force Touch Active ------"
|
echo "------ Disable Force Touch Active ------"
|
||||||
echo 0 > $path/force_active
|
echo 0 > $path/force_active
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue