Lines Matching refs:State
40 mState(State::kUnmounted), in VolumeBase()
47 void VolumeBase::setState(State state) { in setState()
77 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountFlags()
87 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountUserId()
117 if (mState != State::kChecking) { in setPath()
131 if (mState != State::kChecking) { in setInternalPath()
182 setState(State::kUnmounted); in create()
193 if (mState == State::kMounted) { in destroy()
195 setState(State::kBadRemoval); in destroy()
197 setState(State::kRemoved); in destroy()
215 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in mount()
220 setState(State::kChecking); in mount()
222 setState(res == OK ? State::kMounted : State::kUnmountable); in mount()
228 if (mState != State::kMounted) { in unmount()
233 setState(State::kEjecting); in unmount()
242 setState(State::kUnmounted); in unmount()
247 if (mState == State::kMounted) { in format()
251 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in format()
256 setState(State::kFormatting); in format()
258 setState(State::kUnmounted); in format()