Home
last modified time | relevance | path

Searched refs:isBoundedInt32 (Results 1 – 7 of 7) sorted by relevance

/system/chre/apps/chqts/src/general_test/
Dcell_info_lte.cc24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) { in validateIdentity()
27 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
30 } else if (!isBoundedInt32(identity.ci, 0, 268435455, INT32_MAX)) { in validateIdentity()
32 } else if (!isBoundedInt32(identity.pci, 0, 503, INT32_MAX)) { in validateIdentity()
34 } else if (!isBoundedInt32(identity.tac, 0, 65535, INT32_MAX)) { in validateIdentity()
37 } else if (!isBoundedInt32(identity.earfcn, 0, 262144, INT32_MAX)) { in validateIdentity()
52 if (!isBoundedInt32(strength.signalStrength, 0, 31, 99)) { in validateSignalStrength()
55 } else if (!isBoundedInt32(strength.rsrp, 44, 140, max)) { in validateSignalStrength()
58 } else if (!isBoundedInt32(strength.rsrq, 3, 20, max)) { in validateSignalStrength()
62 } else if (!isBoundedInt32(strength.rssnr, -200, 300, max)) { in validateSignalStrength()
[all …]
Dcell_info_wcdma.cc24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) { in validateIdentity()
27 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
30 } else if (!isBoundedInt32(identity.lac, 0, 65535, INT32_MAX)) { in validateIdentity()
33 } else if (!isBoundedInt32(identity.cid, 0, 268435455, INT32_MAX)) { in validateIdentity()
35 } else if (!isBoundedInt32(identity.psc, 0, 511, INT32_MAX)) { in validateIdentity()
38 } else if (!isBoundedInt32(identity.uarfcn, 0, 65535, INT32_MAX)) { in validateIdentity()
52 if (!isBoundedInt32(strength.signalStrength, 0, 31, 99)) { in validateSignalStrength()
55 } else if (!isBoundedInt32(strength.bitErrorRate, 0, 7, 99)) { in validateSignalStrength()
Dcell_info_gsm.cc24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) { in validateIdentity()
27 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
30 } else if (!isBoundedInt32(identity.lac, 0, 65535, INT32_MAX)) { in validateIdentity()
32 } else if (!isBoundedInt32(identity.cid, 0, 65535, INT32_MAX)) { in validateIdentity()
34 } else if (!isBoundedInt32(identity.arfcn, 0, 65535, INT32_MAX)) { in validateIdentity()
63 if (!isBoundedInt32(strength.signalStrength, 0, 31, 99)) { in validateSignalStrength()
66 } else if (!isBoundedInt32(strength.bitErrorRate, 0, 7, 99)) { in validateSignalStrength()
Dcell_info_tdscdma.cc24 if (!isBoundedInt32(identity.mcc, 0, 999, INT32_MAX)) { in validateIdentity()
27 } else if (!isBoundedInt32(identity.mnc, 0, 999, INT32_MAX)) { in validateIdentity()
30 } else if (!isBoundedInt32(identity.lac, 0, 65535, INT32_MAX)) { in validateIdentity()
33 } else if (!isBoundedInt32(identity.cid, 0, 65535, INT32_MAX)) { in validateIdentity()
36 } else if (!isBoundedInt32(identity.cpid, 0, 127, INT32_MAX)) { in validateIdentity()
50 if (!isBoundedInt32(strength.rscp, 25, 120, INT32_MAX)) { in validateSignalStrength()
Dcell_info_cdma.cc25 if (!isBoundedInt32(identity.networkId, 0, 65535, max)) { in validateIdentity()
28 } else if (!isBoundedInt32(identity.systemId, 0, 32767, max)) { in validateIdentity()
31 } else if (!isBoundedInt32(identity.basestationId, 0, 65535, max)) { in validateIdentity()
34 } else if (!isBoundedInt32(identity.longitude, -2592000, 2592000, max)) { in validateIdentity()
36 } else if (!isBoundedInt32(identity.latitude, -1296000, 1296000, max)) { in validateIdentity()
Dcell_info_base.h33 static bool isBoundedInt32(int32_t value, int32_t lower,
Dcell_info_base.cc26 bool CellInfoBase::isBoundedInt32(int32_t value, int32_t lower, in isBoundedInt32() function in general_test::CellInfoBase