Lines Matching refs:State
38 State::kUnmounted), mSilent(false) { in VolumeBase()
45 void VolumeBase::setState(State state) { in setState()
71 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountFlags()
81 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountUserId()
111 if (mState != State::kChecking) { in setPath()
122 if (mState != State::kChecking) { in setInternalPath()
168 setState(State::kUnmounted); in create()
179 if (mState == State::kMounted) { in destroy()
181 setState(State::kBadRemoval); in destroy()
183 setState(State::kRemoved); in destroy()
197 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in mount()
202 setState(State::kChecking); in mount()
205 setState(State::kMounted); in mount()
207 setState(State::kUnmountable); in mount()
214 if (mState != State::kMounted) { in unmount()
219 setState(State::kEjecting); in unmount()
229 setState(State::kUnmounted); in unmount()
234 if (mState == State::kMounted) { in format()
238 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in format()
243 setState(State::kFormatting); in format()
245 setState(State::kUnmounted); in format()