Home
last modified time | relevance | path

Searched refs:PseudonymInfo (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/
DPseudonymInfoTest.java19 import static com.android.server.wifi.entitlement.PseudonymInfo.MINIMUM_REFRESH_INTERVAL_IN_MILLIS;
20 import static com.android.server.wifi.entitlement.PseudonymInfo.REFRESH_AHEAD_TIME_IN_MILLIS;
45 PseudonymInfo pseudonymInfo = new PseudonymInfo(PSEUDONYM, IMSI); in pseudonymInfoWithoutTtl()
48 assertEquals(PseudonymInfo.DEFAULT_PSEUDONYM_TTL_IN_MILLIS, pseudonymInfo.getTtlInMillis()); in pseudonymInfoWithoutTtl()
53 PseudonymInfo pseudonymInfo = new PseudonymInfo(PSEUDONYM, IMSI, TTL_IN_MILLIS); in pseudonymInfoWithTtl()
66 PseudonymInfo pseudonymInfo = new PseudonymInfo(PSEUDONYM, IMSI, TTL_IN_MILLIS, in pseudonymInfoWithTtlTimestamp()
71 pseudonymInfo = new PseudonymInfo(PSEUDONYM, IMSI, TTL_IN_MILLIS, in pseudonymInfoWithTtlTimestamp()
76 pseudonymInfo = new PseudonymInfo(PSEUDONYM, IMSI, TTL_IN_MILLIS, in pseudonymInfoWithTtlTimestamp()
85 PseudonymInfo pseudonymInfo = in pseudonymInfoWithSmallTtl()
86 new PseudonymInfo(PSEUDONYM, IMSI, TWENTY_MINUTES_IN_MILLIS); in pseudonymInfoWithSmallTtl()
DCarrierSpecificServiceEntitlementTest.java90 ArgumentCaptor<PseudonymInfo> mPseudonymInfoArgumentCaptor;
129 PseudonymInfo pseudonymInfo = mPseudonymInfoArgumentCaptor.getValue(); in getImsiPseudonymSuccess()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiPseudonymManager.java47 import com.android.server.wifi.entitlement.PseudonymInfo;
94 private final SparseArray<PseudonymInfo> mPseudonymInfoArray = new SparseArray<>();
160 public Optional<PseudonymInfo> getValidPseudonymInfo(int carrierId) { in getValidPseudonymInfo()
161 Optional<PseudonymInfo> optionalPseudonymInfo = getPseudonymInfo(carrierId); in getValidPseudonymInfo()
166 PseudonymInfo pseudonymInfo = optionalPseudonymInfo.get(); in getValidPseudonymInfo()
187 private Optional<PseudonymInfo> getPseudonymInfo(int carrierId) { in getPseudonymInfo()
188 PseudonymInfo pseudonymInfo; in getPseudonymInfo()
222 Optional<PseudonymInfo> optionalPseudonymInfo = getValidPseudonymInfo(carrierId); in retrievePseudonymOnFailureTimeoutExpired()
262 Optional<PseudonymInfo> optionalPseudonymInfo = in updateWifiConfiguration()
317 Optional<PseudonymInfo> current = getPseudonymInfo(carrierId); in setInBandPseudonym()
[all …]
DNetworkSuggestionNominator.java32 import com.android.server.wifi.entitlement.PseudonymInfo;
357 Optional<PseudonymInfo> pseudonymInfo = in isSimBasedNetworkAvailableToAutoConnect()
DWifiCarrierInfoManager.java76 import com.android.server.wifi.entitlement.PseudonymInfo;
1014 Optional<PseudonymInfo> pseudonymInfo = in getSimIdentity()
DWifiServiceImpl.java212 import com.android.server.wifi.entitlement.PseudonymInfo;
6823 Optional<PseudonymInfo> pseudonymInfo =
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiPseudonymManagerTest.java43 import com.android.server.wifi.entitlement.PseudonymInfo;
181 Optional<PseudonymInfo> pseudonymInfoOptional = in setInBandPseudonymInfo_noPseudonym_empty()
191 Optional<PseudonymInfo> pseudonymInfoOptional = in setInBandPseudonymInfo_expiredPseudonym_present()
219 new PseudonymInfo(PSEUDONYM, IMSI)); in updateWifiConfiguration_freshPseudonymAndPasspoint_update()
243 new PseudonymInfo(PSEUDONYM, IMSI)); in updateWifiConfiguration_freshPseudonymAndNonPasspointNetworkSuggestion_update()
269 new PseudonymInfo(PSEUDONYM, IMSI)); in updateWifiConfiguration_freshPseudonym_update()
294 new PseudonymInfo(PSEUDONYM, IMSI)); in updateWifiConfiguration_freshPseudonymWithDecoratedIdentity_noUpdate()
311 PseudonymInfo pseudonymInfo = new PseudonymInfo(PSEUDONYM, IMSI); in setPseudonymAndScheduleRefresh_freshPseudonym_schedule()
424 new PseudonymInfo(PSEUDONYM, IMSI)); in retrieveOobPseudonymWithRateLimit_freshPseudonym_noScheduleRefresh()
517 PseudonymInfo pseudonymInfo = new PseudonymInfo(PSEUDONYM, IMSI, in mRetrieveCallback_success_scheduleRefresh()
[all …]
DSavedNetworkNominatorTest.java36 import com.android.server.wifi.entitlement.PseudonymInfo;
396 .thenReturn(Optional.of(mock(PseudonymInfo.class))); in testAllowNetworksIfOobPseudonymEnabledForImsiProtection()
DNetworkSuggestionNominatorTest.java55 import com.android.server.wifi.entitlement.PseudonymInfo;
1079 PseudonymInfo mockPseudonymInfo = mock(PseudonymInfo.class); in testSelectNetworkSuggestionForOneMatchSimBasedWithOobPseudonymInfoAvailable()
DWifiCarrierInfoManagerTest.java95 import com.android.server.wifi.entitlement.PseudonymInfo;
788 PseudonymInfo pseudonymInfo = mock(PseudonymInfo.class); in getEncryptedIdentityWithOobPseudonymEnabled()
DWifiServiceImplTest.java252 import com.android.server.wifi.entitlement.PseudonymInfo;
5777 .thenReturn(Optional.of(mock(PseudonymInfo.class))); in connectToSimBasedNetworkWhenOobPseudonymEnabledAndAvailable()
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/response/
DGetImsiPseudonymResponse.java25 import com.android.server.wifi.entitlement.PseudonymInfo;
85 public Optional<PseudonymInfo> toPseudonymInfo(String imsi) { in toPseudonymInfo()
86 PseudonymInfo pseudonymInfo = null; in toPseudonymInfo()
92 pseudonymInfo = new PseudonymInfo(mImsiPseudonym, imsi); in toPseudonymInfo()
94 pseudonymInfo = new PseudonymInfo(mImsiPseudonym, imsi, in toPseudonymInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/
DPseudonymInfo.java26 public class PseudonymInfo { class
62 public PseudonymInfo(@NonNull String pseudonym, @NonNull String imsi) { in PseudonymInfo() method in PseudonymInfo
66 public PseudonymInfo(@NonNull String pseudonym, @NonNull String imsi, long ttlInMillis) { in PseudonymInfo() method in PseudonymInfo
71 public PseudonymInfo(@NonNull String pseudonym, @NonNull String imsi, long ttlInMillis, in PseudonymInfo() method in PseudonymInfo
DCarrierSpecificServiceEntitlement.java127 Optional<PseudonymInfo> optionalPseudonymInfo = getImsiPseudonym(); in getImsiPseudonym()
156 private Optional<PseudonymInfo> getImsiPseudonym() throws in getImsiPseudonym()
275 void onSuccess(int carrierId, PseudonymInfo pseudonymInfo); in onSuccess()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/response/
DGetImsiPseudonymResponseTest.java30 import com.android.server.wifi.entitlement.PseudonymInfo;
69 PseudonymInfo pseudonymInfo = response.toPseudonymInfo(IMSI).get(); in responseBodyCorrectWithRefreshInterval()
92 PseudonymInfo pseudonymInfo = response.toPseudonymInfo(IMSI).get(); in responseBodyCorrectWithoutRefreshInterval()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp740 "com.android.server.wifi.entitlement.PseudonymInfo",
741 "com.android.server.wifi.entitlement.PseudonymInfo$*",
742 "com.android.server.wifi.entitlement.PseudonymInfo.**",