Searched refs:path_prefix (Results 1 – 4 of 4) sorted by relevance
/development/gsi/gsi_util/gsi_util/mounters/ |
D | image_mounter.py | 43 def __init__(self, path_prefix, raw_image_file, temp_dir): argument 44 super(_ImageFileAccessor, self).__init__(path_prefix) 70 def __init__(self, image_filename, path_prefix): argument 73 self._path_prefix = path_prefix 111 path_prefix = self._path_prefix 112 if path_prefix == self.DETECT_SYSTEM_AS_ROOT: 113 path_prefix = '/' if self._detect_system_as_root( 124 return _ImageFileAccessor(path_prefix, unsparsed_filename, temp_dir)
|
D | base_mounter.py | 85 def __init__(self, path_prefix='/'): argument 86 logging.debug('BaseFileAccessor(path_prefix=%s)', path_prefix) 87 self._path_prefix = path_prefix 90 path_prefix = self._path_prefix 92 if not file_to_map.startswith(path_prefix): 94 path_prefix) 96 return file_to_map[len(path_prefix):]
|
D | composite_mounter.py | 66 path_prefix = '/{}/'.format(partition) 69 return folder_mounter.FolderMounter(mount_target, path_prefix) 73 path_prefix = image_mounter.ImageMounter.DETECT_SYSTEM_AS_ROOT 74 return image_mounter.ImageMounter(mount_target, path_prefix) 111 file_accessors = [(path_prefix, mounter.mount()) 112 for (path_prefix, mounter) in self._mounters]
|
D | folder_mounter.py | 30 def __init__(self, folder_dir, path_prefix): argument 31 super(_FolderFileAccessor, self).__init__(path_prefix) 48 def __init__(self, folder_dir, path_prefix): argument 51 self._path_prefix = path_prefix
|