ART services: delete optimized artifacts.
- Implements the functionality of deleting artifacts of primary dex'es
(except the real artd implementation).
- Defines an artd internal API for deleting artifacts.
- Adds the artd aidl interface as a dependency of the java code.
- Adds an implementation of artd (`LoggingArtd`) that logs the artd
calls for debugging purposes.
- Adds a shell command (`delete-optimized-artifacts`).
- Adds related wrappers.
Bug: 225827974
Test: atest ArtServiceTests
Test: adb shell pm art delete-optimized-artifacts com.google.android.youtube
Ignore-AOSP-First: ART Services
Change-Id: If7fbb2c0fe71c9574f001402876cd2aae24083a7
19 files changed