Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 863) sorted by relevance

12345678910>>...35

/system/sepolicy/prebuilts/api/30.0/public/
Diorap_prefetcherd.te24 allow iorap_prefetcherd logcat_exec:file { open read };
26 # Grant access to open most of the files under /
27 allow iorap_prefetcherd apk_data_file:dir { open read search };
28 allow iorap_prefetcherd apk_data_file:file { open read };
29 allow iorap_prefetcherd app_data_file:dir { open read search };
30 allow iorap_prefetcherd app_data_file:file { open read };
31 allow iorap_prefetcherd dalvikcache_data_file:dir { open read search };
32 allow iorap_prefetcherd dalvikcache_data_file:file{ open read };
33 allow iorap_prefetcherd packages_list_file:dir { open read search };
34 allow iorap_prefetcherd packages_list_file:file { open read };
[all …]
Diorap_inode2filename.te17 # Grant access to open most of the files under /
18 allow iorap_inode2filename apex_data_file:dir { getattr open read search };
20 allow iorap_inode2filename apex_mnt_dir:dir { getattr open read search };
22 allow iorap_inode2filename apk_data_file:dir { getattr open read search };
24 allow iorap_inode2filename app_data_file:dir { getattr open read search };
26 allow iorap_inode2filename backup_data_file:dir { getattr open read search };
28 allow iorap_inode2filename bluetooth_data_file:dir { getattr open read search };
30 allow iorap_inode2filename bootchart_data_file:dir { getattr open read search };
32 allow iorap_inode2filename metadata_file:dir { getattr open read search search };
34 allow iorap_inode2filename packages_list_file:dir { getattr open read search };
[all …]
/system/sepolicy/public/
Diorap_prefetcherd.te24 allow iorap_prefetcherd logcat_exec:file { open read };
26 # Grant access to open most of the files under /
27 allow iorap_prefetcherd apk_data_file:dir { open read search };
28 allow iorap_prefetcherd apk_data_file:file { open read };
29 allow iorap_prefetcherd app_data_file:dir { open read search };
30 allow iorap_prefetcherd app_data_file:file { open read };
31 allow iorap_prefetcherd dalvikcache_data_file:dir { open read search };
32 allow iorap_prefetcherd dalvikcache_data_file:file{ open read };
33 allow iorap_prefetcherd packages_list_file:dir { open read search };
34 allow iorap_prefetcherd packages_list_file:file { open read };
[all …]
Diorap_inode2filename.te17 # Grant access to open most of the files under /
18 allow iorap_inode2filename apex_data_file:dir { getattr open read search };
20 allow iorap_inode2filename apex_mnt_dir:dir { getattr open read search };
22 allow iorap_inode2filename apk_data_file:dir { getattr open read search };
24 allow iorap_inode2filename app_data_file:dir { getattr open read search };
26 allow iorap_inode2filename backup_data_file:dir { getattr open read search };
28 allow iorap_inode2filename bluetooth_data_file:dir { getattr open read search };
30 allow iorap_inode2filename bootchart_data_file:dir { getattr open read search };
32 allow iorap_inode2filename metadata_file:dir { getattr open read search search };
34 allow iorap_inode2filename packages_list_file:dir { getattr open read search };
[all …]
/system/sepolicy/prebuilts/api/26.0/
Dnonplat_sepolicy.cil1728 (allow servicemanager_26_0 bootanim_26_0 (file (read open)))
1739 (allow hwservicemanager_26_0 bootanim_26_0 (file (read open)))
1741 (allow bootanim_26_0 gpu_device_26_0 (chr_file (ioctl read write getattr lock append open)))
1743 (allow bootanim_26_0 oemfs_26_0 (file (ioctl read getattr lock open)))
1744 (allow bootanim_26_0 audio_device_26_0 (dir (ioctl read getattr lock search open)))
1745 (allow bootanim_26_0 audio_device_26_0 (chr_file (ioctl read write getattr lock append open)))
1748 (allow bootanim_26_0 ion_device_26_0 (chr_file (ioctl read write getattr lock append open)))
1751 (allow bootanim_26_0 proc_26_0 (dir (ioctl read getattr lock search open)))
1752 (allow bootanim_26_0 proc_26_0 (file (ioctl read getattr lock open)))
1753 (allow bootanim_26_0 proc_26_0 (lnk_file (ioctl read getattr lock open)))
[all …]
/system/sepolicy/prebuilts/api/27.0/
Dnonplat_sepolicy.cil1948 (allow servicemanager_27_0 bootanim_27_0 (file (read open)))
1959 (allow hwservicemanager_27_0 bootanim_27_0 (file (read open)))
1961 (allow bootanim_27_0 gpu_device_27_0 (chr_file (ioctl read write getattr lock append map open)))
1963 (allow bootanim_27_0 oemfs_27_0 (file (ioctl read getattr lock map open)))
1964 (allow bootanim_27_0 audio_device_27_0 (dir (ioctl read getattr lock search open)))
1965 (allow bootanim_27_0 audio_device_27_0 (chr_file (ioctl read write getattr lock append map open)))
1968 (allow bootanim_27_0 ion_device_27_0 (chr_file (ioctl read write getattr lock append map open)))
1971 (allow bootanim_27_0 proc_27_0 (dir (ioctl read getattr lock search open)))
1972 (allow bootanim_27_0 proc_27_0 (file (ioctl read getattr lock map open)))
1973 (allow bootanim_27_0 proc_27_0 (lnk_file (ioctl read getattr lock map open)))
[all …]
/system/vold/
DBenchmarkGen.h44 int t3433f17 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE)); in BenchmarkRun()
55 int t3433f18 = TEMP_FAILURE_RETRY(open("file1", O_RDONLY|O_LARGEFILE)); in BenchmarkRun()
63 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE)); in BenchmarkRun()
73 t3433f18 = TEMP_FAILURE_RETRY(open("file2", O_RDONLY|O_LARGEFILE)); in BenchmarkRun()
81 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE)); in BenchmarkRun()
91 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE)); in BenchmarkRun()
101 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE)); in BenchmarkRun()
111 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE)); in BenchmarkRun()
121 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE)); in BenchmarkRun()
131 t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE)); in BenchmarkRun()
[all …]
DLoop.cpp55 unique_fd ctl_fd(open("/dev/loop-control", O_RDWR | O_CLOEXEC)); in create()
71 target_fd.reset(open(target.c_str(), O_RDWR | O_CLOEXEC)); in create()
85 unique_fd device_fd(open(out_device.c_str(), O_RDWR | O_CLOEXEC)); in create()
110 device_fd = open(loopDevice, O_RDONLY | O_CLOEXEC); in destroyByDevice()
143 unique_fd fd(open(path.c_str(), O_RDWR | O_CLOEXEC)); in destroyAll()
173 unique_fd fd(open(file, O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, 0600)); in createImageFile()
191 if ((fd = open(file, O_RDWR | O_CLOEXEC)) < 0) { in resizeImageFile()
/system/sepolicy/prebuilts/api/28.0/
Dplat_pub_versioned.cil3049 (allow appdomain zygote_exec_28_0 (file (ioctl read getattr lock map execute execute_no_trans open)…
3052 (allow appdomain cgroup_28_0 (file (ioctl read write getattr lock append map open)))
3054 (allow appdomain dalvikcache_data_file_28_0 (file (ioctl read getattr lock map open)))
3055 (allow base_typeattr_43_28_0 rootfs_28_0 (lnk_file (ioctl read getattr lock map open)))
3056 (allow base_typeattr_43_28_0 tmpfs_28_0 (lnk_file (ioctl read getattr lock map open)))
3057 (allow appdomain tmpfs_28_0 (dir (ioctl read getattr lock search open)))
3059 (allow appdomain method_trace_data_file_28_0 (dir (write lock add_name remove_name search open)))
3060 (allow appdomain method_trace_data_file_28_0 (file (write create lock append map open)))
3065 (allow appdomain system_server_28_0 (fifo_file (ioctl read write getattr lock append map open)))
3068 (allow appdomain appdomain (fifo_file (ioctl read write getattr lock append map open)))
[all …]
Dvendor_sepolicy.cil476 (allow init_28_0 hal_audio_default_exec (file (read getattr map execute open)))
478 (allow hal_audio_default hal_audio_default_exec (file (read getattr map execute entrypoint open)))
485 (allow init_28_0 hal_audiocontrol_default_exec (file (read getattr map execute open)))
487 …diocontrol_default hal_audiocontrol_default_exec (file (read getattr map execute entrypoint open)))
494 (allow init_28_0 hal_authsecret_default_exec (file (read getattr map execute open)))
496 …l_authsecret_default hal_authsecret_default_exec (file (read getattr map execute entrypoint open)))
503 (allow init_28_0 hal_bluetooth_default_exec (file (read getattr map execute open)))
505 …hal_bluetooth_default hal_bluetooth_default_exec (file (read getattr map execute entrypoint open)))
512 (allow init_28_0 hal_bootctl_default_exec (file (read getattr map execute open)))
514 (allow hal_bootctl_default hal_bootctl_default_exec (file (read getattr map execute entrypoint open
[all …]
/system/sepolicy/private/
Diorap_inode2filename.te3 # Grant access to open most of the files under /
4 allow iorap_inode2filename dalvikcache_data_file:dir { getattr open read search };
6 allow iorap_inode2filename dex2oat_exec:lnk_file { getattr open read };
8 allow iorap_inode2filename storaged_data_file:dir { getattr open read search };
Dtraced_probes.te39 allow traced_probes system_file:dir { open read };
44 allow traced_probes apk_data_file:dir { getattr open read search };
45 allow traced_probes dalvikcache_data_file:dir { getattr open read search };
48 allow traced_probes system_data_file:dir { open read };
50 allow traced_probes system_app_data_file:dir { getattr open read search };
51 allow traced_probes backup_data_file:dir { getattr open read search };
52 allow traced_probes bootstat_data_file:dir { getattr open read search };
53 allow traced_probes update_engine_data_file:dir { getattr open read search };
54 allow traced_probes update_engine_log_data_file:dir { getattr open read search };
55 allow traced_probes user_profile_data_file:dir { getattr open read search };
[all …]
/system/sepolicy/prebuilts/api/30.0/private/
Diorap_inode2filename.te3 # Grant access to open most of the files under /
4 allow iorap_inode2filename dalvikcache_data_file:dir { getattr open read search };
6 allow iorap_inode2filename dex2oat_exec:lnk_file { getattr open read };
8 allow iorap_inode2filename storaged_data_file:dir { getattr open read search };
Dtraced_probes.te39 allow traced_probes system_file:dir { open read };
44 allow traced_probes apk_data_file:dir { getattr open read search };
45 allow traced_probes dalvikcache_data_file:dir { getattr open read search };
48 allow traced_probes system_data_file:dir { open read };
50 allow traced_probes system_app_data_file:dir { getattr open read search };
51 allow traced_probes backup_data_file:dir { getattr open read search };
52 allow traced_probes bootstat_data_file:dir { getattr open read search };
53 allow traced_probes update_engine_data_file:dir { getattr open read search };
54 allow traced_probes update_engine_log_data_file:dir { getattr open read search };
55 allow traced_probes user_profile_data_file:dir { getattr open read search };
[all …]
/system/sepolicy/prebuilts/api/28.0/private/
Dtraced_probes.te35 allow traced_probes system_file:dir { open read };
40 allow traced_probes apk_data_file:dir { getattr open read search };
41 allow traced_probes dalvikcache_data_file:dir { getattr open read search };
43 allow traced_probes system_data_file:dir { getattr open read search };
45 allow traced_probes system_app_data_file:dir { getattr open read search };
46 allow traced_probes backup_data_file:dir { getattr open read search };
47 allow traced_probes bootstat_data_file:dir { getattr open read search };
48 allow traced_probes update_engine_data_file:dir { getattr open read search };
49 allow traced_probes update_engine_log_data_file:dir { getattr open read search };
50 allow traced_probes user_profile_data_file:dir { getattr open read search };
[all …]
/system/apex/apexer/
Dconv_apex_manifest.py41 with open(args.input) as f:
50 with open(args.out, "w") as f:
56 with open(args.input) as f:
59 with open(args.out, "wb") as f:
63 with open(args.input, "rb") as f:
71 with open(args.input, "wb") as f:
75 with open(args.input, "rb") as f:
/system/sepolicy/prebuilts/api/29.0/private/
Dtraced_probes.te39 allow traced_probes system_file:dir { open read };
44 allow traced_probes apk_data_file:dir { getattr open read search };
45 allow traced_probes dalvikcache_data_file:dir { getattr open read search };
48 allow traced_probes system_data_file:dir { open read };
50 allow traced_probes system_app_data_file:dir { getattr open read search };
51 allow traced_probes backup_data_file:dir { getattr open read search };
52 allow traced_probes bootstat_data_file:dir { getattr open read search };
53 allow traced_probes update_engine_data_file:dir { getattr open read search };
54 allow traced_probes update_engine_log_data_file:dir { getattr open read search };
55 allow traced_probes user_profile_data_file:dir { getattr open read search };
[all …]
/system/apex/apexd/
Dapexd_loop.cpp80 unique_fd sysfs_fd(open(sysfs_device.c_str(), O_RDWR | O_CLOEXEC)); in configureReadAhead()
100 TEMP_FAILURE_RETRY(open("/dev/loop-control", O_RDWR | O_CLOEXEC))); in preAllocateLoopDevices()
132 unique_fd ctl_fd(open("/dev/loop-control", O_RDWR | O_CLOEXEC)); in createLoopDevice()
153 unique_fd target_fd(open(target.c_str(), O_RDONLY | O_CLOEXEC | O_DIRECT)); in createLoopDevice()
163 target_fd.reset(open(target.c_str(), O_RDONLY | O_CLOEXEC)); in createLoopDevice()
173 sysfs_fd.reset(open(device.c_str(), O_RDWR | O_CLOEXEC)); in createLoopDevice()
237 unique_fd fd(open(path.c_str(), O_RDWR | O_CLOEXEC)); in DestroyLoopDevice()
/system/ca-certificates/google/
Dextract_from_pem.py37 with open(file_path) as existing_file:
43 with open(file_path, 'w') as new_file:
73 with open(args.pem_file) as pem_file:
83 with open(args.timestamp_file, 'w') as timestamp_file:
/system/sepolicy/prebuilts/api/26.0/private/
Ddomain_deprecated.te18 # Inherit or receive open files from others.
47 } rootfs:dir { open getattr read ioctl lock }; # search granted in domain
70 } rootfs:lnk_file { getattr open ioctl lock }; # read granted in domain
87 } system_file:dir { open read ioctl lock }; # search getattr in domain
146 } cache_file:dir { open read search ioctl lock };
206 } proc:lnk_file { open ioctl lock }; # getattr read granted in domain
219 } sysfs:dir { open getattr read ioctl lock }; # search granted in domain
245 } sysfs:lnk_file { getattr open ioctl lock }; # read granted in domain
298 } selinuxfs:dir { open getattr read ioctl lock }; # search granted in domain
310 } selinuxfs:file { open read ioctl lock }; # getattr granted in domain
/system/core/fs_mgr/tests/
Dfile_wait_test.cpp43 unique_fd fd(open(test_file_.c_str(), O_CREAT | O_TRUNC | O_RDWR, 0700)); in TEST_F()
58 unique_fd fd(open(test_file_.c_str(), O_CREAT | O_TRUNC | O_RDWR, 0700)); in TEST_F()
67 unique_fd fd(open(test_file_.c_str(), O_CREAT | O_TRUNC | O_RDWR, 0700)); in TEST_F()
76 unique_fd fd(open(test_file_.c_str(), O_CREAT | O_TRUNC | O_RDWR, 0700)); in TEST_F()
/system/hardware/interfaces/suspend/1.0/default/
Dmain.cpp51 unique_fd wakeupCountFd{TEMP_FAILURE_RETRY(open(kSysPowerWakeupCount, O_CLOEXEC | O_RDWR))}; in main()
55 unique_fd stateFd{TEMP_FAILURE_RETRY(open(kSysPowerState, O_CLOEXEC | O_RDWR))}; in main()
60 TEMP_FAILURE_RETRY(open(kSysClassWakeup, O_DIRECTORY | O_CLOEXEC | O_RDONLY))}; in main()
65 TEMP_FAILURE_RETRY(open(kSysPowerSuspendStats, O_DIRECTORY | O_CLOEXEC | O_RDONLY))}; in main()
/system/extras/tests/cpueater/
Ddaemonize.c43 close(0); open("/dev/null", 0); in main()
72 if(open(file, O_WRONLY|mode|O_CREAT, 0666) < 0) { in main()
78 if(open("/dev/null", O_WRONLY) < 0) { in main()
/system/libbase/tidy/
Dunique_fd_test.cpp27 android::base::unique_fd ufd(open("/dev/null", O_RDONLY | O_CLOEXEC)); in TEST()
29 ufd.reset(open("/dev/null", O_RDONLY | O_CLOEXEC)); in TEST()
/system/sepolicy/prebuilts/api/28.0/public/
Dvendor_init.te11 allow vendor_init kmsg_device:chr_file { open write };
31 # chown/chmod require open+read+setattr required for open()+fchown/fchmod().
51 }:dir { create search getattr open read setattr ioctl write add_name remove_name rmdir relabelfrom …
62 }:file { create getattr open read write setattr relabelfrom unlink };
72 }:{ sock_file fifo_file } { create getattr open read setattr relabelfrom unlink };
108 }:file { open read setattr };
118 }:dir { open read setattr search };
150 allow vendor_init serialno_prop:file { getattr open read };

12345678910>>...35