Home
last modified time | relevance | path

Searched refs:device_path (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Virtualization/libs/devicemapper/src/
Dcrypt.rs84 device_path: Option<&'a Path>, field
96 device_path: None, in default()
107 self.device_path = Some(p); in data_device()
147 let device_path = self in build() localVariable
148 .device_path in build()
170 write!(&mut body, "{} ", device_path)?; in build()
Dloopdevice.rs139 let device_path = format!("{}{}", LOOP_DEV_PREFIX, num); in try_attach() localVariable
140 wait_for_path(&device_path)?; in try_attach()
144 .open(&device_path) in try_attach()
145 .context(format!("failed to open {:?}", &device_path))?; in try_attach()
147 .context(format!("Failed to configure {:?}", &device_path))?; in try_attach()
149 Ok(PathBuf::from(device_path)) in try_attach()
/packages/services/DeviceAsWebcam/tests/
Dlinux_webcam_test.py42 device_path = ''
70 device_path = current_device_path
77 return device_path
321 device_path = initialize_device_path()
322 if not device_path:
327 video_device = os.open(device_path, os.O_RDWR | os.O_NONBLOCK)
/packages/modules/adb/client/
Dusb_libusb.cpp933 std::string device_path = in device_connected() local
950 while (access(device_path.c_str(), R_OK | W_OK) == -1) { in device_connected()