Searched refs:modemId (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/telephony/java/android/telephony/ |
D | ModemInfo.java | 30 public final int modemId; field in ModemInfo 36 public ModemInfo(int modemId) { in ModemInfo() argument 37 this(modemId, 0, true, true); in ModemInfo() 40 public ModemInfo(int modemId, int rat, boolean isVoiceSupported, boolean isDataSupported) { in ModemInfo() argument 41 this.modemId = modemId; in ModemInfo() 48 modemId = in.readInt(); in ModemInfo() 56 return "modemId=" + modemId + " rat=" + rat + " isVoiceSupported:" + isVoiceSupported in toString() 62 return Objects.hash(modemId, rat, isVoiceSupported, isDataSupported); in hashCode() 77 return (modemId == s.modemId in equals() 94 dest.writeInt(modemId); in writeToParcel()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ModemInfoTest.java | 32 int modemId = 1; in basicTests() local 36 ModemInfo modemInfo = new ModemInfo(modemId, rat, isVoiceSupported, isDataSupported); in basicTests() 38 assertEquals(modemId, modemInfo.modemId); in basicTests() 43 modemId + 1, rat, isVoiceSupported, isDataSupported)); in basicTests() 45 modemId, rat + 1, isVoiceSupported, isDataSupported)); in basicTests() 46 assertNotEquals(modemInfo, new ModemInfo(modemId, rat, !isVoiceSupported, isDataSupported)); in basicTests() 47 assertNotEquals(modemInfo, new ModemInfo(modemId, rat, isVoiceSupported, !isDataSupported)); in basicTests() 53 int modemId = 1; in parcelReadWrite() local 57 ModemInfo modemInfo = new ModemInfo(modemId, rat, isVoiceSupported, isDataSupported); in parcelReadWrite() 64 assertEquals(modemId, toCompare.modemId); in parcelReadWrite()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioConfig.java | 298 public void setPreferredDataModem(int modemId, Message result) { in setPreferredDataModem() argument 317 .setPreferredDataModem(rr.mSerial, (byte) modemId); in setPreferredDataModem()
|
D | ProxyController.java | 395 for (String modemId : mNewLogicalModemIds) { in onStartRadioCapabilityResponse() 396 if (!modemsInUse.add(modemId)) { in onStartRadioCapabilityResponse()
|
D | RadioConfigResponse.java | 129 logicalModemList.add(new ModemInfo(modemInfo.modemId)); in convertHalPhoneCapability()
|