Home
last modified time | relevance | path

Searched refs:modem (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/powermodel/test/com/android/powermodel/
DBatteryStatsReaderTest.java44 final ModemGlobalActivity modem in testModemGlobal() local
46 Assert.assertNotNull(modem); in testModemGlobal()
47 Assert.assertEquals(97840, modem.rxPacketCount); in testModemGlobal()
48 Assert.assertEquals(72941, modem.txPacketCount); in testModemGlobal()
49 Assert.assertEquals(5113727, modem.totalActiveTimeMs); in testModemGlobal()
59 final ModemAppActivity modem in testModemApp() local
61 Assert.assertNotNull(modem); in testModemApp()
62 Assert.assertEquals(9925, modem.rxPacketCount); in testModemApp()
63 Assert.assertEquals(5577, modem.txPacketCount); in testModemApp()
72 final ModemRemainderActivity modem in testModemRemainder() local
[all …]
DPowerReportTest.java75 final ModemAppPower modem = (ModemAppPower)gmail.getComponentPower(Component.MODEM); in testModemApp() local
76 Assert.assertNotNull(modem); in testModemApp()
77 Assert.assertEquals(GMAIL_MODEM_MAH, modem.powerMah, EPSILON); in testModemApp()
86 final ModemRemainderPower modem in testModemRemainder() local
88 Assert.assertNotNull(modem); in testModemRemainder()
96 modem.strengthMah, EPSILON); in testModemRemainder()
97 Assert.assertEquals(2443805 * 12 / MS_PER_HR, modem.scanningMah, EPSILON); in testModemRemainder()
98 Assert.assertEquals(4923676 * AVERAGE_MODEM_POWER / MS_PER_HR, modem.activeMah, EPSILON); in testModemRemainder()
100 Assert.assertEquals(REMAINDER_MODEM_MAH, modem.powerMah, EPSILON); in testModemRemainder()
DPowerProfileTest.java131 final ModemProfile modem = (ModemProfile)profile.getComponent(Component.MODEM); in testReadGood() local
132 Assert.assertEquals(1.0f, modem.sleepMa, EPSILON); in testReadGood()
133 Assert.assertEquals(44.0f, modem.idleMa, EPSILON); in testReadGood()
134 Assert.assertEquals(12.0f, modem.scanningMa, EPSILON); in testReadGood()
135 Assert.assertEquals(11.0f, modem.rxMa, EPSILON); in testReadGood()
136 Assert.assertEquals(5, modem.txMa.length); in testReadGood()
137 Assert.assertEquals(16.0f, modem.txMa[0], EPSILON); in testReadGood()
138 Assert.assertEquals(19.0f, modem.txMa[1], EPSILON); in testReadGood()
139 Assert.assertEquals(22.0f, modem.txMa[2], EPSILON); in testReadGood()
140 Assert.assertEquals(73.0f, modem.txMa[3], EPSILON); in testReadGood()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyDevController.java267 for (HardwareConfig modem: mModems) { in getModemForSim()
268 if (modem.uuid.equals(sim.modemUuid)) { in getModemForSim()
269 return modem; in getModemForSim()
295 HardwareConfig modem = getModem(modemIndex); in getAllSimsForModem() local
297 if (sim.modemUuid.equals(modem.uuid)) { in getAllSimsForModem()
314 for (HardwareConfig modem: mModems) { in getAllModems()
315 modems.add(modem); in getAllModems()
DRIL.java6557 HardwareConfigModem hwModem = hwRil.modem.get(0); in convertHalHwConfigList()
/frameworks/opt/telephony/proto/src/
Dtelephony.proto376 // Airplane mode, out of service, or when the modem cannot determine
431 // Additional message of the reason info. We get this from the modem.
583 // Vendor RIL got unexpected or incorrect response from modem for this request
754 // Emergency call routing is a flag to tell how modem handles the calling with
755 // emergency numbers. For example, 110 in India, modem needs to handle/route
828 // Enabled modem change event.
1600 // Reasons for data call drop - network/modem disconnect
1611 // Data call was disconnected by modem because tethered mode was up
1676 // where the modem restarts happened
1679 // Indicates the modem restart reason. The restart reason can be used to
[all …]