Searched refs:sysfs_path (Results 1 – 17 of 17) sorted by relevance
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/ |
D | list_ports_linux.py | 65 def usb_sysfs_hw_string(sysfs_path): argument 67 bus, dev = os.path.basename(os.path.realpath(sysfs_path)).split('-') 68 snr = read_line(sysfs_path+'/serial') 74 read_line(sysfs_path+'/idVendor'), 75 read_line(sysfs_path+'/idProduct'), 79 def usb_lsusb_string(sysfs_path): argument 80 base = os.path.basename(os.path.realpath(sysfs_path)) 83 dev = int(read_line(os.path.join(sysfs_path, 'devnum')))
|
/external/autotest/client/site_tests/power_WakeupRTC/ |
D | power_WakeupRTC.py | 15 sysfs_path = '/sys/class/rtc/%s/device/power/wakeup' % rtc_device 16 return file(sysfs_path).read().strip() 23 sysfs_path = '/sys/class/rtc/%s/device/power/wakeup_count' % rtc_device 24 return int(file(sysfs_path).read())
|
/external/autotest/client/site_tests/kernel_CrosECSysfs/ |
D | kernel_CrosECSysfs.py | 16 sysfs_path = '/sys/devices/virtual/chromeos/cros_ec' variable in kernel_CrosECSysfs 19 sysfs_path = '/sys/class/chromeos/cros_ec' variable in kernel_CrosECSysfs 39 fullpath = os.path.join(self.sysfs_path, filename) 49 fullpath = os.path.join(self.sysfs_path, filename)
|
/external/autotest/client/site_tests/hardware_SsdDetection/ |
D | hardware_SsdDetection.py | 30 sysfs_path = '/sys/block/%s/removable' % dev 31 return (os.path.exists(sysfs_path) and 32 open(sysfs_path).read().strip() == '0')
|
/external/autotest/client/deps/fakegudev/src/test_files/ |
D | fake_and_fake2.dat | 3 sysfs_path=/sys/devices/virtual/fake 7 sysfs_path=/sys/devices/virtual/fake2
|
D | fake2_parent_fake.dat | 3 sysfs_path=/sys/devices/virtual/fake 7 sysfs_path=/sys/devices/virtual/fake2
|
D | fake2.dat | 3 sysfs_path=/sys/devices/virtual/fake2
|
D | fake.dat | 3 sysfs_path=/sys/devices/virtual/fake
|
D | fake_driver.dat | 3 sysfs_path=/sys/devices/virtual/fake
|
D | fake_subsystem.dat | 3 sysfs_path=/sys/devices/virtual/fake
|
D | fake_property_foo.dat | 3 sysfs_path=/sys/devices/virtual/fake
|
D | fake_name.dat | 3 sysfs_path=/sys/devices/virtual/fake
|
D | fake_parent_null.dat | 3 sysfs_path=/sys/devices/virtual/fake
|
D | fake_properties.dat | 3 sysfs_path=/sys/devices/virtual/fake
|
D | fake_full.dat | 7 sysfs_path=/sys/devices/virtual/fake
|
/external/autotest/client/site_tests/platform_PartitionCheck/ |
D | platform_PartitionCheck.py | 46 sysfs_path = os.path.join('/sys', 'block', device, 49 return int(utils.read_one_line(sysfs_path))
|
/external/autotest/client/deps/fakegudev/src/ |
D | fakegudev.c | 425 const gchar *sysfs_path) in g_udev_client_query_by_sysfs_path() argument 433 if (g_hash_table_lookup_extended (devices_by_syspath, sysfs_path, NULL, in g_udev_client_query_by_sysfs_path() 442 return realfunc (client, sysfs_path); in g_udev_client_query_by_sysfs_path()
|