Home
last modified time | relevance | path

Searched refs:isOemPaid (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/
DManagerFragment.java214 private void updateNetworkRequestFor(boolean isOemPaid, boolean isChecked) { in updateNetworkRequestFor() argument
216 if (isOemPaid) { in updateNetworkRequestFor()
217 mConnectToOemPaidWifiSwitchNC = sendNetworkRequest(isOemPaid); in updateNetworkRequestFor()
219 mConnectToOemPrivateWifiSwitchNC = sendNetworkRequest(isOemPaid); in updateNetworkRequestFor()
223 isOemPaid ? mConnectToOemPaidWifiSwitchNC : mConnectToOemPrivateWifiSwitchNC); in updateNetworkRequestFor()
234 private NetworkCallback sendNetworkRequest(boolean isOemPaid) { in sendNetworkRequest() argument
241 isOemPaid in sendNetworkRequest()
252 isOemPaid ? "OEM_PAID" : "OEM_PRIVATE"); in sendNetworkRequest()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DConcreteCandidate.java74 mIsOemPaid = candidate.isOemPaid(); in ConcreteCandidate()
159 public ConcreteCandidate setOemPaid(boolean isOemPaid) { in setOemPaid() argument
160 mIsOemPaid = isOemPaid; in setOemPaid()
165 public boolean isOemPaid() { in isOemPaid() method in ConcreteCandidate
DWifiConnectivityManagerTest.java943 when(mCandidate1.isOemPaid()).thenReturn(true); in setupMocksForSecondaryLongLivedTests()
949 && (candidates.get(0).isOemPaid() || candidates.get(0).isOemPrivate())) in setupMocksForSecondaryLongLivedTests()
998 when(mCandidate1.isOemPaid()).thenReturn(false); in secondaryLongLived_oemPaidConnectionAllowedWithOemPrivateCandidate()
1025 when(mCandidate1.isOemPaid()).thenReturn(true); in secondaryLongLived_oemPrivateConnectionAllowedWithOemPaidCandidate()
1081 && (candidates.get(0).isOemPaid() || candidates.get(0).isOemPrivate())) in secondaryLongLived_noSecondaryCandidateSelected()
1169 when(mCandidate1.isOemPaid()).thenReturn(true); in secondaryLongLived_secondaryStaRequestSucceedsWithOemPaidConnectionAllowed()
1214 when(mCandidate1.isOemPaid()).thenReturn(false); in secondaryLongLived_secondaryStaRequestSucceedsWithOemPrivateConnectionAllowed()
1239 when(mCandidate1.isOemPaid()).thenReturn(false); in secondaryLongLived_secondaryStaRequestSucceedsAlongWithPrimary()
1257 && !(candidates.get(0).isOemPaid() || candidates.get(0).isOemPrivate())) in secondaryLongLived_secondaryStaRequestSucceedsAlongWithPrimary()
1284 when(mCandidate1.isOemPaid()).thenReturn(false); in secondaryLongLived_secondaryStaRequestSucceedsWhenSecondaryAlreadyConnecting()
[all …]
DWifiShellCommandTest.java644 && (sL.get(0).isOemPaid()); in testAddSuggestionWithOemPaid()
663 && (sL.get(0).isOemPaid()); in testAddSuggestionWithOemPaid()
DClientModeImplTest.java7137 assertEquals(mConnectedNetwork.oemPaid, mWifiInfo.isOemPaid()); in testWifiInfoOnConnectingNextNetwork()
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/utils/
DUtils.java39 public static WifiNetworkSuggestion buildWifiSuggestion(String ssid, boolean isOemPaid) { in buildWifiSuggestion() argument
46 if (isOemPaid) { in buildWifiSuggestion()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DNetworkMonitorUtils.java74 final boolean isOemPaid = nc.hasCapability(NET_CAPABILITY_OEM_PAID) in isPrivateDnsValidationRequired()
81 && (isVcnManaged || isOemPaid || isDefaultCapable)) { in isPrivateDnsValidationRequired()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiCandidates.java98 boolean isOemPaid(); in isOemPaid() method
337 public boolean isOemPaid() { in isOemPaid() method in WifiCandidates.CandidateImpl
478 + (isOemPaid() ? "oemPaid, " : "") in toString()
DThroughputScorer.java144 if (candidate.isOemPaid()) { in scoreCandidate()
DMultiInternetManager.java513 if (SdkLevel.isAtLeastT() && (info.isOemPaid() || info.isOemPrivate())) continue; in updateNetworkConnectionStates()
DWifiShellCommand.java1134 && (suggestion.isOemPaid() || suggestion.isOemPrivate()))) { in onCommand()
1142 if (suggestion.isOemPaid()) { in onCommand()
1181 && (suggestion.isOemPaid() || suggestion.isOemPrivate()))) { in onCommand()
DWifiConnectivityManager.java679 .collect(Collectors.groupingBy(c -> c.isOemPaid() || c.isOemPrivate())); in handleScanResults()
DClientModeImpl.java5209 if (mWifiInfo.isOemPaid()) { in getCapabilities()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiInfoTest.java210 assertTrue(info.isOemPaid()); in assertNoRedaction()
275 assertTrue(info.isOemPaid()); in assertLocationSensitiveRedaction()
338 assertTrue(info.isOemPaid()); in assertLocalMacAddressInfoRedaction()
555 assertTrue(readWifiInfo.isOemPaid()); in testWifiInfoCopyConstructor()
583 assertFalse(wifiInfo.isOemPaid()); in testWifiInfoResetValue()
DWifiNetworkSuggestionTest.java225 assertTrue(suggestion.isOemPaid()); in testWifiNetworkSuggestionBuilderForOemPaidEnhancedOpenNetworkWithBssid()
1337 assertTrue(suggestion.isOemPaid()); in testSetIsNetworkAsOemPaid()
1355 assertTrue(suggestion.isOemPaid()); in testSetIsNetworkAsOemPaidOnPasspointNetwork()
1357 assertTrue(suggestion.getPasspointConfig().isOemPaid()); in testSetIsNetworkAsOemPaidOnPasspointNetwork()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DWifiQCUtils.java82 if (wifiInfo.isOemPaid() || wifiInfo.isOemPrivate()) { in getIcon()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java685 public void setOemPaid(boolean isOemPaid) { in setOemPaid() argument
686 mIsOemPaid = isOemPaid; in setOemPaid()
693 public boolean isOemPaid() { in isOemPaid() method in PasspointConfiguration
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSuggestion.java918 public @NonNull Builder setOemPaid(boolean isOemPaid) { in setOemPaid() argument
922 mIsNetworkOemPaid = isOemPaid; in setOemPaid()
1623 public boolean isOemPaid() { in isOemPaid() method in WifiNetworkSuggestion
DWifiInfo.java1278 public boolean isOemPaid() { in isOemPaid() method in WifiInfo
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java172 XmlUtil.writeNextValue(out, XML_TAG_IS_OEM_PAID, config.isOemPaid()); in serializePasspointConfiguration()
DPasspointProvider.java588 wifiConfig.oemPaid = mConfig.isOemPaid(); in getWifiConfig()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt690 method public boolean isOemPaid();
1122 method public boolean isOemPaid();
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java14383 private void startOemManagedNetwork(final boolean isOemPaid) throws Exception {
14386 isOemPaid ? NET_CAPABILITY_OEM_PAID : NET_CAPABILITY_OEM_PRIVATE);