summaryrefslogtreecommitdiff
path: root/aosp/dynamic_partition_control_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'aosp/dynamic_partition_control_android.h')
-rw-r--r--aosp/dynamic_partition_control_android.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/aosp/dynamic_partition_control_android.h b/aosp/dynamic_partition_control_android.h
index d7c8781a..a23827b4 100644
--- a/aosp/dynamic_partition_control_android.h
+++ b/aosp/dynamic_partition_control_android.h
@@ -20,6 +20,7 @@
#include <memory>
#include <set>
#include <string>
+#include <string_view>
#include <vector>
#include <base/files/file_util.h>
@@ -33,6 +34,10 @@ namespace chromeos_update_engine {
class DynamicPartitionControlAndroid : public DynamicPartitionControlInterface {
public:
+ // A directory where all partitions mapped by VABC is expected to be found.
+ // Per earlier discussion with VAB team, this directory is unlikely to change.
+ // So we declare it as a constant here.
+ static constexpr std::string_view VABC_DEVICE_DIR = "/dev/block/mapper/";
DynamicPartitionControlAndroid();
~DynamicPartitionControlAndroid();