Call into ART Service for profile snapshotting when it is enabled.

Test: adb root
      adb shell setprop dalvik.vm.profilebootclasspath true
      adb shell pm snapshot-profile android
      adb shell pm snapshot-profile com.android.egg
      adb shell pm snapshot-profile com.android.egg \
        --code-path /system/app/EasterEgg/EasterEgg.apk
  with dalvik.vm.useartservice=true
Bug: 251903639
Change-Id: Id49c381162e6f73d77e6bb80af54b9cbe5f7d739
1 file changed