/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierResolverTest.java | 123 assertEquals(CID_VZW, mCarrierResolver.getCarrierId()); in testCarrierMatch() 129 assertEquals(CID_FI, mCarrierResolver.getCarrierId()); in testCarrierMatch() 143 assertEquals(CID_FI, mCarrierResolver.getCarrierId()); in testMnoCarrierId() 152 assertEquals(CID_VODAFONE, mCarrierResolver.getCarrierId()); in testMnoCarrierId() 166 assertEquals(CID_ATT, mCarrierResolver.getCarrierId()); in testPreciseCarrierId() 172 assertEquals(CID_TRACFONE, mCarrierResolver.getCarrierId()); in testPreciseCarrierId() 179 assertEquals(CID_TRACFONE, mCarrierResolver.getCarrierId()); in testPreciseCarrierId() 186 assertEquals(CID_O2, mCarrierResolver.getCarrierId()); in testPreciseCarrierId() 194 assertEquals(CID_O2, mCarrierResolver.getCarrierId()); in testPreciseCarrierId() 206 assertEquals(CID_VZW, mCarrierResolver.getCarrierId()); in testCarrierMatchSimAbsent() [all …]
|
D | CellularNetworkServiceTest.java | 486 mPhone.getCarrierId())); in testNetworkTypeForCellIdentity() 492 mPhone.getCarrierId())); in testNetworkTypeForCellIdentity() 498 mPhone.getCarrierId())); in testNetworkTypeForCellIdentity() 504 mPhone.getCarrierId())); in testNetworkTypeForCellIdentity() 510 mPhone.getCarrierId())); in testNetworkTypeForCellIdentity() 516 mPhone.getCarrierId())); in testNetworkTypeForCellIdentity()
|
D | CarrierKeyDownloadMgrTest.java | 341 when(mPhone.getCarrierId()).thenReturn(1); in testDownloadComplete() 365 when(mPhone.getCarrierId()).thenReturn(1); in testCarrierConfigChangedWithUserUnlocked() 387 when(mPhone.getCarrierId()).thenReturn(1); in testCarrierConfigChangedWithUserLocked() 411 when(mPhone.getCarrierId()).thenReturn(1); in testUserLockedAfterCarrierConfigChanged() 466 when(mPhone.getCarrierId()).thenReturn(1); in testAlarmRenewal()
|
D | ImsiEncryptionInfoTest.java | 114 assertEquals(1, mImsiEncryptionInfo.getCarrierId()); in testParcel()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ModemRestartStats.java | 46 int carrierId = getCarrierId(); in onModemRestart() 65 private static int getCarrierId() { in getCarrierId() method in ModemRestartStats 69 carrierId = phone.getCarrierId(); in getCarrierId()
|
D | AirplaneModeStats.java | 83 int carrierId = getCarrierId(); in onAirplaneModeChanged() 112 private static int getCarrierId() { in getCarrierId() method in AirplaneModeStats 117 return phone != null ? phone.getCarrierId() : UNKNOWN_CARRIER_ID; in getCarrierId()
|
D | NetworkRequestsStats.java | 38 networkRequestsTemplate.carrierId = getCarrierId(subId); in addNetworkRequest() 106 private static int getCarrierId(int subId) { in getCarrierId() method in NetworkRequestsStats 109 return phone != null ? phone.getCarrierId() : TelephonyManager.UNKNOWN_CARRIER_ID; in getCarrierId()
|
D | RcsStats.java | 395 stat.carrierId = getCarrierId(subId); in getDefaultSipDelegateStat() 455 int carrierId = getCarrierId(mSubId); in updateLastFeatureTagState() 746 int carrierId = getCarrierId(subId); in addSipMessageStat() 778 int carrierId = getCarrierId(subId); in addSipTransportSessionStat() 824 int carrierId = getCarrierId(subId); in onImsRegistrationFeatureTagStats() 853 int carrierId = getCarrierId(subId); in onStoreCompleteImsRegistrationFeatureTagStats() 886 int carrierId = getCarrierId(subId); in onRcsClientProvisioningStats() 905 int carrierId = getCarrierId(subId); in onRcsAcsProvisioningStats() 1090 int carrierId = getCarrierId(subId); in onImsDedicatedBearerListenerAdded() 1118 int carrierId = getCarrierId(subId); in onImsDedicatedBearerListenerUpdateSession() [all …]
|
D | SmsStats.java | 237 proto.carrierId = getCarrierId(); in getIncomingDefaultProto() 262 proto.carrierId = getCarrierId(); in getOutgoingDefaultProto() 402 private int getCarrierId() { in getCarrierId() method in SmsStats 407 return phone.getCarrierId(); in getCarrierId()
|
D | DataCallSessionStats.java | 234 mPhone.getCarrierId(), in onUnmeteredUpdate() 324 proto.carrierId = mPhone.getCarrierId(); in getDefaultProto()
|
D | ImsStats.java | 375 termination.carrierId = mPhone.getDefaultPhone().getCarrierId(); in onImsUnregistered() 451 mLastRegistrationStats.carrierId = phone.getCarrierId(); in updateImsRegistrationStats()
|
D | SatelliteStats.java | 1337 public int getCarrierId() { in getCarrierId() method in SatelliteStats.CarrierRoamingSatelliteSessionParams 1785 public int getCarrierId() { in getCarrierId() method in SatelliteStats.SatelliteEntitlementParams 2253 proto.carrierId = param.getCarrierId(); in onCarrierRoamingSatelliteSessionMetrics() 2289 proto.carrierId = param.getCarrierId(); in onSatelliteEntitlementMetrics()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/metrics/ |
D | EntitlementMetricsStats.java | 80 .setCarrierId(getCarrierId(mSubId)) in reportEntitlementMetrics() 94 private int getCarrierId(int subId) { in getCarrierId() method in EntitlementMetricsStats 97 return phone != null ? phone.getCarrierId() : TelephonyManager.UNKNOWN_CARRIER_ID; in getCarrierId()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | PerSimStatusTest.java | 85 doReturn(100).when(mPhone).getCarrierId(); in onPullAtom_perSimStatus() 132 doReturn(101).when(mSecondPhone).getCarrierId(); in onPullAtom_perSimStatus() 236 doReturn(100).when(mPhone).getCarrierId(); in onPullAtom_perSimStatus_noImsManager() 296 doReturn(100).when(mPhone).getCarrierId(); in onPullAtom_perSimStatus_noImsMmTelManager() 358 doReturn(100).when(mPhone).getCarrierId(); in onPullAtom_perSimStatus_noUiccSlot()
|
D | ServiceStateStatsTest.java | 118 doReturn(CARRIER1_ID).when(mPhone).getCarrierId(); in setUp() 219 doReturn(-1).when(mPhone).getCarrierId(); in conclude_airplaneMode() 252 doReturn(-1).when(mPhone).getCarrierId(); in conclude_noSimCardEmergencyOnly() 289 doReturn(-1).when(mPhone).getCarrierId(); in conclude_noSimCardOutOfService() 741 doReturn(-1).when(mPhone).getCarrierId(); in onServiceStateChanged_simSwapSameRat() 751 doReturn(CARRIER2_ID).when(mPhone).getCarrierId(); in onServiceStateChanged_simSwapSameRat() 1090 doReturn(-1).when(mPhone).getCarrierId(); in onServiceStateChanged_airplaneMode() 1098 doReturn(CARRIER1_ID).when(mPhone).getCarrierId(); in onServiceStateChanged_airplaneMode() 1168 doReturn(-1).when(mPhone).getCarrierId(); in onFoldStateChanged_modemOff() 1415 doReturn(carrierId).when(mSecondPhone).getCarrierId(); in mockDualSim()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RadioBugDetector.java | 139 int carrierId = phone == null ? UNKNOWN_CARRIER_ID : phone.getCarrierId(); in broadcastBug()
|
D | CarrierKeyDownloadManager.java | 349 && subInfo.getCarrierId() == mPhone.getCarrierId()) { in isOtherSlotHasCarrier() 475 return (mCarrierId > 0) ? mCarrierId : mPhone.getCarrierId(); in getSimCarrierId() 732 } else if (imsiEncryptionInfo.getCarrierId() == TelephonyManager.UNKNOWN_CARRIER_ID) { in areCarrierKeysAbsentOrExpiring()
|
D | CarrierInfoManager.java | 213 contentValues.put(Telephony.CarrierColumns.CARRIER_ID, imsiEncryptionInfo.getCarrierId()); in updateOrInsertCarrierKey() 240 String.valueOf(imsiEncryptionInfo.getCarrierId())}); in updateOrInsertCarrierKey()
|
D | CellularNetworkService.java | 386 getNetworkTypeForCellIdentity(networkType, cellIdentity, mPhone.getCarrierId()); in getNetworkRegistrationInfo() 464 "RIL Missing Reg Fail Reason", mPhone.getCarrierId()); in getNetworkRegistrationInfoAidl() 567 getNetworkTypeForCellIdentity(networkType, cellIdentity, mPhone.getCarrierId()); in getNetworkRegistrationInfo1_6() 574 "RIL Missing Reg Fail Reason", mPhone.getCarrierId()); in getNetworkRegistrationInfo1_6()
|
D | DisplayInfoController.java | 189 e.getMessage(), mPhone.getCarrierId()); in validateDisplayInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerDataTest.java | 353 assertEquals(1, mMobileSignalController.getState().getCarrierId()); in mobileSignalController_getsCarrierId() 368 assertEquals(2, mMobileSignalController.getState().getCarrierId()); in mobileSignalController_updatesCarrierId_onChange()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ImsiEncryptionInfo.java | 97 public int getCarrierId() { in getCarrierId() method in ImsiEncryptionInfo
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | UtilsTest.java | 357 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID + 1); in testCheckSimPresentWithNoMatchingSubscription() 367 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testCheckSimPresentWithMatchingSubscription() 377 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testCheckSimPresentWithUnknownCarrierId() 424 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testGetSubIdForWifiConfigurationWithMatchingSubscription() 460 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testGetImsiProtectionDescription() 478 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testGetImsiProtectionDescription_serverCertNetwork_returnEmptyString()
|
/frameworks/base/telephony/java/android/service/carrier/ |
D | CarrierIdentifier.java | 161 public int getCarrierId() { in getCarrierId() method in CarrierIdentifier
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/ |
D | SubscriptionInfoInternalTest.java | 208 assertThat(mSubInfo.getCarrierId()).isEqualTo( in testSubscriptionInfoInternalSetAndGet() 307 assertThat(subInfo.getCarrierId()).isEqualTo( in testConvertToSubscriptionInfo()
|