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

1 2 3 4 5 6 7

  /external/chromium_org/third_party/libjingle/source/talk/media/devices/
v4llookup.h 20 static bool IsV4L2Device(const std::string& device_path) {
21 return GetV4LLookup()->CheckIsV4L2Device(device_path);
38 virtual bool CheckIsV4L2Device(const std::string& device_path);
v4llookup.cc 27 bool V4LLookup::CheckIsV4L2Device(const std::string& device_path) {
31 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false;
40 video_fd = ::open(device_path.c_str(), O_RDONLY | O_NONBLOCK);
48 LOG(LS_INFO) << "Found V4L2 capture device " << device_path;
52 LOG_ERRNO(LS_ERROR) << "VIDIOC_QUERYCAP failed for " << device_path;
55 LOG_ERRNO(LS_ERROR) << "Failed to open " << device_path;
  /external/chromium_org/chromeos/dbus/
fake_bluetooth_agent_service_provider.cc 41 const dbus::ObjectPath& device_path,
44 << device_path.value();
45 delegate_->RequestPinCode(device_path, callback);
49 const dbus::ObjectPath& device_path,
52 << device_path.value();
53 delegate_->DisplayPinCode(device_path, pincode);
57 const dbus::ObjectPath& device_path,
60 << device_path.value();
61 delegate_->RequestPasskey(device_path, callback);
65 const dbus::ObjectPath& device_path,
    [all...]
fake_bluetooth_agent_service_provider.h 33 virtual void RequestPinCode(const dbus::ObjectPath& device_path,
35 virtual void DisplayPinCode(const dbus::ObjectPath& device_path,
37 virtual void RequestPasskey(const dbus::ObjectPath& device_path,
39 virtual void DisplayPasskey(const dbus::ObjectPath& device_path,
42 const dbus::ObjectPath& device_path,
46 const dbus::ObjectPath& device_path,
49 const dbus::ObjectPath& device_path,
shill_device_client.h 47 virtual void AddDevice(const std::string& device_path,
50 virtual void RemoveDevice(const std::string& device_path) = 0;
52 virtual void SetDeviceProperty(const std::string& device_path,
67 // Adds a property changed |observer| for the device at |device_path|.
69 const dbus::ObjectPath& device_path,
72 // Removes a property changed |observer| for the device at |device_path|.
74 const dbus::ObjectPath& device_path,
79 virtual void GetProperties(const dbus::ObjectPath& device_path,
84 virtual void ProposeScan(const dbus::ObjectPath& device_path,
89 virtual void SetProperty(const dbus::ObjectPath& device_path,
    [all...]
fake_shill_device_client.h 28 const dbus::ObjectPath& device_path,
31 const dbus::ObjectPath& device_path,
33 virtual void GetProperties(const dbus::ObjectPath& device_path,
35 virtual void ProposeScan(const dbus::ObjectPath& device_path,
37 virtual void SetProperty(const dbus::ObjectPath& device_path,
42 virtual void ClearProperty(const dbus::ObjectPath& device_path,
46 const dbus::ObjectPath& device_path,
49 virtual void RequirePin(const dbus::ObjectPath& device_path,
54 virtual void EnterPin(const dbus::ObjectPath& device_path,
58 virtual void UnblockPin(const dbus::ObjectPath& device_path,
    [all...]
fake_shill_device_client.cc 25 void ErrorFunction(const std::string& device_path,
28 LOG(ERROR) << "Shill Error for: " << device_path
57 const dbus::ObjectPath& device_path,
59 GetObserverList(device_path).AddObserver(observer);
63 const dbus::ObjectPath& device_path,
65 GetObserverList(device_path).RemoveObserver(observer);
69 const dbus::ObjectPath& device_path,
75 device_path, callback));
79 const dbus::ObjectPath& device_path,
84 void FakeShillDeviceClient::SetProperty(const dbus::ObjectPath& device_path,
    [all...]
bluetooth_agent_service_provider.h 73 // PIN Code for authentication of the device with object path |device_path|,
79 virtual void RequestPinCode(const dbus::ObjectPath& device_path,
84 // |device_path| so that it may be authenticated. The Cancel() method
91 virtual void DisplayPinCode(const dbus::ObjectPath& device_path,
95 // Passkey for authentication of the device with object path |device_path|,
103 virtual void RequestPasskey(const dbus::ObjectPath& device_path,
108 // |device_path| so that it may be authenticated. The Cancel() method
119 virtual void DisplayPasskey(const dbus::ObjectPath& device_path,
133 virtual void RequestConfirmation(const dbus::ObjectPath& device_path,
139 // path |device_path| that would have otherwised triggered the just-work
    [all...]
shill_device_client.cc 46 const dbus::ObjectPath& device_path,
48 GetHelper(device_path)->AddPropertyChangedObserver(observer);
52 const dbus::ObjectPath& device_path,
54 GetHelper(device_path)->RemovePropertyChangedObserver(observer);
57 virtual void GetProperties(const dbus::ObjectPath& device_path,
61 GetHelper(device_path)->CallDictionaryValueMethod(&method_call, callback);
64 virtual void ProposeScan(const dbus::ObjectPath& device_path,
68 GetHelper(device_path)->CallVoidMethod(&method_call, callback);
71 virtual void SetProperty(const dbus::ObjectPath& device_path,
81 GetHelper(device_path)->CallVoidMethodWithErrorCallback(&method_call
    [all...]
fake_bluetooth_profile_service_provider.cc 41 const dbus::ObjectPath& device_path,
46 << device_path.value();
47 delegate_->NewConnection(device_path, fd.Pass(), options, callback);
51 const dbus::ObjectPath& device_path,
54 << device_path.value();
55 delegate_->RequestDisconnection(device_path, callback);
fake_bluetooth_profile_service_provider.h 33 const dbus::ObjectPath& device_path,
38 const dbus::ObjectPath& device_path,
  /external/chromium_org/chrome/browser/chromeos/file_manager/
volume_manager_observer.h 31 virtual void OnDeviceAdded(const std::string& device_path) = 0;
34 virtual void OnDeviceRemoved(const std::string& device_path,
48 const std::string& device_path, bool success) = 0;
52 const std::string& device_path, bool success) = 0;
  /external/chromium_org/device/hid/
hid_service_win.h 30 void PlatformAddDevice(const std::string& device_path);
31 void PlatformRemoveDevice(const std::string& device_path);
  /external/chromium_org/chromeos/network/
network_ip_config.cc 31 const std::string& device_path, IPConfigType type,
34 : device_path(device_path),
45 return std::string("path: ") + device_path
fake_network_device_handler.cc 14 const std::string& device_path,
19 const std::string& device_path,
26 const std::string& device_path,
31 const std::string& device_path,
36 const std::string& device_path,
42 const std::string& device_path,
48 const std::string& device_path,
55 const std::string& device_path,
61 const std::string& device_path,
68 const std::string& device_path,
    [all...]
fake_network_device_handler.h 24 const std::string& device_path,
29 const std::string& device_path,
36 const std::string& device_path,
40 virtual void ProposeScan(const std::string& device_path,
46 const std::string& device_path,
51 virtual void SetCarrier(const std::string& device_path,
57 virtual void RequirePin(const std::string& device_path,
64 virtual void EnterPin(const std::string& device_path,
70 virtual void UnblockPin(const std::string& device_path,
77 virtual void ChangePin(const std::string& device_path,
    [all...]
network_device_handler.h 49 // Gets the properties of the device with id |device_path|. See note on
52 const std::string& device_path,
56 // Sets the value of property |name| on device with id |device_path| to
61 const std::string& device_path,
68 // |device_path| if it exists. This will apply any newly configured
71 const std::string& device_path,
75 // Requests a network scan on the device specified by |device_path|.
86 const std::string& device_path,
90 // Tells the device specified by |device_path| to register to the cellular
97 const std::string& device_path,
    [all...]
network_device_handler_impl.h 32 const std::string& device_path,
37 const std::string& device_path,
44 const std::string& device_path,
48 virtual void ProposeScan(const std::string& device_path,
54 const std::string& device_path,
59 virtual void SetCarrier(const std::string& device_path,
65 virtual void RequirePin(const std::string& device_path,
72 virtual void EnterPin(const std::string& device_path,
78 virtual void UnblockPin(const std::string& device_path,
85 virtual void ChangePin(const std::string& device_path,
    [all...]
network_device_handler_impl.cc 52 const std::string& device_path,
58 device_path, local
78 const std::string& device_path,
83 NET_LOG_ERROR("RequestRefreshIPConfigs Failed", device_path);
86 device_path,
109 const std::string& device_path,
116 device_path,
121 NET_LOG_EVENT("Device.ProposeScan succeeded.", device_path);
127 const std::string& device_path,
133 dbus::ObjectPath(device_path),
    [all...]
  /external/chromium_org/components/storage_monitor/
test_volume_mount_watcher_win.cc 54 // Gets the details of the mass storage device specified by the |device_path|.
55 // |device_path| inputs of 'A:\' - 'Z:\' are valid. 'N:\' is not removable.
57 bool GetMassStorageDeviceDetails(const base::FilePath& device_path,
62 base::FilePath path(device_path);
63 if (device_path.value().length() > 3)
64 path = base::FilePath(device_path.value().substr(0, 3));
76 unique_id[11] = device_path.value()[0];
96 const base::FilePath& device_path,
100 StorageInfo info(device_id, device_path.value(), storage_label,
102 HandleDeviceAttachEventOnUIThread(device_path, info)
    [all...]
test_volume_mount_watcher_win.h 29 static bool GetDeviceRemovable(const base::FilePath& device_path,
32 void AddDeviceForTesting(const base::FilePath& device_path,
41 virtual void DeviceCheckComplete(const base::FilePath& device_path);
udev_util_linux.cc 18 bool GetUdevDevicePropertyValueByPath(const base::FilePath& device_path,
25 udev.get(), device_path.value().c_str()));
udev_util_linux.h 26 // pair. |device_path| is the absolute path to the device, including /sys.
27 bool GetUdevDevicePropertyValueByPath(const base::FilePath& device_path,
volume_mount_watcher_win.h 42 // Gets the information about the device mounted at |device_path|. On success,
45 bool GetDeviceInfo(const base::FilePath& device_path,
71 const base::FilePath& device_path,
80 // Runs |get_device_details_callback| for |device_path| on a worker thread.
83 const base::FilePath& device_path,
88 virtual void DeviceCheckComplete(const base::FilePath& device_path);
  /external/chromium_org/chromeos/disks/
disk_mount_manager.cc 112 std::string device_path = mount_point->second.source_path; variable
113 DiskMap::const_iterator disk = disks_.find(device_path);
115 LOG(ERROR) << "Device with path \"" << device_path << "\" not found.";
116 OnFormatCompleted(FORMAT_ERROR_UNKNOWN, device_path);
124 device_path));
129 const std::string& device_path,
134 int device_path_len = device_path.length();
137 strncmp(device_path.c_str(), it->second->device_path().c_str(),
145 if (disks_.find(device_path) == disks_.end())
488 std::string device_path = device_path_arg; local
    [all...]

Completed in 1125 milliseconds

1 2 3 4 5 6 7