Searched refs:PartitionHandle (Results 1 – 5 of 5) sorted by relevance
30 class PartitionHandle {32 PartitionHandle() {} in PartitionHandle() function33 explicit PartitionHandle(const std::string& path) : path_(path) {} in PartitionHandle() function34 PartitionHandle(const std::string& path, std::function<void()>&& closer) in PartitionHandle() function36 PartitionHandle(PartitionHandle&& other) = default;37 PartitionHandle& operator=(PartitionHandle&& other) = default;38 ~PartitionHandle() { in ~PartitionHandle()80 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle,
43 bool OpenPhysicalPartition(const std::string& name, PartitionHandle* handle) { in OpenPhysicalPartition()48 *handle = PartitionHandle(*path); in OpenPhysicalPartition()53 PartitionHandle* handle) { in OpenLogicalPartition()74 *handle = PartitionHandle(dm_path, std::move(closer)); in OpenLogicalPartition()80 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle, in OpenPartition()
149 PartitionHandle handle; in Flash()
216 PartitionHandle handle; in EraseHandler()845 PartitionHandle handle_;
317 PartitionHandle handle; in GetPartitionSize()