/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 | ServiceStateTrackerTest.java | 1919 private void changeRegState(int state, CellIdentity cid, int rat) { in changeRegState() argument 1920 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 | 1529 public static int rilRadioTechnologyToNetworkType(@RilRadioTechnology int rat) { in rilRadioTechnologyToNetworkType() argument 1530 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 | 328 int rat = getRat(serviceState); in addCall() local 340 proto.ratAtStart = rat; in addCall() 341 proto.ratAtEnd = rat; in addCall() 443 int rat = getRat(state); in updateRatTracker() local 444 mRatUsage.add(mCarrierId, rat, getTimeMillis(), getConnectionIds()); in updateRatTracker() 447 if (proto.ratAtEnd != rat) { in updateRatTracker() 449 proto.ratAtEnd = rat; in updateRatTracker()
|
D | MetricsCollector.java | 184 usage -> ((long) usage.carrierId << 32) | usage.rat)) in pullVoiceCallRatUsages() 220 .writeInt(usage.rat) in buildStatsEvent()
|
D | TelephonyMetrics.java | 470 + ", rat=" + event.serviceState.networkRegistrationInfo[i].rat); in printAllMetrics() 965 nriProto.rat = ServiceState.networkTypeToRilRadioTechnology( in toServiceStateProto() 1424 setupDataCall.rat = radioTechnology; in writeSetupDataCall()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkTypeController.java | 532 int rat = mPhone.getServiceState().getDataNetworkType(); in processMessage() local 535 if (rat == TelephonyManager.NETWORK_TYPE_NR || isLte(rat) && isNrConnected()) { in processMessage() 537 } else if (isLte(rat) && isNrNotRestricted()) { in processMessage() 548 } else if (isLte(rat) && isNrNotRestricted()) { in processMessage() 551 } else if (isLte(rat) && isNrRestricted()) { in processMessage() 596 int rat = mPhone.getServiceState().getDataNetworkType(); in processMessage() local 597 if (rat == TelephonyManager.NETWORK_TYPE_NR) { in processMessage() 599 } else if (!isLte(rat) || !isNrNotRestricted()) { in processMessage() 663 int rat = mPhone.getServiceState().getDataNetworkType(); in processMessage() local 664 if (rat == TelephonyManager.NETWORK_TYPE_NR) { in processMessage() [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() 253 int networkType = ServiceState.rilRadioTechnologyToNetworkType(voiceRegState.rat); in createRegistrationStateFromVoiceRegState() 306 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.rat); in createRegistrationStateFromDataRegState() 315 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.rat); in createRegistrationStateFromDataRegState() 324 networkType = ServiceState.rilRadioTechnologyToNetworkType(dataRegState.base.rat); in createRegistrationStateFromDataRegState() 334 && ServiceState.rilRadioTechnologyToAccessNetworkType(dataRegState.base.rat) in createRegistrationStateFromDataRegState() 384 int networkType = ServiceState.rilRadioTechnologyToNetworkType(regResult.rat); in getNetworkRegistrationInfo()
|
D | RadioIndication.java | 720 public void voiceRadioTechChanged(int indicationType, int rat) { in voiceRadioTechChanged() argument 724 response[0] = rat; in voiceRadioTechChanged() 1144 .setRat(ServiceState.rilRadioTechnologyToNetworkType(config.rat)) in physicalChannelConfigsIndication()
|
D | ServiceStateTracker.java | 854 int rat = mSS.getRilVoiceRadioTechnology(); in notifyVoiceRegStateRilRadioTechnologyChanged() local 856 if (DBG) log("notifyVoiceRegStateRilRadioTechnologyChanged: vrs=" + vrs + " rat=" + rat); in notifyVoiceRegStateRilRadioTechnologyChanged() 858 mVoiceRegStateOrRatChangedRegistrants.notifyResult(new Pair<Integer, Integer>(vrs, rat)); in notifyVoiceRegStateRilRadioTechnologyChanged() 874 int rat = ServiceState.networkTypeToRilRadioTechnology( in getRegistrationInfo() local 877 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 | 680 assertEquals(14, setupDataCall.rat); in testWriteRilSetupDataCall()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 878 private ServiceState getServiceStateDataAndVoice(int rat, int regState, boolean isRoaming) { in getServiceStateDataAndVoice() argument 883 ss.setRilDataRadioTechnology(rat); in getServiceStateDataAndVoice() 886 ss.setRilVoiceRadioTechnology(rat); in getServiceStateDataAndVoice() 890 private ServiceState getServiceStateDataOnly(int rat, int regState, boolean isRoaming) { in getServiceStateDataOnly() argument 895 ss.setRilDataRadioTechnology(rat); in getServiceStateDataOnly() 899 private ServiceState modifyServiceStateData(ServiceState ss, int rat, int regState, in modifyServiceStateData() argument 904 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 | 464 public void onComplete(int resultCode, EuiccRulesAuthTable rat) { in requestRulesAuthTable() argument 467 executor.execute(() -> callback.onComplete(resultCode, rat)); in requestRulesAuthTable()
|