/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/ |
D | EuiccRulesAuthTableTest.java | 37 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/ |
D | ModemInfoTest.java | 33 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()
|
D | ServiceStateTest.java | 175 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()
|
D | ServiceStateTrackerTest.java | 1731 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/ |
D | ModemInfo.java | 31 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()
|
D | PhysicalChannelConfig.java | 304 public Builder setRat(int rat) { in setRat() argument 305 this.mRat = rat; in setRat()
|
D | ServiceState.java | 1485 public static int rilRadioTechnologyToNetworkType(@RilRadioTechnology int rat) { in rilRadioTechnologyToNetworkType() argument 1486 switch(rat) { in rilRadioTechnologyToNetworkType()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | HardwareConfig.java | 100 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()
|
D | CellularNetworkService.java | 219 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()
|
D | RadioIndication.java | 713 public void voiceRadioTechChanged(int indicationType, int rat) { in voiceRadioTechChanged() argument 717 response[0] = rat; in voiceRadioTechChanged() 1040 .setRat(ServiceState.rilRadioTechnologyToNetworkType(config.rat)) in physicalChannelConfigsIndication()
|
D | ServiceStateTracker.java | 813 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()
|
D | RadioResponse.java | 1097 public void getVoiceRadioTechnologyResponse(RadioResponseInfo responseInfo, int rat) { in getVoiceRadioTechnologyResponse() argument 1098 responseInts(responseInfo, rat); in getVoiceRadioTechnologyResponse()
|
D | RIL.java | 5787 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/ |
D | IGetRulesAuthTableCallback.aidl | 22 void onComplete(int resultCode, in EuiccRulesAuthTable rat); in onComplete() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 775 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/ |
D | EuiccCardTest.java | 482 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/ |
D | EuiccCardManager.java | 410 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/ |
D | SimulatedCommands.java | 976 ret.rat = mVoiceRadioTech; in getVoiceRegistrationState() 1007 ret.rat = mDataRadioTech; in getDataRegistrationState()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 643 assertEquals(14, setupDataCall.rat); in testWriteRilSetupDataCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 1349 setupDataCall.rat = radioTechnology; in writeSetupDataCall()
|
/frameworks/opt/telephony/proto/src/ |
D | telephony.proto | 851 optional RadioAccessTechnology rat = 1 [default = UNKNOWN]; field
|