Searched refs:read_first_line (Results 1 – 1 of 1) sorted by relevance
705 static bool read_first_line(const char* file, std::string* line) { in read_first_line() function725 if (!read_first_line("/system/etc/selinux/plat_and_mapping_sepolicy.cil.sha256", in selinux_find_precompiled_split_policy()732 if (!read_first_line("/vendor/etc/selinux/precompiled_sepolicy.plat_and_mapping.sha256", in selinux_find_precompiled_split_policy()748 if (!read_first_line("/vendor/etc/selinux/plat_sepolicy_vers.txt", plat_vers)) { in selinux_get_vendor_mapping_version()