/external/webrtc/talk/media/devices/ |
D | v4llookup.cc | 53 bool V4LLookup::CheckIsV4L2Device(const std::string& device_path) { in CheckIsV4L2Device() argument 57 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false; in CheckIsV4L2Device() 66 video_fd = ::open(device_path.c_str(), O_RDONLY | O_NONBLOCK); in CheckIsV4L2Device() 74 LOG(LS_INFO) << "Found V4L2 capture device " << device_path; in CheckIsV4L2Device() 78 LOG_ERRNO(LS_ERROR) << "VIDIOC_QUERYCAP failed for " << device_path; in CheckIsV4L2Device() 81 LOG_ERRNO(LS_ERROR) << "Failed to open " << device_path; in CheckIsV4L2Device()
|
D | v4llookup.h | 46 static bool IsV4L2Device(const std::string& device_path) { in IsV4L2Device() argument 47 return GetV4LLookup()->CheckIsV4L2Device(device_path); in IsV4L2Device() 64 virtual bool CheckIsV4L2Device(const std::string& device_path);
|
D | linuxdevicemanager.cc | 268 std::string device_path = "/dev/" + filename; in ScanV4L2Devices() local 270 if (V4LLookup::IsV4L2Device(device_path)) { in ScanV4L2Devices() 272 Device(GetVideoDeviceName(meta, filename), device_path)); in ScanV4L2Devices()
|
/external/skia/infra/bots/recipe_modules/flavor/ |
D | gn_chromebook_flavor.py | 159 def _prefix_device_path(self, device_path): argument 160 return '%s:%s' % (self.user_ip, device_path) 162 def copy_file_to_device(self, host_path, device_path): argument 163 device_path = self._prefix_device_path(device_path) 165 self.m.python.inline(str('scp %s %s' % (host_path, device_path)), 172 """, args=[host_path, device_path], infra_step=True) 186 def copy_directory_contents_to_device(self, host_path, device_path): argument 187 self._copy_dir(host_path, self._prefix_device_path(device_path)) 189 def copy_directory_contents_to_host(self, device_path, host_path): argument 190 self._copy_dir(self._prefix_device_path(device_path), host_path)
|
D | api.py | 102 def copy_file_to_device(self, host_path, device_path): argument 103 return self._f.copy_file_to_device(host_path, device_path) 141 host_path, device_path, test_expected_version, argument 155 self.create_clean_device_dir(device_path) 157 host_path, device_path)
|
D | default_flavor.py | 126 def copy_file_to_device(self, host_path, device_path): argument 130 if str(host_path) != str(device_path): 134 str(host_path), str(device_path)))
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_utils.py | 1298 def _GetChangedAndStaleFiles(self, host_path, device_path, track_stale=False): argument 1317 device_path = device_path.rstrip('/') 1319 specific_device_paths = [device_path] 1326 posixpath.join(device_path, relative_dir, f) for f in filenames) 1333 cache_entry = self._cache['device_path_checksums'].get(device_path) 1340 self._cache['device_path_checksums'][device_path] = cache_entry 1348 return ([(host_path, device_path)], [], [], lambda: 0) 1355 device_checksum = device_checksums.get(device_path) 1359 to_push.append((host_path, device_path)) 1363 device_path, os.path.relpath(host_abs_path, host_path)) [all …]
|
/external/vboot_reference/firmware/stub/ |
D | tpm_lite_stub.c | 154 char* device_path; in VbExTpmOpen() local 161 device_path = getenv("TPM_DEVICE_PATH"); in VbExTpmOpen() 162 if (device_path == NULL) { in VbExTpmOpen() 163 device_path = TPM_DEVICE_PATH; in VbExTpmOpen() 169 tpm_fd = open(device_path, O_RDWR); in VbExTpmOpen() 176 VBDEBUG(("TPM: retrying %s: %s\n", device_path, strerror(errno))); in VbExTpmOpen() 184 device_path, strerror(saved_errno)); in VbExTpmOpen()
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | device_utils.py | 1209 def _GetChangedAndStaleFiles(self, host_path, device_path, track_stale=False): argument 1228 device_path = device_path.rstrip('/') 1230 specific_device_paths = [device_path] 1237 posixpath.join(device_path, relative_dir, f) for f in filenames) 1244 cache_entry = self._cache['device_path_checksums'].get(device_path) 1251 self._cache['device_path_checksums'][device_path] = cache_entry 1259 return ([(host_path, device_path)], [], [], lambda: 0) 1266 device_checksum = device_checksums.get(device_path) 1270 to_push.append((host_path, device_path)) 1274 device_path, os.path.relpath(host_abs_path, host_path)) [all …]
|
/external/libusb/examples/ |
D | fxload.c | 87 const char *device_path = getenv("DEVICE"); in main() local 112 device_path = optarg; in main() 113 if (sscanf(device_path, "%u,%u", &busnum, &devaddr) != 2 ) { in main() 156 if ((device_id != NULL) && (device_path != NULL)) { in main() 184 if ((type == NULL) || (device_id == NULL) || (device_path != NULL)) { in main() 192 if ((type != NULL) && (device_path != NULL)) { in main() 207 ((type == NULL) && (device_id == NULL) && (device_path == NULL)) || in main() 211 ((type == NULL) && (device_path != NULL) && (busnum == _busnum) && (devaddr == _devaddr)) || in main() 213 …((type != NULL) && (device_id == NULL) && (device_path == NULL) && (fx_type == known_device[j].typ… in main()
|
/external/autotest/client/cros/i2c/ |
D | usb_to_i2c.py | 103 def __init__(self, device_path): argument 109 self.logger.info('Setup serial device... [%s]', device_path) 110 self.device_path = device_path 111 self.serial = serial.Serial(port=self.device_path,
|
/external/libmojo/third_party/catapult/devil/devil/android/sdk/ |
D | adb_wrapper_devicetest.py | 66 device_path = '/data/local/tmp/testfile.txt' 68 self._adb.Push(path, device_path) 72 self.assertEqual(self._adb.Shell('cat %s' % device_path), 'foo') 73 self._adb.Pull(device_path, local_tmpdir)
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | adb_wrapper_devicetest.py | 69 device_path = '/data/local/tmp/testfile.txt' 71 self._adb.Push(path, device_path) 75 self.assertEqual(self._adb.Shell('cat %s' % device_path), 'foo') 76 self._adb.Pull(device_path, local_tmpdir)
|
/external/autotest/client/common_lib/cros/network/ |
D | interface.py | 164 device_path = os.path.join(DEVICE_INFO_ROOT, self._name, 'device') 165 if not exists(device_path): 166 logging.error('No device information found at %s', device_path) 172 vendor_id = read_file(os.path.join(device_path, 'vendor')) 173 product_id = read_file(os.path.join(device_path, 'device')) 183 os.path.join(device_path, 'driver', 'module'),
|
/external/autotest/client/site_tests/hardware_StorageFio/ |
D | hardware_StorageFio.py | 50 device_path = findsys.stdout.rstrip() 52 vendor_file = device_path.replace('block/%s' % device, 'vendor') 53 model_file = device_path.replace('block/%s' % device, 'model')
|
/external/autotest/client/cros/bluetooth/ |
D | bluetooth_device_xmlrpc_server.py | 60 def RequestPinCode(self, device_path): argument 70 logging.info('RequestPinCode for %s; return %s', device_path, self._pin) 913 def _set_trusted_by_path(self, device_path, trusted=True): argument 924 device_path) 981 device_path = device.object_path 990 logging.info('Device paired: %s', device_path) 992 self._set_trusted_by_path(device_path, trusted=True) 993 logging.info('Device trusted: %s', device_path) 1343 device_path = self._get_device_path(address) 1346 if device_path: [all …]
|
/external/autotest/client/site_tests/network_DhcpVendorEncapsulatedOptions/ |
D | network_DhcpVendorEncapsulatedOptions.py | 46 device_path = shill_proxy.ShillProxy.dbus2primitive(device.object_path) 47 service = proxy.find_object('Service', {'Device': device_path})
|
/external/vboot_reference/cgpt/ |
D | cgpt_wrapper.c | 42 static bool is_mtd(const char *device_path) { in is_mtd() argument 44 if (lstat(device_path, &stat) != 0) { in is_mtd()
|
/external/chromium-trace/catapult/devil/docs/ |
D | device_utils.md | 501 host_device_tuples: A list of (host_path, device_path) tuples, where 503 that should be minimially pushed to the device, and |device_path| is 529 device_path: A string containing the absolute path to the file on the 550 device_path: A string containing the absolute path to the file on the 566 device_path: A string containing the absolute path of the file to pull 584 device_path: A string containing the absolute path of the file to read 595 The contents of |device_path| as a string. Contents are intepreted using 612 device_path: A string containing the absolute path to the file to write 639 device_path: A string containing the path of the directory on the device 650 AdbCommandFailedError if |device_path| does not specify a valid and [all …]
|
/external/autotest/client/cros/ |
D | network.py | 169 device_path = service_properties['Device'] 170 device = conn_mgr.GetObjectInterface('Device', device_path)
|
D | dhcpv6_test_base.py | 61 device_path = shill_proxy.ShillProxy.dbus2primitive(device.object_path) 62 return self.shill_proxy.find_object('Service', {'Device': device_path})
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | mock_calls_test.py | 27 def Push(self, host_path, device_path): argument 28 logging.debug('(device %s) pushing %r to %r', self, host_path, device_path)
|
/external/autotest/client/site_tests/network_VPNConnect/ |
D | network_VPNConnect.py | 60 device_path = shill_proxy.ShillProxy.dbus2primitive(device.object_path) 61 return self._shill_proxy.find_object('Service', {'Device': device_path})
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
D | mock_calls_test.py | 27 def Push(self, host_path, device_path): argument 28 logging.debug('(device %s) pushing %r to %r', self, host_path, device_path)
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
D | common_types.h | 16 std::string device_path; member
|