1This APK and profile file are generated from CompilationTargetActivity.java and must be 2updated if that file changes: 3 4$ (croot ; make CtsCompilationApp) 5$ cp ${ANDROID_BUILD_TOP}/out/target/product/${TARGET_PRODUCT}/data/app/CtsCompilationApp/CtsCompilationApp.apk . 6$ adb install CtsCompilationApp.apk 7 8 # Now run the app manually for a couple of minutes, look for the profile: 9$ adb shell ls -l /data/misc/profiles/cur/0/android.compilation.cts/primary.prof 10 # once the profile appears and is nonempty, grab it: 11$ adb pull /data/misc/profiles/cur/0/android.compilation.cts/primary.prof ./ 12