Home
last modified time | relevance | path

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

/external/autotest/client/cros/
Dstorage.py114 def mount_volume(self, index=None, storage_dict=None, args=''): argument
129 if index is None and storage_dict is None:
130 storage_dict = self.storages[0]
132 storage_dict = self.storages[index]
133 elif not isinstance(storage_dict, dict):
137 if storage_dict['is_mounted']:
142 logging.info('Mounting %(device)s in %(mountpoint)s.', storage_dict)
146 os.mkdir(storage_dict['mountpoint'])
152 cmd += ' %(device)s %(mountpoint)s' % storage_dict
154 storage_dict['is_mounted'] = True
[all …]
/external/autotest/client/site_tests/hardware_UsbMount/
Dhardware_UsbMount.py64 self.scanner.umount_volume(storage_dict=storage)
72 self.scanner.mount_volume(storage_dict=storage)
90 self.scanner.mount_volume(storage_dict=storage)
/external/autotest/client/site_tests/hardware_MultiReaderPowerConsumption/
Dhardware_MultiReaderPowerConsumption.py32 self.scanner.umount_volume(storage_dict=self._storage)
136 self.scanner.umount_volume(storage_dict=self._storage, args='-f -l')