Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 23 of 23) sorted by relevance

/system/connectivity/shill/wifi/
Dwifi_endpoint_unittest.cc188 const WiFiEndpointRefPtr& endpoint, in SetVendorInformation() argument
190 endpoint->vendor_information_ = vendor_information; in SetVendorInformation()
290 WiFiEndpointRefPtr endpoint = in TEST_F() local
292 EXPECT_EQ(kSSID, endpoint->ssid_string()); in TEST_F()
293 EXPECT_EQ(kBSSID, endpoint->bssid_string()); in TEST_F()
297 WiFiEndpointRefPtr endpoint = in TEST_F() local
299 EXPECT_EQ("?", endpoint->ssid_string()); in TEST_F()
463 WiFiEndpointRefPtr endpoint = in TEST_F() local
465 SetVendorInformation(endpoint, vendor_information); in TEST_F()
466 map<string, string> vendor_stringmap(endpoint->GetVendorInformation()); in TEST_F()
[all …]
Dwifi_provider.cc275 const WiFiEndpointConstRefPtr& endpoint) { in FindServiceForEndpoint() argument
277 service_by_endpoint_.find(endpoint.get()); in FindServiceForEndpoint()
283 void WiFiProvider::OnEndpointAdded(const WiFiEndpointConstRefPtr& endpoint) { in OnEndpointAdded() argument
288 WiFiServiceRefPtr service = FindService(endpoint->ssid(), in OnEndpointAdded()
289 endpoint->network_mode(), in OnEndpointAdded()
290 endpoint->security_mode()); in OnEndpointAdded()
294 endpoint->ssid(), in OnEndpointAdded()
295 endpoint->network_mode(), in OnEndpointAdded()
296 WiFiService::ComputeSecurityClass(endpoint->security_mode()), in OnEndpointAdded()
300 service->AddEndpoint(endpoint); in OnEndpointAdded()
[all …]
Dmock_wifi_provider.h43 WiFiServiceRefPtr(const WiFiEndpointConstRefPtr& endpoint));
44 MOCK_METHOD1(OnEndpointAdded, void(const WiFiEndpointConstRefPtr& endpoint));
46 WiFiServiceRefPtr(const WiFiEndpointConstRefPtr& endpoint));
48 void(const WiFiEndpointConstRefPtr& endpoint));
Dmock_wifi_service.h52 void(const WiFiEndpointConstRefPtr& endpoint));
54 void(const WiFiEndpointConstRefPtr& endpoint));
56 void(const WiFiEndpointConstRefPtr& endpoint));
58 void(const WiFiEndpointConstRefPtr& endpoint));
Dwifi_service.cc223 void WiFiService::AddEndpoint(const WiFiEndpointConstRefPtr& endpoint) { in AddEndpoint() argument
224 DCHECK(endpoint->ssid() == ssid()); in AddEndpoint()
225 endpoints_.insert(endpoint); in AddEndpoint()
229 void WiFiService::RemoveEndpoint(const WiFiEndpointConstRefPtr& endpoint) { in RemoveEndpoint() argument
230 set<WiFiEndpointConstRefPtr>::iterator i = endpoints_.find(endpoint); in RemoveEndpoint()
235 << endpoint->bssid_string(); in RemoveEndpoint()
239 if (current_endpoint_ == endpoint) { in RemoveEndpoint()
246 const WiFiEndpointConstRefPtr& endpoint) { in NotifyCurrentEndpoint() argument
247 DCHECK(!endpoint || (endpoints_.find(endpoint) != endpoints_.end())); in NotifyCurrentEndpoint()
248 current_endpoint_ = endpoint; in NotifyCurrentEndpoint()
[all …]
Dwifi.cc275 for (const auto& endpoint : endpoint_by_rpcid_) { in Stop() local
276 provider_->OnEndpointRemoved(endpoint.second); in Stop()
682 void WiFi::NotifyEndpointChanged(const WiFiEndpointConstRefPtr& endpoint) { in NotifyEndpointChanged() argument
683 provider_->OnEndpointUpdated(endpoint); in NotifyEndpointChanged()
988 const WiFiEndpointConstRefPtr endpoint(endpoint_it->second); in HandleRoam() local
989 WiFiServiceRefPtr service = provider_->FindServiceForEndpoint(endpoint); in HandleRoam()
993 << endpoint->bssid_string() in HandleRoam()
999 << " roamed to Endpoint " << endpoint->bssid_string() in HandleRoam()
1000 << " " << LogSSID(endpoint->ssid_string()); in HandleRoam()
1002 service->NotifyCurrentEndpoint(endpoint); in HandleRoam()
[all …]
Dwifi_provider.h92 const WiFiEndpointConstRefPtr& endpoint);
97 virtual void OnEndpointAdded(const WiFiEndpointConstRefPtr& endpoint);
103 const WiFiEndpointConstRefPtr& endpoint);
110 virtual void OnEndpointUpdated(const WiFiEndpointConstRefPtr& endpoint);
Dwifi_unittest.cc564 MATCHER_P(EndpointMatch, endpoint, "") {
566 arg->ssid() == endpoint->ssid() &&
567 arg->network_mode() == endpoint->network_mode() &&
568 arg->security_mode() == endpoint->security_mode();
782 const WiFiEndpointConstRefPtr& endpoint) { in OnEndpointRemoved() argument
814 WiFiEndpointRefPtr endpoint = MakeEndpointWithMode(*ssid, *bssid, mode); in MakeNewEndpoint() local
816 OnEndpointAdded(EndpointMatch(endpoint))).Times(1); in MakeNewEndpoint()
817 return endpoint; in MakeNewEndpoint()
851 WiFiEndpointRefPtr endpoint = in MakeNewEndpointAndService() local
854 MakeMockServiceWithSSID(endpoint->ssid(), endpoint->security_mode()); in MakeNewEndpointAndService()
[all …]
Dwifi_service.h70 virtual void AddEndpoint(const WiFiEndpointConstRefPtr& endpoint);
71 virtual void RemoveEndpoint(const WiFiEndpointConstRefPtr& endpoint);
77 virtual void NotifyCurrentEndpoint(const WiFiEndpointConstRefPtr& endpoint);
80 virtual void NotifyEndpointUpdated(const WiFiEndpointConstRefPtr& endpoint);
Dwifi_provider_unittest.cc346 const WiFiEndpointConstRefPtr& endpoint) { in AddEndpointToService() argument
347 provider_.service_by_endpoint_[endpoint.get()] = service; in AddEndpointToService()
470 WiFiEndpointRefPtr endpoint = MakeEndpoint("", "00:00:00:00:00:00", 0, 0); in TEST_F() local
471 AddEndpointToService(service0, endpoint); in TEST_F()
1217 WiFiEndpointRefPtr endpoint = MakeEndpoint(kSSID, "00:00:00:00:00:00", 0, 0); in TEST_F() local
1219 provider_.FindServiceForEndpoint(endpoint); in TEST_F()
1323 WiFiEndpointRefPtr endpoint = MakeEndpoint(ssid, "00:00:00:00:00:00", 0, 0); in TEST_F() local
1326 provider_.OnEndpointAdded(endpoint); in TEST_F()
1482 WiFiEndpointRefPtr endpoint = MakeEndpoint(ssid, "00:00:00:00:00:00", 0, 0); in TEST_F() local
1483 provider_.OnEndpointRemoved(endpoint); in TEST_F()
[all …]
Dmock_wifi.h61 void(const WiFiEndpointConstRefPtr& endpoint));
Dwifi_service_unittest.cc680 WiFiEndpointRefPtr endpoint = in TEST_F() local
682 endpoint->ieee80211w_required_ = true; in TEST_F()
683 wifi_service->AddEndpoint(endpoint); in TEST_F()
1374 WiFiEndpointRefPtr endpoint = in TEST_F() local
1376 service->AddEndpoint(endpoint); in TEST_F()
1401 WiFiEndpointRefPtr endpoint = in TEST_F() local
1403 service->AddEndpoint(endpoint); in TEST_F()
1777 WiFiEndpoint* endpoint = MakeOpenEndpoint( in TEST_F() local
1779 service->AddEndpoint(endpoint); in TEST_F()
1781 service->NotifyCurrentEndpoint(endpoint); in TEST_F()
[all …]
Dwifi.h202 virtual void NotifyEndpointChanged(const WiFiEndpointConstRefPtr& endpoint);
/system/core/fastboot/
Dusb_osx.cpp201 for (UInt8 endpoint = 1; endpoint <= interfaceNumEndpoints; endpoint++) { in try_interfaces() local
208 kr = (*interface)->GetPipeProperties(interface, endpoint, in try_interfaces()
219 handle->bulkIn = endpoint; in try_interfaces()
222 handle->bulkOut = endpoint; in try_interfaces()
229 ERR("could not get pipe properties for endpoint %u (%08x)\n", endpoint, kr); in try_interfaces()
/system/core/adb/
Dusb_osx.cpp316 UInt8 endpoint; in CheckInterface() local
354 for (endpoint = 1; endpoint <= interfaceNumEndpoints; endpoint++) { in CheckInterface()
361 kr = (*interface)->GetPipeProperties(interface, endpoint, &direction, in CheckInterface()
372 handle->bulkIn = endpoint; in CheckInterface()
377 handle->bulkOut = endpoint; in CheckInterface()
Dusb_linux.cpp303 urb->endpoint = h->ep_out; in usb_bulk_write()
342 urb->endpoint = h->ep_in; in usb_bulk_read()
DSERVICES.TXT144 <local> is the host-specific endpoint (e.g. tcp:9000).
145 <remote> is the device-specific endpoint.
Dprotocol.txt227 endpoint at any given time. The protocol remains unchanged, but the
/system/core/include/usbhost/
Dusbhost.h50 int endpoint; member
217 int endpoint,
/system/core/libusbhost/
Dusbhost.c601 int endpoint, in usb_device_bulk_transfer() argument
613 ctrl.ep = endpoint; in usb_device_bulk_transfer()
641 urb->endpoint = ep_desc->bEndpointAddress; in usb_request_new()
652 req->endpoint = urb->endpoint; in usb_request_new()
/system/connectivity/shill/doc/
Dipconfig-api.txt84 endpoint of a point-to-point link. This value is
Ddevice-api.txt719 void AddWakeOnPacketConnection(string endpoint)
742 void RemoveWakeOnPacketConnection(string endpoint)
Dservice-api.txt372 reported by the representative endpoint for this