Searched refs:DmDeviceState (Results 1 – 12 of 12) sorted by relevance
36 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()
39 MOCK_METHOD1(GetState, ::android::dm::DmDeviceState(const std::string&));
71 virtual android::dm::DmDeviceState GetState(const std::string& name) = 0;
43 android::dm::DmDeviceState GetState(const std::string& name) override;
36 using android::dm::DmDeviceState;157 DmDeviceState::ACTIVE) { in GetDynamicPartitionDevice()
32 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()
45 enum class DmDeviceState { INVALID, SUSPENDED, ACTIVE }; enum82 DmDeviceState GetState(const std::string& name) const;
101 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()
93 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()
413 if (dm.GetState("userdata_gsi") != DmDeviceState::INVALID) { in PostInstallCleanup()416 if (dm.GetState("system_gsi") != DmDeviceState::INVALID) { in PostInstallCleanup()
186 if (dm.GetState("vroot") != android::dm::DmDeviceState::INVALID) { in GetRootEntry()
78 using android::dm::DmDeviceState;294 if (dm.GetState(name) != DmDeviceState::INVALID) { in createVerityDevice()