Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/chromeos/cros/
Dmount_library.cc18 MountLibrary::Disk::Disk(const std::string& device_path, in Disk() argument
31 : device_path_(device_path), in Disk()
72 virtual void MountPath(const char* device_path) OVERRIDE { in MountPath() argument
75 OnMountRemovableDevice(device_path, in MountPath()
81 MountRemovableDevice(device_path, in MountPath()
86 virtual void UnmountPath(const char* device_path) OVERRIDE { in UnmountPath() argument
89 OnUnmountRemovableDevice(device_path, in UnmountPath()
94 UnmountRemovableDevice(device_path, in UnmountPath()
116 OnGetDiskProperties(disk->device_path().c_str(), in RefreshDiskProperties()
122 GetDiskProperties(disk->device_path().c_str(), in RefreshDiskProperties()
[all …]
Dmount_library.h38 Disk(const std::string& device_path,
52 const std::string& device_path() const { return device_path_; } in device_path() function
105 const std::string& device_path ) = 0;
114 virtual void MountPath(const char* device_path) = 0;
115 virtual void UnmountPath(const char* device_path) = 0;
Dnetwork_library.cc890 NetworkDevice::NetworkDevice(const std::string& device_path) in NetworkDevice() argument
891 : device_path_(device_path), in NetworkDevice()
2194 virtual void AddNetworkDeviceObserver(const std::string& device_path, in AddNetworkDeviceObserver() argument
2201 network_device_observers_.find(device_path); in AddNetworkDeviceObserver()
2209 << device_path; in AddNetworkDeviceObserver()
2213 virtual void RemoveNetworkDeviceObserver(const std::string& device_path, in RemoveNetworkDeviceObserver() argument
2216 DCHECK(device_path.size()); in RemoveNetworkDeviceObserver()
2218 network_device_observers_.find(device_path); in RemoveNetworkDeviceObserver()
2473 chromeos::RequestChangePin(cellular->device_path().c_str(), in ChangePin()
2488 chromeos::RequestRequirePin(cellular->device_path().c_str(), in ChangeRequirePin()
[all …]
Dnetwork_library.h193 explicit NetworkDevice(const std::string& device_path);
196 const std::string& device_path() const { return device_path_; } in device_path() function
280 const std::string& device_path() const { return device_path_; } in device_path() function
845 NetworkIPConfig(const std::string& device_path, IPConfigType type, in NetworkIPConfig()
848 : device_path(device_path), in NetworkIPConfig()
860 std::string device_path; member
941 virtual void AddNetworkDeviceObserver(const std::string& device_path,
944 virtual void RemoveNetworkDeviceObserver(const std::string& device_path,
1169 const std::string& device_path,
/external/chromium/chrome/browser/chromeos/extensions/
Dfile_browser_event_router.cc104 const std::string& device_path) { in DeviceChanged() argument
106 OnDeviceAdded(device_path); in DeviceChanged()
108 OnDeviceRemoved(device_path); in DeviceChanged()
110 OnDeviceScanned(device_path); in DeviceChanged()
138 VLOG(1) << "Disk added: " << disk->device_path(); in OnDiskAdded()
139 if (disk->device_path().empty()) { in OnDiskAdded()
140 VLOG(1) << "Empty system path for " << disk->device_path(); in OnDiskAdded()
154 lib->MountPath(disk->device_path().c_str()); in OnDiskAdded()
160 VLOG(1) << "Disk removed: " << disk->device_path(); in OnDiskRemoved()
162 MountPointMap::iterator iter = mounted_devices_.find(disk->device_path()); in OnDiskRemoved()
[all …]
Dfile_browser_event_router.h38 const std::string& device_path);
53 void OnDeviceAdded(const std::string& device_path);
54 void OnDeviceRemoved(const std::string& device_path);
55 void OnDeviceScanned(const std::string& device_path);
69 const std::string& device_path,
/external/chromium/third_party/libjingle/source/talk/session/phone/
Dv4llookup.cc27 bool V4LLookup::CheckIsV4L2Device(const std::string& device_path) { in CheckIsV4L2Device() argument
31 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false; in CheckIsV4L2Device()
40 video_fd = ::open(device_path.c_str(), O_RDONLY | O_NONBLOCK); in CheckIsV4L2Device()
48 LOG(LS_INFO) << "Found V4L2 capture device " << device_path; in CheckIsV4L2Device()
52 LOG(LS_ERROR) << "VIDIOC_QUERYCAP failed for " << device_path; in CheckIsV4L2Device()
55 LOG(LS_ERROR) << "Failed to open " << device_path; in CheckIsV4L2Device()
Dv4llookup.h20 static bool IsV4L2Device(const std::string& device_path) { in IsV4L2Device() argument
21 return GetV4LLookup()->CheckIsV4L2Device(device_path); in IsV4L2Device()
35 virtual bool CheckIsV4L2Device(const std::string& device_path);
Ddevicemanager.cc831 std::string device_path = "/dev/" + filename; in ScanV4L2Devices() local
833 if (V4LLookup::IsV4L2Device(device_path)) { in ScanV4L2Devices()
835 Device(GetVideoDeviceName(meta, filename), device_path)); in ScanV4L2Devices()
/external/chromium/chrome/browser/chromeos/
Dsms_observer.cc44 if (it_observer->first == (*it_network)->device_path()) { in UpdateObservers()
62 observers_.find((*it_network)->device_path()); in UpdateObservers()
64 VLOG(1) << "Add SMS monitor for " << (*it_network)->device_path(); in UpdateObservers()
65 observers_.insert(ObserversMap::value_type((*it_network)->device_path(), in UpdateObservers()
66 MonitorSMS((*it_network)->device_path().c_str(), in UpdateObservers()
69 VLOG(1) << "Already has SMS monitor for " << (*it_network)->device_path(); in UpdateObservers()
/external/qemu/
Dtap-win32.c566 char device_path[256]; in tap_win32_open() local
588 snprintf (device_path, sizeof(device_path), "%s%s%s", in tap_win32_open()
594 device_path, in tap_win32_open()
/external/chromium/chrome/browser/chromeos/status/
Dnetwork_menu_button.cc129 cellular_device_path_ = cellular->device_path(); in NetworkMenuButton()
410 cellular->device_path() : std::string(); in RefreshNetworkDeviceObserver()
Dnetwork_menu.cc793 cros->GetIPConfigs(ether->device_path(), &hardware_address, in InitMenuItems()
807 cros->GetIPConfigs(wifi->device_path(), in InitMenuItems()
/external/chromium/chrome/browser/ui/webui/chromeos/
Dchoose_mobile_network_ui.cc140 device_path_ = cellular->device_path(); in ChooseMobileNetworkHandler()
Dimageburner_ui.h185 const std::string& device_path) OVERRIDE;
Dsim_unlock_ui.cc317 cellular_device_path_ = cellular->device_path(); in SimUnlockHandler()
Dimageburner_ui.cc228 const std::string& device_path) { in DeviceChanged() argument
Dmobile_setup_ui.cc1273 cros->FindNetworkDeviceByPath(network->device_path()); in GetDeviceInfo()
/external/grub/stage2/
Dbios.c226 unsigned char device_path[8]; in get_diskinfo() member
/external/chromium/base/
Dfile_util_win.cc37 bool DevicePathToDriveLetterPath(const FilePath& device_path, in DevicePathToDriveLetterPath() argument
62 StartsWith(device_path.value(), device_name, true)) { in DevicePathToDriveLetterPath()
64 device_path.value().substr(wcslen(device_name))); in DevicePathToDriveLetterPath()
/external/chromium/chrome/browser/automation/
Dtesting_automation_provider_chromeos.cc39 item->SetString("device_path", network->device_path()); in GetNetworkInfoDict()
/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dinternet_options_handler.cc607 net->device_path(), &hardware_address, in PopulateDictionaryDetails()
707 cros->FindNetworkDeviceByPath(cellular->device_path()); in PopulateCellularDetails()
/external/qemu-pc-bios/bochs/bios/
Drombios.c772 Bit8u device_path[8];
5553 write_byte(DS, SI+(Bit16u)&Int13DPT->device_path[0], device%2);
5554 write_byte(DS, SI+(Bit16u)&Int13DPT->device_path[1], 0);
5555 write_word(DS, SI+(Bit16u)&Int13DPT->device_path[2], 0);
5556 write_dword(DS, SI+(Bit16u)&Int13DPT->device_path[4], 0L);
5901 write_byte(DS, SI+(Bit16u)&Int13DPT->device_path[0], device%2);
5902 write_byte(DS, SI+(Bit16u)&Int13DPT->device_path[1], 0);
5903 write_word(DS, SI+(Bit16u)&Int13DPT->device_path[2], 0);
5904 write_dword(DS, SI+(Bit16u)&Int13DPT->device_path[4], 0L);