/aosp12/system/sepolicy/prebuilts/api/31.0/private/ |
H A D | odrefresh.te | 1 # odrefresh 2 type odrefresh, domain, coredomain; 14 userfaultfd_use(odrefresh) 22 domain_auto_trans(odrefresh, dex2oat_exec, dex2oat) 25 allow odrefresh dex2oat:process sigkill; 31 allow odrefresh dexoptanalyzer:process sigkill; 35 allow odrefresh odsign:fd use; 38 # These appear to be unnecessary for odrefresh. 39 dontaudit odrefresh { adbd shell }:fd use; 45 allow odrefresh apex_info_file:file r_file_perms; [all …]
|
H A D | dexoptanalyzer.te | 31 # Allow dexoptanalyzer to use file descriptors from odrefresh. 32 allow dexoptanalyzer odrefresh:fd use; 34 # Use devpts and fd from odsign (which exec()'s odrefresh)
|
H A D | dex2oat.te | 41 # Allow dex2oat to use file descriptors passed from odrefresh. 42 allow dex2oat odrefresh:fd use; 48 # Allow dex2oat to write to file descriptors from odrefresh for files 53 # Allow dex2oat to read artifacts from odrefresh.
|
H A D | su.te | 16 # Put the odrefresh command into its domain. 17 domain_auto_trans(su, odrefresh_exec, odrefresh)
|
H A D | odsign.te | 47 # Run odrefresh to refresh ART artifacts 48 domain_auto_trans(odsign, odrefresh_exec, odrefresh)
|
/aosp12/system/sepolicy/prebuilts/api/32.0/private/ |
H A D | odrefresh.te | 1 # odrefresh 2 type odrefresh, domain, coredomain; 14 userfaultfd_use(odrefresh) 22 domain_auto_trans(odrefresh, dex2oat_exec, dex2oat) 25 allow odrefresh dex2oat:process sigkill; 31 allow odrefresh dexoptanalyzer:process sigkill; 35 allow odrefresh odsign:fd use; 38 # These appear to be unnecessary for odrefresh. 39 dontaudit odrefresh { adbd shell }:fd use; 45 allow odrefresh apex_info_file:file r_file_perms; [all …]
|
H A D | dexoptanalyzer.te | 31 # Allow dexoptanalyzer to use file descriptors from odrefresh. 32 allow dexoptanalyzer odrefresh:fd use; 34 # Use devpts and fd from odsign (which exec()'s odrefresh)
|
H A D | dex2oat.te | 41 # Allow dex2oat to use file descriptors passed from odrefresh. 42 allow dex2oat odrefresh:fd use; 48 # Allow dex2oat to write to file descriptors from odrefresh for files 53 # Allow dex2oat to read artifacts from odrefresh.
|
H A D | su.te | 16 # Put the odrefresh command into its domain. 17 domain_auto_trans(su, odrefresh_exec, odrefresh)
|
H A D | odsign.te | 47 # Run odrefresh to refresh ART artifacts 48 domain_auto_trans(odsign, odrefresh_exec, odrefresh)
|
/aosp12/system/sepolicy/private/ |
H A D | odrefresh.te | 1 # odrefresh 2 type odrefresh, domain, coredomain; 14 userfaultfd_use(odrefresh) 22 domain_auto_trans(odrefresh, dex2oat_exec, dex2oat) 25 allow odrefresh dex2oat:process sigkill; 31 allow odrefresh dexoptanalyzer:process sigkill; 35 allow odrefresh odsign:fd use; 38 # These appear to be unnecessary for odrefresh. 39 dontaudit odrefresh { adbd shell }:fd use; 45 allow odrefresh apex_info_file:file r_file_perms; [all …]
|
H A D | dexoptanalyzer.te | 31 # Allow dexoptanalyzer to use file descriptors from odrefresh. 32 allow dexoptanalyzer odrefresh:fd use; 34 # Use devpts and fd from odsign (which exec()'s odrefresh)
|
H A D | dex2oat.te | 41 # Allow dex2oat to use file descriptors passed from odrefresh. 42 allow dex2oat odrefresh:fd use; 48 # Allow dex2oat to write to file descriptors from odrefresh for files 53 # Allow dex2oat to read artifacts from odrefresh.
|
H A D | su.te | 16 # Put the odrefresh command into its domain. 17 domain_auto_trans(su, odrefresh_exec, odrefresh)
|
H A D | odsign.te | 47 # Run odrefresh to refresh ART artifacts 48 domain_auto_trans(odsign, odrefresh_exec, odrefresh)
|
/aosp12/system/security/ondevice-signing/ |
H A D | odsign_main.cpp | 117 art::odrefresh::ExitCode checkArtifacts() { in checkArtifacts() 121 return static_cast<art::odrefresh::ExitCode>(exit_code); in checkArtifacts() 124 art::odrefresh::ExitCode compileArtifacts(bool force) { in compileArtifacts() 128 return static_cast<art::odrefresh::ExitCode>(exit_code); in compileArtifacts() 368 art::odrefresh::ExitCode odrefresh_status = checkArtifacts(); in main() 376 if (artifactsPresent && (odrefresh_status == art::odrefresh::ExitCode::kOkay || in main() 385 if (odrefresh_status == art::odrefresh::ExitCode::kOkay) { in main() 412 if (odrefresh_status == art::odrefresh::ExitCode::kCompilationRequired) { in main() 416 if (odrefresh_status == art::odrefresh::ExitCode::kOkay) { in main() 420 odrefresh_status == art::odrefresh::ExitCode::kCompilationFailed) { in main() [all …]
|
/aosp12/art/odrefresh/ |
H A D | Android.bp | 27 name: "odrefresh-defaults", 31 "odrefresh.cc", 42 "art-odrefresh-operator-srcs", 66 "-header-filter=(art/odrefresh/|system/apex/)", 85 name: "art-odrefresh-operator-srcs", 86 cmd: "$(location generate_operator_out) art/odrefresh $(in) > $(out)", 95 name: "odrefresh", 96 defaults: ["odrefresh-defaults"], 115 "odrefresh-defaults", 164 generated_sources: ["art-odrefresh-operator-srcs"],
|
H A D | odr_statslog_host.cc | 21 namespace odrefresh { namespace
|
H A D | odrefresh_test.cc | 23 namespace odrefresh { namespace
|
H A D | odr_fs_utils.h | 26 namespace odrefresh {
|
H A D | odr_metrics_record.h | 24 namespace odrefresh {
|
/aosp12/art/odrefresh/include/odr_statslog/ |
H A D | odr_statslog.h | 22 namespace odrefresh {
|
/aosp12/art/odrefresh/include/odrefresh/ |
H A D | odrefresh.h | 23 namespace odrefresh {
|
/aosp12/system/sepolicy/apex/ |
H A D | com.android.art-file_contexts | 7 /bin/odrefresh u:object_r:odrefresh_exec:s0
|
H A D | com.android.art.debug-file_contexts | 7 /bin/odrefresh u:object_r:odrefresh_exec:s0
|