Searched refs:FscryptAction (Results 1 – 5 of 5) sorted by relevance
/system/core/init/ |
D | fscrypt_init_extensions.h | 21 enum class FscryptAction { enum 29 bool FscryptSetDirectoryPolicy(const std::string& ref_basename, FscryptAction action,
|
D | fscrypt_init_extensions.cpp | 139 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()
|
D | util.cpp | 461 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 …]
|
D | util.h | 78 FscryptAction fscrypt_action;
|
D | builtins.cpp | 1382 auto options = MkdirOptions{path, 0771, AID_ROOT, AID_SYSTEM, FscryptAction::kNone, "ref"}; in create_apex_data_dirs()
|