Home
last modified time | relevance | path

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

12345678910>>...29

/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.cpp51 unique_fd ctl_fd(open("/dev/loop-control", O_RDWR | O_CLOEXEC)); in create()
67 target_fd.reset(open(target.c_str(), O_RDWR | O_CLOEXEC)); in create()
77 unique_fd device_fd(open(out_device.c_str(), O_RDWR | O_CLOEXEC)); in create()
102 device_fd = open(loopDevice, O_RDONLY | O_CLOEXEC); in destroyByDevice()
135 unique_fd fd(open(path.c_str(), O_RDWR | O_CLOEXEC)); in destroyAll()
165 unique_fd fd(open(file, O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, 0600)); in createImageFile()
183 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/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/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/sepolicy/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/core/fs_mgr/libdm/
Dloop_control.cpp34 control_fd_.reset(TEMP_FAILURE_RETRY(open(kLoopControlDevice, O_RDWR | O_CLOEXEC))); in LoopControl()
46 … android::base::unique_fd loop_fd(TEMP_FAILURE_RETRY(open(loopdev->c_str(), O_RDWR | O_CLOEXEC))); in Attach()
66 android::base::unique_fd loop_fd(TEMP_FAILURE_RETRY(open(loopdev.c_str(), O_RDWR | O_CLOEXEC))); in Detach()
99 fd_.reset(open(path.c_str(), O_RDWR | O_CLOEXEC)); in LoopDevice()
/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/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()
Dcpueater.c51 open("/dev/null", 0); in main()
53 if(open("/dev/null", O_WRONLY) < 0) { in main()
/system/apex/apexd/
Dapexd_loop.cpp78 unique_fd sysfs_fd(open(sysfs_device.c_str(), O_RDWR | O_CLOEXEC)); in configureReadAhead()
98 TEMP_FAILURE_RETRY(open("/dev/loop-control", O_RDWR | O_CLOEXEC))); in preAllocateLoopDevices()
131 unique_fd ctl_fd(open("/dev/loop-control", O_RDWR | O_CLOEXEC)); in createLoopDevice()
143 unique_fd target_fd(open(target.c_str(), O_RDONLY | O_CLOEXEC)); in createLoopDevice()
152 sysfs_fd.reset(open(device.c_str(), O_RDWR | O_CLOEXEC)); in createLoopDevice()
223 unique_fd fd(open(path.c_str(), O_RDWR | O_CLOEXEC)); in DestroyLoopDevice()
/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 };
/system/bt/btif/src/
Dbtif_pan.cc384 fd = open(clonedev, O_RDWR); in btpan_tap_open()
461 p_data->open.local_role, p_data->open.peer_role, p_data->open.handle, in btpan_open_conn()
465 conn = btpan_new_conn(p_data->open.handle, p_data->open.bd_addr, in btpan_open_conn()
466 p_data->open.local_role, p_data->open.peer_role); in btpan_open_conn()
471 btpan_cb.tap_fd, btpan_cb.open_count, conn->handle, p_data->open.handle, in btpan_open_conn()
475 conn->handle = p_data->open.handle; in btpan_open_conn()
617 btpan_conn_t* conn = btpan_find_conn_handle(p_data->open.handle); in bta_pan_callback_transfer()
620 p_data->open.status); in bta_pan_callback_transfer()
621 if (p_data->open.status == BTA_PAN_SUCCESS) { in bta_pan_callback_transfer()
634 int btpan_conn_local_role = bta_role_to_btpan(p_data->open.local_role); in bta_pan_callback_transfer()
[all …]
Dbtif_gatt_client.cc138 DVLOG(1) << "BTA_GATTC_OPEN_EVT " << p_data->open.remote_bda; in btif_gattc_upstreams_evt()
139 HAL_CBACK(bt_gatt_callbacks, client->open_cb, p_data->open.conn_id, in btif_gattc_upstreams_evt()
140 p_data->open.status, p_data->open.client_if, in btif_gattc_upstreams_evt()
141 p_data->open.remote_bda); in btif_gattc_upstreams_evt()
143 if (GATT_DEF_BLE_MTU_SIZE != p_data->open.mtu && p_data->open.mtu) { in btif_gattc_upstreams_evt()
145 p_data->open.conn_id, p_data->open.status, p_data->open.mtu); in btif_gattc_upstreams_evt()
148 if (p_data->open.status == GATT_SUCCESS) in btif_gattc_upstreams_evt()
149 btif_gatt_check_encrypted_link(p_data->open.remote_bda, in btif_gattc_upstreams_evt()
150 p_data->open.transport); in btif_gattc_upstreams_evt()
/system/ashmemd/
Dashmemd.cpp35 binder::Status open(os::ParcelFileDescriptor* ashmemFd) override { in open() function in android::ashmemd::AshmemDeviceService
36 ashmemFd->reset(unique_fd(TEMP_FAILURE_RETRY(::open("/dev/ashmem", O_RDWR | O_CLOEXEC)))); in open()
/system/sepolicy/build/
Dfile_utils.py39 patterns.extend(open(f).readlines())
43 with open(input_file, 'r') as in_file:
/system/core/libsparse/
Dappend2simg.cpp76 output = open(output_path, O_RDWR | O_BINARY); in main()
88 input = open(input_path, O_RDONLY | O_BINARY); in main()
111 tmp_fd = open(tmp_path, O_WRONLY | O_CREAT | O_BINARY, 0664); in main()
/system/sepolicy/prebuilts/api/29.0/public/
Dvendor_init.te8 allow vendor_init kmsg_device:chr_file { open getattr write };
29 # chown/chmod require open+read+setattr required for open()+fchown/fchmod().
59 }:dir { create search getattr open read setattr ioctl write add_name remove_name rmdir relabelfrom …
75 }:file { create getattr open read write setattr relabelfrom unlink map };
88 }:{ sock_file fifo_file } { create getattr open read setattr relabelfrom unlink };
133 }:file { open read setattr map };
143 }:dir { open read setattr search };
175 allow vendor_init serialno_prop:file { getattr open read map };
185 allow vendor_init system_bootstrap_lib_file:file { execute read open getattr map };
/system/sepolicy/public/
Dvendor_init.te8 allow vendor_init kmsg_device:chr_file { open getattr write };
29 # chown/chmod require open+read+setattr required for open()+fchown/fchmod().
59 }:dir { create search getattr open read setattr ioctl write add_name remove_name rmdir relabelfrom …
75 }:file { create getattr open read write setattr relabelfrom unlink map };
88 }:{ sock_file fifo_file } { create getattr open read setattr relabelfrom unlink };
133 }:file { open read setattr map };
143 }:dir { open read setattr search };
175 allow vendor_init serialno_prop:file { getattr open read map };
185 allow vendor_init system_bootstrap_lib_file:file { execute read open getattr map };
/system/sepolicy/prebuilts/api/26.0/public/
Dglobal_macros22 define(`r_file_perms', `{ getattr open read ioctl lock }')
23 define(`w_file_perms', `{ open append write lock }')
30 define(`r_dir_perms', `{ open getattr read search ioctl lock }')
31 define(`w_dir_perms', `{ open search write add_name remove_name lock }')
/system/sepolicy/prebuilts/api/27.0/public/
Dglobal_macros22 define(`r_file_perms', `{ getattr open read ioctl lock map }')
23 define(`w_file_perms', `{ open append write lock map }')
30 define(`r_dir_perms', `{ open getattr read search ioctl lock }')
31 define(`w_dir_perms', `{ open search write add_name remove_name lock }')

12345678910>>...29