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.cpp437 static FscryptAction FscryptInferAction(const std::string& dir) { in FscryptInferAction()
441 return FscryptAction::kNone; in FscryptInferAction()
447 return FscryptAction::kAttempt; in FscryptInferAction()
455 return FscryptAction::kNone; in FscryptInferAction()
468 return FscryptAction::kNone; in FscryptInferAction()
477 return FscryptAction::kDeleteIfNecessary; in FscryptInferAction()
480 return FscryptAction::kRequire; in FscryptInferAction()
487 FscryptAction fscrypt_inferred_action = FscryptInferAction(args[1]); in ParseMkdir()
488 FscryptAction fscrypt_action = fscrypt_inferred_action; in ParseMkdir()
524 fscrypt_action = FscryptAction::kRequire; in ParseMkdir()
[all …]
Dutil.h77 FscryptAction fscrypt_action;
Dbuiltins.cpp1297 auto options = MkdirOptions{path, 0771, AID_ROOT, AID_SYSTEM, FscryptAction::kNone, "ref"}; in create_apex_data_dirs()