• Home
Name Date Size #Lines LOC

..--

binder/06-Sep-2024-1,202299

tests/06-Sep-2024-16691

Android.bpD06-Sep-20243.9 KiB153145

README.mdD06-Sep-20241.1 KiB2619

art_standalone_artd_tests.xmlD06-Sep-20242.7 KiB5024

artd.ccD06-Sep-202477.4 KiB1,9671,608

artd.hD06-Sep-202415.3 KiB365265

artd_fuzzer.ccD06-Sep-20241 KiB3211

artd_main.ccD06-Sep-20241.9 KiB7746

artd_test.ccD06-Sep-2024123.9 KiB3,0352,492

file_utils.ccD06-Sep-20249.5 KiB287217

file_utils.hD06-Sep-20246.3 KiB16063

file_utils_test.ccD06-Sep-202414.9 KiB387269

path_utils.ccD06-Sep-202413.7 KiB343263

path_utils.hD06-Sep-20245.8 KiB14286

path_utils_test.ccD06-Sep-202411.9 KiB261211

testing.hD06-Sep-20241.6 KiB4118

README.md

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