Home
last modified time | relevance | path

Searched refs:GetValueInRange (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish/host/commands/modem_simulator/
Dnetwork_service.cpp1128 int NetworkService::GetValueInRange(const std::pair<int, int>& range, in GetValueInRange() function in cuttlefish::NetworkService
1173 result.gsm_rssi = GetValueInRange(kRssiRange, percent); in GetCurrentSignalStrength()
1176 result.cdma_dbm = GetValueInRange(kDbmRange, percent) * -1; in GetCurrentSignalStrength()
1179 result.evdo_dbm = GetValueInRange(kDbmRange, percent) * -1; in GetCurrentSignalStrength()
1182 result.lte_rsrp = GetValueInRange(kRsrpRange, percent) * -1; in GetCurrentSignalStrength()
1185 result.wcdma_rssi = GetValueInRange(kRssiRange, percent); in GetCurrentSignalStrength()
1190 result.lte_rsrp = GetValueInRange(kRsrpRange, percent) * -1; in GetCurrentSignalStrength()
1191 result.nr_ss_rsrp = GetValueInRange(kRsrpRange, percent) * -1; in GetCurrentSignalStrength()
Dnetwork_service.h234 static int GetValueInRange(const std::pair<int, int>& range, int percent);