Home
last modified time | relevance | path

Searched refs:oemPrivate (Results 1 – 24 of 24) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DNetworkSuggestionNominator.java173 if (config.oemPaid && config.oemPrivate) { in shouldIgnoreBasedOnChecksForTrustedOrOemPaidOrOemPrivateOrRestricted()
178 config.oemPrivate = false; // only oemPaid set. in shouldIgnoreBasedOnChecksForTrustedOrOemPaidOrOemPrivateOrRestricted()
188 if (!oemPrivateNetworkAllowed && config.oemPrivate) { in shouldIgnoreBasedOnChecksForTrustedOrOemPaidOrOemPrivateOrRestricted()
DWifiCandidates.java284 this.mOemPrivate = config.oemPrivate; in CandidateImpl()
DWifiNetworkSelector.java335 if (network.oemPaid || network.oemPrivate) { in isNetworkSufficient()
DWifiConfigManager.java1274 internalConfig.oemPrivate = externalConfig.oemPrivate; in mergeWithInternalWifiConfiguration()
DWifiConnectivityManager.java731 || (!secondaryCmmCandidate.oemPaid && !secondaryCmmCandidate.oemPrivate)) { in handleCandidatesFromScanResultsUsingSecondaryCmmIfAvailable()
DWifiNetworkSuggestionsManager.java1174 if (wns.wifiConfiguration.oemPrivate) { in validateNetworkSuggestions()
DClientModeImpl.java3319 mWifiInfo.setOemPrivate(config.oemPrivate); in updateWifiInfoWhenConnected()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkIdentityTest.kt72 val oemPrivate = NetworkCapabilities().apply { in <lambda>() constant
83 assertEquals(getOemBitfield(oemPrivate), OEM_PRIVATE) in <lambda>()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSuggestion.java1093 wifiConfiguration.oemPrivate = mIsNetworkOemPrivate; in buildWifiConfiguration()
1132 wifiConfiguration.oemPrivate = mIsNetworkOemPrivate; in buildWifiConfigurationForPasspoint()
1474 .append(", isOemPrivate=").append(wifiConfiguration.oemPrivate) in toString()
1640 return wifiConfiguration.oemPrivate; in isOemPrivate()
DWifiConfiguration.java1641 public boolean oemPrivate; field in WifiConfiguration
3358 oemPrivate = false; in WifiConfiguration()
3520 if (this.oemPrivate) sbuf.append(" oemPrivate"); in toString()
3528 || this.oemPrivate || this.carrierMerged || this.fromWifiNetworkSuggestion in toString()
4111 oemPrivate = source.oemPrivate; in WifiConfiguration()
4223 dest.writeInt(oemPrivate ? 1 : 0); in writeToParcel()
4330 config.oemPrivate = in.readInt() != 0;
DWifiInfo.java1286 public void setOemPrivate(boolean oemPrivate) { in setOemPrivate() argument
1287 mOemPrivate = oemPrivate; in setOemPrivate()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionNominatorTest.java1367 suggestions[0].wns.wifiConfiguration.oemPrivate = true; in testSelectNetworkSuggestionForOneMatchOemPrivateNotAllow()
1413 suggestions[0].wns.wifiConfiguration.oemPrivate = true; in testSelectNetworkSuggestionForOneMatchOemPrivateAllow()
1464 suggestions[0].wns.wifiConfiguration.oemPrivate = true; in testSelectNetworkSuggestionForOneOemPaidAndOemPrivateMatchWithOemPaidAndOemPrivateAllow()
1514 suggestions[0].wns.wifiConfiguration.oemPrivate = true; in testSelectNetworkSuggestionForOneOemPaidAndOemPrivateMatchWithOemPaidAndOemPrivateNotAllow()
1565 suggestions[0].wns.wifiConfiguration.oemPrivate = true; in testSelectNetworkSuggestionForOneOemPaidAndOemPrivateMatchWithOemPaidAllow()
1616 suggestions[0].wns.wifiConfiguration.oemPrivate = true; in testSelectNetworkSuggestionForOneOemPaidAndOemPrivateMatchWithOemPrivateAllow()
1908 assertEquals(oemPrivateSet, addedWifiConfiguration.oemPrivate); in verifyAddToWifiConfigManager()
DWifiConfigurationTestUtil.java787 assertEquals(expected.oemPrivate, actual.oemPrivate); in assertConfigurationEqualForConfigStore()
DWifiConnectivityManagerTest.java946 mCandidateWifiConfig1.oemPrivate = true; in setupMocksForSecondaryLongLivedTests()
1001 mCandidateWifiConfig1.oemPrivate = true; in secondaryLongLived_oemPaidConnectionAllowedWithOemPrivateCandidate()
1028 mCandidateWifiConfig1.oemPrivate = false; in secondaryLongLived_oemPrivateConnectionAllowedWithOemPaidCandidate()
1172 mCandidateWifiConfig1.oemPrivate = false; in secondaryLongLived_secondaryStaRequestSucceedsWithOemPaidConnectionAllowed()
1217 mCandidateWifiConfig1.oemPrivate = true; in secondaryLongLived_secondaryStaRequestSucceedsWithOemPrivateConnectionAllowed()
1242 mCandidateWifiConfig1.oemPrivate = true; in secondaryLongLived_secondaryStaRequestSucceedsAlongWithPrimary()
1287 mCandidateWifiConfig1.oemPrivate = true; in secondaryLongLived_secondaryStaRequestSucceedsWhenSecondaryAlreadyConnecting()
1340 config.oemPrivate = false; in getTestWifiConfig()
DWifiConfigManagerTest.java770 openNetwork.oemPrivate = true; in testUpdateSingleOpenNetwork()
785 assertTrue(newConfig.oemPrivate); in testUpdateSingleOpenNetwork()
790 assertFalse(oldConfig.oemPrivate); in testUpdateSingleOpenNetwork()
836 openNetwork.oemPrivate = true; in testUpdateSingleOpenNetworkInBlockList()
851 assertTrue(newConfig.oemPrivate); in testUpdateSingleOpenNetworkInBlockList()
856 assertFalse(oldConfig.oemPrivate); in testUpdateSingleOpenNetworkInBlockList()
DClientModeImplTest.java7108 mConnectedNetwork.oemPrivate = true; in testWifiInfoOnConnectingNextNetwork()
7138 assertEquals(mConnectedNetwork.oemPrivate, mWifiInfo.isOemPrivate()); in testWifiInfoOnConnectingNextNetwork()
8106 mConnectedNetwork.oemPrivate = true; in testOemPrivateNetworkCapability()
8120 mConnectedNetwork.oemPrivate = false; in testNotOemPrivateNetworkCapability()
DWifiNetworkSelectorTest.java2059 configs[0].oemPrivate = true; in testStayOrTryToSwitchImpl()
DWifiNetworkSuggestionsManagerTest.java603 networkSuggestion.wifiConfiguration.oemPrivate = true; in testAddOemPrivateNetworkSuggestionOnPreSDevices()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java112 config.oemPrivate = true; in testWifiConfigurationParcel()
150 assertTrue(reconfig.oemPrivate); in testWifiConfigurationParcel()
185 config.oemPrivate = true; in testWifiConfigurationCopyConstructor()
210 assertTrue(reconfig.oemPrivate); in testWifiConfigurationCopyConstructor()
DWifiNetworkSuggestionTest.java252 assertTrue(suggestion.wifiConfiguration.oemPrivate); in testWifiNetworkSuggestionBuilderForOemPrivateEnhancedOpenNetworkWithBssid()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java301 configuration.oemPrivate = true; in testEapWifiConfigurationSerializeDeserializeForConfigStore()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java651 XmlUtil.writeNextValue(out, XML_TAG_IS_OEM_PRIVATE, configuration.oemPrivate); in writeToXmlForConfigStore()
1044 configuration.oemPrivate = (boolean) value; in parseFromXml()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java589 wifiConfig.oemPrivate = mConfig.isOemPrivate(); in getWifiConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java1335 assertTrue(mProvider.getWifiConfig().oemPrivate); in getWifiConfigWithOemPrivate()