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.cpp439 static FscryptAction FscryptInferAction(const std::string& dir) { in FscryptInferAction()
443 return FscryptAction::kNone; in FscryptInferAction()
449 return FscryptAction::kAttempt; in FscryptInferAction()
457 return FscryptAction::kNone; in FscryptInferAction()
470 return FscryptAction::kNone; in FscryptInferAction()
479 return FscryptAction::kDeleteIfNecessary; in FscryptInferAction()
482 return FscryptAction::kRequire; in FscryptInferAction()
489 FscryptAction fscrypt_inferred_action = FscryptInferAction(args[1]); in ParseMkdir()
490 FscryptAction fscrypt_action = fscrypt_inferred_action; in ParseMkdir()
526 fscrypt_action = FscryptAction::kRequire; in ParseMkdir()
[all …]
Dutil.h77 FscryptAction fscrypt_action;
Dbuiltins.cpp1311 auto options = MkdirOptions{path, 0771, AID_ROOT, AID_SYSTEM, FscryptAction::kNone, "ref"}; in create_apex_data_dirs()