Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCarrierInfoManager.java912 public int getBestMatchSubscriptionId(@NonNull WifiConfiguration config) { in getBestMatchSubscriptionId() method in WifiCarrierInfoManager
1003 int subId = getBestMatchSubscriptionId(config); in getSimIdentity()
1065 int subId = getBestMatchSubscriptionId(config); in getAnonymousIdentityWith3GppRealm()
1365 int subId = getBestMatchSubscriptionId(config); in getGsmAuthResponseWithLength()
1438 int subId = getBestMatchSubscriptionId(config); in getGsmSimpleSimNoLengthAuthResponse()
1545 int subId = getBestMatchSubscriptionId(config); in get3GAuthResponse()
1617 int subId = getBestMatchSubscriptionId(config); in decoratePseudonymWith3GppRealm()
1638 int subId = getBestMatchSubscriptionId(config); in resetCarrierKeysForImsiEncryption()
1885 int subId = getBestMatchSubscriptionId(config); in isCarrierNetworkFromNonDefaultDataSim()
DEapFailureNotifier.java97 mWifiCarrierInfoManager.getBestMatchSubscriptionId(config), in onEapFailure()
DWifiNetworkSuggestionsManager.java389 config.subscriptionId = carrierInfoManager.getBestMatchSubscriptionId(config); in createInternalWifiConfiguration()
2020 int subId = mWifiCarrierInfoManager.getBestMatchSubscriptionId(config); in isPasspointSuggestionSharedWithUser()
DWifiConnectivityManager.java2545 mWifiCarrierInfoManager.getBestMatchSubscriptionId(config))); in getAllScanOptimizationNetworks()
DClientModeImpl.java5777 mLastSubId = mWifiCarrierInfoManager.getBestMatchSubscriptionId(config); in processMessageImpl()
8184 mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)) in updateWifiConfigOnStartConnection()
DWifiServiceImpl.java6802 mWifiCarrierInfoManager.getBestMatchSubscriptionId(configuration);
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java1290 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdWithEmptyActiveSubscriptionInfoList()
1297 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdWithEmptyActiveSubscriptionInfoList()
1308 assertEquals(DATA_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdForEnterpriseWithoutCarrierIdFieldForSimConfig()
1319 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdForEnterpriseWithoutCarrierIdFieldForNonSimConfig()
1332 assertEquals(NON_DATA_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdForEnterpriseWithNonDataCarrierId()
1335 assertEquals(DATA_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdForEnterpriseWithNonDataCarrierId()
1349 assertEquals(DATA_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(spyConfig)); in getBestMatchSubscriptionIdForPasspointWithValidCarrierId()
1362 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(spyConfig)); in getBestMatchSubscriptionIdForPasspointInvalidCarrierId()
1375 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(config)); in getBestMatchSubscriptionIdWithDeactiveCarrierId()
1383 assertEquals(INVALID_SUBID, mWifiCarrierInfoManager.getBestMatchSubscriptionId(null)); in getBestMatchSubscriptionIdWithNullConfig()
DNetworkSuggestionNominatorTest.java106 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn( in setUp()
972 .getBestMatchSubscriptionId(suggestions[0].wns.wifiConfiguration)) in testSelectNetworkSuggestionForOneMatchCarrierNetworkWithNoSim()
1021 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(eapSimConfig)) in testSelectNetworkSuggestionForOneMatchSimBasedWithEncryptionInfoNotAvailabele()
1073 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUB_ID); in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymInfoAvailable()
1127 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUB_ID); in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymIsNotAvailable()
DEapFailureNotifierTest.java99 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(mWifiConfiguration)).thenReturn(0); in setUp()
DSavedNetworkNominatorTest.java80 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(VALID_SUBID); in setUp()
DWifiNetworkSuggestionsManagerTest.java294 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn( in setUp()
3488 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(placeholderConfig)) in testIsPasspointSuggestionSharedWithUserSetToTrue()
3622 .getBestMatchSubscriptionId(argThat(new WifiConfigMatcher(configuration)))) in testGetWifiConfigForMatchedCarrierNetworkSuggestionsSharedWithUser()
4918 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUBID); in testSuggestionCarrierNetworkConnectionBroadcastAndDisconnectWithCarrierIdOnly()
5229 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())) in testGetMergedNetworkSuggestionsWithSubscriptionGroupForScanDetail()
DClientModeImplTest.java1555 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in setupEapSimConnection()
1791 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym()
1848 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonym()
1906 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym()
1963 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonymForSuggestion()
2022 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testUpdatePseudonymAsInBandPseudonymWhenConnectionIsEstablished()
2074 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonymForPasspoint()
6541 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in testSupRequestIdentity_setsIdentityResponse()
8153 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any(WifiConfiguration.class))) in setupPasspointConnection()
DWifiServiceImplTest.java5675 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUB_ID); in connectToSimBasedNetworkWhenSimPresent()
5699 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUB_ID); in connectToSimBasedNetworkWhenSimAbsent()
5722 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUB_ID); in connectToSimBasedNetworkRequiresImsiEncryptionButNotReady()
5747 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUB_ID); in connectToSimBasedNetworkOobPseudonymEnabledButNotAvailable()
5773 when(mWifiCarrierInfoManager.getBestMatchSubscriptionId(any())).thenReturn(TEST_SUB_ID); in connectToSimBasedNetworkWhenOobPseudonymEnabledAndAvailable()