Home
last modified time | relevance | path

Searched refs:isFromSuggestion (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java438 WifiConfiguration newConfig, int uid, String packageName, boolean isFromSuggestion) { in updateWifiConfigInWcmIfPresent() argument
443 if (isFromSuggestion != configInWcm.fromWifiNetworkSuggestion) return; in updateWifiConfigInWcmIfPresent()
445 if (isFromSuggestion in updateWifiConfigInWcmIfPresent()
483 String packageName, boolean isFromSuggestion, boolean isTrusted, boolean isRestricted) { in addOrUpdateProvider() argument
493 if (!isFromSuggestion && (!isTrusted || isRestricted)) { in addOrUpdateProvider()
497 if (config.getServiceFriendlyNames() != null && isFromSuggestion) { in addOrUpdateProvider()
515 mWifiCarrierInfoManager, mProviderIndex++, uid, packageName, isFromSuggestion, in addOrUpdateProvider()
559 if (isFromSuggestion && !old.getPackageName().equals(packageName)) { in addOrUpdateProvider()
577 newProvider.getWifiConfig(), uid, packageName, isFromSuggestion); in addOrUpdateProvider() local
582 if (!isFromSuggestion) { in addOrUpdateProvider()
[all …]
DPasspointConfigUserStoreData.java211 XmlUtil.writeNextValue(out, XML_TAG_IS_FROM_SUGGESTION, provider.isFromSuggestion()); in serializeProvider()
287 boolean isFromSuggestion = false; in deserializeProvider()
327 isFromSuggestion = (boolean) value; in deserializeProvider()
374 providerId, creatorUid, packageName, isFromSuggestion, caCertificateAliases, in deserializeProvider()
378 if (isFromSuggestion) { in deserializeProvider()
DPasspointObjectFactory.java69 int creatorUid, String packageName, boolean isFromSuggestion, Clock clock) { in makePasspointProvider() argument
71 creatorUid, packageName, isFromSuggestion, clock); in makePasspointProvider()
DPasspointProvider.java148 String packageName, boolean isFromSuggestion, Clock clock) { in PasspointProvider() argument
150 isFromSuggestion, null, null, null, false, false, clock); in PasspointProvider()
155 String packageName, boolean isFromSuggestion, List<String> caCertificateAliases, in PasspointProvider() argument
169 mIsFromSuggestion = isFromSuggestion; in PasspointProvider()
280 public boolean isFromSuggestion() { in isFromSuggestion() method in PasspointProvider
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java1016 int carrierId, int subId, boolean isFromSuggestion) { in createProfileKey() argument
1019 if (isFromSuggestion) { in createProfileKey()
1055 int carrierId, int subId, boolean isFromSuggestion) { in createNetworkKey() argument
1058 if (isFromSuggestion) { in createNetworkKey()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java136 when(provider.isFromSuggestion()).thenReturn(false); in generateProvider()
729 when(suggestionProvider.isFromSuggestion()).thenReturn(true); in evaluateScansWithNetworkMatchingProviderBothFromSavedAndSuggestion()
DPasspointManagerTest.java358 lenient().when(provider.isFromSuggestion()).thenReturn(isSuggestion); in createMockProvider()
2094 when(provider.isFromSuggestion()).thenReturn(true); in addRemoveSuggestionProvider()
2213 when(newProvider.isFromSuggestion()).thenReturn(true); in addSuggestionProviderWithExistingConfig()
2324 when(newProvider.isFromSuggestion()).thenReturn(true); in addSuggestionProviderWithExistingConfigFromDifferentSource()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java6780 meteredDetail.isFromSuggestion = config.fromWifiNetworkSuggestion;
6788 MeteredNetworkStats toProto(boolean isFromSuggestion) {
6791 if (meteredDetail.isFromSuggestion != isFromSuggestion) {
6813 public boolean isFromSuggestion;