/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 | 45 device_dir = self.player.devices[input_type].device_dir 46 if not device_dir: 49 filename = os.path.join(device_dir, 'power', 'wakeup') 58 for device_dir in os.listdir(i2c_devices_dir): 59 event_search = os.path.join(i2c_devices_dir, device_dir, '*', 64 parent = os.path.join(i2c_devices_dir, device_dir)
|
/external/libcxx/ |
D | run_tests.py | 150 device_dir = '/data/local/tmp/libcxx' 151 dynamic_dir = posixpath.join(device_dir, 'dynamic_test_env') 152 check_call(['adb', 'shell', 'rm', '-rf', device_dir]) 153 check_call(['adb', 'shell', 'mkdir', '-p', device_dir]) 155 check_call(['adb', 'push', '--sync', stdfs_test_data, device_dir]) 156 check_call(['adb', 'shell', 'chown', '-R', 'shell:shell', 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/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/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/skia/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 | 77 device_dir = test_location.replace(os.environ['OUT'], '') 78 cmd = ['adb', 'shell', 'cd {} && ./{}'.format(device_dir, test)]
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | touch_device.py | 230 device_dir = 'device' 242 device_dir = os.path.join(input_dir, 'device', '*') 243 for f in glob.glob(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)
|