Home
last modified time | relevance | path

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

/system/core/init/
Dfscrypt_init_extensions.h21 enum class FscryptAction { enum
29 bool FscryptSetDirectoryPolicy(const std::string& ref_basename, FscryptAction action,
Dfscrypt_init_extensions.cpp139 bool FscryptSetDirectoryPolicy(const std::string& ref_basename, FscryptAction action, in FscryptSetDirectoryPolicy()
141 if (action == FscryptAction::kNone) { in FscryptSetDirectoryPolicy()
144 if (SetPolicyOn(ref_basename, dir) || action == FscryptAction::kAttempt) { in FscryptSetDirectoryPolicy()
147 if (action == FscryptAction::kDeleteIfNecessary) { in FscryptSetDirectoryPolicy()
Dutil.cpp461 static FscryptAction FscryptInferAction(const std::string& dir) { in FscryptInferAction()
465 return FscryptAction::kNone; in FscryptInferAction()
471 return FscryptAction::kAttempt; in FscryptInferAction()
479 return FscryptAction::kNone; in FscryptInferAction()
492 return FscryptAction::kNone; in FscryptInferAction()
501 return FscryptAction::kDeleteIfNecessary; in FscryptInferAction()
504 return FscryptAction::kRequire; in FscryptInferAction()
511 FscryptAction fscrypt_inferred_action = FscryptInferAction(args[1]); in ParseMkdir()
512 FscryptAction fscrypt_action = fscrypt_inferred_action; in ParseMkdir()
548 fscrypt_action = FscryptAction::kRequire; in ParseMkdir()
[all …]
Dutil.h78 FscryptAction fscrypt_action;
Dbuiltins.cpp1382 auto options = MkdirOptions{path, 0771, AID_ROOT, AID_SYSTEM, FscryptAction::kNone, "ref"}; in create_apex_data_dirs()