Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiStringResourceWrapper.java85 if (mCarrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in getString()
111 if (mCarrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in getInt()
135 if (mCarrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in getBoolean()
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/
DMmsStatsTest.java75 doReturn(TelephonyManager.UNKNOWN_CARRIER_ID).when(mTelephonyManager).getSimCarrierId(); in addAtomToStorage_incomingMms_default()
91 assertThat(incomingMms.getCarrierId()).isEqualTo(TelephonyManager.UNKNOWN_CARRIER_ID); in addAtomToStorage_incomingMms_default()
103 doReturn(TelephonyManager.UNKNOWN_CARRIER_ID).when(mTelephonyManager).getSimCarrierId(); in addAtomToStorage_outgoingMms_default()
119 assertThat(outgoingMms.getCarrierId()).isEqualTo(TelephonyManager.UNKNOWN_CARRIER_ID); in addAtomToStorage_outgoingMms_default()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java236 public int carrierId = TelephonyManager.UNKNOWN_CARRIER_ID;
261 if (this.carrierId == TelephonyManager.UNKNOWN_CARRIER_ID) { in setCarrierId()
271 return hasUserApproved || carrierId != TelephonyManager.UNKNOWN_CARRIER_ID; in isApproved()
328 if (perAppInfo.carrierId == TelephonyManager.UNKNOWN_CARRIER_ID) { in ExtendedWifiNetworkSuggestion()
950 } else if (carrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in add()
1248 == TelephonyManager.UNKNOWN_CARRIER_ID) { in validateCarrierNetworkSuggestions()
1251 if (wifiConfiguration.carrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in validateCarrierNetworkSuggestions()
1991 if (config.carrierId != TelephonyManager.UNKNOWN_CARRIER_ID in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
2019 if (config.carrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in isPasspointSuggestionSharedWithUser()
2146 .filter(x -> x.perAppInfo.carrierId != TelephonyManager.UNKNOWN_CARRIER_ID in handleConnectionSuccess()
[all …]
DWifiCarrierInfoManager.java752 if (carrierId == TelephonyManager.UNKNOWN_CARRIER_ID) { in shouldDisableMacRandomization()
958 if (config.carrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in getBestMatchSubscriptionIdForEnterprise()
1653 if (config.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in tryUpdateCarrierIdForPasspoint()
1848 return TelephonyManager.UNKNOWN_CARRIER_ID; in getCarrierIdForPackageWithCarrierPrivileges()
1858 return TelephonyManager.UNKNOWN_CARRIER_ID; in getCarrierIdForPackageWithCarrierPrivileges()
1882 if (config.carrierId == TelephonyManager.UNKNOWN_CARRIER_ID) { in isCarrierNetworkFromNonDefaultDataSim()
1896 return TelephonyManager.UNKNOWN_CARRIER_ID; in getDefaultDataSimCarrierId()
DEapFailureNotifier.java93 int carrierId = config.carrierId == TelephonyManager.UNKNOWN_CARRIER_ID in onEapFailure()
DSavedNetworkNominator.java228 int carrierId = network.carrierId == TelephonyManager.UNKNOWN_CARRIER_ID in isSimBasedNetworkAbleToAutoJoin()
DNetworkSuggestionNominator.java319 if (config.carrierId == TelephonyManager.UNKNOWN_CARRIER_ID) { in isCarrierNetworkAvailableToAutoConnect()
DNetworkSuggestionStoreData.java281 int carrierId = TelephonyManager.UNKNOWN_CARRIER_ID; in parseNetworkSuggestionsMap()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java838 int carrierId = TelephonyManager.UNKNOWN_CARRIER_ID; in broadcastConfigChangedIntent()
839 int specificCarrierId = TelephonyManager.UNKNOWN_CARRIER_ID; in broadcastConfigChangedIntent()
929 int carrierId = TelephonyManager.UNKNOWN_CARRIER_ID; in getCarrierIdentifierForPhoneId()
930 int specificCarrierId = TelephonyManager.UNKNOWN_CARRIER_ID; in getCarrierIdentifierForPhoneId()
976 return TelephonyManager.UNKNOWN_CARRIER_ID; in getSpecificCarrierIdForPhoneId()
980 return TelephonyManager.UNKNOWN_CARRIER_ID; in getSpecificCarrierIdForPhoneId()
990 return TelephonyManager.UNKNOWN_CARRIER_ID; in getCarrierIdForPhoneId()
994 return TelephonyManager.UNKNOWN_CARRIER_ID; in getCarrierIdForPhoneId()
1041 : TelephonyManager.UNKNOWN_CARRIER_ID; in saveConfigToXml()
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java161 if (carrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in testCarrierConfigFileNaming()
354 return TelephonyManager.UNKNOWN_CARRIER_ID; in getCarrierId()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDeleteSimProfilePreferenceController.kt34 private var carrierId: Int = TelephonyManager.UNKNOWN_CARRIER_ID
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/apn/
DApnRepositoryTest.kt106 on { carrierId } doReturn TelephonyManager.UNKNOWN_CARRIER_ID in getApnIdMap_unknownCarrierId()
/packages/services/Telephony/tests/src/com/android/phone/
DCarrierConfigLoaderTest.java230 eq(TelephonyManager.UNKNOWN_CARRIER_ID), in testUpdateConfigForPhoneId_simAbsent()
231 eq(TelephonyManager.UNKNOWN_CARRIER_ID)); in testUpdateConfigForPhoneId_simAbsent()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DKeepaliveStatsTracker.java450 return TelephonyManager.UNKNOWN_CARRIER_ID; in getCarrierId()
452 return mCachedCarrierIdPerSubId.get(subId, TelephonyManager.UNKNOWN_CARRIER_ID); in getCarrierId()
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java22 import static android.telephony.TelephonyManager.UNKNOWN_CARRIER_ID;
687 if (config.carrierId == UNKNOWN_CARRIER_ID) { in refreshEapSimSubscription()
714 && (carrierId == info.getCarrierId() || carrierId == UNKNOWN_CARRIER_ID)) { in fineSubscriptionInfo()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsUtilsTest.java1106 doReturn(TelephonyManager.UNKNOWN_CARRIER_ID, 1000, 1001, 1002) in testGetConfigCarrierId()
1110 TelephonyManager.UNKNOWN_CARRIER_ID, QnsUtils.getConfigCarrierId(sMockContext, 0)); in testGetConfigCarrierId()
1130 sMockContext, TelephonyManager.UNKNOWN_CARRIER_ID)); in testReadQnsDefaultConfigFromAssets_InvalidCarrierId()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java114 private int mBestGuessCarrierId = TelephonyManager.UNKNOWN_CARRIER_ID;
441 } else if (mConfig.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in getMatchingSimImsi()
572 if (carrierId == TelephonyManager.UNKNOWN_CARRIER_ID) { in getWifiConfig()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnRepository.kt184 return if (carrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in Context()
/packages/services/Telephony/src/com/android/phone/settings/
DSuppServicesUiUtil.java178 if (carrierId == TelephonyManager.UNKNOWN_CARRIER_ID) { in handleCallerIdUssdResponse()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsEventDispatcher.java163 TelephonyManager.UNKNOWN_CARRIER_ID);
321 if (carrierId != TelephonyManager.UNKNOWN_CARRIER_ID) { in onCarrierConfigChanged()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java375 saveCarrierIdForDefaultSub(TelephonyManager.UNKNOWN_CARRIER_ID); in resetSettingsAsNeeded()
396 if (carrierId == TelephonyManager.UNKNOWN_CARRIER_ID) { in resetSettingsAsNeeded()
/packages/apps/CarrierConfig/src/com/android/carrierconfig/
DDefaultCarrierConfigService.java136 if (id.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in loadConfig()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DKeepaliveStatsTrackerTest.java1098 TelephonyManager.UNKNOWN_CARRIER_ID, in testCarrierIdChange_changeBeforeStart()
1234 TelephonyManager.UNKNOWN_CARRIER_ID, in testUpdateDefaultSubId()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanEventListenerTest.java236 TelephonyManager.UNKNOWN_CARRIER_ID); in testOnReceivedCarrierConfigChangedIntent()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DCarrierProviderTest.java321 contentValues.put(CarrierDatabaseHelper.CARRIER_ID, TelephonyManager.UNKNOWN_CARRIER_ID); in testOldAndNewDBEntries()

12