Allow Pre-reboot Dexopt to be configured by BatchDexoptStartCallback.

Instead of calling `BatchDexoptStartCallback` from
`ArtManagerLocal.dexoptPackages` in the new service-art.jar loaded from
the OTA/Mainline package, do it in the current one where the OEM may
have configured it, and send over the resulting `BatchDexoptParams` data
instead.

Bug: 356996742
Bug: 369233230
Test: atest ArtServiceTests
Test: -
  1. adb shell configure-batch-dexopt -r ab-ota --package com.android.settings --package com.android.calendar
  2. adb shell pm art pr-dexopt-job --run
Change-Id: I4ab65cecb4fa7724a6e1ac1a04532ac2d3fef4ef
15 files changed