Move dex path and CLC validation to JNI.

Bug: 298183834
Bug: 296034438
Test: atest CtsCompilationTestCases
Test: atest ArtServiceTests
Test: atest art_standalone_artd_tests
Test: atest art_standalone_libartservice_tests
Change-Id: I7ed1a36392ea8ca6f583e4743baef043c9927ee5
Merged-In: I7ed1a36392ea8ca6f583e4743baef043c9927ee5
14 files changed