/external/chromium_org/chromeos/dbus/ |
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 | 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...] |
H A D | fake_shill_device_client.cc | 27 void ErrorFunction(const std::string& device_path, argument 30 LOG(ERROR) << "Shill Error for: " << device_path 59 const dbus::ObjectPath& device_path, 61 GetObserverList(device_path).AddObserver(observer); 65 const dbus::ObjectPath& device_path, 67 GetObserverList(device_path).RemoveObserver(observer); 71 const dbus::ObjectPath& device_path, 77 device_path, callback)); 81 const dbus::ObjectPath& device_path, 86 void FakeShillDeviceClient::SetProperty(const dbus::ObjectPath& device_path, argument 58 AddPropertyChangedObserver( const dbus::ObjectPath& device_path, ShillPropertyChangedObserver* observer) argument 64 RemovePropertyChangedObserver( const dbus::ObjectPath& device_path, ShillPropertyChangedObserver* observer) argument 70 GetProperties( const dbus::ObjectPath& device_path, const DictionaryValueCallback& callback) argument 80 ProposeScan( const dbus::ObjectPath& device_path, const VoidDBusMethodCallback& callback) argument 105 ClearProperty( const dbus::ObjectPath& device_path, const std::string& name, const VoidDBusMethodCallback& callback) argument 119 AddIPConfig( const dbus::ObjectPath& device_path, const std::string& method, const ObjectPathDBusMethodCallback& callback) argument 129 RequirePin(const dbus::ObjectPath& device_path, const std::string& pin, bool require, const base::Closure& callback, const ErrorCallback& error_callback) argument 165 EnterPin(const dbus::ObjectPath& device_path, const std::string& pin, const base::Closure& callback, const ErrorCallback& error_callback) argument 183 UnblockPin(const dbus::ObjectPath& device_path, const std::string& puk, const std::string& pin, const base::Closure& callback, const ErrorCallback& error_callback) argument 196 ChangePin(const dbus::ObjectPath& device_path, const std::string& old_pin, const std::string& new_pin, const base::Closure& callback, const ErrorCallback& error_callback) argument 209 Register(const dbus::ObjectPath& device_path, const std::string& network_id, const base::Closure& callback, const ErrorCallback& error_callback) argument 220 SetCarrier(const dbus::ObjectPath& device_path, const std::string& carrier, const base::Closure& callback, const ErrorCallback& error_callback) argument 231 Reset(const dbus::ObjectPath& device_path, const base::Closure& callback, const ErrorCallback& error_callback) argument 241 PerformTDLSOperation( const dbus::ObjectPath& device_path, const std::string& operation, const std::string& peer, const StringCallback& callback, const ErrorCallback& error_callback) argument 273 AddDevice(const std::string& device_path, const std::string& type, const std::string& name) argument 292 RemoveDevice(const std::string& device_path) argument 306 SetDeviceProperty(const std::string& device_path, const std::string& name, const base::Value& value) argument 333 PassStubDeviceProperties( const dbus::ObjectPath& device_path, const DictionaryValueCallback& callback) const argument 354 NotifyObserversPropertyChanged( const dbus::ObjectPath& device_path, const std::string& property) argument 374 GetDeviceProperties( const std::string& device_path) argument 386 GetObserverList(const dbus::ObjectPath& device_path) argument [all...] |
H A D | 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...] |
H A D | 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| tha [all...] |
H A D | 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,
|
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) 222 GetHelper(const dbus::ObjectPath& device_path) argument [all...] |
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 | fake_bluetooth_profile_service_provider.h | 33 const dbus::ObjectPath& device_path, 38 const dbus::ObjectPath& device_path,
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
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);
|
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_ERRNO(LS_ERROR) << "VIDIOC_QUERYCAP failed for " << device_path; 55 LOG_ERRNO(LS_ERROR) << "Failed to open " << device_path;
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
H A D | device_event_router.cc | 50 void DeviceEventRouter::OnDeviceAdded(const std::string& device_path) { argument 53 SetDeviceState(device_path, DEVICE_STATE_USUAL); 56 device_path); 61 void DeviceEventRouter::OnDeviceRemoved(const std::string& device_path) { argument 63 SetDeviceState(device_path, DEVICE_STATE_USUAL); 64 OnDeviceEvent(file_manager_private::DEVICE_EVENT_TYPE_REMOVED, device_path); 80 const std::string& device_path = disk.system_path_prefix(); local 82 GetDeviceState(device_path) != DEVICE_HARD_UNPLUGGED_AND_REPORTED) { 84 device_path); 85 SetDeviceState(device_path, DEVICE_HARD_UNPLUGGED_AND_REPORTE 93 const std::string& device_path = local 103 OnFormatStarted(const std::string& device_path, bool success) argument 116 OnFormatCompleted(const std::string& device_path, bool success) argument 151 SetDeviceState(const std::string& device_path, DeviceState state) argument [all...] |
H A D | device_event_router_unittest.cc | 25 std::string device_path; member in struct:file_manager::__anon3133::DeviceEvent 38 const std::string& device_path) OVERRIDE { 41 event.device_path = device_path; 68 // Creates a disk instance with |device_path| and |mount_path| for testing. 69 Disk CreateTestDisk(const std::string& device_path, argument 71 return Disk(device_path, 82 device_path, 93 // Creates a volume info instance with |device_path| and |mount_path| for 95 VolumeInfo CreateTestVolumeInfo(const std::string& device_path, argument [all...] |
H A D | device_event_router.h | 48 virtual void OnDeviceAdded(const std::string& device_path) OVERRIDE; 49 virtual void OnDeviceRemoved(const std::string& device_path) OVERRIDE; 54 virtual void OnFormatStarted(const std::string& device_path, 56 virtual void OnFormatCompleted(const std::string& device_path, 67 // Handles a device event containing |type| and |device_path|. 70 const std::string& device_path) = 0; 76 void OnDeviceAddedDelayed(const std::string& device_path); 79 // Obtains device state of the device having |device_path|. 80 DeviceState GetDeviceState(const std::string& device_path) const; 82 // Sets device state to the device having |device_path| [all...] |
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
H A D | volume_manager_observer.h | 31 virtual void OnDeviceAdded(const std::string& device_path) = 0; 34 virtual void OnDeviceRemoved(const std::string& device_path) = 0; 46 const std::string& device_path, bool success) = 0; 50 const std::string& device_path, bool success) = 0;
|
/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 | 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, 13 GetDeviceProperties( const std::string& device_path, const network_handler::DictionaryResultCallback& callback, const network_handler::ErrorCallback& error_callback) const argument 18 SetDeviceProperty( const std::string& device_path, const std::string& property_name, const base::Value& value, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 25 RequestRefreshIPConfigs( const std::string& device_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 30 ProposeScan( const std::string& device_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 35 RegisterCellularNetwork( const std::string& device_path, const std::string& network_id, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 41 SetCarrier( const std::string& device_path, const std::string& carrier, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 47 RequirePin( const std::string& device_path, bool require_pin, const std::string& pin, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 54 EnterPin( const std::string& device_path, const std::string& pin, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 60 UnblockPin( const std::string& device_path, const std::string& puk, const std::string& new_pin, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 67 ChangePin( const std::string& device_path, const std::string& old_pin, const std::string& new_pin, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument [all...] |
H A D | 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...] |
H A D | 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...] |
H A D | 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...] |
H A D | 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), 51 HandleShillCallFailure( const std::string& device_path, const network_handler::ErrorCallback& error_callback, const std::string& shill_error_name, const std::string& shill_error_message) argument 75 RefreshIPConfigsCallback( const base::Closure& callback, const network_handler::ErrorCallback& error_callback, const std::string& device_path, const base::DictionaryValue& properties) argument 108 ProposeScanCallback( const std::string& device_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback, DBusMethodCallStatus call_status) argument 126 SetDevicePropertyInternal( const std::string& device_path, const std::string& property_name, const base::Value& value, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 155 TDLSSuccessCallback( const std::string& device_path, const TDLSOperationParams& params, const network_handler::StringResultCallback& callback, const network_handler::ErrorCallback& error_callback, const std::string& result) argument 191 TDLSErrorCallback( const std::string& device_path, const TDLSOperationParams& params, const network_handler::StringResultCallback& callback, const network_handler::ErrorCallback& error_callback, const std::string& dbus_error_name, const std::string& dbus_error_message) argument 236 CallPerformTDLSOperation( const std::string& device_path, const TDLSOperationParams& params, const network_handler::StringResultCallback& callback, const network_handler::ErrorCallback& error_callback) argument 258 GetDeviceProperties( const std::string& device_path, const network_handler::DictionaryResultCallback& callback, const network_handler::ErrorCallback& error_callback) const argument 268 SetDeviceProperty( const std::string& device_path, const std::string& property_name, const base::Value& value, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 293 RequestRefreshIPConfigs( const std::string& device_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 303 ProposeScan( const std::string& device_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 312 RegisterCellularNetwork( const std::string& device_path, const std::string& network_id, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 324 SetCarrier( const std::string& device_path, const std::string& carrier, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 336 RequirePin( const std::string& device_path, bool require_pin, const std::string& pin, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 350 EnterPin( const std::string& device_path, const std::string& pin, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 362 UnblockPin( const std::string& device_path, const std::string& puk, const std::string& new_pin, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 376 ChangePin( const std::string& device_path, const std::string& old_pin, const std::string& new_pin, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument [all...] |
/external/chromium_org/components/storage_monitor/ |
H A D | 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, argument 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, inf 95 AddDeviceForTesting( const base::FilePath& device_path, const std::string& device_id, const base::string16& storage_label, uint64 total_size_in_bytes) argument 113 DeviceCheckComplete( const base::FilePath& device_path) argument 131 GetDeviceRemovable( const base::FilePath& device_path, bool* removable) argument [all...] |
H A D | 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);
|
H A D | udev_util_linux.cc | 18 bool GetUdevDevicePropertyValueByPath(const base::FilePath& device_path, argument 25 udev.get(), device_path.value().c_str()));
|
/external/chromium_org/chromeos/disks/ |
H A D | disk_mount_manager.cc | 114 std::string device_path = mount_point->second.source_path; variable 115 DiskMap::const_iterator disk = disks_.find(device_path); 117 LOG(ERROR) << "Device with path \"" << device_path << "\" not found."; 118 OnFormatCompleted(FORMAT_ERROR_UNKNOWN, device_path); 126 device_path)); 131 const std::string& device_path, 136 int device_path_len = device_path.length(); 139 strncmp(device_path.c_str(), it->second->device_path().c_str(), 147 if (disks_.find(device_path) 391 OnUnmountPathForFormat(const std::string& device_path, MountError error_code) argument 402 FormatUnmountedDevice(const std::string& device_path) argument 420 OnFormatStarted(const std::string& device_path) argument 425 OnFormatCompleted(FormatError error_code, const std::string& device_path) argument 534 std::string device_path = device_path_arg; local 582 NotifyDeviceStatusUpdate(DeviceEvent event, const std::string& device_path) argument 595 NotifyFormatStatusUpdate(FormatEvent event, FormatError error_code, const std::string& device_path) argument 639 Disk(const std::string& device_path, const std::string& mount_path, const std::string& system_path, const std::string& file_path, const std::string& device_label, const std::string& drive_label, const std::string& vendor_id, const std::string& vendor_name, const std::string& product_id, const std::string& product_name, const std::string& fs_uuid, const std::string& system_path_prefix, DeviceType device_type, uint64 total_size_in_bytes, bool is_parent, bool is_read_only, bool has_media, bool on_boot_device, bool on_removable_device, bool is_hidden) argument [all...] |