Home
last modified time | relevance | path

Searched refs:DmDeviceState (Results 1 – 12 of 12) sorted by relevance

/system/update_engine/
Ddynamic_partition_control_android.cc36 using android::dm::DmDeviceState;
90 DmDeviceState state = GetState(target_partition_name); in MapPartitionOnDeviceMapper()
91 if (state == DmDeviceState::ACTIVE) { in MapPartitionOnDeviceMapper()
112 if (state != DmDeviceState::INVALID) { in MapPartitionOnDeviceMapper()
114 << static_cast<std::underlying_type_t<DmDeviceState>>(state); in MapPartitionOnDeviceMapper()
118 if (state == DmDeviceState::INVALID) { in MapPartitionOnDeviceMapper()
125 << static_cast<std::underlying_type_t<DmDeviceState>>(state); in MapPartitionOnDeviceMapper()
132 DmDeviceState::INVALID) { in UnmapPartitionOnDeviceMapper()
165 android::dm::DmDeviceState DynamicPartitionControlAndroid::GetState( in GetState()
Dmock_dynamic_partition_control.h39 MOCK_METHOD1(GetState, ::android::dm::DmDeviceState(const std::string&));
Ddynamic_partition_control_interface.h71 virtual android::dm::DmDeviceState GetState(const std::string& name) = 0;
Ddynamic_partition_control_android.h43 android::dm::DmDeviceState GetState(const std::string& name) override;
Dboot_control_android.cc36 using android::dm::DmDeviceState;
157 DmDeviceState::ACTIVE) { in GetDynamicPartitionDevice()
Dboot_control_android_unittest.cc32 using android::dm::DmDeviceState;
547 .WillOnce(Return(DmDeviceState::ACTIVE)); in TEST_P()
590 .WillOnce(Return(DmDeviceState::ACTIVE)); in TEST_P()
597 .WillOnce(Return(DmDeviceState::ACTIVE)); in TEST_P()
/system/core/fs_mgr/libdm/include/libdm/
Ddm.h45 enum class DmDeviceState { INVALID, SUSPENDED, ACTIVE }; enum
82 DmDeviceState GetState(const std::string& name) const;
/system/core/fs_mgr/libdm/
Ddm.cpp101 DmDeviceState DeviceMapper::GetState(const std::string& name) const { in GetState()
105 return DmDeviceState::INVALID; in GetState()
108 return DmDeviceState::ACTIVE; in GetState()
110 return DmDeviceState::SUSPENDED; in GetState()
/system/core/fs_mgr/
Dfs_mgr.cpp93 using android::dm::DmDeviceState;
1703 if (dm.GetState(mount_point) == DmDeviceState::INVALID) { in fs_mgr_is_verity_enabled()
1734 if (dm.GetState(device) == DmDeviceState::INVALID || !dm.GetTableInfo(device, &table)) { in fs_mgr_verity_is_check_at_most_once()
/system/gsid/
Dgsi_service.cpp413 if (dm.GetState("userdata_gsi") != DmDeviceState::INVALID) { in PostInstallCleanup()
416 if (dm.GetState("system_gsi") != DmDeviceState::INVALID) { in PostInstallCleanup()
/system/core/init/
Dfirst_stage_mount.cpp186 if (dm.GetState("vroot") != android::dm::DmDeviceState::INVALID) { in GetRootEntry()
/system/apex/apexd/
Dapexd.cpp78 using android::dm::DmDeviceState;
294 if (dm.GetState(name) != DmDeviceState::INVALID) { in createVerityDevice()