/external/chromium_org/chromeos/network/ |
H A D | network_activation_handler.cc | 24 const std::string& service_path, 28 NET_LOG_USER("ActivateNetwork", service_path); 29 CallShillActivate(service_path, carrier, success_callback, error_callback); 33 const std::string& service_path, 36 NET_LOG_USER("CompleteActivation", service_path); 37 CallShillCompleteActivation(service_path, success_callback, error_callback); 41 const std::string& service_path, 45 NET_LOG_USER("Activation Request", service_path + ": '" + carrier + "'"); 47 dbus::ObjectPath(service_path), 50 AsWeakPtr(), service_path, success_callbac 23 Activate( const std::string& service_path, const std::string& carrier, const base::Closure& success_callback, const network_handler::ErrorCallback& error_callback) argument 32 CompleteActivation( const std::string& service_path, const base::Closure& success_callback, const network_handler::ErrorCallback& error_callback) argument 40 CallShillActivate( const std::string& service_path, const std::string& carrier, const base::Closure& success_callback, const network_handler::ErrorCallback& error_callback) argument 55 CallShillCompleteActivation( const std::string& service_path, const base::Closure& success_callback, const network_handler::ErrorCallback& error_callback) argument 68 HandleShillSuccess( const std::string& service_path, const base::Closure& success_callback) argument [all...] |
H A D | network_connection_handler.cc | 35 void InvokeErrorCallback(const std::string& service_path, argument 38 NET_LOG_ERROR("Connect Error: " + error_name, service_path); 40 error_callback, service_path, error_name, ""); 51 bool VPNRequiresCredentials(const std::string& service_path, argument 59 NET_LOG_EVENT("OpenVPN: No username", service_path); 66 NET_LOG_EVENT("OpenVPN: Passphrase Required", service_path); 69 NET_LOG_EVENT("OpenVPN Is Configured", service_path); 75 NET_LOG_EVENT("VPN: PSK Required", service_path); 81 NET_LOG_EVENT("VPN: Passphrase Required", service_path); 84 NET_LOG_EVENT("VPN Is Configured", service_path); 128 ConnectRequest(const std::string& service_path, const std::string& profile_path, const base::Closure& success, const network_handler::ErrorCallback& error) argument 143 std::string service_path; member in struct:chromeos::NetworkConnectionHandler::ConnectRequest 240 ConnectToNetwork( const std::string& service_path, const base::Closure& success_callback, const network_handler::ErrorCallback& error_callback, bool check_error_state) argument 317 DisconnectNetwork( const std::string& service_path, const base::Closure& success_callback, const network_handler::ErrorCallback& error_callback) argument 335 HasConnectingNetwork( const std::string& service_path) argument 355 GetPendingRequest(const std::string& service_path) argument 363 VerifyConfiguredAndConnect( bool check_error_state, const std::string& service_path, const base::DictionaryValue& service_properties) argument 533 QueueConnectRequest( const std::string& service_path) argument 587 std::string service_path = queued_connect_->service_path; local 597 CallShillConnect( const std::string& service_path) argument 609 HandleConfigurationFailure( const std::string& service_path, const std::string& error_name, scoped_ptr<base::DictionaryValue> error_data) argument 625 HandleShillConnectSuccess( const std::string& service_path) argument 642 HandleShillConnectFailure( const std::string& service_path, const std::string& dbus_error_name, const std::string& dbus_error_message) argument 659 CheckPendingRequest( const std::string service_path) argument 725 ErrorCallbackForPendingRequest( const std::string& service_path, const std::string& error_name) argument 742 CallShillDisconnect( const std::string& service_path, const base::Closure& success_callback, const network_handler::ErrorCallback& error_callback) argument 755 HandleShillDisconnectSuccess( const std::string& service_path, const base::Closure& success_callback) argument [all...] |
H A D | network_connection_handler.h | 54 // No network matching |service_path| is found (hidden networks must be 106 void ConnectToNetwork(const std::string& service_path, 114 // kErrorNotFound if no network matching |service_path| is found. 118 void DisconnectNetwork(const std::string& service_path, 122 // Returns true if ConnectToNetwork has been called with |service_path| and 124 bool HasConnectingNetwork(const std::string& service_path); 156 ConnectRequest* GetPendingRequest(const std::string& service_path); 161 // pending_requests_[service_path]. |check_error_state| is passed from 164 const std::string& service_path, 168 void QueueConnectRequest(const std::string& service_path); [all...] |
H A D | network_activation_handler.h | 34 // kErrorNotFound if no network matching |service_path| is found. 36 void Activate(const std::string& service_path, 45 // kErrorNotFound if no network matching |service_path| is found. 47 void CompleteActivation(const std::string& service_path, 57 void CallShillActivate(const std::string& service_path, 64 const std::string& service_path, 70 void HandleShillSuccess(const std::string& service_path,
|
H A D | network_configuration_handler.cc | 42 void InvokeErrorCallback(const std::string& service_path, argument 46 NET_LOG_ERROR(error_msg, service_path); 48 error_callback, service_path, error_name, error_msg); 54 const std::string& service_path, 61 service_path, 72 shill_property_util::GetNameFromProperties(service_path, properties); 75 callback.Run(service_path, *properties_copy.get()); 79 const std::string& service_path, 86 service_path, error_callback, 112 const std::string& service_path, 51 GetPropertiesCallback( const network_handler::DictionaryResultCallback& callback, const network_handler::ErrorCallback& error_callback, const std::string& service_path, DBusMethodCallStatus call_status, const base::DictionaryValue& properties) argument 78 SetNetworkProfileErrorCallback( const std::string& service_path, const std::string& profile_path, const network_handler::ErrorCallback& error_callback, const std::string& dbus_error_name, const std::string& dbus_error_message) argument 111 ProfileEntryDeleter(NetworkConfigurationHandler* handler, const std::string& service_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 207 GetProperties( const std::string& service_path, const network_handler::DictionaryResultCallback& callback, const network_handler::ErrorCallback& error_callback) const argument 218 SetProperties( const std::string& service_path, const base::DictionaryValue& properties, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 240 ClearProperties( const std::string& service_path, const std::vector<std::string>& names, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 301 RemoveConfiguration( const std::string& service_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 320 SetNetworkProfile( const std::string& service_path, const std::string& profile_path, const base::Closure& callback, const network_handler::ErrorCallback& error_callback) argument 352 RunCreateNetworkCallback( const network_handler::StringResultCallback& callback, const dbus::ObjectPath& service_path) argument 364 ProfileEntryDeleterCompleted( const std::string& service_path) argument 373 SetPropertiesSuccessCallback( const std::string& service_path, const base::Closure& callback) argument 381 SetPropertiesErrorCallback( const std::string& service_path, const network_handler::ErrorCallback& error_callback, const std::string& dbus_error_name, const std::string& dbus_error_message) argument 394 ClearPropertiesSuccessCallback( const std::string& service_path, const std::vector<std::string>& names, const base::Closure& callback, const base::ListValue& result) argument 418 ClearPropertiesErrorCallback( const std::string& service_path, const network_handler::ErrorCallback& error_callback, const std::string& dbus_error_name, const std::string& dbus_error_message) argument [all...] |
H A D | network_configuration_handler.h | 57 // Gets the properties of the network with id |service_path|. See note on 60 const std::string& service_path, 64 // Sets the properties of the network with id |service_path|. This means the 69 const std::string& service_path, 80 void ClearProperties(const std::string& service_path, 86 // profile, and returns the new service_path to |callback| if successful. 96 // Removes the network |service_path| from any profiles that include it. 99 const std::string& service_path, 103 // Changes the profile for the network |service_path| to |profile_path|. 105 void SetNetworkProfile(const std::string& service_path, 131 PendingProfileEntryDeleterForTest(const std::string& service_path) argument [all...] |
H A D | network_configuration_handler_unittest.cc | 50 const std::string& service_path, 54 EXPECT_EQ(expected_id, service_path); 142 void OnSetProperties(const dbus::ObjectPath& service_path, argument 151 const dbus::ObjectPath& service_path, 163 const dbus::ObjectPath& service_path, 181 const dbus::ObjectPath& service_path, 197 bool PendingProfileEntryDeleterForTest(const std::string& service_path) { argument 199 PendingProfileEntryDeleterForTest(service_path); 213 std::string service_path = "/service/1"; local 224 SetProperty(dbus::ObjectPath(service_path), ke 47 DictionaryValueCallback( const std::string& expected_id, const std::string& expected_json, const std::string& service_path, const base::DictionaryValue& dictionary) argument 150 OnClearProperties( const dbus::ObjectPath& service_path, const std::vector<std::string>& names, const ShillClientHelper::ListValueCallback& callback, const ShillClientHelper::ErrorCallback& error_callback) argument 162 OnClearPropertiesError( const dbus::ObjectPath& service_path, const std::vector<std::string>& names, const ShillClientHelper::ListValueCallback& callback, const ShillClientHelper::ErrorCallback& error_callback) argument 180 OnGetLoadableProfileEntries( const dbus::ObjectPath& service_path, const ShillClientHelper::DictionaryValueCallback& callback) argument 248 std::string service_path = "/service/1"; local 270 std::string service_path = "/service/1"; local 307 std::string service_path = "/service/1"; local 368 std::string service_path = "/service/1"; local 411 PropertyUpdatesForService(const std::string& service_path) argument 461 GetPropertiesCallback(const std::string& service_path, const base::DictionaryValue& dictionary) argument 467 CreateConfigurationCallback(const std::string& service_path) argument 472 GetServiceStringProperty(const std::string& service_path, const std::string& key, std::string* result) argument 484 GetReceivedStringProperty(const std::string& service_path, const std::string& key, std::string* result) argument [all...] |
H A D | network_cert_migrator.cc | 85 const std::string& service_path = (*it)->path(); local 87 dbus::ObjectPath(service_path), 91 service_path)); 95 void MigrateNetwork(const std::string& service_path, argument 103 MigrateClientCertProperties(service_path, properties, &new_properties); 104 MigrateNssProperties(service_path, properties, &new_properties); 108 SendPropertiesToShill(service_path, new_properties); 111 void MigrateClientCertProperties(const std::string& service_path, argument 134 "configuration from network " << service_path; 145 VLOG(1) << "Network " << service_path 152 MigrateNssProperties(const std::string& service_path, const base::DictionaryValue& properties, base::DictionaryValue* new_properties) argument 165 << ", network: " << service_path; local 271 SendPropertiesToShill(const std::string& service_path, const base::DictionaryValue& properties) argument 283 LogErrorAndNotifyNetworkStateHandler(const std::string& service_path, const std::string& error_name, const std::string& error_message) argument 295 NotifyNetworkStateHandler(const std::string& service_path) argument [all...] |
H A D | network_policy_observer.h | 22 virtual void PolicyApplied(const std::string& service_path) {}; argument
|
/external/chromium_org/chromeos/dbus/ |
H A D | mock_shill_service_client.h | 23 void(const dbus::ObjectPath& service_path, 26 void(const dbus::ObjectPath& service_path, 28 MOCK_METHOD2(GetProperties, void(const dbus::ObjectPath& service_path, 30 MOCK_METHOD5(SetProperty, void(const dbus::ObjectPath& service_path, 35 MOCK_METHOD4(SetProperties, void(const dbus::ObjectPath& service_path, 39 MOCK_METHOD4(ClearProperty, void(const dbus::ObjectPath& service_path, 43 MOCK_METHOD4(ClearProperties, void(const dbus::ObjectPath& service_path, 47 MOCK_METHOD3(Connect, void(const dbus::ObjectPath& service_path, 50 MOCK_METHOD3(Disconnect, void(const dbus::ObjectPath& service_path, 53 MOCK_METHOD3(Remove, void(const dbus::ObjectPath& service_path, [all...] |
H A D | fake_shill_service_client.cc | 67 const dbus::ObjectPath& service_path, 69 GetObserverList(service_path).AddObserver(observer); 73 const dbus::ObjectPath& service_path, 75 GetObserverList(service_path).RemoveObserver(observer); 79 const dbus::ObjectPath& service_path, 84 stub_services_.GetDictionaryWithoutPathExpansion(service_path.value(), 94 VLOG(2) << "Properties not found for: " << service_path.value(); 107 void FakeShillServiceClient::SetProperty(const dbus::ObjectPath& service_path, argument 112 if (!SetServiceProperty(service_path.value(), name, value)) { 113 LOG(ERROR) << "Service not found: " << service_path 66 AddPropertyChangedObserver( const dbus::ObjectPath& service_path, ShillPropertyChangedObserver* observer) argument 72 RemovePropertyChangedObserver( const dbus::ObjectPath& service_path, ShillPropertyChangedObserver* observer) argument 78 GetProperties( const dbus::ObjectPath& service_path, const DictionaryValueCallback& callback) argument 120 SetProperties( const dbus::ObjectPath& service_path, const base::DictionaryValue& properties, const base::Closure& callback, const ErrorCallback& error_callback) argument 136 ClearProperty( const dbus::ObjectPath& service_path, const std::string& name, const base::Closure& callback, const ErrorCallback& error_callback) argument 152 ClearProperties( const dbus::ObjectPath& service_path, const std::vector<std::string>& names, const ListValueCallback& callback, const ErrorCallback& error_callback) argument 176 Connect(const dbus::ObjectPath& service_path, const base::Closure& callback, const ErrorCallback& error_callback) argument 210 Disconnect(const dbus::ObjectPath& service_path, const base::Closure& callback, const ErrorCallback& error_callback) argument 233 Remove(const dbus::ObjectPath& service_path, const base::Closure& callback, const ErrorCallback& error_callback) argument 239 ActivateCellularModem( const dbus::ObjectPath& service_path, const std::string& carrier, const base::Closure& callback, const ErrorCallback& error_callback) argument 265 CompleteCellularActivation( const dbus::ObjectPath& service_path, const base::Closure& callback, const ErrorCallback& error_callback) argument 272 GetLoadableProfileEntries( const dbus::ObjectPath& service_path, const DictionaryValueCallback& callback) argument 307 AddService(const std::string& service_path, const std::string& guid, const std::string& name, const std::string& type, const std::string& state, bool visible) argument 318 AddServiceWithIPConfig( const std::string& service_path, const std::string& guid, const std::string& name, const std::string& type, const std::string& state, const std::string& ipconfig_path, bool visible) argument 348 SetServiceProperties( const std::string& service_path, const std::string& guid, const std::string& name, const std::string& type, const std::string& state, bool visible) argument 407 RemoveService(const std::string& service_path) argument 414 SetServiceProperty(const std::string& service_path, const std::string& property, const base::Value& value) argument 422 << " For: " << service_path; local 501 SetConnectBehavior(const std::string& service_path, const base::Closure& behavior) argument 506 NotifyObserversPropertyChanged( const dbus::ObjectPath& service_path, const std::string& property) argument 526 GetModifiableServiceProperties( const std::string& service_path, bool create_if_missing) argument 549 SetOtherServicesOffline( const std::string& service_path) argument 579 SetCellularActivated( const dbus::ObjectPath& service_path, const ErrorCallback& error_callback) argument 594 ContinueConnect( const std::string& service_path) argument [all...] |
H A D | shill_service_client.h | 47 virtual void AddService(const std::string& service_path, 53 virtual void AddServiceWithIPConfig(const std::string& service_path, 63 const std::string& service_path, 71 virtual void RemoveService(const std::string& service_path) = 0; 73 // Returns false if a Service matching |service_path| does not exist. 74 virtual bool SetServiceProperty(const std::string& service_path, 78 // Returns properties for |service_path| or NULL if no Service matches. 80 const std::string& service_path) const = 0; 85 virtual void SetConnectBehavior(const std::string& service_path, 97 // Adds a property changed |observer| to the service at |service_path| [all...] |
H A D | shill_service_client.cc | 32 const dbus::ObjectPath& service_path, 38 " for: " + service_path.value() + ": " + 73 const dbus::ObjectPath& service_path, 75 GetHelper(service_path)->AddPropertyChangedObserver(observer); 79 const dbus::ObjectPath& service_path, 81 GetHelper(service_path)->RemovePropertyChangedObserver(observer); 84 virtual void GetProperties(const dbus::ObjectPath& service_path, 88 GetHelper(service_path)->CallDictionaryValueMethodWithErrorCallback( 92 service_path, callback)); 95 virtual void SetProperty(const dbus::ObjectPath& service_path, 30 OnGetDictionaryError( const std::string& method_name, const dbus::ObjectPath& service_path, const ShillServiceClient::DictionaryValueCallback& callback, const std::string& error_name, const std::string& error_message) argument 231 GetHelper(const dbus::ObjectPath& service_path) argument [all...] |
H A D | fake_shill_service_client.h | 31 const dbus::ObjectPath& service_path, 34 const dbus::ObjectPath& service_path, 36 virtual void GetProperties(const dbus::ObjectPath& service_path, 38 virtual void SetProperty(const dbus::ObjectPath& service_path, 43 virtual void SetProperties(const dbus::ObjectPath& service_path, 47 virtual void ClearProperty(const dbus::ObjectPath& service_path, 51 virtual void ClearProperties(const dbus::ObjectPath& service_path, 55 virtual void Connect(const dbus::ObjectPath& service_path, 58 virtual void Disconnect(const dbus::ObjectPath& service_path, 61 virtual void Remove(const dbus::ObjectPath& service_path, [all...] |
H A D | bluetooth_gatt_manager_client.h | 36 // D-Bus object path |service_path| with the remote GATT manager. The local 46 virtual void RegisterService(const dbus::ObjectPath& service_path, 51 // Unregisters the GATT service with the D-Bus object path |service_path| from 53 virtual void UnregisterService(const dbus::ObjectPath& service_path,
|
H A D | fake_shill_profile_client.cc | 152 const std::string& service_path) { 157 << " for: " << service_path; local 160 if (profile->entries.HasKey(service_path)) 162 return AddOrUpdateServiceImpl(profile_path, service_path, profile); 166 const std::string& service_path) { 171 << " for: " << service_path; local 174 if (!profile->entries.HasKey(service_path)) { 176 << " does not contain Service: " << service_path; local 179 return AddOrUpdateServiceImpl(profile_path, service_path, profile); 184 const std::string& service_path, 151 AddService(const std::string& profile_path, const std::string& service_path) argument 165 UpdateService(const std::string& profile_path, const std::string& service_path) argument 182 AddOrUpdateServiceImpl( const std::string& profile_path, const std::string& service_path, ProfileProperties* profile) argument 221 GetService(const std::string& service_path, std::string* profile_path, base::DictionaryValue* properties) argument [all...] |
H A D | fake_bluetooth_gatt_manager_client.cc | 27 const dbus::ObjectPath& service_path, 31 VLOG(1) << "Register GATT service: " << service_path.value(); 34 ServiceMap::iterator iter = service_map_.find(service_path); 37 "GATT service doesn't exist: " + service_path.value()); 46 "GATT service already registered: " + service_path.value()); 56 const dbus::ObjectPath& service_path, 59 VLOG(1) << "Unregister GATT service: " << service_path.value(); 62 ServiceMap::iterator iter = service_map_.find(service_path); 65 "GATT service doesn't exist: " + service_path.value()); 74 "GATT service not registered: " + service_path 26 RegisterService( const dbus::ObjectPath& service_path, const Options& options, const base::Closure& callback, const ErrorCallback& error_callback) argument 55 UnregisterService( const dbus::ObjectPath& service_path, const base::Closure& callback, const ErrorCallback& error_callback) argument [all...] |
/external/chromium_org/ash/system/chromeos/network/ |
H A D | network_connect.h | 30 ASH_EXPORT void ConnectToNetwork(const std::string& service_path); 40 ASH_EXPORT void ActivateCellular(const std::string& service_path); 44 ASH_EXPORT void ShowMobileSetup(const std::string& service_path); 49 const std::string& service_path, 66 const std::string& service_path); 68 // Shows the settings for the network specified by |service_path|. If empty, 70 ASH_EXPORT void ShowNetworkSettings(const std::string& service_path);
|
H A D | network_connect.cc | 63 const std::string& service_path) { 65 ShowNetworkConnectError(error_name, service_path); 68 void HandleUnconfiguredNetwork(const std::string& service_path) { argument 70 GetNetworkState(service_path); 72 NET_LOG_ERROR("Configuring unknown network", service_path); 80 ShowNetworkConfigure(service_path); 88 ShowNetworkConfigure(service_path); 94 ash::network_connect::ActivateCellular(service_path); 98 ash::network_connect::ShowMobileSetup(service_path); 104 ShowNetworkSettings(service_path); 62 ShowErrorNotification(const std::string& error_name, const std::string& service_path) argument 137 OnConnectFailed(const std::string& service_path, const std::string& error_name, scoped_ptr<base::DictionaryValue> error_data) argument 195 OnConnectSucceeded(const std::string& service_path) argument 206 CallConnectToNetwork(const std::string& service_path, bool check_error_state) argument 220 OnActivateFailed(const std::string& service_path, const std::string& error_name, scoped_ptr<base::DictionaryValue> error_data) argument 227 OnActivateSucceeded(const std::string& service_path) argument 237 OnConfigureSucceeded(bool connect_on_configure, const std::string& service_path) argument 263 SetPropertiesFailed(const std::string& desc, const std::string& service_path, const std::string& config_error_name, scoped_ptr<base::DictionaryValue> error_data) argument 288 ClearPropertiesAndConnect( const std::string& service_path, const std::vector<std::string>& properties_to_clear) argument 302 ConfigureSetProfileSucceeded( const std::string& service_path, scoped_ptr<base::DictionaryValue> properties_to_set) argument 316 GetNetworkState(const std::string& service_path) argument 332 ConnectToNetwork(const std::string& service_path) argument 402 ActivateCellular(const std::string& service_path) argument 434 ShowMobileSetup(const std::string& service_path) argument 461 ConfigureNetworkAndConnect(const std::string& service_path, const base::DictionaryValue& properties, bool shared) argument 493 ErrorString(const std::string& error, const std::string& service_path) argument 575 ShowNetworkSettings(const std::string& service_path) argument [all...] |
H A D | network_portal_detector_observer.h | 17 virtual void OnCaptivePortalDetected(const std::string& service_path) = 0;
|
H A D | network_state_notifier.h | 52 const std::string& service_path); 57 const std::string& service_path, 61 const std::string& service_path, 66 const std::string& service_path,
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/ |
H A D | mobile_setup_dialog.h | 15 static void Show(const std::string& service_path);
|
/external/chromium_org/chrome/browser/chromeos/ |
H A D | enrollment_dialog_view.h | 20 bool CreateDialog(const std::string& service_path,
|
/external/chromium_org/ui/chromeos/network/ |
H A D | network_info.cc | 13 : service_path(path), disable(false), highlight(false) {
|
H A D | network_info.h | 27 std::string service_path; member in struct:ui::NetworkInfo
|