Searched refs:SignalToStrength (Results 1 – 3 of 3) sorted by relevance
224 FRIEND_TEST(WiFiServiceTest, SignalToStrength); // SignalToStrength282 static uint8_t SignalToStrength(int16_t signal_dbm);
313 : 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() argument1440 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()
860 SetStrength(SignalToStrength(signal)); in UpdateFromEndpoints()1146 uint8_t WiFiService::SignalToStrength(int16_t signal_dbm) { in SignalToStrength() function in shill::WiFiService