HomeSort by relevance Sort by last modified time
    Searched refs:dev_path (Results 1 - 25 of 39) sorted by null

1 2

  /external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/boards/
hikey-spidev.h 21 .dev_path = "/dev/spidev0.0",
  /external/libese/libese-hw/nxp/include/ese/hw/nxp/
spi_board.h 29 const char *dev_path; member in struct:NxpSpiBoard
  /external/toolchain-utils/crosperf/
translate_xbuddy.py 9 dev_path = os.path.expanduser('~/trunk/src/platform/dev') variable
10 sys.path.append(dev_path)
  /external/adhd/cras/src/server/
cras_gpio_jack.h 29 * dev_path - Full path to the GPIO device.
36 typedef int (*gpio_switch_list_callback)(const char *dev_path,
  /external/libkmsxx/utils/
kmsblank.cpp 30 string dev_path = "/dev/dri/card0"; local
36 Option("|device=", [&dev_path](string s)
38 dev_path = s;
62 Card card(dev_path);
kmsview.cpp 41 string dev_path = "/dev/dri/card0"; local
49 Option("|device=", [&dev_path](string s)
51 dev_path = s;
87 Card card(dev_path);
  /cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8430/
poc.c 105 char* dev_path = "/dev/nvhost-vic"; local
106 g_fd = open(dev_path, O_RDONLY);
108 printf("open file(%s) failed, errno=%d\n", dev_path, errno);
111 printf("open file(%s) succ!\n", dev_path);
114 dev_path = "/dev/nvmap";
115 g_nvmap_fd = open(dev_path, O_RDONLY);
117 printf("open file(%s) failed, errno=%d\n", dev_path, errno);
120 printf("open file(%s) succ!\n", dev_path);
  /external/autotest/client/site_tests/security_DeviceJail_AllowDeny/
security_DeviceJail_AllowDeny.py 25 dev_path = usb_devices[0].device_node
26 with device_jail_utils.JailDevice(dev_path) as jail:
  /external/rootdev/
rootdev.h 40 const char *search, const char *dev_path);
74 * @dev_path: path to dev tree. NULL for default (/dev)
89 const char *dev_path);
rootdev.c 346 const char *dev_path) {
349 if (!dev_path)
350 dev_path = kDefaultDevPath;
355 path_len = snprintf(path, size, "%s/%s", dev_path, device);
356 if (path_len != strlen(dev_path) + 1 + strlen(device))
370 const char *search, const char *dev_path) {
375 if (!dev_path)
376 dev_path = kDefaultDevPath;
398 res = rootdev_get_path(path, size, devname, dev_path);
  /external/autotest/client/site_tests/security_DeviceJail_Lockdown/
security_DeviceJail_Lockdown.py 60 dev_path, dev_intf = self._find_device_with_interface()
61 if not dev_path:
63 logging.info('Using device %s, interface %d', dev_path, dev_intf)
65 with device_jail_utils.JailDevice(dev_path) as jail:
  /external/ltp/lib/
tst_device.c 46 static char dev_path[1024]; variable
62 snprintf(dev_path, sizeof(dev_path), dev_variants[i], dev);
64 if (stat(dev_path, &st) == 0 && S_ISBLK(st.st_mode))
84 tst_resm(TINFO, "Found free device '%s'", dev_path);
112 dev_fd = open(dev_path, O_RDONLY);
118 tst_resm(TINFO, "Device '%s' in use", dev_path);
122 tst_resm(TINFO, "Found free device '%s'", dev_path);
280 if (attach_device(dev_path, DEV_FILE))
285 return dev_path;
    [all...]
  /external/autotest/client/site_tests/security_DeviceJail_Detach/
security_DeviceJail_Detach.py 57 dev_path = device.device_node
59 logging.info('Found device %s', dev_path)
61 with device_jail_utils.JailDevice(dev_path) as jail:
  /cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8428/
poc.c 115 char* dev_path = "/dev/nvmap"; local
116 g_fd = open(dev_path, O_RDWR);
118 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno);
120 printf("[*] open file(%s) succ!\n", dev_path);
  /cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8429/
