Lines Matching refs:ResourceState
243 if (fs_state_ == ResourceState::kAllocated) { in Mount()
259 fs_state_ = ResourceState::kAllocated; in Mount()
264 if (fs_state_ != ResourceState::kAllocated) { in Umount()
275 fs_state_ = ResourceState::kFreed; in Umount()
288 ramdisk_state_ = ResourceState::kAllocated; in SetUpTestCase()
299 fvm_state_ = ResourceState::kUnallocated; in SetUp()
300 fs_state_ = ResourceState::kUnallocated; in SetUp()
306 fvm_state_ = ResourceState::kAllocated; in SetUp()
328 fs_state_ = ResourceState::kAllocated; in SetUp()
337 if (fs_state_ == ResourceState::kAllocated) { in TearDown()
346 fs_state_ == ResourceState::kAllocated) { in TearDown()
351 fs_state_ = ResourceState::kFreed; in TearDown()
356 if (options_.use_fvm && fvm_state_ == ResourceState::kAllocated) { in TearDown()
363 fs_state_ = ResourceState::kFreed; in TearDown()
364 fvm_state_ = ResourceState::kFreed; in TearDown()
370 if (ramdisk_state_ == ResourceState::kAllocated) { in TearDownTestCase()
376 ramdisk_state_ = ResourceState::kFreed; in TearDownTestCase()