/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 | mock_shill_device_client.h | 22 void(const dbus::ObjectPath& device_path, 25 void(const dbus::ObjectPath& device_path, 27 MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& device_path, 29 MOCK_METHOD2(ProposeScan, void(const dbus::ObjectPath& device_path, 31 MOCK_METHOD5(SetProperty, void(const dbus::ObjectPath& device_path, 36 MOCK_METHOD3(ClearProperty, void(const dbus::ObjectPath& device_path, 39 MOCK_METHOD3(AddIPConfig, void(const dbus::ObjectPath& device_path, 43 dbus::ObjectPath(const dbus::ObjectPath& device_path, 45 MOCK_METHOD5(RequirePin, void(const dbus::ObjectPath& device_path, 50 MOCK_METHOD4(EnterPin, void(const dbus::ObjectPath& device_path, [all...] |
H A D | shill_device_client_stub.h | 25 const dbus::ObjectPath& device_path, 28 const dbus::ObjectPath& device_path, 30 virtual void GetProperties(const dbus::ObjectPath& device_path, 32 virtual void ProposeScan(const dbus::ObjectPath& device_path, 35 virtual void SetProperty(const dbus::ObjectPath& device_path, 40 virtual void ClearProperty(const dbus::ObjectPath& device_path, 44 const dbus::ObjectPath& device_path, 47 virtual void RequirePin(const dbus::ObjectPath& device_path, 52 virtual void EnterPin(const dbus::ObjectPath& device_path, 56 virtual void UnblockPin(const dbus::ObjectPath& device_path, [all...] |
H A D | shill_device_client.cc | 47 const dbus::ObjectPath& device_path, 49 GetHelper(device_path)->AddPropertyChangedObserver(observer); 53 const dbus::ObjectPath& device_path, 55 GetHelper(device_path)->RemovePropertyChangedObserver(observer); 58 virtual void GetProperties(const dbus::ObjectPath& device_path, 62 GetHelper(device_path)->CallDictionaryValueMethod(&method_call, callback); 65 virtual void ProposeScan(const dbus::ObjectPath& device_path, 69 GetHelper(device_path)->CallVoidMethod(&method_call, callback); 72 virtual void SetProperty(const dbus::ObjectPath& device_path, 82 GetHelper(device_path) 203 GetHelper(const dbus::ObjectPath& device_path) argument [all...] |
H A D | fake_shill_device_client.cc | 16 const dbus::ObjectPath& device_path, 21 const dbus::ObjectPath& device_path, 26 const dbus::ObjectPath& device_path, 31 const dbus::ObjectPath& device_path, 35 void FakeShillDeviceClient::SetProperty(const dbus::ObjectPath& device_path, argument 43 const dbus::ObjectPath& device_path, 49 const dbus::ObjectPath& device_path, 54 void FakeShillDeviceClient::RequirePin(const dbus::ObjectPath& device_path, argument 61 void FakeShillDeviceClient::EnterPin(const dbus::ObjectPath& device_path, argument 67 void FakeShillDeviceClient::UnblockPin(const dbus::ObjectPath& device_path, argument 15 AddPropertyChangedObserver( const dbus::ObjectPath& device_path, ShillPropertyChangedObserver* observer) argument 20 RemovePropertyChangedObserver( const dbus::ObjectPath& device_path, ShillPropertyChangedObserver* observer) argument 25 GetProperties( const dbus::ObjectPath& device_path, const DictionaryValueCallback& callback) argument 30 ProposeScan( const dbus::ObjectPath& device_path, const VoidDBusMethodCallback& callback) argument 42 ClearProperty( const dbus::ObjectPath& device_path, const std::string& name, const VoidDBusMethodCallback& callback) argument 48 AddIPConfig( const dbus::ObjectPath& device_path, const std::string& method, const ObjectPathDBusMethodCallback& callback) argument 74 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 81 Register(const dbus::ObjectPath& device_path, const std::string& network_id, const base::Closure& callback, const ErrorCallback& error_callback) argument 87 SetCarrier(const dbus::ObjectPath& device_path, const std::string& carrier, const base::Closure& callback, const ErrorCallback& error_callback) argument 93 Reset(const dbus::ObjectPath& device_path, const base::Closure& callback, const ErrorCallback& error_callback) argument [all...] |
H A D | fake_shill_device_client.h | 23 const dbus::ObjectPath& device_path, 26 const dbus::ObjectPath& device_path, 28 virtual void GetProperties(const dbus::ObjectPath& device_path, 30 virtual void ProposeScan(const dbus::ObjectPath& device_path, 32 virtual void SetProperty(const dbus::ObjectPath& device_path, 37 virtual void ClearProperty(const dbus::ObjectPath& device_path, 41 const dbus::ObjectPath& device_path, 44 virtual void RequirePin(const dbus::ObjectPath& device_path, 49 virtual void EnterPin(const dbus::ObjectPath& device_path, 53 virtual void UnblockPin(const dbus::ObjectPath& device_path, [all...] |
H A D | shill_device_client_stub.cc | 44 const dbus::ObjectPath& device_path, 46 GetObserverList(device_path).AddObserver(observer); 50 const dbus::ObjectPath& device_path, 52 GetObserverList(device_path).RemoveObserver(observer); 56 const dbus::ObjectPath& device_path, 62 device_path, callback)); 65 void ShillDeviceClientStub::ProposeScan(const dbus::ObjectPath& device_path, argument 70 void ShillDeviceClientStub::SetProperty(const dbus::ObjectPath& device_path, argument 76 if (!stub_devices_.GetDictionaryWithoutPathExpansion(device_path.value(), 90 weak_ptr_factory_.GetWeakPtr(), device_path, nam 43 AddPropertyChangedObserver( const dbus::ObjectPath& device_path, ShillPropertyChangedObserver* observer) argument 49 RemovePropertyChangedObserver( const dbus::ObjectPath& device_path, ShillPropertyChangedObserver* observer) argument 55 GetProperties( const dbus::ObjectPath& device_path, const DictionaryValueCallback& callback) argument 94 ClearProperty( const dbus::ObjectPath& device_path, const std::string& name, const VoidDBusMethodCallback& callback) argument 108 AddIPConfig( const dbus::ObjectPath& device_path, const std::string& method, const ObjectPathDBusMethodCallback& callback) argument 118 RequirePin(const dbus::ObjectPath& device_path, const std::string& pin, bool require, const base::Closure& callback, const ErrorCallback& error_callback) argument 126 EnterPin(const dbus::ObjectPath& device_path, const std::string& pin, const base::Closure& callback, const ErrorCallback& error_callback) argument 133 UnblockPin(const dbus::ObjectPath& device_path, const std::string& puk, const std::string& pin, const base::Closure& callback, const ErrorCallback& error_callback) argument 141 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 149 Register(const dbus::ObjectPath& device_path, const std::string& network_id, const base::Closure& callback, const ErrorCallback& error_callback) argument 156 SetCarrier(const dbus::ObjectPath& device_path, const std::string& carrier, const base::Closure& callback, const ErrorCallback& error_callback) argument 163 Reset(const dbus::ObjectPath& device_path, const base::Closure& callback, const ErrorCallback& error_callback) argument 175 AddDevice(const std::string& device_path, const std::string& type, const std::string& object_path) argument 193 RemoveDevice(const std::string& device_path) argument 207 SetDeviceProperty(const std::string& device_path, const std::string& name, const base::Value& value) argument 247 PassStubDeviceProperties( const dbus::ObjectPath& device_path, const DictionaryValueCallback& callback) const argument 268 NotifyObserversPropertyChanged( const dbus::ObjectPath& device_path, const std::string& property) argument 288 GetDeviceProperties( const std::string& device_path) argument 300 GetObserverList(const dbus::ObjectPath& device_path) argument [all...] |
H A D | bluetooth_agent_service_provider.h | 71 // PIN Code for authentication of the device with object path |device_path|, 77 virtual void RequestPinCode(const dbus::ObjectPath& device_path, 82 // |device_path| so that it may be authenticated. The Cancel() method 89 virtual void DisplayPinCode(const dbus::ObjectPath& device_path, 93 // Passkey for authentication of the device with object path |device_path|, 101 virtual void RequestPasskey(const dbus::ObjectPath& device_path, 106 // |device_path| so that it may be authenticated. The Cancel() method 117 virtual void DisplayPasskey(const dbus::ObjectPath& device_path, 131 virtual void RequestConfirmation(const dbus::ObjectPath& device_path, 137 // path |device_path| tha [all...] |
H A D | fake_bluetooth_agent_service_provider.h | 34 virtual void RequestPinCode(const dbus::ObjectPath& device_path, 36 virtual void DisplayPinCode(const dbus::ObjectPath& device_path, 38 virtual void RequestPasskey(const dbus::ObjectPath& device_path, 40 virtual void DisplayPasskey(const dbus::ObjectPath& device_path, 43 const dbus::ObjectPath& device_path, 47 const dbus::ObjectPath& device_path, 50 const dbus::ObjectPath& device_path,
|
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, 68 // Adds a property changed |observer| for the device at |device_path|. 70 const dbus::ObjectPath& device_path, 73 // Removes a property changed |observer| for the device at |device_path|. 75 const dbus::ObjectPath& device_path, 80 virtual void GetProperties(const dbus::ObjectPath& device_path, 85 virtual void ProposeScan(const dbus::ObjectPath& device_path, 90 virtual void SetProperty(const dbus::ObjectPath& device_path, [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
|
/external/chromium_org/chromeos/network/ |
H A D | network_device_handler.cc | 46 const std::string& device_path, 52 device_path, local 72 const std::string& device_path, 77 NET_LOG_ERROR("RequestRefreshIPConfigs Failed", device_path); 80 device_path, 103 const std::string& device_path, 110 device_path); 113 device_path, 118 NET_LOG_EVENT("Device.ProposeScan succeeded.", device_path); 139 const std::string& device_path, 45 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 69 RefreshIPConfigsCallback( const base::Closure& callback, const network_handler::ErrorCallback& error_callback, const std::string& device_path, const base::DictionaryValue& properties) argument 102 ProposeScanCallback( const std::string& device_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback, DBusMethodCallStatus call_status) argument 138 GetDeviceProperties( const std::string& device_path, const network_handler::DictionaryResultCallback& callback, const network_handler::ErrorCallback& error_callback) const argument 148 SetDeviceProperty( const std::string& device_path, const std::string& name, const base::Value& value, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 162 RequestRefreshIPConfigs( const std::string& device_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 172 ProposeScan( const std::string& device_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 181 RegisterCellularNetwork( const std::string& device_path, const std::string& network_id, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 193 SetCarrier( const std::string& device_path, const std::string& carrier, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 205 RequirePin( const std::string& device_path, bool require_pin, const std::string& pin, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 219 EnterPin( const std::string& device_path, const std::string& pin, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 231 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 245 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 259 HandleShillCallFailureForTest( const std::string& device_path, const network_handler::ErrorCallback& error_callback, const std::string& shill_error_name, const std::string& shill_error_message) argument [all...] |
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_device_handler.h | 54 // Gets the properties of the device with id |device_path|. See note on 57 const std::string& device_path, 61 // Sets the value of property |name| on device with id |device_path| to 64 const std::string& device_path, 71 // |device_path| if it exists. This will apply any newly configured 74 const std::string& device_path, 78 // Requests a network scan on the device specified by |device_path|. 89 const std::string& device_path, 93 // Tells the device specified by |device_path| to register to the cellular 100 const std::string& device_path, [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
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);
|
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;
|
/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 | 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;
|
/external/chromium_org/chrome/browser/chromeos/ |
H A D | sms_observer.cc | 37 if (it_observer->first == (*it_network)->device_path()) { 54 const std::string& device_path((*it_network)->device_path()); 55 if (device_path.empty()) { 60 ObserversMap::iterator it_observer = observers_.find(device_path); 62 VLOG(1) << "Add SMS monitor for " << device_path; 64 CrosMonitorSMS(device_path, 67 observers_.insert(ObserversMap::value_type(device_path, watcher)); 69 VLOG(1) << "Already has SMS monitor for " << device_path;
|
/external/chromium/chrome/browser/chromeos/cros/ |
H A D | mount_library.cc | 18 MountLibrary::Disk::Disk(const std::string& device_path, argument 31 : device_path_(device_path), 72 virtual void MountPath(const char* device_path) OVERRIDE { 75 OnMountRemovableDevice(device_path, 81 MountRemovableDevice(device_path, 86 virtual void UnmountPath(const char* device_path) OVERRIDE { 89 OnUnmountRemovableDevice(device_path, 94 UnmountRemovableDevice(device_path, 116 OnGetDiskProperties(disk->device_path().c_str(), 122 GetDiskProperties(disk->device_path() 132 MountRemovableDeviceCallback(void* object, const char* device_path, const char* mount_path, MountMethodErrorType error, const char* error_message) argument 146 UnmountRemovableDeviceCallback(void* object, const char* device_path, const char* mount_path, MountMethodErrorType error, const char* error_message) argument 159 GetDiskPropertiesCallback(void* object, const char* device_path, const DiskInfo* disk, MountMethodErrorType error, const char* error_message) argument 187 MonitorMountEventsHandler(void* object, MountEventType evt, const char* device_path) argument 196 OnMountRemovableDevice(const char* device_path, const char* mount_path, MountMethodErrorType error, const char* error_message) argument 220 OnUnmountRemovableDevice(const char* device_path, MountMethodErrorType error, const char* error_message) argument 242 OnGetDiskProperties(const char* device_path, const DiskInfo* disk1, MountMethodErrorType error, const char* error_message) argument 360 OnMountEvent(MountEventType evt, const char* device_path) argument 415 FireDeviceStatusUpdate(MountLibraryEventType evt, const std::string& device_path) argument [all...] |
/external/chromium_org/chrome/browser/storage_monitor/ |
H A D | test_volume_mount_watcher_win.cc | 55 // Gets the details of the mass storage device specified by the |device_path|. 56 // |device_path| inputs of 'A:\' - 'Z:\' are valid. 'N:\' is not removable. 58 bool GetMassStorageDeviceDetails(const base::FilePath& device_path, argument 63 base::FilePath path(device_path); 64 if (device_path.value().length() > 3) 65 path = base::FilePath(device_path.value().substr(0, 3)); 77 unique_id[11] = device_path.value()[0]; 97 const base::FilePath& device_path, 101 StorageInfo info(device_id, device_name, device_path.value(), 104 HandleDeviceAttachEventOnUIThread(device_path, inf 96 AddDeviceForTesting( const base::FilePath& device_path, const std::string& device_id, const base::string16& device_name, uint64 total_size_in_bytes) argument 115 DeviceCheckComplete( const base::FilePath& device_path) argument 133 GetDeviceRemovable( const base::FilePath& device_path, bool* removable) argument [all...] |
H A D | test_volume_mount_watcher_win.h | 30 static bool GetDeviceRemovable(const base::FilePath& device_path, 33 void AddDeviceForTesting(const base::FilePath& device_path, 42 virtual void DeviceCheckComplete(const base::FilePath& device_path);
|
H A D | udev_util_linux.cc | 25 bool GetUdevDevicePropertyValueByPath(const base::FilePath& device_path, argument 32 udev.get(), device_path.value().c_str()));
|
/external/chromium/chrome/browser/chromeos/extensions/ |
H A D | file_browser_event_router.cc | 104 const std::string& device_path) { 106 OnDeviceAdded(device_path); 108 OnDeviceRemoved(device_path); 110 OnDeviceScanned(device_path); 138 VLOG(1) << "Disk added: " << disk->device_path(); 139 if (disk->device_path().empty()) { 140 VLOG(1) << "Empty system path for " << disk->device_path(); 154 lib->MountPath(disk->device_path().c_str()); 160 VLOG(1) << "Disk removed: " << disk->device_path(); 162 MountPointMap::iterator iter = mounted_devices_.find(disk->device_path()); 102 DeviceChanged( chromeos::MountLibraryEventType event, const std::string& device_path) argument 193 OnDeviceAdded( const std::string& device_path) argument 207 OnDeviceScanned( const std::string& device_path) argument [all...] |
/external/chromium_org/chromeos/disks/ |
H A D | disk_mount_manager.cc | 110 std::string device_path = mount_point->second.source_path; variable 111 DiskMap::const_iterator disk = disks_.find(device_path); 113 LOG(ERROR) << "Device with path \"" << device_path << "\" not found."; 114 OnFormatDevice(device_path, false); 122 device_path)); 127 const std::string& device_path, 132 int device_path_len = device_path.length(); 135 strncmp(device_path.c_str(), it->second->device_path().c_str(), 143 if (disks_.find(device_path) 375 OnUnmountPathForFormat(const std::string& device_path, MountError error_code) argument 386 FormatUnmountedDevice(const std::string& device_path) argument 405 OnFormatDevice(const std::string& device_path, bool success) argument 481 std::string device_path = device_path_arg; local 543 NotifyDeviceStatusUpdate(DeviceEvent event, const std::string& device_path) argument 556 NotifyFormatStatusUpdate(FormatEvent event, FormatError error_code, const std::string& device_path) argument 564 ParseFormatFinishedPath(const std::string& received_path, std::string* device_path, FormatError* error_code) argument 622 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 is_hidden) argument [all...] |