Home
last modified time | relevance | path

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

/system/core/init/
Dfscrypt_init_extensions.cpp102 static bool LookupPolicy(const std::string& ref_basename, EncryptionPolicy* policy) { in LookupPolicy() argument
103 std::string ref_filename = std::string("/data") + ref_basename; in LookupPolicy()
132 static bool SetPolicyOn(const std::string& ref_basename, const std::string& dir) { in SetPolicyOn() argument
134 if (!LookupPolicy(ref_basename, &policy)) return false; in SetPolicyOn()
139 bool FscryptSetDirectoryPolicy(const std::string& ref_basename, FscryptAction action, in FscryptSetDirectoryPolicy() argument
144 if (SetPolicyOn(ref_basename, dir) || action == FscryptAction::kAttempt) { in FscryptSetDirectoryPolicy()
150 return SetPolicyOn(ref_basename, dir); in FscryptSetDirectoryPolicy()
Dfscrypt_init_extensions.h29 bool FscryptSetDirectoryPolicy(const std::string& ref_basename, FscryptAction action,
Dbuiltins.cpp392 std::string ref_basename; in make_dir_with_options() local
394 ref_basename = fscrypt_key_ref; in make_dir_with_options()
396 ref_basename = fscrypt_key_per_boot_ref; in make_dir_with_options()
431 if (!FscryptSetDirectoryPolicy(ref_basename, options.fscrypt_action, options.target)) { in make_dir_with_options()