Home
last modified time | relevance | path

Searched refs:cros (Results 1 – 25 of 25) sorted by relevance

/external/chromium/chrome/browser/chromeos/status/
Dnetwork_menu_button.cc163 void NetworkMenuButton::OnNetworkDeviceChanged(NetworkLibrary* cros, in OnNetworkDeviceChanged() argument
166 OnNetworkChanged(cros, cros->active_network()); in OnNetworkDeviceChanged()
167 const NetworkDevice* cellular = cros->FindCellularDevice(); in OnNetworkDeviceChanged()
174 !cros->cellular_enabled()) { in OnNetworkDeviceChanged()
175 cros->EnableCellularNetworkDevice(true); in OnNetworkDeviceChanged()
184 void NetworkMenuButton::OnNetworkManagerChanged(NetworkLibrary* cros) { in OnNetworkManagerChanged() argument
185 OnNetworkChanged(cros, cros->active_network()); in OnNetworkManagerChanged()
186 ShowOptionalMobileDataPromoNotification(cros); in OnNetworkManagerChanged()
191 void NetworkMenuButton::OnNetworkChanged(NetworkLibrary* cros, in OnNetworkChanged() argument
195 SetNetworkIcon(cros, network); in OnNetworkChanged()
[all …]
Dnetwork_menu.cc105 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in ConnectToNetworkAt() local
108 WifiNetwork* wifi = cros->FindWifiNetworkByPath(service_path); in ConnectToNetworkAt()
123 cros->ConnectToWifiNetwork(wifi); in ConnectToNetworkAt()
136 CellularNetwork* cellular = cros->FindCellularNetworkByPath( in ConnectToNetworkAt()
151 cros->ConnectToCellularNetwork(cellular); in ConnectToNetworkAt()
166 VirtualNetwork* vpn = cros->FindVirtualNetworkByPath(service_path); in ConnectToNetworkAt()
171 if (cros->connected_network()) in ConnectToNetworkAt()
172 owner_->ShowTabbedNetworkSettings(cros->connected_network()); in ConnectToNetworkAt()
180 cros->ConnectToVirtualNetwork(vpn); in ConnectToNetworkAt()
241 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in ActivatedAt() local
[all …]
Dnetwork_dropdown_button.cc68 void NetworkDropdownButton::OnNetworkManagerChanged(NetworkLibrary* cros) { in OnNetworkManagerChanged() argument
79 const Network* active_network = cros->active_network(); in OnNetworkManagerChanged()
99 } else if (cros->wifi_connecting() || cros->cellular_connecting()) { in OnNetworkManagerChanged()
105 if (cros->wifi_connecting()) in OnNetworkManagerChanged()
106 SetText(UTF8ToWide(cros->wifi_network()->name())); in OnNetworkManagerChanged()
107 else if (cros->cellular_connecting()) in OnNetworkManagerChanged()
108 SetText(UTF8ToWide(cros->cellular_network()->name())); in OnNetworkManagerChanged()
111 if (!cros->Connected() && !cros->Connecting()) { in OnNetworkManagerChanged()
Dnetwork_menu_button.h67 virtual void OnNetworkDeviceChanged(NetworkLibrary* cros,
70 virtual void OnNetworkManagerChanged(NetworkLibrary* cros);
72 virtual void OnNetworkChanged(NetworkLibrary* cros, const Network* network);
74 virtual void OnCellularDataPlanChanged(NetworkLibrary* cros);
100 NetworkLibrary* cros);
111 void SetNetworkIcon(NetworkLibrary* cros, const Network* network);
116 void RefreshNetworkDeviceObserver(NetworkLibrary* cros);
120 void RefreshNetworkObserver(NetworkLibrary* cros);
123 void ShowOptionalMobileDataPromoNotification(NetworkLibrary* cros);
Dpower_menu_button.cc119 PowerLibrary* cros = CrosLibrary::Get()->GetPowerLibrary(); in UpdateIconAndLabelInfo() local
120 if (!cros) in UpdateIconAndLabelInfo()
125 battery_is_present_ = cros->battery_is_present(); in UpdateIconAndLabelInfo()
126 line_power_on_ = cros->line_power_on(); in UpdateIconAndLabelInfo()
127 battery_fully_charged_ = cros->battery_fully_charged(); in UpdateIconAndLabelInfo()
128 battery_percentage_ = cros->battery_percentage(); in UpdateIconAndLabelInfo()
133 battery_time_to_full_ = cros->battery_time_to_full(); in UpdateIconAndLabelInfo()
134 battery_time_to_empty_ = cros->battery_time_to_empty(); in UpdateIconAndLabelInfo()
/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dinternet_options_handler.cc320 chromeos::NetworkLibrary* cros = in GetLocalizedValues() local
322 FillNetworkInfo(localized_strings, cros); in GetLocalizedValues()
328 chromeos::NetworkLibrary* cros = in Initialize() local
330 cros->RequestNetworkScan(); in Initialize()
369 chromeos::NetworkLibrary* cros = in EnableWifiCallback() local
371 cros->EnableWifiNetworkDevice(true); in EnableWifiCallback()
375 chromeos::NetworkLibrary* cros = in DisableWifiCallback() local
377 cros->EnableWifiNetworkDevice(false); in DisableWifiCallback()
381 chromeos::NetworkLibrary* cros = in EnableCellularCallback() local
383 const chromeos::NetworkDevice* cellular = cros->FindCellularDevice(); in EnableCellularCallback()
[all …]
Dinternet_options_handler.h93 chromeos::NetworkLibrary* cros);
96 void PopulateCellularDetails(chromeos::NetworkLibrary* cros,
126 chromeos::NetworkLibrary* cros);
128 void RefreshNetworkData(chromeos::NetworkLibrary* cros);
132 void MonitorNetworks(chromeos::NetworkLibrary* cros);
/external/chromium/chrome/browser/chromeos/
Dnetwork_message_observer.cc183 void NetworkMessageObserver::OnNetworkManagerChanged(NetworkLibrary* cros) { in OnNetworkManagerChanged() argument
186 for (WifiNetworkVector::const_iterator it = cros->wifi_networks().begin(); in OnNetworkManagerChanged()
187 it != cros->wifi_networks().end(); it++) { in OnNetworkManagerChanged()
197 cros->cellular_networks().begin(); in OnNetworkManagerChanged()
198 it != cros->cellular_networks().end(); it++) { in OnNetworkManagerChanged()
209 cros->virtual_networks().begin(); in OnNetworkManagerChanged()
210 it != cros->virtual_networks().end(); it++) { in OnNetworkManagerChanged()
220 for (WifiNetworkVector::const_iterator it = cros->wifi_networks().begin(); in OnNetworkManagerChanged()
221 it != cros->wifi_networks().end(); it++) in OnNetworkManagerChanged()
224 cros->cellular_networks().begin(); in OnNetworkManagerChanged()
[all …]
Dnetwork_state_notifier.cc49 void NetworkStateNotifier::OnNetworkManagerChanged(NetworkLibrary* cros) { in OnNetworkManagerChanged() argument
82 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in RetrieveState() local
83 if (cros->Connected()) { in RetrieveState()
85 } else if (cros->Connecting()) { in RetrieveState()
Dnetwork_login_observer.cc68 void NetworkLoginObserver::OnNetworkManagerChanged(NetworkLibrary* cros) { in OnNetworkManagerChanged() argument
69 const WifiNetworkVector& wifi_networks = cros->wifi_networks(); in OnNetworkManagerChanged()
70 const VirtualNetworkVector& virtual_networks = cros->virtual_networks(); in OnNetworkManagerChanged()
DDEPS2 "+cros",
Duser_cros_settings_provider.cc267 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in OnBooleanPropertyChange() local
268 cros->SetCellularDataRoamingAllowed(new_value); in OnBooleanPropertyChange()
280 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in OnBooleanPropertyRetrieve() local
281 const NetworkDevice* cellular = cros->FindCellularDevice(); in OnBooleanPropertyRetrieve()
286 cros->SetCellularDataRoamingAllowed(new_value); in OnBooleanPropertyRetrieve()
Dnetwork_state_notifier.h63 virtual void OnNetworkManagerChanged(NetworkLibrary* cros);
/external/chromium/chrome/browser/ui/webui/chromeos/
Dchoose_mobile_network_ui.cc76 virtual void OnNetworkDeviceChanged(NetworkLibrary* cros,
137 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in ChooseMobileNetworkHandler() local
138 cros->RequestCellularScan(); in ChooseMobileNetworkHandler()
139 if (const NetworkDevice* cellular = cros->FindCellularDevice()) { in ChooseMobileNetworkHandler()
141 cros->AddNetworkDeviceObserver(device_path_, this); in ChooseMobileNetworkHandler()
147 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in ~ChooseMobileNetworkHandler() local
148 cros->RemoveNetworkDeviceObserver(device_path_, this); in ~ChooseMobileNetworkHandler()
162 NetworkLibrary* cros, in OnNetworkDeviceChanged() argument
202 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in HandleCancel() local
203 cros->RequestCellularRegister(std::string()); in HandleCancel()
[all …]
Dsim_unlock_ui.cc100 virtual void OnNetworkDeviceChanged(NetworkLibrary* cros,
104 virtual void OnPinOperationCompleted(NetworkLibrary* cros,
355 void SimUnlockHandler::OnNetworkDeviceChanged(NetworkLibrary* cros, in OnNetworkDeviceChanged() argument
364 void SimUnlockHandler::OnPinOperationCompleted(NetworkLibrary* cros, in OnPinOperationCompleted() argument
366 DCHECK(cros); in OnPinOperationCompleted()
367 const NetworkDevice* cellular = cros->FindCellularDevice(); in OnPinOperationCompleted()
Dmobile_setup_ui.cc489 chromeos::NetworkLibrary* cros) { in OnNetworkManagerChanged() argument
499 void MobileSetupHandler::OnNetworkChanged(chromeos::NetworkLibrary* cros, in OnNetworkChanged() argument
1266 chromeos::NetworkLibrary* cros = in GetDeviceInfo() local
1268 if (!cros) in GetDeviceInfo()
1273 cros->FindNetworkDeviceByPath(network->device_path()); in GetDeviceInfo()
/external/chromium/chrome/browser/chromeos/net/
Dnetwork_change_notifier_chromeos.cc31 chromeos::NetworkLibrary* cros) { in OnNetworkManagerChanged() argument
32 UpdateNetworkState(cros); in OnNetworkManagerChanged()
68 chromeos::NetworkLibrary* cros, in OnNetworkChanged() argument
76 UpdateNetworkState(cros); in OnNetworkChanged()
Dnetwork_change_notifier_chromeos.h32 virtual void OnNetworkChanged(chromeos::NetworkLibrary* cros,
36 void UpdateNetworkState(chromeos::NetworkLibrary* cros);
/external/opencv/cvaux/src/
Dcvfindhandregion.cpp62 float *sub, *cros; in icvFindHandRegion() local
103 cros = icvCreateVector_32f( 3 ); in icvFindHandRegion()
104 if( sub == NULL || cros == NULL ) in icvFindHandRegion()
246 if( cros != NULL ) icvDeleteVector (cros); in icvFindHandRegion()
277 float *sub, *cros; in icvFindHandRegionA() local
323 cros = icvCreateVector_32f( 3 ); in icvFindHandRegionA()
324 if( sub == NULL || cros == NULL ) in icvFindHandRegionA()
566 if( cros != NULL ) icvDeleteVector (cros); in icvFindHandRegionA()
/external/chromium/chrome/browser/chromeos/offline/
Doffline_load_page.cc219 CrosLibrary* cros = CrosLibrary::Get(); in ShowActivationMessage() local
220 if (!cros || !cros->GetNetworkLibrary()->cellular_available()) in ShowActivationMessage()
224 cros->GetNetworkLibrary()->cellular_networks(); in ShowActivationMessage()
/external/chromium/chrome/browser/chromeos/options/
Dvpn_config_view.cc115 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in UpdateErrorLabel() local
116 VirtualNetwork* vpn = cros->FindVirtualNetworkByPath(service_path_); in UpdateErrorLabel()
183 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in Login() local
187 cros->ConnectToVirtualNetworkPSK(GetService(), in Login()
202 VirtualNetwork* vpn = cros->FindVirtualNetworkByPath(service_path_); in Login()
226 cros->ConnectToVirtualNetwork(vpn); in Login()
Dwifi_config_view.cc366 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in UpdateErrorLabel() local
367 const WifiNetwork* wifi = cros->FindWifiNetworkByPath(service_path_); in UpdateErrorLabel()
443 NetworkLibrary* cros = CrosLibrary::Get()->GetNetworkLibrary(); in Login() local
460 cros->ConnectToWifiNetwork( in Login()
463 WifiNetwork* wifi = cros->FindWifiNetworkByPath(service_path_); in Login()
572 cros->ConnectToWifiNetwork(wifi); in Login()
/external/chromium/chrome/browser/
Dbrowser_about_handler.cc462 chromeos::NetworkLibrary* cros = in GetNetworkHtmlInfo() local
477 if (cros->ethernet_enabled()) { in GetNetworkHtmlInfo()
479 const chromeos::EthernetNetwork* ethernet = cros->ethernet_network(); in GetNetworkHtmlInfo()
486 if (cros->wifi_enabled()) { in GetNetworkHtmlInfo()
488 const chromeos::WifiNetworkVector& wifi_networks = cros->wifi_networks(); in GetNetworkHtmlInfo()
497 if (cros->cellular_enabled()) { in GetNetworkHtmlInfo()
500 cros->cellular_networks(); in GetNetworkHtmlInfo()
512 cros->virtual_networks(); in GetNetworkHtmlInfo()
525 cros->remembered_wifi_networks(); in GetNetworkHtmlInfo()
DDEPS19 "+third_party/cros",
/external/chromium/chrome/browser/chromeos/cros/
Dnetwork_library.h890 virtual void OnNetworkChanged(NetworkLibrary* cros,
898 virtual void OnNetworkDeviceChanged(NetworkLibrary* cros,
912 virtual void OnPinOperationCompleted(NetworkLibrary* cros,
920 virtual void OnConnectionInitiated(NetworkLibrary* cros,