Home
last modified time | relevance | path

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

/development/gsi/gsi_util/gsi_util/mounters/
Dcomposite_mounter.py43 def create_by_mount_target(cls, mount_target, partition): argument
62 if mount_target == 'adb' or mount_target.startswith('adb:'):
63 (_, _, serial_num) = mount_target.partition(':')
68 if os.path.isdir(mount_target):
69 return folder_mounter.FolderMounter(mount_target, path_prefix)
71 if os.path.isfile(mount_target):
74 return image_mounter.ImageMounter(mount_target, path_prefix)
76 raise ValueError('Unknown target "{}"'.format(mount_target))
123 def add_by_mount_target(self, partition, mount_target): argument
125 partition, mount_target)
[all …]