Age | Commit message (Collapse) | Author |
|
See https://r.android.com/3539979 as well as
go/art-cloud-compilation-platform-design "Overview",
"Detailed design -> SDC file", and
"Detailed design -> Incremental considerations" for details.
Bug: 377474232
Test: atest art_standalone_artd_tests
Change-Id: I870016723d77e75540894ac0c29bf1b32bf835e7
|
|
Pre-reboot Dexopt reuses the normal dexopt workflow. The entry point is
`ArtManagerLocal.dexoptPackages`. The only differences are:
- It appends the ".staged" suffix to the filenames of the output dexopt
artifacts and profiles.
- It does not clear cur profiles.
- It does not delete runtime artifacts.
- It never updates the dex use protobuf file.
Bug: 311377497
Test: atest ArtServiceTests
Test: m test-art-host-gtest-art_artd_tests
Change-Id: I7ab98015a85c0a24cc2083a317048dcf548449ea
|
|
The code will be shared with dexopt_chroot_setup.
Bug: 311377497
Test: m com.android.art
Change-Id: I2b320e0d4effa7e7a1c75ab5fe40fe8c4ff170ba
|
|
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
|
|
Before this change, we used PackageState#isSystem (a.k.a.
ApplicationInfo#FLAG_SYSTEM) to determine this. Unfortunately, some OEMs
don't set this flag for some apps because the flag is used for making
security decisions in some places, although the document says it
shouldn't be.
After this change, we use libfstab as a general solution.
Bug: 287958783
Test: atest art_standalone_artd_tests
Test: atest ArtServiceTests
Change-Id: I0ef596f7009c3d19f458d58c922041ab8a7fbf5f
Merged-In: I0ef596f7009c3d19f458d58c922041ab8a7fbf5f
|
|
After clang-r498229, we got below new warnings:
art/artd/artd.cc:810:42: error: redundant call to 'c_str'
[readability-redundant-string-cstr,-warnings-as-errors]
context = ClassLoaderContext::Create(in_classLoaderContext->c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*in_classLoaderContext->
art/artd/artd.cc:899:35: error: redundant call to 'c_str'
[readability-redundant-string-cstr,-warnings-as-errors]
std::string dex_dir = Dirname(in_dexFile.c_str());
^~~~~~~~~~~~~~~~~~
in_dexFile
art/artd/artd_test.cc:75:42: error: using decl 'GetDexoptStatusResult' is unused
[misc-unused-using-decls,-warnings-as-errors]
using ::aidl::com::android::server::art::GetDexoptStatusResult;
^
art/artd/path_utils_test.cc:31:42: error: using decl 'VdexPath' is unused
[misc-unused-using-decls,-warnings-as-errors]
using ::aidl::com::android::server::art::VdexPath;
^
art/artd/artd_test.cc:394:15: error: parameter 'cancellation_signal' is passed by value
and only copied once; consider moving it to avoid unnecessary copies
[performance-unnecessary-value-param,-warnings-as-errors]
cancellation_signal);
^
std::move( )
Bug: 285008138
Test: build with WITH_TIDY=1
Change-Id: Id17bfea4dc78175aec3b1328e916f8c574e61a8c
|
|
In fact, dex2oat doesn't have a limit on the file extension. It only
checks the magic number at the beginning of the file. Potentially, apps
can use any extension for their secondary dex files.
Bug: 272053358
Test: Presubmit (v2/android-app-compat-engprod/csuite/top_100_app_launch_presubmit_partition_1)
Ignore-AOSP-First: ART Services
Change-Id: I933344f3b3b6d3dca23ca97f2846aff7f0aa2ba1
|
|
Bug: 255944781
Test: atest ArtServiceTests
Test: m test-art-host-gtest-art_artd_tests
Ignore-AOSP-First: ART Services.
Change-Id: Ibb8ffd6da39186cb571dbd9e59847bc2161ebd15
|
|
Bug: 249984283
Test: atest ArtServiceTests
Test: m test-art-host-gtest-art_artd_tests
Ignore-AOSP-First: ART Services.
Change-Id: I35e19e7fa2147717754feddbc72a46983dc0d9d8
|
|
Bug: 248318911
Test: m test-art-host-gtest-art_artd_tests
Test: atest ArtServiceTests
Ignore-AOSP-First: ART Services.
Change-Id: I0a6cb02ae31593f68648500e838882236881d349
|
|
This change adds a few artd methods that will be used for profile-guided
compilation.
Bug: 229268202
Test: m test-art-host-gtest-art_artd_tests
Ignore-AOSP-First: ART Services.
Change-Id: Ic80ecd3f77185041376e0744c021cd88feb88a4a
|
|
This change adds two artd methods: `getDexoptNeeded` and `dexopt`, which
are used for app compilation.
Also, this CL replaces all `StringPrintf` with `_format`.
Bug: 229268202
Test: m test-art-host-gtest-art_artd_tests
Ignore-AOSP-First: ART Services.
Change-Id: I51a42816750ff39c768658f739c7e6337cfe3e1c
|
|
Bug: 225827974
Test: adb shell pm art delete-optimized-artifacts com.google.android.youtube
Ignore-AOSP-First: ART Services
Change-Id: I4d168ae17d67422139258f1968c717765e1ffeab
|