Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/device/asus/fugu/self-extractors/
Dfiles-by-owner.sh70 while read file
73 auto_owner=$(grep ^$file: ../vendor_owner_info.txt | cut -d : -f 2)
74 if test $file = system/lib/hw/gps.msm8974.so -o $file = system/lib/libgps.utils.so -o $file = syste…
81 echo $file has no known owner
84 if test "$auto_owner" = "$target_owner" -a $file != system/app/shutdownlistener.apk -a $file != sys…
86 if test $file != ZZZ
88 if [[ $file == *.apk ]]
90 echo " $file \\" >> extract-lists.txt
94 if [[ $file == */lib64/* ]]
96 …echo " vendor/$target_owner/fugu/proprietary/lib64/$(basename $file):$file:$target_owner \\" >>…
[all …]
/device/moto/shamu/self-extractors/
Dfiles-by-owner.sh64 while read file
67 auto_owner=$(grep ^$file: ../vendor_owner_info.txt | cut -d : -f 2)
68 if test $file = system/lib/hw/gps.msm8974.so -o $file = system/lib/libgps.utils.so -o $file = syste…
75 echo $file has no known owner
78 if test "$auto_owner" = "$target_owner" -a $file != system/app/shutdownlistener.apk -a $file != sys…
80 if test $file != ZZZ
82 if [[ $file == */lib64/* ]]
84 …echo " vendor/$target_owner/shamu/proprietary/lib64/$(basename $file):$file:$target_owner \\" >…
86 …echo " vendor/$target_owner/shamu/proprietary/$(basename $file):$file:$target_owner \\" >> $tar…
89 echo " $file \\" >> extract-lists.txt
/device/google/dragon/self-extractors/
Dfiles-by-owner.sh61 while read file
64 auto_owner=$(grep ^$file: ../vendor_owner_info.txt | cut -d : -f 2)
65 if test $file = system/lib/hw/gps.msm8974.so -o $file = system/lib/libgps.utils.so -o $file = syste…
72 echo $file has no known owner
75 if test "$auto_owner" = "$target_owner" -a $file != system/app/shutdownlistener.apk -a $file != sys…
77 if test $file != ZZZ
79 if [[ $file == */lib64/* ]]
81 …echo " vendor/$target_owner/dragon/proprietary/lib64/$(basename $file):$file:$target_owner \\" …
83 …echo " vendor/$target_owner/dragon/proprietary/$(basename $file):$file:$target_owner \\" >> $ta…
86 echo " $file \\" >> extract-lists.txt
/device/huawei/angler/sepolicy/
Dinit-power-sh.te6 allow init-power-sh shell_exec:file r_file_perms;
7 allow init-power-sh sysfs_devices_system_cpu:file w_file_perms;
9 allow init-power-sh sysfs_performance:file w_file_perms;
11 allow init-power-sh sysfs_thermal:file rw_file_perms;
12 allow init-power-sh proc_kernel_sched:file w_file_perms;
15 allow init-power-sh sysfs:{ dir file lnk_file } relabelfrom;
16 allow init-power-sh sysfs_devices_system_cpu:{ dir file lnk_file } relabelto;
19 allow init-power-sh sysfs:file rw_file_perms;
20 allow init-power-sh sysfs_usb:file w_file_perms;
23 allow init-power-sh toolbox_exec:file rx_file_perms;
Dueventd.te2 allow ueventd firmware_file:file r_file_perms;
3 allow ueventd sysfs_led:file rw_file_perms;
4 allow ueventd sysfs_gpu_tuning:file rw_file_perms;
5 allow ueventd sysfs_thermal:file rw_file_perms;
7 allow ueventd sysfs_fingerprintd:file rw_file_perms;
8 allow ueventd sysfs_nanoapp_cmd:file w_file_perms;
Dperfd.te9 allow perfd perfd_data_file:file create_file_perms;
13 allow perfd sysfs_performance:file rw_file_perms;
14 allow perfd proc_kernel_sched:file rw_file_perms;
17 allow perfd sysfs_thermal:file rw_file_perms;
19 allow perfd sysfs_power_management:file w_file_perms;
22 allow perfd sysfs_devices_system_cpu:file rw_file_perms;
Dtee.te8 allow tee firmware_file:file r_file_perms;
10 #allow tee to access dir /data/system/users/0-N/fpdata and the file
11 allow tee fingerprintd_data_file:file rw_file_perms;
21 allow tee persist_data_file:file create_file_perms;
23 allow tee persist_drm_file:file create_file_perms;
29 allow tee fingerprintd_data_file:file create_file_perms;
Dsystem_server.te6 allow system_server sysfs_led:file rw_file_perms;
9 allow system_server sysfs_gpu_tuning:file rw_file_perms;
24 allow system_server persist_file:file r_file_perms;
37 allow system_server fingerprintd_data_file:file r_file_perms;
38 allow system_server fingerprintd_data_file:file create_file_perms;
46 allow system_server sysfs_thermal:file write;
/device/moto/shamu/sepolicy/
Dmdm_helper.te11 allow mdm_helper mdm_helper_exec:file rx_file_perms;
28 allow mdm_helper firmware_file:file r_file_perms;
31 allow mdm_helper fsg_file:file r_file_perms;
35 allow mdm_helper persist_modem_file:file create_file_perms;
38 allow mdm_helper shell_exec:file rx_file_perms;
40 allow mdm_helper toolbox_exec:file rx_file_perms;
41 allow mdm_helper system_file:file x_file_perms;
44 allow mdm_helper sysfs_xhci_msm_hsic:file rw_file_perms;
45 allow mdm_helper sysfs_msm_hsic_host:file write;
48 allow mdm_helper sysfs:file write;
[all …]
Dmpdecision.te8 allow mpdecision sysfs_mpdecision:file rw_file_perms;
9 allow mpdecision sysfs_devices_system_cpu:file rw_file_perms;
10 allow mpdecision sysfs_rqstats:file rw_file_perms;
12 allow mpdecision sysfs_cpu_online:file rw_file_perms;
13 allow mpdecision cpuctl_device:file rw_file_perms;
15 allow mpdecision sysfs_cpuboost:file rw_file_perms;
27 …="sysfs" ino=13165 scontext=u:r:mpdecision:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
28 # even though the file is properly labeled:
32 allow mpdecision sysfs:file write;
33 allow mpdecision sysfs_usb:file write;
[all …]
/device/lge/bullhead/sepolicy/
Dinit-power-sh.te6 allow init-power-sh proc_kernel_sched:file w_file_perms;
8 allow init-power-sh shell_exec:file r_file_perms;
9 allow init-power-sh sysfs_devices_system_cpu:file w_file_perms;
11 allow init-power-sh sysfs_performance:file w_file_perms;
13 allow init-power-sh sysfs_thermal:file w_file_perms;
14 allow init-power-sh sysfs_power_management:file w_file_perms;
19 allow init-power-sh sysfs:{ dir file lnk_file } relabelfrom;
20 allow init-power-sh sysfs_devices_system_cpu:{ dir file lnk_file } relabelto;
23 allow init-power-sh toolbox_exec:file rx_file_perms;
Dueventd.te2 allow ueventd { firmware_file }:file r_file_perms;
3 allow ueventd sysfs_socinfo:file w_file_perms;
4 allow ueventd sysfs_thermal:file w_file_perms;
7 allow ueventd persist_wifi_file:file r_file_perms;
9 allow ueventd sysfs_devices_fingerprint:file w_file_perms;
10 allow ueventd sysfs_nanoapp_cmd:file w_file_perms;
Dperfd.te6 # Data file accesses.
8 allow perfd perfd_data_file:file create_file_perms;
14 allow perfd sysfs_performance:file rw_file_perms;
17 allow perfd sysfs_thermal:file rw_file_perms;
19 allow perfd proc_kernel_sched:file rw_file_perms;
22 allow perfd sysfs_devices_system_cpu:file rw_file_perms;
25 allow perfd sysfs_power_management:file w_file_perms;
Dnetmgrd.te12 allow netmgrd shell_exec:file rx_file_perms;
23 allow netmgrd proc_net:file rw_file_perms;
27 allow netmgrd system_file:file rx_file_perms;
46 allow netmgrd net_data_file:file r_file_perms;
49 allow netmgrd shell_exec:file { execute r_file_perms execute_no_trans };
53 allow netmgrd sysfs:file write;
54 allow netmgrd sysfs_usb:file write;
62 allow netmgrd toolbox_exec:file rx_file_perms;
/device/htc/flounder/thermal/
Dthermal.c65 FILE *file; in read_temperature() local
70 file = fopen(file_name, "r"); in read_temperature()
71 if (file == NULL) { in read_temperature()
75 if (1 != fscanf(file, "%f", &temp)) { in read_temperature()
76 fclose(file); in read_temperature()
81 fclose(file); in read_temperature()
151 FILE *file; in get_cpu_usages() local
158 file = fopen(CPU_USAGE_FILE, "r"); in get_cpu_usages()
159 if (file == NULL) { in get_cpu_usages()
164 while ((read = getline(&line, &len, file)) != -1) { in get_cpu_usages()
[all …]
/device/huawei/angler/thermal/
Dthermal.c77 FILE *file; in read_temperature() local
82 file = fopen(file_name, "r"); in read_temperature()
83 if (file == NULL) { in read_temperature()
87 if (1 != fscanf(file, "%f", &temp)) { in read_temperature()
88 fclose(file); in read_temperature()
93 fclose(file); in read_temperature()
185 FILE *file; in get_cpu_usages() local
192 file = fopen(CPU_USAGE_FILE, "r"); in get_cpu_usages()
193 if (file == NULL) { in get_cpu_usages()
198 while ((read = getline(&line, &len, file)) != -1) { in get_cpu_usages()
[all …]
/device/moto/shamu/thermal/
Dthermal.c73 FILE *file; in read_temperature() local
78 file = fopen(file_name, "r"); in read_temperature()
79 if (file == NULL) { in read_temperature()
83 if (1 != fscanf(file, "%f", &temp)) { in read_temperature()
84 fclose(file); in read_temperature()
89 fclose(file); in read_temperature()
177 FILE *file; in get_cpu_usages() local
184 file = fopen(CPU_USAGE_FILE, "r"); in get_cpu_usages()
185 if (file == NULL) { in get_cpu_usages()
190 while ((read = getline(&line, &len, file)) != -1) { in get_cpu_usages()
[all …]
/device/lge/bullhead/thermal/
Dthermal.c77 FILE *file; in read_temperature() local
80 file = fopen(file_name, "r"); in read_temperature()
81 if (file == NULL) { in read_temperature()
85 if (1 != fscanf(file, temperature_format, &temp)) { in read_temperature()
86 fclose(file); in read_temperature()
91 fclose(file); in read_temperature()
187 FILE *file; in get_cpu_usages() local
194 file = fopen(CPU_USAGE_FILE, "r"); in get_cpu_usages()
195 if (file == NULL) { in get_cpu_usages()
200 while ((read = getline(&line, &len, file)) != -1) { in get_cpu_usages()
[all …]
/device/htc/flounder/sepolicy/
Dkickstart.te8 allow kickstart kickstart_exec:file { open execute_no_trans getattr };
21 allow kickstart kickstart_data_file:file create_file_perms;
23 allow kickstart efs_data_file:file create_file_perms;
27 allow kickstart shell_exec:file rx_file_perms;
28 allow kickstart system_file:file execute_no_trans;
29 allow kickstart toolbox_exec:file rx_file_perms;
35 # sys.current.cnv : to indicate which NV file is used for dynamical customization
Dsystem_server.te2 allow system_server sysfs_devices_system_cpu:file w_file_perms;
13 allow system_server sysfs_gpu:file r_file_perms;
14 allow system_server sysfs_socinfo:file r_file_perms;
15 allow system_server sysfs_swap:file r_file_perms;
/device/asus/fugu/sepolicy/
Dbtfwloader.te8 allow btfwloader shell_exec:file rx_file_perms;
10 # Copy a file from /system to /data/misc/bluedroid/
12 allow btfwloader bluetooth_data_file:file create_file_perms;
15 allow btfwloader system_file:file rx_file_perms;
16 allow btfwloader toolbox_exec:file rx_file_perms;
/device/google/dragon/sepolicy/
Ddumpstate.te6 allow dumpstate fwtool_exec:file rx_file_perms;
8 # read /data/misc/fw_logs/bq25892.txt log file
9 allow dumpstate fw_logs_data_file:file r_file_perms;
12 # read /data/misc/touchfwup/rmi4update.txt log file
14 allow dumpstate touch_fw_update_log_file:file r_file_perms;
Ddump_bq25892.te10 allow dump_bq25892 shell_exec:file rx_file_perms;
13 allow dump_bq25892 toolbox_exec:file rx_file_perms;
16 allow dump_bq25892 fwtool_exec:file rx_file_perms;
19 # write and set world readable attribute on /data/misc/fw_logs/bq25892.txt log file
20 allow dump_bq25892 fw_logs_data_file:file create_file_perms;
Dtouch_fw_update.te9 allow touch_fw_update shell_exec:file rx_file_perms;
10 allow touch_fw_update toolbox_exec:file rx_file_perms;
13 allow touch_fw_update touch_fw_update_log_file:file create_file_perms;
18 allow touch_fw_update rmi4update_exec:file rx_file_perms;
/device/google/contexthub/util/stm32_flash/
Dflash.c83 FILE *file; in main() local
187 file = fopen(write_filename, "r"); in main()
188 if (!file) { in main()
193 if (fstat(fileno(file), &buf) < 0) { in main()
208 if (fread(&buffer[sizeof(uint32_t)], 1, length, file) < (size_t)length) { in main()
241 fclose(file); in main()
245 file = fopen(read_filename, "w"); in main()
246 if (!file) { in main()
257 if (fwrite(buffer, 1, length, file) < (size_t)length) in main()
282 if (fwrite(buffer, 1, tot_len(length), file) < tot_len(length)) in main()
[all …]

12345678910>>...12