/aosp12/system/sepolicy/prebuilts/api/28.0/public/ |
H A D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type, proc_type; 89 type fs_bpf, fs_type; 90 type configfs, fs_type; 105 type tmpfs, fs_type; 106 type shm, fs_type; 107 type mqueue, fs_type; [all …]
|
/aosp12/system/sepolicy/prebuilts/api/29.0/public/ |
H A D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type, proc_type; 101 type fs_bpf, fs_type; 102 type configfs, fs_type; 117 type tmpfs, fs_type; 118 type shm, fs_type; 119 type mqueue, fs_type; [all …]
|
/aosp12/system/sepolicy/prebuilts/api/31.0/public/ |
H A D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type, proc_type; 7 type binderfs, fs_type; 8 type binderfs_logs, fs_type; 125 type fs_bpf, fs_type; 144 type tmpfs, fs_type; 145 type shm, fs_type; [all …]
|
/aosp12/system/sepolicy/prebuilts/api/32.0/public/ |
H A D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type, proc_type; 7 type binderfs, fs_type; 8 type binderfs_logs, fs_type; 125 type fs_bpf, fs_type; 144 type tmpfs, fs_type; 145 type shm, fs_type; [all …]
|
/aosp12/system/sepolicy/public/ |
H A D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type, proc_type; 7 type binderfs, fs_type; 8 type binderfs_logs, fs_type; 125 type fs_bpf, fs_type; 144 type tmpfs, fs_type; 145 type shm, fs_type; [all …]
|
/aosp12/system/sepolicy/prebuilts/api/30.0/public/ |
H A D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type, proc_type; 7 type binderfs, fs_type; 8 type binderfs_logs, fs_type; 110 type fs_bpf, fs_type; 126 type tmpfs, fs_type; 127 type shm, fs_type; [all …]
|
/aosp12/system/sepolicy/prebuilts/api/26.0/public/ |
H A D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type; 19 type proc_misc, fs_type; 21 type proc_net, fs_type; 59 type tmpfs, fs_type; 60 type shm, fs_type; 61 type mqueue, fs_type; [all …]
|
/aosp12/system/sepolicy/prebuilts/api/27.0/public/ |
H A D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type; 20 type proc_misc, fs_type; 22 type proc_net, fs_type; 62 type tmpfs, fs_type; 63 type shm, fs_type; 64 type mqueue, fs_type; [all …]
|
/aosp12/system/extras/tests/fstest/ |
H A D | recovery_test.cpp | 188 FsRecoveryTest() : fs_type(FS_UNKNOWN), blk_fd_(-1) {} in FsRecoveryTest() 191 fs_type = FS_UNKNOWN; in setCacheInfoFromFstab() 201 if (entry.fs_type == "ext4") { in setCacheInfoFromFstab() 202 fs_type = FS_EXT4; in setCacheInfoFromFstab() 204 } else if (entry.fs_type == "f2fs") { in setCacheInfoFromFstab() 205 fs_type = FS_F2FS; in setCacheInfoFromFstab() 211 return fs_type != FS_UNKNOWN; in setCacheInfoFromFstab() 270 Fs_Type fs_type; member in android::FsRecoveryTest 278 if (fs_type != FS_EXT4) { in TEST_F() 296 if (fs_type != FS_EXT4) { in TEST_F()
|
/aosp12/build/make/tools/releasetools/ |
H A D | build_image.py | 99 if fs_type.startswith("ext"): 101 elif fs_type.startswith("f2fs"): 253 fs_type = prop_dict.get("fs_type", "") 259 if fs_type.startswith("ext"): 303 elif fs_type.startswith("erofs"): 319 elif fs_type.startswith("squash"): 341 elif fs_type.startswith("f2fs"): 436 fs_type = prop_dict.get("fs_type", "") 439 if fs_type.startswith("squash") or fs_type.startswith("erofs"): 452 if fs_type.startswith("erofs"): [all …]
|
H A D | edify_generator.py | 237 mount_flags = mount_dict.get(p.fs_type, "") 241 p.fs_type, common.PARTITION_TYPES[p.fs_type], 261 if p.fs_type not in ("ext2", "ext3", "ext4"): 277 (p.fs_type, common.PARTITION_TYPES[p.fs_type], 391 partition_type = common.PARTITION_TYPES[p.fs_type] 404 "don't know how to write \"%s\" partitions" % p.fs_type)
|
/aosp12/hardware/google/pixel-sepolicy/mm/gki/ |
H A D | file.te | 2 type debugfs_page_owner, debugfs_type, fs_type; 3 type proc_watermark_boost_factor, fs_type, proc_type; 4 type proc_min_free_kbytes, fs_type, proc_type; 5 type proc_lowmem_reserve_ratio, fs_type, proc_type;
|
/aosp12/system/core/fs_mgr/ |
H A D | fs_mgr.cpp | 150 return fs_type == "ext4" || fs_type == "ext3" || fs_type == "ext2"; in is_extfs() 154 return fs_type == "f2fs"; in is_f2fs() 188 if (is_extfs(fs_type)) { in check_fs() 204 if (fs_type == "ext4") { in check_fs() 261 } else if (is_f2fs(fs_type)) { in check_fs() 718 if (is_extfs(entry.fs_type)) { in prepare_fs_for_mount() 735 } else if (is_f2fs(entry.fs_type)) { in prepare_fs_for_mount() 746 if (is_extfs(entry.fs_type) && in prepare_fs_for_mount() 1403 if (current_entry.fs_type == "swap" || current_entry.fs_type == "emmc" || in fs_mgr_mount_all() 1917 if (fstab_entry.fs_type == "swap" || fstab_entry.fs_type == "emmc" || in fs_mgr_do_mount_helper() [all …]
|
H A D | fs_mgr_roots.cpp | 80 if (rec->fs_type == "ramdisk") { in EnsurePathMounted() 116 if (std::find(supported_fs.begin(), supported_fs.end(), rec->fs_type) == supported_fs.end()) { in EnsurePathMounted() 117 LERROR << "unknown fs_type \"" << rec->fs_type << "\" for " << mount_point; in EnsurePathMounted() 145 if (rec->fs_type == "ramdisk") { in EnsurePathUnmounted()
|
H A D | fs_mgr_format.cpp | 163 LERROR << __FUNCTION__ << ": Format " << entry.blk_device << " as '" << entry.fs_type << "'"; in fs_mgr_do_format() 173 if (entry.fs_type == "f2fs") { in fs_mgr_do_format() 176 } else if (entry.fs_type == "ext4") { in fs_mgr_do_format() 180 LERROR << "File system type '" << entry.fs_type << "' is not supported"; in fs_mgr_do_format()
|
/aosp12/system/core/fs_mgr/libfiemap/ |
H A D | fiemap_writer.cpp | 261 *fs_type = sfs.f_type; in PerformFileChecks() 319 if (fs_type != F2FS_SUPER_MAGIC) { in IsFilePinned() 359 if (IsFilePinned(file_fd, file_path, fs_type)) { in PinFile() 362 if (fs_type != F2FS_SUPER_MAGIC) { in PinFile() 436 switch (fs_type) { in AllocateFile() 445 if (!PinFile(file_fd, file_path, fs_type)) { in AllocateFile() 743 uint32_t fs_type; in Open() local 744 if (!PerformFileChecks(abs_path, &blocksz, &fs_type)) { in Open() 767 if (!PinFile(file_fd, abs_path, fs_type)) { in Open() 775 switch (fs_type) { in Open() [all …]
|
/aosp12/bootable/recovery/updater/include/updater/ |
H A D | target_files.h | 30 FstabInfo(std::string blockdev_name, std::string mount_point, std::string fs_type) in FstabInfo() argument 33 fs_type(std::move(fs_type)) {} in FstabInfo() 37 std::string fs_type; variable
|
/aosp12/bootable/recovery/recovery_utils/ |
H A D | roots.cpp | 60 .fs_type = "ramdisk", in load_volume_table() 68 << " " << entry.fs_type << " " << entry.blk_device << " " << entry.length in load_volume_table() 139 if (v->fs_type == "ramdisk") { in format_volume() 151 if (v->fs_type != "ext4" && v->fs_type != "f2fs") { in format_volume() 152 LOG(ERROR) << "format_volume: fs_type \"" << v->fs_type << "\" unsupported"; in format_volume() 193 if (v->fs_type == "ext4") { in format_volume()
|
/aosp12/system/core/init/ |
H A D | mount_handler.cpp | 104 const std::string& fs_type) in MountHandlerEntry() argument 105 : blk_device(blk_device), mount_point(mount_point), fs_type(fs_type) {} in MountHandlerEntry() 112 return fs_type < r.fs_type; in operator <()
|
/aosp12/system/vold/ |
H A D | IdleMaint.cpp | 104 const std::string& fs_type = vol->getFsType(); in addFromVolumeManager() local 105 if (fs_type == "f2fs" && (Realpath(vol->getRawDmDevPath(), &gc_path) || in addFromVolumeManager() 107 paths->push_back(std::string("/sys/fs/") + fs_type + "/" + Basename(gc_path)); in addFromVolumeManager() 118 if (entry.fs_type == "emmc" || entry.fs_type == "mtd" || entry.fs_type == "swap") { in addFromFstab() 146 if (entry.fs_type == "f2fs" && in addFromFstab() 148 paths->push_back("/sys/fs/" + entry.fs_type + "/" + Basename(gc_path)); in addFromFstab()
|
/aosp12/hardware/google/pixel-sepolicy/pixelstats/ |
H A D | file.te | 1 type debugfs_mgm, debugfs_type, fs_type; 2 type sysfs_pixel_stat, fs_type, sysfs_type;
|
/aosp12/hardware/google/pixel-sepolicy/rebalance_interrupts/ |
H A D | file.te | 1 type sysfs_irq, fs_type, sysfs_type; 2 type proc_irq, fs_type, proc_type;
|
/aosp12/hardware/google/pixel-sepolicy/mm/ |
H A D | file.te | 2 type debugfs_page_owner, debugfs_type, fs_type; 3 type sysfs_fastrpc, sysfs_type, fs_type;
|
/aosp12/hardware/google/pixel-sepolicy/sscoredump/ |
H A D | file.te | 6 type sysfs_sscoredump_level, sysfs_type, fs_type; # sscoredump level 7 type sysfs_sscoredump_subsystem_report_count, sysfs_type, fs_type; # subsystem report_count: per de…
|
/aosp12/bootable/recovery/updater/ |
H A D | target_files.cpp | 89 const auto& fs_type = tokens[2]; in ParseFstab() local 96 if (fs_type != "ext4" && fs_type != "emmc") { in ParseFstab() 101 fstab_info_list->emplace_back(blockdev, mount_point, fs_type); in ParseFstab() 246 if (fstab_info.fs_type == "emmc" || misc_info_.find("extfs_sparse_flag") == misc_info_.end()) { in ExtractImage()
|