Home | History | Annotate | Download | only in cros

Lines Matching refs:Network

71 // Network enums (see flimflam/include/network.h)
176 // Cellular network is considered low data when less than 60 minues.
179 // Cellular network is considered low data when less than 30 minues.
182 // Cellular network is considered low data when less than 100MB.
185 // Cellular network is considered very low data when less than 50MB.
273 // Contains data common to all network service types.
274 class Network {
276 virtual ~Network() {}
295 // Is this network connectable. Currently, this is mainly used by 802.1x
296 // networks to specify that the network is not configured yet.
298 // Is this the active network, i.e, the one through which
299 // network traffic is being routed? A network can be connected,
309 // We don't have a setter for |favorite_| because to unfavorite a network is
310 // equivalent to forget a network, so we call forget network on cros for
314 // Sets network name.
330 Network(const std::string& service_path, ConnectionType type)
347 // Methods to asynchronously set network service properties
372 // Unique identifier, set the first time the network is parsed.
398 // Set to true if the UI requested this as a new network.
407 DISALLOW_COPY_AND_ASSIGN(Network);
413 class EthernetNetwork : public Network {
416 Network(service_path, TYPE_ETHERNET) {
424 class VirtualNetwork : public Network {
435 Network(service_path, TYPE_VPN),
461 // Network overrides.
508 class WirelessNetwork : public Network {
514 : Network(service_path, type),
518 // Network overrides.
569 // Requests data plans if the network is conencted and activated.
570 // Plan data will be passed through Network::Observer::CellularDataPlanChanged
606 // Return a string representation of network technology.
869 // This class handles the interaction with the ChromeOS network library APIs.
881 // Called when the state of the network manager has changed,
888 // Called when the state of a single network has changed,
891 const Network* network) = 0;
911 // Network is NULL when we don't have an associated Network object.
919 // Network is NULL when we don't have an associated Network object.
921 const Network* network) = 0;
934 // Remove an observer of a single network
940 // Add an observer for a single network device.
943 // Remove an observer for a single network device.
947 // Temporarily locks down certain functionality in network library to prevent
951 // Removes temporarily lock of network library.
953 // Checks if access to network library is locked.
967 // Return the active or default Ethernet network (or NULL if none).
972 // Return the active Wifi network (or NULL if none active).
977 // Return the active Cellular network (or NULL if none active).
982 // Return the active virtual network (or NULL if none active).
987 // Return true if any network is currently connected.
990 // Return true if any network is currently connecting.
1021 // Return a pointer to the network, if it exists, or NULL.
1023 // The pattern for doing an operation on a Network is:
1024 // Network* network = cros->FindNetworkByPath(service_path);
1025 // network->SetFoo();
1026 // network->Connect();
1028 // the network list only gets updated on the UI thread.
1029 virtual Network* FindNetworkByPath(const std::string& path) const = 0;
1036 // Returns the visible wifi network corresponding to the remembered
1037 // wifi network, or NULL if the remembered network is not visible.
1038 virtual Network* FindNetworkFromRemembered(
1039 const Network* remembered) const = 0;
1073 // Request a register in cellular network with |network_id|.
1092 // Connect to the specified wireless network.
1093 virtual void ConnectToWifiNetwork(WifiNetwork* network) = 0;
1095 // Same as above but searches for an existing network by name.
1098 // Connect to the specified network with security, ssid, passphrase, identity,
1106 // Connect to the specified cellular network.
1107 virtual void ConnectToCellularNetwork(CellularNetwork* network) = 0;
1115 // Connect to the specified virtual network.
1116 virtual void ConnectToVirtualNetwork(VirtualNetwork* network) = 0;
1118 // Connect to the specified virtual network with service name,
1127 // Disconnect from the specified network.
1128 virtual void DisconnectFromNetwork(const Network* network) = 0;
1130 // Forget the wifi network corresponding to service_path.
1147 virtual const Network* active_network() const = 0;
1148 virtual const Network* connected_network() const = 0;
1152 // Enables/disables the ethernet network device.
1155 // Enables/disables the wifi network device.
1158 // Enables/disables the cellular network device.