/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 | 170 for (Pair<Integer, Boolean> rat : rats) { in testRAT() 171 boolean isCdma = rat.second; in testRAT() 174 assertTrue("RAT " + rat + " should be CDMA", ServiceState.isCdma(rat.first)); in testRAT() 175 assertFalse("RAT " + rat + " should not be GSM", ServiceState.isGsm(rat.first)); in testRAT() 177 assertFalse("RAT " + rat + " should not be CDMA", ServiceState.isCdma(rat.first)); in testRAT() 178 assertTrue("RAT " + rat + " should be GSM", ServiceState.isGsm(rat.first)); in testRAT()
|
D | SimulatedCommands.java | 1001 ret.rat = mVoiceRadioTech; in getVoiceRegistrationState() 1032 ret.rat = mDataRadioTech; in getDataRegistrationState()
|
D | ServiceStateTrackerTest.java | 1903 private void changeRegState(int state, CellIdentity cid, int rat) { in changeRegState() argument 1904 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 | 1514 public static int rilRadioTechnologyToNetworkType(@RilRadioTechnology int rat) { in rilRadioTechnologyToNetworkType() argument 1515 switch(rat) { in rilRadioTechnologyToNetworkType()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | VoiceCallRatTracker.java | 80 public void add(int carrierId, int rat, long timestampMillis, Set<Integer> connectionIds) { in add() argument 93 Key key = new Key(carrierId, rat); in add() 152 usage.rat = key.rat; in entryToProto() 168 public final int rat; field in VoiceCallRatTracker.Key 170 Key(int carrierId, int rat) { in Key() argument 172 this.rat = rat; in Key() 176 return new Key(usage.carrierId, usage.rat); in fromProto() 180 return Objects.hash(carrierId, rat); in hashCode() 188 return thatKey.carrierId == this.carrierId && thatKey.rat == this.rat; in equals()
|
D | VoiceCallSessionStats.java | 340 int rat = getRat(serviceState); in addCall() local 352 proto.ratAtStart = rat; in addCall() 353 proto.ratAtEnd = rat; in addCall() 455 int rat = getRat(state); in updateRatTracker() local 456 mRatUsage.add(mCarrierId, rat, getTimeMillis(), getConnectionIds()); in updateRatTracker() 459 if (proto.ratAtEnd != rat) { in updateRatTracker() 461 proto.ratAtEnd = rat; in updateRatTracker()
|
D | TelephonyMetrics.java | 456 + ", rat=" + event.serviceState.networkRegistrationInfo[i].rat); in printAllMetrics() 945 nriProto.rat = ServiceState.networkTypeToRilRadioTechnology( in toServiceStateProto() 1404 setupDataCall.rat = radioTechnology; in writeSetupDataCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkTypeController.java | 538 int rat = mPhone.getServiceState().getDataNetworkType(); in processMessage() local 541 if (rat == TelephonyManager.NETWORK_TYPE_NR || isLte(rat) && isNrConnected()) { in processMessage() 543 } else if (isLte(rat) && isNrNotRestricted()) { in processMessage() 547 if (!isLte(rat)) { in processMessage() 558 } else if (isLte(rat) && isNrNotRestricted()) { in processMessage() 561 } else if (isLte(rat) && isNrRestricted()) { in processMessage() 614 int rat = mPhone.getServiceState().getDataNetworkType(); in processMessage() local 615 if (rat == TelephonyManager.NETWORK_TYPE_NR) { in processMessage() 617 } else if (!isLte(rat) || !isNrNotRestricted()) { in processMessage() 681 int rat = mPhone.getServiceState().getDataNetworkType(); in processMessage() local [all …]
|
D | HardwareConfig.java | 98 public BitSet rat; field in HardwareConfig 155 rat = new BitSet(bits.length); in assignModem() 157 rat.set(i, (bits[i] == '1' ? true : false)); in assignModem() 180 builder.append(", rat=" + rat.toString()); in toString()
|
D | CellularNetworkService.java | 230 int networkType = ServiceState.rilRadioTechnologyToNetworkType(voiceRegState.rat); in createRegistrationStateFromVoiceRegState() 250 int networkType = ServiceState.rilRadioTechnologyToNetworkType(voiceRegState.rat); in createRegistrationStateFromVoiceRegState() 299 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.rat); in createRegistrationStateFromDataRegState() 308 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.rat); in createRegistrationStateFromDataRegState() 317 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.base.rat); in createRegistrationStateFromDataRegState() 327 && ServiceState.rilRadioTechnologyToAccessNetworkType(dataRegState.base.rat) in createRegistrationStateFromDataRegState() 371 int networkType = ServiceState.rilRadioTechnologyToNetworkType(regResult.rat); in getNetworkRegistrationInfo()
|
D | RadioIndication.java | 721 public void voiceRadioTechChanged(int indicationType, int rat) { in voiceRadioTechChanged() argument 725 response[0] = rat; in voiceRadioTechChanged() 1145 .setRat(ServiceState.rilRadioTechnologyToNetworkType(config.rat)) in physicalChannelConfigsIndication()
|
D | ServiceStateTracker.java | 864 int rat = mSS.getRilVoiceRadioTechnology(); in notifyVoiceRegStateRilRadioTechnologyChanged() local 866 if (DBG) log("notifyVoiceRegStateRilRadioTechnologyChanged: vrs=" + vrs + " rat=" + rat); in notifyVoiceRegStateRilRadioTechnologyChanged() 868 mVoiceRegStateOrRatChangedRegistrants.notifyResult(new Pair<Integer, Integer>(vrs, rat)); in notifyVoiceRegStateRilRadioTechnologyChanged() 884 int rat = ServiceState.networkTypeToRilRadioTechnology( in getRegistrationInfo() local 887 return new Pair<>(drs, rat); in getRegistrationInfo()
|
D | RadioResponse.java | 1224 public void getVoiceRadioTechnologyResponse(RadioResponseInfo responseInfo, int rat) { in getVoiceRadioTechnologyResponse() argument 1225 responseInts(responseInfo, rat); in getVoiceRadioTechnologyResponse()
|
/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/metrics/ |
D | PersistAtomsStorageTest.java | 218 mCarrier1LteUsageProto.rat = TelephonyManager.NETWORK_TYPE_LTE; in makeTestData() 224 mCarrier1UmtsUsageProto.rat = TelephonyManager.NETWORK_TYPE_UMTS; in makeTestData() 230 mCarrier2LteUsageProto.rat = TelephonyManager.NETWORK_TYPE_LTE; in makeTestData() 236 mCarrier3LteUsageProto.rat = TelephonyManager.NETWORK_TYPE_LTE; in makeTestData() 242 mCarrier3GsmUsageProto.rat = TelephonyManager.NETWORK_TYPE_GSM; in makeTestData() 740 multipliedUsages[i].rat = usages[i].rat; in multiplyVoiceCallRatUsage()
|
D | VoiceCallSessionStatsTest.java | 1903 int bearer, int direction, int rat, int reason) { in makeSlot0CallProto() argument 1913 call.ratAtStart = rat; in makeSlot0CallProto() 1914 call.ratAtEnd = rat; in makeSlot0CallProto() 1932 int bearer, int direction, int rat, int reason) { in makeSlot1CallProto() argument 1942 call.ratAtStart = rat; in makeSlot1CallProto() 1943 call.ratAtEnd = rat; in makeSlot1CallProto() 1961 int carrierId, int rat, long beginMillis, long endMillis, long callCount) { in makeRatUsageProto() argument 1964 usage.rat = rat; in makeRatUsageProto()
|
D | TelephonyMetricsTest.java | 679 assertEquals(14, setupDataCall.rat); in testWriteRilSetupDataCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 906 private ServiceState getServiceStateDataAndVoice(int rat, int regState, boolean isRoaming) { in getServiceStateDataAndVoice() argument 911 ss.setRilDataRadioTechnology(rat); in getServiceStateDataAndVoice() 914 ss.setRilVoiceRadioTechnology(rat); in getServiceStateDataAndVoice() 918 private ServiceState getServiceStateDataOnly(int rat, int regState, boolean isRoaming) { in getServiceStateDataOnly() argument 923 ss.setRilDataRadioTechnology(rat); in getServiceStateDataOnly() 927 private ServiceState modifyServiceStateData(ServiceState ss, int rat, int regState, in modifyServiceStateData() argument 932 ss.setRilDataRadioTechnology(rat); in modifyServiceStateData()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCardTest.java | 453 EuiccRulesAuthTable rat = resultCaptor.result; in testGetRulesAuthTable() local 455 rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DELETE, in testGetRulesAuthTable() 458 rat.findIndex(EuiccProfileInfo.POLICY_RULE_DO_NOT_DISABLE, in testGetRulesAuthTable() 460 assertFalse(rat.hasPolicyRuleFlag(0, in testGetRulesAuthTable() 462 assertTrue(rat.hasPolicyRuleFlag(1, in testGetRulesAuthTable()
|
/frameworks/opt/telephony/proto/src/ |
D | persist_atoms.proto | 81 optional int32 rat = 2; field
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccCardManager.java | 461 public void onComplete(int resultCode, EuiccRulesAuthTable rat) { in requestRulesAuthTable() argument 464 executor.execute(() -> callback.onComplete(resultCode, rat)); in requestRulesAuthTable()
|