Home
last modified time | relevance | path

Searched refs:getBestMatchSubscriptionId (Results 1 – 12 of 12) sorted by relevance

/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiCarrierInfoManager.java701 public int getBestMatchSubscriptionId(@NonNull WifiConfiguration config) { in getBestMatchSubscriptionId() method in WifiCarrierInfoManager
784 int subId = getBestMatchSubscriptionId(config); in getSimIdentity()
837 int subId = getBestMatchSubscriptionId(config); in getAnonymousIdentityWith3GppRealm()
1137 int subId = getBestMatchSubscriptionId(config); in getGsmAuthResponseWithLength()
1210 int subId = getBestMatchSubscriptionId(config); in getGsmSimpleSimNoLengthAuthResponse()
1317 int subId = getBestMatchSubscriptionId(config); in get3GAuthResponse()
1385 int subId = getBestMatchSubscriptionId(config); in decoratePseudonymWith3GppRealm()
1406 int subId = getBestMatchSubscriptionId(config); in resetCarrierKeysForImsiEncryption()
1616 int subId = getBestMatchSubscriptionId(config); in isCarrierNetworkFromNonDefaultDataSim()
H A DEapFailureNotifier.java70 mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in onEapFailure()
H A DWifiNetworkSuggestionsManager.java370 config.subscriptionId = carrierInfoManager.getBestMatchSubscriptionId(config); in createInternalWifiConfiguration()
1878 int subId = mWifiCarrierInfoManager.getBestMatchSubscriptionId(config); in isPasspointSuggestionSharedWithUser()
H A DClientModeImpl.java4361 mLastSubId = mWifiCarrierInfoManager.getBestMatchSubscriptionId(config);
6245 mWifiCarrierInfoManager.getBestMatchSubscriptionId(config))
H A DWifiServiceImpl.java4946 int subId = mWifiCarrierInfoManager.getBestMatchSubscriptionId(configuration);
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiCarrierInfoManagerTest.java1100 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdWithEmptyActiveSubscriptionInfoList()
1107 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdWithEmptyActiveSubscriptionInfoList()
1118 assertEquals(DATA_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdForEnterpriseWithoutCarrierIdFieldForSimConfig()
1129 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdForEnterpriseWithoutCarrierIdFieldForNonSimConfig()
1142 assertEquals(NON_DATA_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdForEnterpriseWithNonDataCarrierId()
1145 assertEquals(DATA_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdForEnterpriseWithNonDataCarrierId()
1159 assertEquals(DATA_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(spyConfig)); in getBestMatchSubscriptionIdForPasspointWithValidCarrierId()
1172 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(spyConfig)); in getBestMatchSubscriptionIdForPasspointInvalidCarrierId()
1185 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdWithDeactiveCarrierId()
H A DEapFailureNotifierTest.java82 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(mWifiConfiguration)).thenReturn(0); in setUp()
H A DSavedNetworkNominatorTest.java74 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(VALID_SUBID); in setUp()
H A DNetworkSuggestionNominatorTest.java87 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn( in setUp()
943 .getBestMatchSubscriptionId(suggestions[0].wns.wifiConfiguration)) in testSelectNetworkSuggestionForOneMatchCarrierNetworkWithNoSim()
991 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(eapSimConfig)) in testSelectNetworkSuggestionForOneMatchSimBasedWithEncryptionInfoNotAvailabele()
H A DClientModeImplTest.java1054 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in setupEapSimConnection()
1192 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym()
1249 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonym()
1304 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
1358 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonymForSuggestion()
1416 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonymForPasspoint()
4786 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSupRequestIdentity_setsIdentityResponse()
5887 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in setupPasspointConnection()
H A DWifiNetworkSuggestionsManagerTest.java280 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn( in setUp()
3491 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(placeholderConfig)) in testIsPasspointSuggestionSharedWithUserSetToTrue()
3620 .getBestMatchSubscriptionId(argThat(new WifiConfigMatcher(configuration)))) in testGetWifiConfigForMatchedCarrierNetworkSuggestionsSharedWithUser()
4715 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUBID); in testSuggestionCarrierNetworkConnectionBroadcastAndDisconnectWithCarrierIdOnly()
H A DWifiServiceImplTest.java4741 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUB_ID); in connectToSimBasedNetworkWhenSimPresent()
4764 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUB_ID); in connectToSimBasedNetworkWhenSimAbsent()
4786 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUB_ID); in connectToSimBasedNetworkRequiresImsiEncryptionButNotReady()