Home
last modified time | relevance | path

Searched refs:getCarrierId (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierResolverTest.java123 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 …]
DCellularNetworkServiceTest.java486 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()
DCarrierKeyDownloadMgrTest.java341 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()
DImsiEncryptionInfoTest.java114 assertEquals(1, mImsiEncryptionInfo.getCarrierId()); in testParcel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DModemRestartStats.java46 int carrierId = getCarrierId(); in onModemRestart()
65 private static int getCarrierId() { in getCarrierId() method in ModemRestartStats
69 carrierId = phone.getCarrierId(); in getCarrierId()
DAirplaneModeStats.java83 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()
DNetworkRequestsStats.java38 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()
DRcsStats.java395 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 …]
DSmsStats.java237 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()
DDataCallSessionStats.java234 mPhone.getCarrierId(), in onUnmeteredUpdate()
324 proto.carrierId = mPhone.getCarrierId(); in getDefaultProto()
DImsStats.java375 termination.carrierId = mPhone.getDefaultPhone().getCarrierId(); in onImsUnregistered()
451 mLastRegistrationStats.carrierId = phone.getCarrierId(); in updateImsRegistrationStats()
DSatelliteStats.java1337 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/
DEntitlementMetricsStats.java80 .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/
DPerSimStatusTest.java85 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()
DServiceStateStatsTest.java118 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/
DRadioBugDetector.java139 int carrierId = phone == null ? UNKNOWN_CARRIER_ID : phone.getCarrierId(); in broadcastBug()
DCarrierKeyDownloadManager.java349 && 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()
DCarrierInfoManager.java213 contentValues.put(Telephony.CarrierColumns.CARRIER_ID, imsiEncryptionInfo.getCarrierId()); in updateOrInsertCarrierKey()
240 String.valueOf(imsiEncryptionInfo.getCarrierId())}); in updateOrInsertCarrierKey()
DCellularNetworkService.java386 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()
DDisplayInfoController.java189 e.getMessage(), mPhone.getCarrierId()); in validateDisplayInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerDataTest.java353 assertEquals(1, mMobileSignalController.getState().getCarrierId()); in mobileSignalController_getsCarrierId()
368 assertEquals(2, mMobileSignalController.getState().getCarrierId()); in mobileSignalController_updatesCarrierId_onChange()
/frameworks/base/telephony/java/android/telephony/
DImsiEncryptionInfo.java97 public int getCarrierId() { in getCarrierId() method in ImsiEncryptionInfo
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java357 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/
DCarrierIdentifier.java161 public int getCarrierId() { in getCarrierId() method in CarrierIdentifier
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionInfoInternalTest.java208 assertThat(mSubInfo.getCarrierId()).isEqualTo( in testSubscriptionInfoInternalSetAndGet()
307 assertThat(subInfo.getCarrierId()).isEqualTo( in testConvertToSubscriptionInfo()

123