Home
last modified time | relevance | path

Searched refs:modemInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DModemInfoTest.java36 ModemInfo modemInfo = new ModemInfo(modemId, rat, isVoiceSupported, isDataSupported); in basicTests() local
38 assertEquals(modemId, modemInfo.modemId); in basicTests()
39 assertEquals(rat, modemInfo.rat); in basicTests()
40 assertEquals(isVoiceSupported, modemInfo.isVoiceSupported); in basicTests()
41 assertEquals(isDataSupported, modemInfo.isDataSupported); in basicTests()
42 assertNotEquals(modemInfo, new ModemInfo( in basicTests()
44 assertNotEquals(modemInfo, new ModemInfo( in basicTests()
46 assertNotEquals(modemInfo, new ModemInfo(modemId, rat, !isVoiceSupported, isDataSupported)); in basicTests()
47 assertNotEquals(modemInfo, new ModemInfo(modemId, rat, isVoiceSupported, !isDataSupported)); in basicTests()
57 ModemInfo modemInfo = new ModemInfo(modemId, rat, isVoiceSupported, isDataSupported); in parcelReadWrite() local
[all …]
DPhoneCapabilityTest.java39 ModemInfo modemInfo = new ModemInfo(1, 2, true, false); in basicTests() local
41 logicalModemList.add(modemInfo); in basicTests()
50 assertEquals(modemInfo, capability.logicalModemList.get(0)); in basicTests()
64 ModemInfo modemInfo = new ModemInfo(1, 2, true, false); in parcelReadWrite() local
66 logicalModemList.add(modemInfo); in parcelReadWrite()
80 assertEquals(modemInfo, toCompare.logicalModemList.get(0)); in parcelReadWrite()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryExternalStatsWorker.java464 final ModemActivityInfo modemInfo = awaitControllerInfo(modemReceiver); in updateExternalStatsLocked() local
510 if (modemInfo != null) { in updateExternalStatsLocked()
511 if (modemInfo.isValid()) { in updateExternalStatsLocked()
512 mStats.updateMobileRadioState(modemInfo); in updateExternalStatsLocked()
514 Slog.w(TAG, "modem info is invalid: " + modemInfo); in updateExternalStatsLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfigResponse.java128 modemInfo : phoneCapability.logicalModemList) { in convertHalPhoneCapability()
129 logicalModemList.add(new ModemInfo(modemInfo.modemId)); in convertHalPhoneCapability()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java1112 final ModemActivityInfo modemInfo = awaitControllerInfo(modemReceiver); in pullModemActivityInfo() local
1114 e.writeLong(modemInfo.getTimestamp()); in pullModemActivityInfo()
1115 e.writeLong(modemInfo.getSleepTimeMillis()); in pullModemActivityInfo()
1116 e.writeLong(modemInfo.getIdleTimeMillis()); in pullModemActivityInfo()
1117 e.writeLong(modemInfo.getTransmitPowerInfo().get(0).getTimeInMillis()); in pullModemActivityInfo()
1118 e.writeLong(modemInfo.getTransmitPowerInfo().get(1).getTimeInMillis()); in pullModemActivityInfo()
1119 e.writeLong(modemInfo.getTransmitPowerInfo().get(2).getTimeInMillis()); in pullModemActivityInfo()
1120 e.writeLong(modemInfo.getTransmitPowerInfo().get(3).getTimeInMillis()); in pullModemActivityInfo()
1121 e.writeLong(modemInfo.getTransmitPowerInfo().get(4).getTimeInMillis()); in pullModemActivityInfo()
1122 e.writeLong(modemInfo.getReceiveTimeMillis()); in pullModemActivityInfo()