/external/autotest/client/cros/input_playback/ |
D | input_playback.py | 26 self.device_dir = None # e.g. '/sys/class/input/event4/device/device' 253 def _find_input_name(self, device_dir, name=None): argument 265 input_names = glob.glob(os.path.join(device_dir, 'input', 'input*')) 273 logging.error('Input names found(%s): %s', device_dir, input_names) 277 def _find_device_ids_for_styluses(self, device_dir, name=None): argument 292 input_name = self._find_input_name(device_dir, name) 313 def _find_device_ids(self, device_dir, input_type, name): argument 328 if not device_dir or input_type not in ['touchpad', 'touchscreen', 332 return self._find_device_ids_for_styluses(device_dir, name) 337 fw_path = os.path.join(device_dir, fw_filename) [all …]
|
/external/autotest/client/site_tests/touch_WakeupSource/ |
D | touch_WakeupSource.py | 59 device_dir = self.player.devices[input_type].device_dir 60 if not device_dir: 63 filename = os.path.join(device_dir, 'power', 'wakeup') 72 for device_dir in os.listdir(i2c_devices_dir): 73 event_search = os.path.join(i2c_devices_dir, device_dir, '*', 78 parent = os.path.join(i2c_devices_dir, device_dir)
|
/external/libcxx/utils/libcxx/android/test/ |
D | format.py | 39 def __init__(self, cxx, libcxx_src_root, libcxx_obj_root, device_dir, argument 48 self.device_dir = device_dir 52 return os.path.join(self.device_dir, file_name)
|
/external/libcxx/ |
D | run_tests.py | 154 device_dir = '/data/local/tmp/libcxx' 155 dynamic_dir = posixpath.join(device_dir, 'dynamic_test_env') 156 check_call(['adb', 'shell', 'rm', '-rf', device_dir]) 157 check_call(['adb', 'shell', 'mkdir', '-p', device_dir]) 159 check_call(['adb', 'push', '--sync', stdfs_test_data, device_dir]) 160 check_call(['adb', 'shell', 'chown', '-R', 'shell:shell', device_dir])
|
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionTest/ |
D | kernel_ExternalUsbPeripheralsDetectionTest.py | 142 tmp_list = [device_dir for device_dir in 145 if re.match(r'\d-\d.*:\d\.\d', device_dir)] 151 for device_dir in tmp_list: 153 '%s/driver' % device_dir)
|
/external/skia/infra/bots/recipe_modules/flavor/ |
D | default.py | 59 def copy_directory_contents_to_device(self, host_dir, device_dir): argument 63 if str(host_dir) != str(device_dir): 67 str(host_dir), str(device_dir))) 69 def copy_directory_contents_to_host(self, device_dir, host_dir): argument 73 if str(host_dir) != str(device_dir): 77 str(host_dir), str(device_dir)))
|
D | api.py | 91 def copy_directory_contents_to_device(self, host_dir, device_dir): argument 92 return self._f.copy_directory_contents_to_device(host_dir, device_dir) 94 def copy_directory_contents_to_host(self, device_dir, host_dir): argument 95 return self._f.copy_directory_contents_to_host(device_dir, host_dir)
|
/external/skqp/infra/bots/recipe_modules/flavor/ |
D | default.py | 102 def copy_directory_contents_to_device(self, host_dir, device_dir): argument 106 if str(host_dir) != str(device_dir): 110 str(host_dir), str(device_dir))) 112 def copy_directory_contents_to_host(self, device_dir, host_dir): argument 116 if str(host_dir) != str(device_dir): 120 str(host_dir), str(device_dir)))
|
D | api.py | 89 def copy_directory_contents_to_device(self, host_dir, device_dir): argument 90 return self._f.copy_directory_contents_to_device(host_dir, device_dir) 92 def copy_directory_contents_to_host(self, device_dir, host_dir): argument 93 return self._f.copy_directory_contents_to_host(device_dir, host_dir)
|
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionStress/ |
D | kernel_ExternalUsbPeripheralsDetectionStress.py | 80 tmp_list = [device_dir for device_dir in 83 if re.match(r'\d-\d.*:\d\.\d', device_dir)] 90 for device_dir in tmp_list: 92 '%s/driver' % device_dir)
|
/external/googletest/ |
D | run_tests.py | 83 device_dir = test_dir.replace(os.environ['OUT'], '') 84 cmd = ['adb', 'shell', 'cd {} && ./{}'.format(device_dir, test)]
|
/external/autotest/server/cros/servo/topology/ |
D | servo_topology.py | 214 device_dir = os.path.dirname(device) 215 if not self._is_expected_type(device_dir): 218 child = self._read_device_info(device_dir)
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | debug_data_test.py | 190 device_dir = os.path.join( 194 os.makedirs(device_dir) 195 open(os.path.join(device_dir, "node1_DebugIdentity_1234"), "wb")
|
D | debug_data.py | 257 def device_path_to_device_name(device_dir): argument 266 path_items = os.path.basename(device_dir)[ 514 for device_dir in device_dirs: 515 device_name = device_path_to_device_name(device_dir) 517 self._load_device_dumps(device_name, device_dir)
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_utils.py | 1196 device_dir = posixpath.join(self.MODULES_SRC_DIRECTORY_PATH, package_name) 1199 self.PushChangedFiles([(modules_dir, device_dir)], 1221 self.PushChangedFiles([(modules_dir, device_dir)], 1979 device_dir = d.rstrip('/') 1981 expected_device_nodes.add(device_dir) 1985 parent = posixpath.dirname(device_dir) 1991 device_dirs_to_push_to.add(device_dir) 1997 device_path = posixpath.join(device_dir, relative_dir).rstrip('/') 2001 [posixpath.join(device_dir, relative_dir, f) for f in filenames]) 2006 device_dirs_to_push_to.add(posixpath.dirname(device_dir)) [all …]
|