Home
last modified time | relevance | path

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

/device/generic/goldfish/radio/libril/
Dril_service.cpp7161 RIL_SignalStrength_v10 *rilSignalStrength = (RIL_SignalStrength_v10 *) response; in convertRilSignalStrengthToHal() local
7165 if (rilSignalStrength->LTE_SignalStrength.signalStrength == -1) { in convertRilSignalStrengthToHal()
7166 rilSignalStrength->LTE_SignalStrength.signalStrength = 99; in convertRilSignalStrengthToHal()
7170 if (rilSignalStrength->LTE_SignalStrength.rsrp == -1) { in convertRilSignalStrengthToHal()
7171 rilSignalStrength->LTE_SignalStrength.rsrp = INT_MAX; in convertRilSignalStrengthToHal()
7172 } else if (rilSignalStrength->LTE_SignalStrength.rsrp < -1) { in convertRilSignalStrengthToHal()
7173 rilSignalStrength->LTE_SignalStrength.rsrp = -rilSignalStrength->LTE_SignalStrength.rsrp; in convertRilSignalStrengthToHal()
7176 if (rilSignalStrength->LTE_SignalStrength.rsrq == -1) { in convertRilSignalStrengthToHal()
7177 rilSignalStrength->LTE_SignalStrength.rsrq = INT_MAX; in convertRilSignalStrengthToHal()
7181 if (rilSignalStrength->LTE_SignalStrength.cqi == -1) { in convertRilSignalStrengthToHal()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_service.cpp8733 RIL_SignalStrength_v12 *rilSignalStrength = (RIL_SignalStrength_v12 *) response; in convertRilSignalStrengthToHal() local
8737 if (rilSignalStrength->LTE_SignalStrength.signalStrength == -1) { in convertRilSignalStrengthToHal()
8738 rilSignalStrength->LTE_SignalStrength.signalStrength = 99; in convertRilSignalStrengthToHal()
8742 if (rilSignalStrength->LTE_SignalStrength.rsrp == -1) { in convertRilSignalStrengthToHal()
8743 rilSignalStrength->LTE_SignalStrength.rsrp = INT_MAX; in convertRilSignalStrengthToHal()
8744 } else if (rilSignalStrength->LTE_SignalStrength.rsrp < -1) { in convertRilSignalStrengthToHal()
8745 rilSignalStrength->LTE_SignalStrength.rsrp = -rilSignalStrength->LTE_SignalStrength.rsrp; in convertRilSignalStrengthToHal()
8748 if (rilSignalStrength->LTE_SignalStrength.rsrq == -1) { in convertRilSignalStrengthToHal()
8749 rilSignalStrength->LTE_SignalStrength.rsrq = INT_MAX; in convertRilSignalStrengthToHal()
8753 if (rilSignalStrength->LTE_SignalStrength.cqi == -1) { in convertRilSignalStrengthToHal()
[all …]
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp8461 RIL_SignalStrength_v10 *rilSignalStrength = (RIL_SignalStrength_v10 *) response; in convertRilSignalStrengthToHal() local
8465 if (rilSignalStrength->LTE_SignalStrength.signalStrength == -1) { in convertRilSignalStrengthToHal()
8466 rilSignalStrength->LTE_SignalStrength.signalStrength = 99; in convertRilSignalStrengthToHal()
8470 if (rilSignalStrength->LTE_SignalStrength.rsrp == -1) { in convertRilSignalStrengthToHal()
8471 rilSignalStrength->LTE_SignalStrength.rsrp = INT_MAX; in convertRilSignalStrengthToHal()
8472 } else if (rilSignalStrength->LTE_SignalStrength.rsrp < -1) { in convertRilSignalStrengthToHal()
8473 rilSignalStrength->LTE_SignalStrength.rsrp = -rilSignalStrength->LTE_SignalStrength.rsrp; in convertRilSignalStrengthToHal()
8476 if (rilSignalStrength->LTE_SignalStrength.rsrq == -1) { in convertRilSignalStrengthToHal()
8477 rilSignalStrength->LTE_SignalStrength.rsrq = INT_MAX; in convertRilSignalStrengthToHal()
8481 if (rilSignalStrength->LTE_SignalStrength.cqi == -1) { in convertRilSignalStrengthToHal()
[all …]