Check all art-related system properties.

After this change, odrefresh writes the following system properties to
cache-info.xml and checks them on boot.
- all properties starting with `dalvik.vm.`
- all properties starting with `ro.dalvik.vm.`
- `persist.device_config.runtime_native_boot.enable_uffd_gc`

Bug: 231974881
Test: atest odsign_e2e_tests_full
Change-Id: I4f6790a2c18409c7ec93ae0369b3160a29bb49c3
Merged-In: I4f6790a2c18409c7ec93ae0369b3160a29bb49c3
(cherry picked from commit dff7de431edb81f5fb5cc25df10fe8eda83d0e6e)
diff --git a/odrefresh/odrefresh.h b/odrefresh/odrefresh.h
index 9dd4009..e48567f 100644
--- a/odrefresh/odrefresh.h
+++ b/odrefresh/odrefresh.h
@@ -141,11 +141,12 @@
       /*out*/ std::vector<std::string>* checked_artifacts = nullptr) const;
 
   // Returns true if all of the system properties listed in `kSystemProperties` are set to the
-  // default values.
+  // default values. This function is usually called when cache-info.xml does not exist (i.e.,
+  // compilation has not been done before).
   WARN_UNUSED bool CheckSystemPropertiesAreDefault() const;
 
   // Returns true if none of the system properties listed in `kSystemProperties` has changed since
-  // the last compilation.
+  // the last compilation. This function is usually called when cache-info.xml exists.
   WARN_UNUSED bool CheckSystemPropertiesHaveNotChanged(
       const com::android::art::CacheInfo& cache_info) const;