Home
last modified time | relevance | path

Searched refs:rat (Results 1 – 21 of 21) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/
DEuiccRulesAuthTableTest.java37 EuiccRulesAuthTable rat = in testFindIndex() local
86 assertEquals(1, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, opA)); in testFindIndex()
87 assertEquals(3, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, opB)); in testFindIndex()
88 assertEquals(2, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, opA)); in testFindIndex()
89 assertEquals(2, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, opB)); in testFindIndex()
90 assertTrue(rat.hasPolicyRuleFlag(1, EuiccRulesAuthTable.POLICY_RULE_FLAG_CONSENT_REQUIRED)); in testFindIndex()
91 assertFalse(rat.hasPolicyRuleFlag( in testFindIndex()
93 assertTrue(rat.hasPolicyRuleFlag(3, EuiccRulesAuthTable.POLICY_RULE_FLAG_CONSENT_REQUIRED)); in testFindIndex()
101 EuiccRulesAuthTable rat = in testFindIndex_AllowAllWithUserConsent() local
115 assertEquals(0, rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, opA)); in testFindIndex_AllowAllWithUserConsent()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DModemInfoTest.java33 int rat = 2; in basicTests() local
36 ModemInfo modemInfo = new ModemInfo(modemId, rat, isVoiceSupported, isDataSupported); in basicTests()
39 assertEquals(rat, modemInfo.rat); 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()
54 int rat = 2; in parcelReadWrite() local
57 ModemInfo modemInfo = new ModemInfo(modemId, rat, isVoiceSupported, isDataSupported); in parcelReadWrite()
65 assertEquals(rat, toCompare.rat); in parcelReadWrite()
DServiceStateTest.java175 for (Pair<Integer, Boolean> rat : rats) { in testRAT()
176 boolean isCdma = rat.second; in testRAT()
179 assertTrue("RAT " + rat + " should be CDMA", ServiceState.isCdma(rat.first)); in testRAT()
180 assertFalse("RAT " + rat + " should not be GSM", ServiceState.isGsm(rat.first)); in testRAT()
182 assertFalse("RAT " + rat + " should not be CDMA", ServiceState.isCdma(rat.first)); in testRAT()
183 assertTrue("RAT " + rat + " should be GSM", ServiceState.isGsm(rat.first)); in testRAT()
DServiceStateTrackerTest.java1731 private void changeRegState(int state, CellIdentity cid, int rat) { in changeRegState() argument
1732 changeRegState(state, cid, rat, rat); in changeRegState()
/frameworks/base/telephony/java/android/telephony/
DModemInfo.java31 public final int rat; /* bitset */ field in ModemInfo
40 public ModemInfo(int modemId, int rat, boolean isVoiceSupported, boolean isDataSupported) { in ModemInfo() argument
42 this.rat = rat; in ModemInfo()
49 rat = in.readInt(); in ModemInfo()
56 return "modemId=" + modemId + " rat=" + rat + " isVoiceSupported:" + isVoiceSupported in toString()
62 return Objects.hash(modemId, rat, isVoiceSupported, isDataSupported); in hashCode()
78 && rat == s.rat in equals()
95 dest.writeInt(rat); in writeToParcel()
DPhysicalChannelConfig.java304 public Builder setRat(int rat) { in setRat() argument
305 this.mRat = rat; in setRat()
DServiceState.java1485 public static int rilRadioTechnologyToNetworkType(@RilRadioTechnology int rat) { in rilRadioTechnologyToNetworkType() argument
1486 switch(rat) { in rilRadioTechnologyToNetworkType()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHardwareConfig.java100 public BitSet rat; field in HardwareConfig
157 rat = new BitSet(bits.length); in assignModem()
159 rat.set(i, (bits[i] == '1' ? true : false)); in assignModem()
182 builder.append(", rat=" + rat.toString()); in toString()
DCellularNetworkService.java219 int networkType = ServiceState.rilRadioTechnologyToNetworkType(voiceRegState.rat); in createRegistrationStateFromVoiceRegState()
242 int networkType = ServiceState.rilRadioTechnologyToNetworkType(voiceRegState.rat); in createRegistrationStateFromVoiceRegState()
288 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.rat); in createRegistrationStateFromDataRegState()
298 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.rat); in createRegistrationStateFromDataRegState()
307 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.base.rat); in createRegistrationStateFromDataRegState()
317 && ServiceState.rilRadioTechnologyToAccessNetworkType(dataRegState.base.rat) in createRegistrationStateFromDataRegState()
DRadioIndication.java713 public void voiceRadioTechChanged(int indicationType, int rat) { in voiceRadioTechChanged() argument
717 response[0] = rat; in voiceRadioTechChanged()
1040 .setRat(ServiceState.rilRadioTechnologyToNetworkType(config.rat)) in physicalChannelConfigsIndication()
DServiceStateTracker.java813 int rat = mSS.getRilVoiceRadioTechnology(); in notifyVoiceRegStateRilRadioTechnologyChanged() local
815 if (DBG) log("notifyVoiceRegStateRilRadioTechnologyChanged: vrs=" + vrs + " rat=" + rat); in notifyVoiceRegStateRilRadioTechnologyChanged()
817 mVoiceRegStateOrRatChangedRegistrants.notifyResult(new Pair<Integer, Integer>(vrs, rat)); in notifyVoiceRegStateRilRadioTechnologyChanged()
829 int rat = ServiceState.networkTypeToRilRadioTechnology( in notifyDataRegStateRilRadioTechnologyChanged() local
833 log("notifyDataRegStateRilRadioTechnologyChanged: drs=" + drs + " rat=" + rat); in notifyDataRegStateRilRadioTechnologyChanged()
838 registrantList.notifyResult(new Pair<>(drs, rat)); in notifyDataRegStateRilRadioTechnologyChanged()
DRadioResponse.java1097 public void getVoiceRadioTechnologyResponse(RadioResponseInfo responseInfo, int rat) { in getVoiceRadioTechnologyResponse() argument
1098 responseInts(responseInfo, rat); in getVoiceRadioTechnologyResponse()
DRIL.java5787 hw.assignModem(hwRil.uuid, hwRil.state, hwModem.rilModel, hwModem.rat, in convertHalHwConfigList()
5813 int rat = convertToNetworkTypeBitMask(rcRil.raf); in convertHalRadioCapability() local
5819 ", rat=" + rat + in convertHalRadioCapability()
5823 ril.mPhoneId, session, phase, rat, logicModemUuid, status); in convertHalRadioCapability()
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIGetRulesAuthTableCallback.aidl22 void onComplete(int resultCode, in EuiccRulesAuthTable rat); in onComplete() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java775 private ServiceState getServiceStateDataAndVoice(int rat, int regState, boolean isRoaming) { in getServiceStateDataAndVoice() argument
780 ss.setRilDataRadioTechnology(rat); in getServiceStateDataAndVoice()
783 ss.setRilVoiceRadioTechnology(rat); in getServiceStateDataAndVoice()
787 private ServiceState getServiceStateDataOnly(int rat, int regState, boolean isRoaming) { in getServiceStateDataOnly() argument
792 ss.setRilDataRadioTechnology(rat); in getServiceStateDataOnly()
796 private ServiceState modifyServiceStateData(ServiceState ss, int rat, int regState, in modifyServiceStateData() argument
801 ss.setRilDataRadioTechnology(rat); in modifyServiceStateData()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java482 EuiccRulesAuthTable rat = resultCaptor.result; in testGetRulesAuthTable() local
484 rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, in testGetRulesAuthTable()
487 rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, in testGetRulesAuthTable()
489 assertFalse(rat.hasPolicyRuleFlag(0, in testGetRulesAuthTable()
491 assertTrue(rat.hasPolicyRuleFlag(1, in testGetRulesAuthTable()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccCardManager.java410 public void onComplete(int resultCode, EuiccRulesAuthTable rat) { in requestRulesAuthTable() argument
411 executor.execute(() -> callback.onComplete(resultCode, rat)); in requestRulesAuthTable()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java976 ret.rat = mVoiceRadioTech; in getVoiceRegistrationState()
1007 ret.rat = mDataRadioTech; in getDataRegistrationState()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java643 assertEquals(14, setupDataCall.rat); in testWriteRilSetupDataCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java1349 setupDataCall.rat = radioTechnology; in writeSetupDataCall()
/frameworks/opt/telephony/proto/src/
Dtelephony.proto851 optional RadioAccessTechnology rat = 1 [default = UNKNOWN]; field