xref: /aosp_15_r20/cts/hostsidetests/compilation/assets/README.txt (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Workerprimary.prof.txt is generated from CtsCompilationApp and must be updated if
2*b7c941bbSAndroid Build Coastguard WorkerCompilationTargetActivity.java changes:
3*b7c941bbSAndroid Build Coastguard Worker
4*b7c941bbSAndroid Build Coastguard Worker$ m CtsCompilationApp
5*b7c941bbSAndroid Build Coastguard Worker$ adb install $ANDROID_PRODUCT_OUT/data/app/CtsCompilationApp/CtsCompilationApp.apk
6*b7c941bbSAndroid Build Coastguard Worker
7*b7c941bbSAndroid Build Coastguard Worker# Now run the app manually for a couple of minutes, look for the profile:
8*b7c941bbSAndroid Build Coastguard Worker$ adb shell ls -l /data/misc/profiles/cur/0/android.compilation.cts/primary.prof
9*b7c941bbSAndroid Build Coastguard Worker# Once the profile appears and is nonempty, grab it:
10*b7c941bbSAndroid Build Coastguard Worker$ adb pull /data/misc/profiles/cur/0/android.compilation.cts/primary.prof ./
11*b7c941bbSAndroid Build Coastguard Worker
12*b7c941bbSAndroid Build Coastguard Worker
13*b7c941bbSAndroid Build Coastguard Workerapp_used_by_other_app_1.prof.txt and app_used_by_other_app_2.prof.txt are
14*b7c941bbSAndroid Build Coastguard Workermanually constructed for AppUsedByOtherApp. The latter one should be a superset
15*b7c941bbSAndroid Build Coastguard Workerof the former one.
16