Home
last modified time | relevance | path

Searched refs:modem (Results 1 – 20 of 20) 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/
DRadioModemProxy.java28 private volatile android.hardware.radio.modem.IRadioModem mModemProxy = null;
38 android.hardware.radio.modem.IRadioModem modem) { in setAidl() argument
41 version = RIL.getServiceHalVersion(modem.getInterfaceVersion()); in setAidl()
46 mModemProxy = modem; in setAidl()
57 public android.hardware.radio.modem.IRadioModem getAidl() { in getAidl()
246 android.hardware.radio.modem.NvWriteItem item = in nvWriteItem()
247 new android.hardware.radio.modem.NvWriteItem(); in nvWriteItem()
315 android.hardware.radio.modem.RadioCapability halRc = in setRadioCapability()
316 new android.hardware.radio.modem.RadioCapability(); in setRadioCapability()
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()
DModemIndication.java28 import android.hardware.radio.modem.IRadioModemIndication;
29 import android.hardware.radio.modem.ImeiInfo;
50 android.hardware.radio.modem.HardwareConfig[] configs) { in hardwareConfigChanged()
84 android.hardware.radio.modem.RadioCapability radioCapability) { in radioCapabilityIndication()
DModemResponse.java23 import android.hardware.radio.modem.IRadioModemResponse;
24 import android.hardware.radio.modem.ImeiInfo;
100 android.hardware.radio.modem.HardwareConfig[] config) { in getHardwareConfigResponse()
117 android.hardware.radio.modem.ActivityStatsInfo activityInfo) { in getModemActivityInfoResponse()
176 android.hardware.radio.modem.RadioCapability radioCapability) { in getRadioCapabilityResponse()
242 android.hardware.radio.modem.RadioCapability radioCapability) { in setRadioCapabilityResponse()
DRILUtils.java1193 case 1: return android.hardware.radio.modem.ResetNvType.RELOAD; in convertToHalResetNvTypeAidl()
1194 case 2: return android.hardware.radio.modem.ResetNvType.ERASE; in convertToHalResetNvTypeAidl()
1195 case 3: return android.hardware.radio.modem.ResetNvType.FACTORY_RESET; in convertToHalResetNvTypeAidl()
2087 android.hardware.radio.V1_0.HardwareConfigModem hwModem = hwRil.modem.get(0); in convertHalHardwareConfigList()
2113 android.hardware.radio.modem.HardwareConfig[] hwListRil) { in convertHalHardwareConfigList()
2117 for (android.hardware.radio.modem.HardwareConfig hwRil : hwListRil) { in convertHalHardwareConfigList()
2122 android.hardware.radio.modem.HardwareConfigModem hwModem = hwRil.modem[0]; in convertHalHardwareConfigList()
2169 android.hardware.radio.modem.RadioCapability rc, RIL ril) { in convertHalRadioCapability()
DRIL.java40 import android.hardware.radio.modem.ImeiInfo;
878 android.hardware.radio.modem.IRadioModem.DESCRIPTOR + "/" in getRadioServiceProxy()
886 android.hardware.radio.modem.IRadioModem.Stub in getRadioServiceProxy()
1268 serviceName = android.hardware.radio.modem.IRadioModem.DESCRIPTOR; in isRadioServiceSupported()
DPhone.java31 import android.hardware.radio.modem.ImeiInfo;
DGsmCdmaPhone.java47 import android.hardware.radio.modem.ImeiInfo;
/frameworks/opt/telephony/proto/src/
Dtelephony.proto379 // Airplane mode, out of service, or when the modem cannot determine
448 // Additional message of the reason info. We get this from the modem.
600 // Vendor RIL got unexpected or incorrect response from modem for this request
771 // Emergency call routing is a flag to tell how modem handles the calling with
772 // emergency numbers. For example, 110 in India, modem needs to handle/route
845 // Enabled modem change event.
917 /** Radio power unavailable (eg, modem resetting or not booted). */
1637 // Reasons for data call drop - network/modem disconnect
1648 // Data call was disconnected by modem because tethered mode was up
1713 // where the modem restarts happened
[all …]
/frameworks/proto_logging/stats/enums/telephony/
Denums.proto352 * RIL and modem.
366 * DataStallRecoveryManager will request to reboot modem. It will recover if there is a problem
367 * in modem side. RECOVERY_ACTION_RESET_MODEM is introduced in Android T.
380 /* The data stall symptom recovered by modem. */
625 // emergency number is from the modem config
/frameworks/opt/telephony/flags/
Dnetwork.aconfig47 description: "Guards APIs for enabling and disabling modem cipher transparency."
/frameworks/opt/telephony/
DAndroid.bp89 "android.hardware.radio.modem-V3-java",
/frameworks/proto_logging/stats/atoms/telephony/satellite/
Dsatellite_extension_atoms.proto94 // The total duration of the battery being charged while satellite modem is on
124 // The result for satellite modem initialization.
/frameworks/base/
DAndroid.bp238 "android.hardware.radio.modem-V3-java",
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimulatedCommands.java25 import android.hardware.radio.modem.ImeiInfo;
DGsmCdmaPhoneTest.java60 import android.hardware.radio.modem.ImeiInfo;
/frameworks/proto_logging/stats/
Datoms.proto15982 * Logs information about modem restarts.
15988 // Software version of the modem, as provided by android.os.Build.getRadioVersion().
15991 // Reason of the modem restart, as provided in the modemReset indication of IRadio HAL.
21200 // modem timed out and we sent a timeout error back to the requesting app.
21204 // The command error code for the Uce event. Not populated if the modem
21219 * Information related to a SIP NOTIFY event from modem.