/packages/apps/CarrierConfig/src/com/android/carrierconfig/ |
D | DefaultCarrierConfigService.java | 136 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/ |
D | CarrierConfigTest.java | 158 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/ |
D | Analytics.java | 677 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/ |
D | WifiCarrierInfoManager.java | 726 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()
|
D | WifiNetworkSuggestionsManager.java | 1054 return ewns.wns.passpointConfiguration.getCarrierId(); in getCarrierIdFromSuggestion() 1193 if (passpointConfiguration.getCarrierId() in validateCarrierNetworkSuggestions()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | AnalyticsTests.java | 340 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/ |
D | MmsConfigManager.java | 118 + ", CarrierId " + sub.getCarrierId()); in load()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 395 } else if (mConfig.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in getMatchingSimImsi() 397 mWifiCarrierInfoManager.getMatchingSubId(mConfig.getCarrierId())); in getMatchingSimImsi() 524 int carrierId = mConfig.getCarrierId(); in getWifiConfig()
|
D | PasspointXmlUtils.java | 158 XmlUtil.writeNextValue(out, XML_TAG_CARRIER_ID, config.getCarrierId()); in serializePasspointConfiguration()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/ |
D | TelephonyUtils.java | 92 public int getCarrierId() { in getCarrierId() method in TelephonyUtils
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCarrierInfoManagerTest.java | 235 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/ |
D | IwlanHelper.java | 79 public static int getCarrierId(Context context, int slotId) { in getCarrierId() method in IwlanHelper
|
D | ErrorPolicyManager.java | 438 readFromCarrierConfig(IwlanHelper.getCarrierId(mContext, mSlotId)); in ErrorPolicyManager() 1015 int currentCarrierId = IwlanHelper.getCarrierId(mContext, mSlotId); in handleMessage()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ |
D | WfcActivationController.java | 154 /* carrier_id= */ mTelephonyUtils.getCarrierId(), in finish()
|
D | ImsEntitlementPollingService.java | 372 mTelephonyUtils.getCarrierId(), in writeStateLogByApps()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController2.java | 701 .get(mEapSimSpinner.getSelectedItemPosition()).getCarrierId(); in getConfig() 1111 if (wifiConfig.carrierId == mActiveSubscriptionInfos.get(i).getCarrierId()) { in showSecurityFields() 1468 if (newInfo.getCarrierId() == cachedInfo.getCarrierId()) { in loadSims()
|
D | WifiConfigController.java | 812 .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/ |
D | CarrierConfigLoader.java | 886 carrierId = phone.getCarrierId(); in getCarrierIdentifierForPhoneId() 947 return phone.getCarrierId(); in getCarrierIdForPhoneId()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/ |
D | PasspointConfiguration.java | 442 public int getCarrierId() { in getCarrierId() method in PasspointConfiguration
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiNetworkSuggestion.java | 1523 public int getCarrierId() { in getCarrierId() method in WifiNetworkSuggestion
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigControllerTest.java | 608 when(subscriptionInfo.getCarrierId()).thenReturn(carrierId); in loadSims_oneSim_simSpinnerDefaultSubscription()
|
D | WifiConfigController2Test.java | 833 when(subscriptionInfo.getCarrierId()).thenReturn(carrierId); in loadSims_oneSim_simSpinnerDefaultSubscription()
|
/packages/apps/Settings/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2.java | 719 if (config.carrierId == subscriptionInfo.getCarrierId()) { in refreshEapSimSubscription()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiNetworkSuggestionTest.java | 1577 assertEquals(TEST_CARRIER_ID, suggestion.getCarrierId()); in testSetCarrierId()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 807 when(subInfo.getCarrierId()).thenReturn(TEST_CARRIER_ID); in addProviderWithValidFullImsiOfSimCredential() 830 assertEquals(TEST_CARRIER_ID, config.getCarrierId()); in addProviderWithValidFullImsiOfSimCredential()
|