1## artd 2 3artd is a component of ART Service. It is a shim service to do tasks that 4require elevated permissions that are not available to system_server, such as 5manipulation of the file system and invoking dex2oat. It publishes a binder 6interface that is internal to ART service's Java code. When it invokes other 7binaries, it passes input and output files as FDs and drops capability before 8exec. 9 10### System properties 11 12artd can be controlled by the system properties listed below. Note that the list 13doesn't include options passed to dex2oat and other processes. 14 15- `dalvik.vm.artd-verbose`: Log verbosity of the artd process. The syntax is the 16 same as the runtime's `-verbose` flag. 17 18### The `--pre-reboot` flag 19 20artd can be run in Pre-reboot mode through the `--pre-reboot` flag. The 21Pre-reboot mode is for generating outputs for Pre-reboot Dexopt. The flag does 22not change the actual behavior, but only affects the service name, the log tag, 23a few return checks, etc. Note that how artd addresses input files and output 24files is solely determined by AIDL arguments and is **not** affected by the 25`--pre-reboot` flag. 26