Home
last modified time | relevance | path

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

/external/autotest/client/cros/input_playback/
Dinput_playback.py26 self.device_dir = None # e.g. '/sys/class/input/event4/device/device'
239 def _find_input_name(self, device_dir): argument
249 input_names = glob.glob(os.path.join(device_dir, 'input', 'input*'))
256 def _find_device_ids_for_styluses(self, device_dir): argument
270 input_name = self._find_input_name(device_dir)
288 def _find_device_ids(self, device_dir, input_type, name): argument
303 if not device_dir or input_type not in ['touchpad', 'touchscreen',
307 return self._find_device_ids_for_styluses(device_dir)
312 fw_path = os.path.join(device_dir, fw_filename)
321 hw_path = os.path.join(device_dir, hw_filename)
[all …]
/external/autotest/client/site_tests/touch_WakeupSource/
Dtouch_WakeupSource.py39 device_dir = self.player.devices[input_type].device_dir
40 if not device_dir:
43 filename = os.path.join(device_dir, 'power', 'wakeup')
52 for device_dir in os.listdir(i2c_devices_dir):
53 event_search = os.path.join(i2c_devices_dir, device_dir, '*',
58 parent = os.path.join(i2c_devices_dir, device_dir)
/external/skia/infra/bots/recipe_modules/flavor/
Ddefault_flavor.py99 def copy_directory_contents_to_device(self, host_dir, device_dir): argument
103 if str(host_dir) != str(device_dir):
107 str(host_dir), str(device_dir))) # pragma: no cover
109 def copy_directory_contents_to_host(self, device_dir, host_dir): argument
113 if str(host_dir) != str(device_dir):
117 str(host_dir), str(device_dir))) # pragma: no cover
Dapi.py88 def copy_directory_contents_to_device(self, host_dir, device_dir): argument
89 return self._f.copy_directory_contents_to_device(host_dir, device_dir)
91 def copy_directory_contents_to_host(self, device_dir, host_dir): argument
92 return self._f.copy_directory_contents_to_host(device_dir, host_dir)
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionTest/
Dkernel_ExternalUsbPeripheralsDetectionTest.py142 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/libcxx/utils/libcxx/android/test/
Dformat.py37 def __init__(self, cxx, libcxx_src_root, libcxx_obj_root, device_dir, argument
46 self.device_dir = device_dir
50 return os.path.join(self.device_dir, file_name)
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionStress/
Dkernel_ExternalUsbPeripheralsDetectionStress.py80 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/
Drun_tests.py77 device_dir = test_location.replace(os.environ['OUT'], '')
78 cmd = ['adb', 'shell', 'cd {} && ./{}'.format(device_dir, test)]
/external/autotest/client/site_tests/firmware_TouchMTB/
Dtouch_device.py230 device_dir = 'device'
242 device_dir = os.path.join(input_dir, 'device', '*')
243 for f in glob.glob(device_dir):
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/
Dandroid_profiling_helper.py210 device_dir = os.path.dirname(lib)
211 output_dir = os.path.join(symfs_dir, device_dir[1:])