Home
last modified time | relevance | path

Searched refs:ReadFirstLine (Results 1 – 1 of 1) sorted by relevance

/system/core/init/
Dselinux.cpp204 bool ReadFirstLine(const char* file, std::string* line) { in ReadFirstLine() function
233 if (!ReadFirstLine("/system/etc/selinux/plat_sepolicy_and_mapping.sha256", &actual_plat_id)) { in FindPrecompiledSplitPolicy()
239 if (!ReadFirstLine("/system_ext/etc/selinux/system_ext_sepolicy_and_mapping.sha256", in FindPrecompiledSplitPolicy()
246 if (!ReadFirstLine("/product/etc/selinux/product_sepolicy_and_mapping.sha256", in FindPrecompiledSplitPolicy()
255 if (!ReadFirstLine(precompiled_plat_sha256.c_str(), &precompiled_plat_id)) { in FindPrecompiledSplitPolicy()
262 if (!ReadFirstLine(precompiled_system_ext_sha256.c_str(), &precompiled_system_ext_id)) { in FindPrecompiledSplitPolicy()
269 if (!ReadFirstLine(precompiled_product_sha256.c_str(), &precompiled_product_id)) { in FindPrecompiledSplitPolicy()
284 if (!ReadFirstLine("/vendor/etc/selinux/plat_sepolicy_vers.txt", plat_vers)) { in GetVendorMappingVersion()