poc.c 95 char* dev_path = "/dev/nvmap"; local
96 g_fd = open(dev_path, O_RDWR);
98 printf("[*] open file(%s) failed, errno=%d\n", dev_path, errno);
100 printf("[*] open file(%s) succ!\n", dev_path);
  /cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0508/
poc.c 140 const char* dev_path = "/dev/dri/renderD129"; local
141 g_fd = open(dev_path, O_RDONLY);
146 dev_path = "/dev/ion";
147 g_ion_fd = open(dev_path, O_RDONLY);
  /cts/apps/CameraITS/tools/
hardware.py 249 dev_path = os.path.join(self._USB_DEVICE_SYS_ROOT, dir_entry)
254 inf_dir_list = os.listdir(dev_path)
277 entry[self.KEY_VID] = self._read_sys_hex_attr(dev_path,
279 entry[self.KEY_PID] = self._read_sys_hex_attr(dev_path,
281 entry[self.KEY_SN] = self._read_sys_attr(dev_path,
283 entry[self.KEY_MFG] = self._read_sys_attr(dev_path,
285 entry[self.KEY_PRD] = self._read_sys_attr(dev_path,
287 entry[self.KEY_VER] = self._read_sys_attr(dev_path,
  /external/ltp/testcases/kernel/device-drivers/acpi/
ltp_acpi.c 34 static const char dev_path[] = "/sys/devices/" ACPI_TEST_NAME "/path"; variable
81 if (read_sysfs_file(dev_path, sysfs_path + 4, 4092)) {
  /cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8434/
poc.c 105 char* dev_path = "/dev/kgsl-3d0"; local
106 g_fd = open(dev_path, O_RDWR);
  /external/autotest/server/site_tests/firmware_Cr50GetName/
firmware_Cr50GetName.py 27 def initialize(self, host, cmdline_args, dev_path='', full_args={}):
30 full_args, restore_cr50_state=True, cr50_dev_path=dev_path)
  /external/autotest/server/site_tests/provision_Cr50Update/
provision_Cr50Update.py 34 chip_bid_str='', dev_path=''):
37 provision_update=True, cr50_dev_path=dev_path)
259 dev_path = self.get_saved_cr50_dev_path()
260 self.cr50_update(dev_path)
  /external/libxcam/xcore/
drm_display.cpp 124 char dev_path [32]; local
128 sprintf (dev_path, "%s%d", base_path, base_id + i);
129 if (access (dev_path, F_OK) != 0)
132 fd = open_driver (dev_path);
141 DrmDisplay::open_driver (const char *dev_path)
143 XCAM_ASSERT (dev_path);
145 int fd = open (dev_path, O_RDWR);
147 XCAM_LOG_ERROR ("failed to open %s", dev_path);
151 if (!strncmp (dev_path, "/dev/dri/card", 13)) {
152 if (!is_authenticated (fd, dev_path)) {
    [all...]
  /cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8460/
poc.c 112 char* dev_path = "/dev/nvmap"; local
113 g_fd = open(dev_path, O_RDWR);
  /external/autotest/server/site_tests/firmware_Cr50SetBoardId/
firmware_Cr50SetBoardId.py 52 def initialize(self, host, cmdline_args, full_args, dev_path='', bid=''):
55 full_args, restore_cr50_state=True, cr50_dev_path=dev_path)
  /external/autotest/server/site_tests/firmware_Cr50Update/
firmware_Cr50Update.py 37 old_release_path="", old_release_ver="", dev_path="",
43 cr50_dev_path=dev_path)
70 self.add_image_to_update_order(self.DEV_NAME, dev_path)

Completed in 1157 milliseconds

1 2