Home
last modified time | relevance | path

Searched refs:ResourceState (Results 1 – 2 of 2) sorted by relevance

/system/ulib/fs-test-utils/include/fs-test-utils/
A Dfixture.h181 enum class ResourceState { enum
201 ResourceState fs_state_ = ResourceState::kUnallocated;
202 ResourceState fvm_state_ = ResourceState::kUnallocated;
203 ResourceState ramdisk_state_ = ResourceState::kUnallocated;
/system/ulib/fs-test-utils/
A Dfixture.cpp243 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()
299 fvm_state_ = ResourceState::kUnallocated; in SetUp()
300 fs_state_ = ResourceState::kUnallocated; in SetUp()
328 fs_state_ = ResourceState::kAllocated; in SetUp()
351 fs_state_ = ResourceState::kFreed; in TearDown()
363 fs_state_ = ResourceState::kFreed; in TearDown()
364 fvm_state_ = ResourceState::kFreed; in TearDown()
[all …]

Completed in 7 milliseconds