/external/chromium/third_party/libjingle/source/talk/session/phone/ |
H A D | v4llookup.cc | 27 bool V4LLookup::CheckIsV4L2Device(const std::string& device_path) { argument 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(LS_ERROR) << "VIDIOC_QUERYCAP failed for " << device_path; 55 LOG(LS_ERROR) << "Failed to open " << device_path;
|
H A D | v4llookup.h | 20 static bool IsV4L2Device(const std::string& device_path) { argument 21 return GetV4LLookup()->CheckIsV4L2Device(device_path); 35 virtual bool CheckIsV4L2Device(const std::string& device_path);
|
/external/chromium_org/chrome/browser/storage_monitor/ |
H A D | udev_util_linux.cc | 23 bool GetUdevDevicePropertyValueByPath(const base::FilePath& device_path, argument 30 udev.get(), device_path.value().c_str()));
|
H A D | storage_monitor_win.cc | 146 bool StorageMonitorWin::GetDeviceInfo(const base::FilePath& device_path, argument 153 return volume_mount_watcher_->GetDeviceInfo(device_path, info);
|
H A D | test_volume_mount_watcher_win.cc | 52 // Gets the details of the mass storage device specified by the |device_path|. 53 // |device_path| inputs of 'A:\' - 'Z:\' are valid. 'N:\' is not removable. 55 bool GetMassStorageDeviceDetails(const base::FilePath& device_path, argument 60 base::FilePath path(device_path); 61 if (device_path.value().length() > 3) 62 path = base::FilePath(device_path.value().substr(0, 3)); 74 unique_id[11] = device_path.value()[0]; 94 const base::FilePath& device_path, 98 StorageInfo info(device_id, device_name, device_path.value(), 101 HandleDeviceAttachEventOnUIThread(device_path, inf 93 AddDeviceForTesting( const base::FilePath& device_path, const std::string& device_id, const base::string16& device_name, uint64 total_size_in_bytes) argument 112 DeviceCheckComplete( const base::FilePath& device_path) argument 130 GetDeviceRemovable( const base::FilePath& device_path, bool* removable) argument [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
H A D | v4llookup.cc | 28 bool V4LLookup::CheckIsV4L2Device(const std::string& device_path) { argument 32 if (lstat(device_path.c_str(), &s) != 0 || !S_ISCHR(s.st_mode)) return false; 41 video_fd = ::open(device_path.c_str(), O_RDONLY | O_NONBLOCK); 49 LOG(LS_INFO) << "Found V4L2 capture device " << device_path; 53 LOG(LS_ERROR) << "VIDIOC_QUERYCAP failed for " << device_path; 56 LOG(LS_ERROR) << "Failed to open " << device_path;
|
H A D | v4llookup.h | 20 static bool IsV4L2Device(const std::string& device_path) { argument 21 return GetV4LLookup()->CheckIsV4L2Device(device_path); 38 virtual bool CheckIsV4L2Device(const std::string& device_path);
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
H A D | mounted_disk_monitor_unittest.cc | 18 // Creates a fake disk with |device_path| and |fs_uuid|. 20 const std::string& device_path, 24 device_path, "", "", "", "", "", "", "", "", "", fs_uuid, "", 19 CreateDisk( const std::string& device_path, const std::string& fs_uuid) argument
|
H A D | mounted_disk_monitor.cc | 104 const std::string& device_path) { 110 const std::string& device_path) { 102 OnDeviceEvent( chromeos::disks::DiskMountManager::DeviceEvent event, const std::string& device_path) argument 107 OnFormatEvent( chromeos::disks::DiskMountManager::FormatEvent event, chromeos::FormatError error_code, const std::string& device_path) argument
|
H A D | fake_disk_mount_manager.cc | 108 const std::string& device_path, 114 return disks_.insert(make_pair(disk->device_path(), disk)).second; 107 UnmountDeviceRecursively( const std::string& device_path, const UnmountDeviceRecursivelyCallbackType& callback) argument
|
/external/chromium_org/chromeos/dbus/ |
H A D | 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); 40 NewConnection( const dbus::ObjectPath& device_path, scoped_ptr<dbus::FileDescriptor> fd, const Delegate::Options& options, const Delegate::ConfirmationCallback& callback) argument 50 RequestDisconnection( const dbus::ObjectPath& device_path, const Delegate::ConfirmationCallback& callback) argument
|
H A D | 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) 207 GetHelper(const dbus::ObjectPath& device_path) argument [all...] |
H A D | 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, 40 RequestPinCode( const dbus::ObjectPath& device_path, const Delegate::PinCodeCallback& callback) argument 48 DisplayPinCode( const dbus::ObjectPath& device_path, const std::string& pincode) argument 56 RequestPasskey( const dbus::ObjectPath& device_path, const Delegate::PasskeyCallback& callback) argument 64 DisplayPasskey( const dbus::ObjectPath& device_path, uint32 passkey, int16 entered) argument 72 RequestConfirmation( const dbus::ObjectPath& device_path, uint32 passkey, const Delegate::ConfirmationCallback& callback) argument 81 RequestAuthorization( const dbus::ObjectPath& device_path, const Delegate::ConfirmationCallback& callback) argument 89 AuthorizeService( const dbus::ObjectPath& device_path, const std::string& uuid, const Delegate::ConfirmationCallback& callback) argument [all...] |
H A D | bluetooth_profile_service_provider.cc | 105 dbus::ObjectPath device_path; local 108 if (!reader.PopObjectPath(&device_path) || 138 delegate_->NewConnection(device_path, fd.Pass(), options, callback); 150 dbus::ObjectPath device_path; local 151 if (!reader.PopObjectPath(&device_path)) { 163 delegate_->RequestDisconnection(device_path, callback);
|
H A D | fake_bluetooth_adapter_client.cc | 176 const dbus::ObjectPath& device_path, 185 << " " << device_path.value(); 191 device_client->RemoveDevice(dbus::ObjectPath(kAdapterPath), device_path); local 174 RemoveDevice( const dbus::ObjectPath& object_path, const dbus::ObjectPath& device_path, const base::Closure& callback, const ErrorCallback& error_callback) argument
|
H A D | fake_cros_disks_client.cc | 33 void FakeCrosDisksClient::Unmount(const std::string& device_path, argument 41 last_unmount_device_path_ = device_path; 54 void FakeCrosDisksClient::FormatDevice(const std::string& device_path, argument 62 last_format_device_device_path_ = device_path; 73 const std::string& device_path, 72 GetDeviceProperties( const std::string& device_path, const GetDevicePropertiesCallback& callback, const base::Closure& error_callback) argument
|
/external/chromium_org/chromeos/network/ |
H A D | network_ip_config.cc | 31 const std::string& device_path, IPConfigType type, 34 : device_path(device_path), 45 return std::string("path: ") + device_path 30 NetworkIPConfig( const std::string& device_path, IPConfigType type, const std::string& address, const std::string& netmask, const std::string& gateway, const std::string& name_servers) argument
|
H A D | network_ip_config.h | 31 NetworkIPConfig(const std::string& device_path, IPConfigType type, 38 std::string device_path; // This looks like "/device/0011aa22bb33" member in struct:chromeos::NetworkIPConfig
|
H A D | network_device_handler_unittest.cc | 76 void PropertiesSuccessCallback(const std::string& device_path, argument
|
/external/chromium_org/chrome/browser/chromeos/imageburner/ |
H A D | burn_controller.cc | 156 int64 GetDeviceSize(const std::string& device_path) { argument 160 disk_mount_manager->FindDiskBySourcePath(device_path);
|
H A D | burn_device_handler.cc | 79 const std::string& device_path) { 92 const std::string& device_path) { 78 OnDeviceEvent(DiskMountManager::DeviceEvent event, const std::string& device_path) argument 90 OnFormatEvent(DiskMountManager::FormatEvent event, FormatError error_code, const std::string& device_path) argument
|
H A D | burn_device_handler_unittest.cc | 45 bool new_disk = InsertDisk(disk->device_path(), in_disk.Pass()); 93 const std::string& device_path, 133 *out_path = disk.device_path(); 149 const std::string& device_path, 156 device_path, 221 const std::string& device_path = burnable_devices[i].device_path(); local 222 burnable_usb_found |= (device_path == "/dev/burnable_usb"); 223 burnable_sd_found |= (device_path == "/dev/burnable_sd"); 148 CreateMockDisk( const std::string& device_path, bool is_parent, bool on_boot_device, bool has_media, DeviceType device_type) argument
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
H A D | mtp_device_map_service.cc | 87 base::FilePath device_path; local 89 filesystem_id, &device_path)) { 93 const base::FilePath::StringType& device_location = device_path.value();
|
/external/chromium_org/ui/gfx/ozone/dri/ |
H A D | dri_wrapper.cc | 15 DriWrapper::DriWrapper(const char* device_path) { argument 16 fd_ = open(device_path, O_RDWR | O_CLOEXEC);
|
/external/chromium_org/device/bluetooth/ |
H A D | bluetooth_profile_chromeos.cc | 143 const dbus::ObjectPath& device_path, 148 << device_path.value();; 165 device_path, 171 const dbus::ObjectPath& device_path, 214 const dbus::ObjectPath& device_path, 227 device_path, 234 const dbus::ObjectPath& device_path, 245 GetDeviceWithPath(device_path); 142 NewConnection( const dbus::ObjectPath& device_path, scoped_ptr<dbus::FileDescriptor> fd, const BluetoothProfileServiceProvider::Delegate::Options& options, const ConfirmationCallback& callback) argument 170 RequestDisconnection( const dbus::ObjectPath& device_path, const ConfirmationCallback& callback) argument 213 GetAdapter( const dbus::ObjectPath& device_path, const BluetoothProfileServiceProvider::Delegate::Options& options, const ConfirmationCallback& callback, scoped_ptr<dbus::FileDescriptor> fd) argument 233 OnGetAdapter( const dbus::ObjectPath& device_path, const BluetoothProfileServiceProvider::Delegate::Options& options, const ConfirmationCallback& callback, scoped_ptr<dbus::FileDescriptor> fd, scoped_refptr<BluetoothAdapter> adapter) argument
|