Lines Matching refs:partition
257 def TunePartition(self, partition, *options): argument
260 p = fstab[partition]
262 raise ValueError("Partition %s cannot be tuned\n" % (partition,))
267 common.ErrorCode.TUNE_PARTITION_FAILURE, partition))
269 def FormatPartition(self, partition): argument
275 p = fstab[partition]
281 def WipeBlockDevice(self, partition): argument
282 if partition not in ("/system", "/vendor"):
283 raise ValueError(("WipeBlockDevice doesn't work on %s\n") % (partition,))
285 size = self.info.get(partition.lstrip("/") + "_size", None)
286 device = self._GetSlotSuffixDeviceForEntry(fstab[partition])