/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;
|
linuxdevicemanager.cc | 268 std::string device_path = "/dev/" + filename; local 270 if (V4LLookup::IsV4L2Device(device_path)) { 272 Device(GetVideoDeviceName(meta, filename), device_path));
|
/external/v8/build/android/ |
adb_command_line.py | 37 as_root = not args.device_path.startswith('/data/local/tmp/') 46 return device.ReadFile(args.device_path, as_root=as_root).rstrip() 57 print 'Existing flags (in %s):' % args.device_path 64 device.RunShellCommand(['rm', '-f', args.device_path], as_root=as_root) 66 print 'Deleted %s' % args.device_path 74 device.WriteFile(args.device_path, flags_str, as_root=as_root) 75 device.RunShellCommand(['chmod', '0664', args.device_path], as_root=as_root) 78 print 'Wrote flags to %s' % args.device_path
|
update_verification.py | 52 device_path = device.GetApplicationPaths(package_name) 53 if not device_path:
|
/system/connectivity/shill/bin/ |
reload_network_device | 52 device_path=$(readlink -f "/sys${DEVPATH}/../..") 58 device_remove_path="${device_path}/remove" 59 bus_rescan_path=$(readlink -f "${device_path}/../rescan") 87 device_authorize_path=$(readlink -f "${device_path}/../authorized")
|
/system/core/fastboot/ |
usb.h | 53 char device_path[256]; member in struct:usb_ifc_info
|
/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/v8/build/android/gyp/ |
push_libraries.py | 38 device_path = os.path.join(options.device_dir, lib) 45 device.PushChangedFiles([(os.path.abspath(host_path), device_path)]) 52 input_strings=[device_path])
|
/hardware/bsp/intel/peripheral/libmraa/src/arm/ |
96boards.c | 74 b->uart_dev[0].device_path = db410c_serialdev[0]; 75 b->uart_dev[1].device_path = db410c_serialdev[1]; 80 b->uart_dev[0].device_path = hikey_serialdev[0]; 81 b->uart_dev[1].device_path = hikey_serialdev[1];
|
/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,
|
/system/weaved/buffet/ |
shill_client.cc | 276 for (const auto& device_path : property_value.TryGet<vector<ObjectPath>>()) { 277 if (!device_path.IsValid()) { 281 auto it = devices_.find(device_path); 285 device_paths_to_remove.erase(device_path); 288 std::unique_ptr<DeviceProxy> device{new DeviceProxy{bus_, device_path}}; 292 VLOG(3) << "Creating device proxy at " << device_path.value(); 293 devices_[device_path].device = std::move(device); 295 devices_[device_path].device->RegisterPropertyChangedSignalHandler( 297 weak_factory_.GetWeakPtr(), device_path), 299 weak_factory_.GetWeakPtr(), device_path)); [all...] |
shill_client.h | 85 void OnDevicePropertyChangeRegistration(const dbus::ObjectPath& device_path, 89 void OnDevicePropertyChange(const dbus::ObjectPath& device_path,
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
adb_wrapper_devicetest.py | 65 device_path = '/data/local/tmp/testfile.txt' 67 self._adb.Push(path, device_path) 71 self.assertEqual(self._adb.Shell('cat %s' % device_path), 'foo') 72 self._adb.Pull(device_path, local_tmpdir)
|
/system/core/debuggerd/ |
getevent.cpp | 167 const char* device_path = "/dev/input"; local 174 res = inotify_add_watch(ufds[0].fd, device_path, IN_DELETE | IN_CREATE); 178 res = scan_dir(device_path); 199 const char* device_path = "/dev/input"; local 206 read_notify(device_path, ufds[0].fd);
|
/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')
|
/external/skia/infra/bots/flavor/ |
default_flavor.py | 115 'host_path and device_path are the same (%s vs %s).' % ( 125 'host_path and device_path are the same (%s vs %s).' % ( 128 def copy_file_to_device(self, host_path, device_path): 132 if str(host_path) != str(device_path): # pragma: no cover 135 'host_path and device_path are the same (%s vs %s).' % ( 136 str(host_path), str(device_path)))
|
ios_flavor.py | 74 def copy_file_to_device(self, host_path, device_path): 77 [os.path.join(self.ios_bin, 'ios_push_file'), host_path, device_path],
|
ssh_flavor.py | 112 def copy_file_to_device(self, host_path, device_path): 114 cmd, remote_path = self._make_scp_cmd(device_path, recurse=False)
|
/external/autotest/client/common_lib/cros/network/ |
interface.py | 160 device_path = os.path.join(DEVICE_INFO_ROOT, self._name, 'device') 161 if not exists(device_path): 162 logging.error('No device information found at %s', device_path) 168 vendor_id = read_file(os.path.join(device_path, 'vendor')) 169 product_id = read_file(os.path.join(device_path, 'device')) 179 os.path.join(device_path, 'driver', 'module'),
|
/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})
|
/external/chromium-trace/catapult/devil/devil/android/ |
device_utils.py | [all...] |
/external/vboot_reference/cgpt/ |
cgpt_wrapper.c | 41 // Check if |device_path| is an MTD device based on its major number being 90. 42 static bool is_mtd(const char *device_path) { 44 if (lstat(device_path, &stat) != 0) {
|
/system/update_engine/ |
boot_control_chromeos.cc | 258 base::FilePath device_path(device); 259 if (device_path.DirName().value() != "/dev") { 262 return base::FilePath("/sys/block").Append(device_path.BaseName()).value();
|
/system/core/toolbox/ |
getevent.c | 532 const char *device_path = "/dev/input"; local 626 res = inotify_add_watch(ufds[0].fd, device_path, IN_DELETE | IN_CREATE); 628 fprintf(stderr, "could not add watch for %s, %s\n", device_path, strerror(errno)); 631 res = scan_dir(device_path, print_flags); 633 fprintf(stderr, "scan dir failed for %s\n", device_path); 659 read_notify(device_path, ufds[0].fd, print_flags);
|