Home
last modified time | relevance | path

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

/system/vold/
DVoldNativeServiceValidation.cpp108 binder::Status CheckIncrementalPath(IncrementalPathKind kind, const std::string& path) { in CheckIncrementalPath()
112 if (kind == IncrementalPathKind::MountSource || kind == IncrementalPathKind::MountTarget || in CheckIncrementalPath()
113 kind == IncrementalPathKind::Any) { in CheckIncrementalPath()
115 if (kind != IncrementalPathKind::MountSource && in CheckIncrementalPath()
119 if (kind != IncrementalPathKind::MountTarget && in CheckIncrementalPath()
126 if (kind == IncrementalPathKind::Bind || kind == IncrementalPathKind::Any) { in CheckIncrementalPath()
DVoldNativeServiceValidation.h39 enum class IncrementalPathKind { MountSource, MountTarget, Bind, Any }; enum
40 binder::Status CheckIncrementalPath(IncrementalPathKind kind, const std::string& path);
DVoldNativeService.cpp828 if (auto status = CheckIncrementalPath(IncrementalPathKind::MountTarget, targetDir); in mountIncFs()
832 if (auto status = CheckIncrementalPath(IncrementalPathKind::MountSource, backingPath); in mountIncFs()
869 if (auto status = CheckIncrementalPath(IncrementalPathKind::Any, dir); !status.isOk()) { in unmountIncFs()
925 if (auto status = CheckIncrementalPath(IncrementalPathKind::Any, sourceDir); !status.isOk()) { in bindMount()
928 if (auto status = CheckIncrementalPath(IncrementalPathKind::Bind, targetDir); !status.isOk()) { in bindMount()