Searched refs:isVoiceSupported (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ModemInfoTest.java | 34 boolean isVoiceSupported = true; in basicTests() 36 ModemInfo modemInfo = new ModemInfo(modemId, rat, isVoiceSupported, isDataSupported); in basicTests() 40 assertEquals(isVoiceSupported, modemInfo.isVoiceSupported); 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() 55 boolean isVoiceSupported = true; in parcelReadWrite() 57 ModemInfo modemInfo = new ModemInfo(modemId, rat, isVoiceSupported, isDataSupported); in parcelReadWrite() 66 assertEquals(isVoiceSupported, toCompare.isVoiceSupported); in parcelReadWrite()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ModemInfo.java | 32 public final boolean isVoiceSupported; field in ModemInfo 40 public ModemInfo(int modemId, int rat, boolean isVoiceSupported, boolean isDataSupported) { in ModemInfo() argument 43 this.isVoiceSupported = isVoiceSupported; in ModemInfo() 50 isVoiceSupported = in.readBoolean(); in ModemInfo() 56 return "modemId=" + modemId + " rat=" + rat + " isVoiceSupported:" + isVoiceSupported in toString() 62 return Objects.hash(modemId, rat, isVoiceSupported, isDataSupported); in hashCode() 79 && isVoiceSupported == s.isVoiceSupported in equals() 96 dest.writeBoolean(isVoiceSupported); in writeToParcel()
|