Home
last modified time | relevance | path

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

12

/packages/apps/CarrierConfig/src/com/android/carrierconfig/
DDefaultCarrierConfigService.java136 if (id.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in loadConfig()
149 } else if (file.startsWith(CARRIER_ID_PREFIX + id.getCarrierId() + "_")) { in loadConfig()
332 result = (id == null) || (Integer.parseInt(value) == id.getCarrierId()) in checkFilters()
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java158 int carrierId = getCarrierId(getInstrumentation().getTargetContext(), in testCarrierConfigFileNaming()
307 private int getCarrierId(@NonNull Context context, in getCarrierId() method in CarrierConfigTest
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java677 result.setCarrierId(getCarrierId(context)); in dumpToEncodedProto()
688 private static int getCarrierId(Context context) { in getCarrierId() method in Analytics
697 .map(SubscriptionInfo::getCarrierId).orElse(-1); in getCarrierId()
706 return ((subInfo.getCarrierId() >= 0) ? scoreCarrierId : 0) in scoreSubscriptionInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCarrierInfoManager.java726 if (subInfo.getCarrierId() == carrierId) { in getMatchingSubId()
1421 if (config.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in tryUpdateCarrierIdForPasspoint()
1448 config.setCarrierId(subInfo.getCarrierId()); in tryUpdateCarrierIdForPasspoint()
1522 matchedPair = new Pair<>(simInfo.imsi, subInfo.getCarrierId()); in getMatchingImsiCarrierId()
1586 return info.getCarrierId(); in getCarrierIdForPackageWithCarrierPrivileges()
1820 return info.getCarrierId() == carrierId; in isSubIdMatchingCarrierId()
DWifiNetworkSuggestionsManager.java1054 return ewns.wns.passpointConfiguration.getCarrierId(); in getCarrierIdFromSuggestion()
1193 if (passpointConfiguration.getCarrierId() in validateCarrierNetworkSuggestions()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java340 assertEquals(1, analyticsProto.getCarrierId()); in testAnalyticsDumpToProto()
475 when(subInfo1.getCarrierId()).thenReturn(1);
476 when(subInfo2.getCarrierId()).thenReturn(2);
/packages/services/Mms/src/com/android/mms/service/
DMmsConfigManager.java118 + ", CarrierId " + sub.getCarrierId()); in load()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java395 } else if (mConfig.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in getMatchingSimImsi()
397 mWifiCarrierInfoManager.getMatchingSubId(mConfig.getCarrierId())); in getMatchingSimImsi()
524 int carrierId = mConfig.getCarrierId(); in getWifiConfig()
DPasspointXmlUtils.java158 XmlUtil.writeNextValue(out, XML_TAG_CARRIER_ID, config.getCarrierId()); in serializePasspointConfiguration()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/
DTelephonyUtils.java92 public int getCarrierId() { in getCarrierId() method in TelephonyUtils
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java235 when(mDataSubscriptionInfo.getCarrierId()).thenReturn(DATA_CARRIER_ID); in setUp()
237 when(mNonDataSubscriptionInfo.getCarrierId()).thenReturn(NON_DATA_CARRIER_ID); in setUp()
1399 when(config.getCarrierId()).thenReturn(DATA_CARRIER_ID); in tryUpdateCarrierIdForPasspointWithEmptyActiveSubscriptionList()
1416 when(config.getCarrierId()).thenReturn(DATA_CARRIER_ID); in tryUpdateCarrierIdForPasspointWithValidCarrieId()
1464 assertEquals(DATA_CARRIER_ID, spyConfig.getCarrierId()); in tryUpdateCarrierIdForPasspointWithFullImsiAndActiveSim()
1584 when(subInfo.getCarrierId()).thenReturn(DATA_CARRIER_ID); in getCarrierPrivilegeWithPackageHasPrivilege()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanHelper.java79 public static int getCarrierId(Context context, int slotId) { in getCarrierId() method in IwlanHelper
DErrorPolicyManager.java438 readFromCarrierConfig(IwlanHelper.getCarrierId(mContext, mSlotId)); in ErrorPolicyManager()
1015 int currentCarrierId = IwlanHelper.getCarrierId(mContext, mSlotId); in handleMessage()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DWfcActivationController.java154 /* carrier_id= */ mTelephonyUtils.getCarrierId(), in finish()
DImsEntitlementPollingService.java372 mTelephonyUtils.getCarrierId(), in writeStateLogByApps()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java701 .get(mEapSimSpinner.getSelectedItemPosition()).getCarrierId(); in getConfig()
1111 if (wifiConfig.carrierId == mActiveSubscriptionInfos.get(i).getCarrierId()) { in showSecurityFields()
1468 if (newInfo.getCarrierId() == cachedInfo.getCarrierId()) { in loadSims()
DWifiConfigController.java812 .get(mEapSimSpinner.getSelectedItemPosition()).getCarrierId(); in getConfig()
1132 if (wifiConfig.carrierId == mActiveSubscriptionInfos.get(i).getCarrierId()) { in showSecurityFields()
1489 if (newInfo.getCarrierId() == cachedInfo.getCarrierId()) { in loadSims()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java886 carrierId = phone.getCarrierId(); in getCarrierIdentifierForPhoneId()
947 return phone.getCarrierId(); in getCarrierIdForPhoneId()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java442 public int getCarrierId() { in getCarrierId() method in PasspointConfiguration
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSuggestion.java1523 public int getCarrierId() { in getCarrierId() method in WifiNetworkSuggestion
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java608 when(subscriptionInfo.getCarrierId()).thenReturn(carrierId); in loadSims_oneSim_simSpinnerDefaultSubscription()
DWifiConfigController2Test.java833 when(subscriptionInfo.getCarrierId()).thenReturn(carrierId); in loadSims_oneSim_simSpinnerDefaultSubscription()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java719 if (config.carrierId == subscriptionInfo.getCarrierId()) { in refreshEapSimSubscription()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiNetworkSuggestionTest.java1577 assertEquals(TEST_CARRIER_ID, suggestion.getCarrierId()); in testSetCarrierId()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java807 when(subInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in addProviderWithValidFullImsiOfSimCredential()
830 assertEquals(TEST_CARRIER_ID, config.getCarrierId()); in addProviderWithValidFullImsiOfSimCredential()

12