Home
last modified time | relevance | path

Searched refs:GetState (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/cmds/idmap2/libidmap2/
H A DResourceContainer.cpp319 Result<const ResState*> GetState() const;
341 Result<const ResState*> ApkResourceContainer::GetState() const { in GetState() function in android::idmap2::ApkResourceContainer
364 auto state = GetState(); in DefinesOverlayable()
373 auto state = GetState(); in GetOverlayableInfo()
385 const auto state = GetState(); in GetOverlayData()
406 auto state = GetState(); in GetResourceId()
420 auto state = GetState(); in GetResourceName()
/aosp14/system/core/fs_mgr/libdm/
H A Ddm_test.cpp175 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::ACTIVE); in TEST_F()
178 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::SUSPENDED); in TEST_F()
181 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::ACTIVE); in TEST_F()
584 ASSERT_EQ(DmDeviceState::INVALID, dm.GetState("libdm-test-dm-linear")); in TEST_F()
670 ASSERT_EQ(DmDeviceState::INVALID, dm.GetState("libdm-test-dm-linear")); in TEST_F()
705 ASSERT_EQ(DmDeviceState::INVALID, dm.GetState("libdm-test-dm-linear")); in TEST_F()
717 ASSERT_EQ(DmDeviceState::SUSPENDED, dm.GetState("empty-device")); in TEST_F()
H A Ddm.cpp93 if (GetState(name) == DmDeviceState::INVALID) { in DeleteDeviceIfExists()
154 if (GetState(name) == DmDeviceState::INVALID) { in DeleteDeviceIfExistsDeferred()
274 DmDeviceState DeviceMapper::GetState(const std::string& name) const { in GetState() function in android::dm::DeviceMapper
/aosp14/system/core/fs_mgr/libdm/include/libdm/
H A Ddm.h76 virtual DmDeviceState GetState(const std::string& name) const = 0;
145 DmDeviceState GetState(const std::string& name) const override;
/aosp14/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
H A Dtest_helpers.h143 virtual DmDeviceState GetState(const std::string& name) const override { in GetState() function
144 return impl_.GetState(name); in GetState()
/aosp14/system/core/fs_mgr/
H A Dfs_mgr_overlayfs.cpp901 if (dm.GetState(android::gsi::kDsuScratch) != DmDeviceState::INVALID && in GetDsuScratchDevice()
927 if (dm.GetState(partition_name) != DmDeviceState::INVALID && in GetBootScratchDevice()
971 if (dm.GetState(name) != DmDeviceState::INVALID && !DestroyLogicalPartition(name)) { in TruncatePartitionsWithSuffix()
984 *partition_exists = dm.GetState(partition_name) != DmDeviceState::INVALID; in CreateDynamicScratch()
H A Dfs_mgr.cpp1305 if (dm.GetState(kUserdataWrapperName) != DmDeviceState::INVALID) { in WrapUserdata()
2179 if (dm.GetState(mount_point) == DmDeviceState::INVALID) { in fs_mgr_is_verity_enabled()
2204 if (dm.GetState(device) == DmDeviceState::INVALID || !dm.GetTableInfo(device, &table)) { in fs_mgr_get_hashtree_info()
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot.cpp770 if (dm_.GetState(snapshot) == DmDeviceState::INVALID) { in InitiateMerge()
953 if (dm_.GetState(dm_name) == DmDeviceState::INVALID) { in GetSingleTarget()
1731 if (dm_.GetState(user_cow_name) == DmDeviceState::INVALID) { in PerformInitTransition()
1956 if (dm_.GetState(name) == DmDeviceState::ACTIVE && !IsSnapshotDevice(name)) { in RemoveInvalidSnapshots()
2000 if (dm_.GetState(name) == DmDeviceState::INVALID || !IsSnapshotDevice(name)) { in RemoveAllSnapshots()
2657 if (dm_.GetState(dm_user_name) == DmDeviceState::INVALID) { in UnmapDmUserDevice()
2685 if (dm_.GetState(dm_user_name) == DmDeviceState::INVALID) { in UnmapUserspaceSnapshotDevice()
4114 if (dm_.GetState(device_name) != DmDeviceState::INVALID) { in GetMappedImageDevicePath()
4125 if (dm_.GetState(device_name) != DmDeviceState::INVALID) { in GetMappedImageDeviceStringOrPath()
4203 if (dm_.GetState(user_cow_name) == DmDeviceState::INVALID) { in DetachFirstStageSnapuserdForSelinux()
/aosp14/system/core/fs_mgr/libfiemap/
H A Dimage_manager.cpp123 return dm.GetState(image_name) != DmDeviceState::INVALID; in IsImageMapped()
718 if (dm.GetState(name) == DmDeviceState::INVALID) { in GetMappedImageDevice()
/aosp14/system/core/init/
H A Dfirst_stage_mount.cpp192 if (dm.GetState("vroot") != android::dm::DmDeviceState::INVALID) { in GetRootEntry()