Home
last modified time | relevance | path

Searched refs:device_node (Results 1 – 17 of 17) sorted by relevance

/external/autotest/client/site_tests/firmware_TouchMTB/
Dkeyboard_device.py23 def __init__(self, device_node=None): argument
24 if device_node:
25 self.device_node = device_node
27 self.device_node = input_device.get_device_node(
29 self.system_device = self._non_blocking_open(self.device_node)
37 return bool(self.device_node)
Dtouch_device.py24 def __init__(self, device_node=None, is_touchscreen=False, argument
30 self.device_node = (device_node if device_node else
67 device_node = TouchDevice.xinput_helper(
70 device_node = None
71 return device_node
114 print msg % (e, self.device_node)
129 elif self.device_node:
131 cmd = 'evemu-describe %s' % self.device_node
136 print msg % (e, self.device_node)
Dtest_flow.py41 self.device_node = self.device.device_node
76 self.system_device = self._non_blocking_open(self.device_node)
146 self.system_device = open(self.device_node)
147 self.system_device = self._non_blocking_open(self.device_node)
194 self.device_node,
Dvalidators.py1328 self.device_info = input_device.InputDevice(self.device.device_node)
/external/autotest/client/site_tests/firmware_TouchMTB/tools/
Dmtplot_play.py31 def generate_mtplot_image_from_log(device_node, mtplot_file): argument
48 mtplot_cmd = 'mtplot -d :0 %s' % device_node
52 play_cmd = 'evemu-play --insert-slot0 %s < %s' % (device_node, evemu_file)
90 args.device_node = TouchDevice.get_device_node(is_touchscreen=is_ts)
91 if args.device_node is None:
98 print '\nthe device node of the %s: %s\n' % (args.device, args.device_node)
106 generate_mtplot_image_from_log(args.device_node, args.filename)
Dprint_syn.sh36 device_node=`echo $device_node_info | sed -n "s/.*\"\(.*\)\"/\1/p"`
37 echo "device_node for ${FLAGS_device}: $device_node"
47 cmd="DISPLAY=:0 mtplot $device_node | tee $FLAGS_file | $syn_dir/${SYN_PROG}"
/external/autotest/client/bin/input/
Dinput_event_recorder.py154 self.device_node = self.get_device_node_by_name(device_name)
155 if self.device_node is None:
186 device_node = None
196 device_node = '/dev/input/event%d' % event_number
200 return device_node
205 logging.info('Recording input events of %s.', self.device_node)
206 cmd = 'evtest %s' % self.device_node
312 print 'Samus touchpad device node:', recorder.device_node
Dinput_device.py633 device_node = None
643 device_node = '/dev/input/event%d' % event_number
647 return device_node
/external/autotest/client/site_tests/platform_UdevVars/
Dplatform_UdevVars.py34 devices = sorted(devices, key=lambda device: natural_key(device.device_node))
45 logging.debug(' %s [%s]', device.device_node, name)
57 path = device.device_node
65 devname = os.path.basename(device.device_node)
/external/webrtc/talk/media/devices/
Dlinuxdeviceinfo.cc133 const char* device_node = in GetUsbProperty() local
135 if (!device_node || device.id.compare(device_node) != 0) { in GetUsbProperty()
/external/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf628 attribute device_node;
993 typeattribute ppp_device_t device_node;
997 typeattribute tun_tap_device_t device_node;
1099 typeattribute agp_device_t device_node;
1103 typeattribute apm_bios_t device_node;
1107 typeattribute cardmgr_dev_t device_node;
1121 typeattribute clock_device_t device_node;
1125 typeattribute cpu_device_t device_node;
1129 typeattribute crypt_device_t device_node;
1133 typeattribute dri_device_t device_node;
[all …]
/external/autotest/client/cros/
Ddevice_jail_utils.py163 if device.device_node and device.device_node.startswith('/dev/bus/usb')]
/external/autotest/client/site_tests/security_DeviceJail_AllowDeny/
Dsecurity_DeviceJail_AllowDeny.py25 dev_path = usb_devices[0].device_node
/external/autotest/client/cros/multimedia/
Dinput_facade_native.py36 self.recorder.device_name, self.recorder.device_node)
/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dcommon_unittest_utils.py65 device_node='/dev/null',
/external/autotest/client/site_tests/security_DeviceJail_Lockdown/
Dsecurity_DeviceJail_Lockdown.py53 return (device.device_node,
/external/autotest/client/site_tests/security_DeviceJail_Detach/
Dsecurity_DeviceJail_Detach.py57 dev_path = device.device_node