Home
last modified time | relevance | path

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

/system/core/init/
Dfscrypt_init_extensions.cpp103 std::string ref_filename = std::string("/data") + ref_basename; in LookupPolicy() local
104 if (!android::base::ReadFileToString(ref_filename, &policy->key_raw_ref)) { in LookupPolicy()
105 LOG(ERROR) << "Unable to read system policy with name " << ref_filename; in LookupPolicy()
/system/vold/
DFsCrypt.cpp446 std::string ref_filename = std::string(DATA_MNT_POINT) + fscrypt_key_ref; in fscrypt_initialize_systemwide_keys() local
447 if (!android::vold::writeStringToFile(device_policy.key_raw_ref, ref_filename)) return false; in fscrypt_initialize_systemwide_keys()
448 LOG(INFO) << "Wrote system DE key reference to:" << ref_filename; in fscrypt_initialize_systemwide_keys()