Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierResolverTest.java121 assertEquals(CID_VZW, mCarrierResolver.getCarrierId()); in testCarrierMatch()
127 assertEquals(CID_FI, mCarrierResolver.getCarrierId()); in testCarrierMatch()
141 assertEquals(CID_FI, mCarrierResolver.getCarrierId()); in testMnoCarrierId()
150 assertEquals(CID_VODAFONE, mCarrierResolver.getCarrierId()); in testMnoCarrierId()
164 assertEquals(CID_ATT, mCarrierResolver.getCarrierId()); in testPreciseCarrierId()
170 assertEquals(CID_TRACFONE, mCarrierResolver.getCarrierId()); in testPreciseCarrierId()
177 assertEquals(CID_TRACFONE, mCarrierResolver.getCarrierId()); in testPreciseCarrierId()
184 assertEquals(CID_O2, mCarrierResolver.getCarrierId()); in testPreciseCarrierId()
192 assertEquals(CID_O2, mCarrierResolver.getCarrierId()); in testPreciseCarrierId()
204 assertEquals(CID_VZW, mCarrierResolver.getCarrierId()); in testCarrierMatchSimAbsent()
[all …]
DSubscriptionControllerTest.java302 assertEquals(carrierId, subInfo.getCarrierId()); in testSetGetCarrierId()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java299 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID + 1); in testCheckSimPresentWithNoMatchingSubscription()
309 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testCheckSimPresentWithMatchingSubscription()
356 when(subscriptionInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in testGetSubIdForWifiConfigurationWithMatchingSubscription()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiCarrierInfoManager.java433 if (subInfo.getCarrierId() == carrierId) { in getMatchingSubId()
1181 if (config.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in tryUpdateCarrierIdForPasspoint()
1207 config.setCarrierId(subInfo.getCarrierId()); in tryUpdateCarrierIdForPasspoint()
1276 matchedPair = new Pair<>(curImsi, subInfo.getCarrierId()); in getMatchingImsiCarrierId()
1337 return info.getCarrierId(); in getCarrierIdForPackageWithCarrierPrivileges()
DWifiNetworkSuggestionsManager.java974 return ewns.wns.passpointConfiguration.getCarrierId(); in getCarrierIdFromSuggestion()
1032 if (passpointConfiguration.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in validateCarrierNetworkSuggestions()
/frameworks/base/telephony/java/android/service/carrier/
DCarrierIdentifier.java161 public int getCarrierId() { in getCarrierId() method in CarrierIdentifier
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java366 if (mConfig.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in getMatchingSimImsi()
368 .getMatchingImsi(mConfig.getCarrierId()); in getMatchingSimImsi()
479 int carrierId = mConfig.getCarrierId(); in getWifiConfig()
DPasspointXmlUtils.java152 XmlUtil.writeNextValue(out, XML_TAG_CARRIER_ID, config.getCarrierId()); in serializePasspointConfiguration()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java208 when(mDataSubscriptionInfo.getCarrierId()).thenReturn(DATA_CARRIER_ID); in setUp()
210 when(mNonDataSubscriptionInfo.getCarrierId()).thenReturn(NON_DATA_CARRIER_ID); in setUp()
1289 when(config.getCarrierId()).thenReturn(DATA_CARRIER_ID); in tryUpdateCarrierIdForPasspointWithEmptyActiveSubscriptionList()
1306 when(config.getCarrierId()).thenReturn(DATA_CARRIER_ID); in tryUpdateCarrierIdForPasspointWithValidCarrieId()
1354 assertEquals(DATA_CARRIER_ID, spyConfig.getCarrierId()); in tryUpdateCarrierIdForPasspointWithFullImsiAndActiveSim()
1475 when(subInfo.getCarrierId()).thenReturn(DATA_CARRIER_ID); in getCarrierPrivilegeWithPackageHasPrivilege()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java596 .anyMatch(info -> info.getCarrierId() == carrierId); in isSimPresent()
646 if (subInfo.getCarrierId() == config.carrierId) { in getSubIdForConfig()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java428 public int getCarrierId() { in getCarrierId() method in PasspointConfiguration
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java228 mCarrierId = subInfo.getCarrierId(); in onActiveSubscriptionInfoChanged()
DTelephonyMetrics.java808 activeSubscriptionInfo.carrierId = info.getCarrierId(); in updateActiveSubscriptionInfoList()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java342 public int getCarrierId() { in getCarrierId() method in SubscriptionInfo
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java866 public int getCarrierId() { in getCarrierId() method in CarrierResolver
DSubscriptionInfoUpdater.java892 prevCarrierId = existingSubscriptions.get(index).getCarrierId(); in updateEmbeddedSubscriptionsCache()
DGsmCdmaPhone.java1849 public int getCarrierId() { in getCarrierId() method in GsmCdmaPhone
1850 return mCarrierResolver.getCarrierId(); in getCarrierId()
DPhone.java3662 public int getCarrierId() { in getCarrierId() method in Phone
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java181 doReturn(CARRIER_ID_SLOT_0).when(mSubInfo0).getCarrierId(); in setUp()
183 doReturn(CARRIER_ID_SLOT_1).when(mSubInfo1).getCarrierId(); in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java737 when(subInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in addProviderWithValidFullImsiOfSimCredential()
757 assertEquals(TEST_CARRIER_ID, config.getCarrierId()); in addProviderWithValidFullImsiOfSimCredential()
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java732 public int getCarrierId() { in getCarrierId() method in ApnSetting
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java3918 || TextUtils.isEmpty(mnc) || sub.getCarrierId() == UNKNOWN_CARRIER_ID) {
3923 final SubInfo subInfo = new SubInfo(subId, sub.getCarrierId(), mcc, mnc,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java3305 dest.getMvnoMatchData(), dest.getApnSetId(), dest.getCarrierId(), in mergeApns()
/frameworks/base/api/
Dcurrent.txt43276 method public int getCarrierId();
47978 method public int getCarrierId();
48449 method public int getCarrierId();
/frameworks/base/config/
Dboot-image-profile.txt18916 HSPLandroid/telephony/SubscriptionInfo;->getCarrierId()I