Home
last modified time | relevance | path

Searched refs:SignalToStrength (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/wifi/
Dwifi_service.h224 FRIEND_TEST(WiFiServiceTest, SignalToStrength); // SignalToStrength
282 static uint8_t SignalToStrength(int16_t signal_dbm);
Dwifi_service_unittest.cc313 : kOkEndpointStrength(WiFiService::SignalToStrength(kOkEndpointSignal)), in WiFiServiceUpdateFromEndpointsTest()
314 kBadEndpointStrength(WiFiService::SignalToStrength(kBadEndpointSignal)), in WiFiServiceUpdateFromEndpointsTest()
316 WiFiService::SignalToStrength(kGoodEndpointSignal)), in WiFiServiceUpdateFromEndpointsTest()
1435 TEST_F(WiFiServiceTest, SignalToStrength) { in TEST_F() argument
1440 int16_t current_mapped = WiFiService::SignalToStrength(i); in TEST_F()
1441 int16_t next_mapped = WiFiService::SignalToStrength(i+1); in TEST_F()
1448 int16_t current_mapped = WiFiService::SignalToStrength(i); in TEST_F()
1449 int16_t next_mapped = WiFiService::SignalToStrength(i+1); in TEST_F()
1711 EXPECT_EQ(WiFiService::SignalToStrength(kPreferredDeviceBestSignal), in TEST_F()
Dwifi_service.cc860 SetStrength(SignalToStrength(signal)); in UpdateFromEndpoints()
1146 uint8_t WiFiService::SignalToStrength(int16_t signal_dbm) { in SignalToStrength() function in shill::WiFiService