1set -e 2build/soong/soong_ui.bash --make-mode TextClassifierPerfTests perf-setup 3adb install ${OUT}/testcases/TextClassifierPerfTests/arm64/TextClassifierPerfTests.apk 4adb shell cmd package compile -m speed -f com.android.perftests.textclassifier 5adb push ${OUT}/obj/EXECUTABLES/perf-setup_intermediates/perf-setup.sh /data/local/tmp/ 6adb shell chmod +x /data/local/tmp/perf-setup.sh 7adb shell /data/local/tmp/perf-setup.sh 8adb shell am instrument -w -e package android.view.textclassifier com.android.perftests.textclassifier/androidx.test.runner.AndroidJUnitRunner 9