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

1 2 3

  /external/webrtc/talk/media/devices/
v4llookup.h 46 static bool IsV4L2Device(const std::string& device_path) {
47 return GetV4LLookup()->CheckIsV4L2Device(device_path);
64 virtual bool CheckIsV4L2Device(const std::string& device_path);
v4llookup.cc 53 bool V4LLookup::CheckIsV4L2Device(const std::string& device_path) {
57 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false;
66 video_fd = ::open(device_path.c_str(), O_RDONLY | O_NONBLOCK);
74 LOG(LS_INFO) << "Found V4L2 capture device " << device_path;
78 LOG_ERRNO(LS_ERROR) << "VIDIOC_QUERYCAP failed for " << device_path;
81 LOG_ERRNO(LS_ERROR) << "Failed to open " << device_path;
  /system/core/fastboot/
usb.h 53 char device_path[256]; member in struct:usb_ifc_info
  /external/tensorflow/tensorflow/core/debug/
debug_node_key.h 46 const string device_path; member in struct:tensorflow::DebugNodeKey
debug_node_key.cc 34 device_path(DeviceNameToDevicePath(device_name)) {}
  /external/skia/infra/bots/recipe_modules/flavor/
gn_chromebook_flavor.py 176 def _prefix_device_path(self, device_path):
177 return '%s:%s' % (self.user_ip, device_path)
179 def copy_file_to_device(self, host_path, device_path):
180 device_path = self._prefix_device_path(device_path)
182 self.m.python.inline(str('scp %s %s' % (host_path, device_path)),
189 """, args=[host_path, device_path], infra_step=True)
203 def copy_directory_contents_to_device(self, host_path, device_path):
204 self._copy_dir(host_path, self._prefix_device_path(device_path))
206 def copy_directory_contents_to_host(self, device_path, host_path)
    [all...]
default_flavor.py 113 'host_path and device_path are the same (%s vs %s).' % (
123 'host_path and device_path are the same (%s vs %s).' % (
126 def copy_file_to_device(self, host_path, device_path):
130 if str(host_path) != str(device_path):
133 'host_path and device_path are the same (%s vs %s).' % (
134 str(host_path), str(device_path)))
  /external/skqp/infra/bots/recipe_modules/flavor/
gn_chromebook_flavor.py 176 def _prefix_device_path(self, device_path):
177 return '%s:%s' % (self.user_ip, device_path)
179 def copy_file_to_device(self, host_path, device_path):
180 device_path = self._prefix_device_path(device_path)
182 self.m.python.inline(str('scp %s %s' % (host_path, device_path)),
189 """, args=[host_path, device_path], infra_step=True)
203 def copy_directory_contents_to_device(self, host_path, device_path):
204 self._copy_dir(host_path, self._prefix_device_path(device_path))
206 def copy_directory_contents_to_host(self, device_path, host_path)
    [all...]
default_flavor.py 113 'host_path and device_path are the same (%s vs %s).' % (
123 'host_path and device_path are the same (%s vs %s).' % (
126 def copy_file_to_device(self, host_path, device_path):
130 if str(host_path) != str(device_path):
133 'host_path and device_path are the same (%s vs %s).' % (
134 str(host_path), str(device_path)))
  /external/vboot_reference/firmware/stub/
tpm_lite_stub.c 154 char* device_path; local
161 device_path = getenv("TPM_DEVICE_PATH");
162 if (device_path == NULL) {
163 device_path = TPM_DEVICE_PATH;
169 tpm_fd = open(device_path, O_RDWR);
176 VBDEBUG(("TPM: retrying %s: %s\n", device_path, strerror(errno)));
184 device_path, strerror(saved_errno));
  /external/libusb/examples/
fxload.c 87 const char *device_path = getenv("DEVICE"); local
112 device_path = optarg;
113 if (sscanf(device_path, "%u,%u", &busnum, &devaddr) != 2 ) {
156 if ((device_id != NULL) && (device_path != NULL)) {
184 if ((type == NULL) || (device_id == NULL) || (device_path != NULL)) {
192 if ((type != NULL) && (device_path != NULL)) {
207 ((type == NULL) && (device_id == NULL) && (device_path == NULL)) ||
211 ((type == NULL) && (device_path != NULL) && (busnum == _busnum) && (devaddr == _devaddr)) ||
213 ((type != NULL) && (device_id == NULL) && (device_path == NULL) && (fx_type == known_device[j].type)) ) {
  /hardware/libhardware/modules/camera/3_4/arc/
common_types.h 17 std::string device_path; member in struct:arc::DeviceInfo
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/libcxx/ndk/test/
format.py 51 device_path = self._working_directory(exec_file)
52 cmd = ['adb', 'shell', 'rm', '-r', device_path]
  /external/autotest/client/cros/i2c/
usb_to_i2c.py 103 def __init__(self, device_path):
106 @param device_path: The device path of serial port.
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,
  /test/vts/testcases/host/verify_dtbo/
VtsFirmwareDtboVerification.py 60 device_path: The temporary directory on device.
70 self.device_path = str(
72 self.shell.Execute("mkdir %s -p" % self.device_path)
158 self.adb.push(overlay_path, self.device_path)
160 final_dt_path = path_utils.JoinTargetPath(self.device_path, "final_dt")
163 self.device_path, "ufdt_verify_overlay")
167 cd_cmd = "cd %s" % (self.device_path)
179 self.shell.Execute("rm -rf %s" % self.device_path)
  /external/autotest/client/site_tests/camera_V4L2/src/
common_types.h 16 std::string device_path; member in struct:DeviceInfo
  /external/chromium-trace/catapult/devil/devil/android/sdk/
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/libmojo/third_party/catapult/devil/devil/android/sdk/
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/autotest/client/common_lib/cros/network/
interface.py 158 def device_path(self): member in class:Interface
161 device_path = os.path.join(DEVICE_INFO_ROOT, self._name, 'device')
162 if not self.host.path_exists(device_path):
163 logging.error('No device information found at %s', device_path)
166 return device_path
179 device_path = self.device_path
180 if not device_path:
187 vendor_id = read_file(os.path.join(device_path, 'vendor'))
188 product_id = read_file(os.path.join(device_path, 'device')
    [all...]
  /external/chromium-trace/catapult/devil/devil/android/
device_utils.py     [all...]
  /external/autotest/client/site_tests/hardware_StorageFio/
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')
  /system/extras/simpleperf/scripts/
binary_cache_builder.py 206 def _pull_file_from_device(self, device_path, host_path):
207 if self.adb.run(['pull', device_path, host_path]):
211 filename = device_path[device_path.rfind('/')+1:]
212 if (self.adb.run(['shell', 'cp', device_path, '/data/local/tmp']) and
216 log_warning('failed to pull %s from device' % device_path)
  /external/autotest/client/site_tests/network_DhcpVendorEncapsulatedOptions/
network_DhcpVendorEncapsulatedOptions.py 46 device_path = shill_proxy.ShillProxy.dbus2primitive(device.object_path)
47 service = proxy.find_object('Service', {'Device': device_path})
  /hardware/libhardware/modules/camera/3_4/
v4l2_wrapper.h 41 static V4L2Wrapper* NewV4L2Wrapper(const std::string device_path);
94 V4L2Wrapper(const std::string device_path);
  /external/libmojo/third_party/catapult/devil/devil/android/
device_utils.py     [all...]

Completed in 841 milliseconds

1 2 3