/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/ |
D | ManagerFragment.java | 214 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/ |
D | ConcreteCandidate.java | 74 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
|
D | WifiConnectivityManagerTest.java | 943 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 …]
|
D | WifiShellCommandTest.java | 644 && (sL.get(0).isOemPaid()); in testAddSuggestionWithOemPaid() 663 && (sL.get(0).isOemPaid()); in testAddSuggestionWithOemPaid()
|
D | ClientModeImplTest.java | 7137 assertEquals(mConnectedNetwork.oemPaid, mWifiInfo.isOemPaid()); in testWifiInfoOnConnectingNextNetwork()
|
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/utils/ |
D | Utils.java | 39 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/ |
D | NetworkMonitorUtils.java | 74 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/ |
D | WifiCandidates.java | 98 boolean isOemPaid(); in isOemPaid() method 337 public boolean isOemPaid() { in isOemPaid() method in WifiCandidates.CandidateImpl 478 + (isOemPaid() ? "oemPaid, " : "") in toString()
|
D | ThroughputScorer.java | 144 if (candidate.isOemPaid()) { in scoreCandidate()
|
D | MultiInternetManager.java | 513 if (SdkLevel.isAtLeastT() && (info.isOemPaid() || info.isOemPrivate())) continue; in updateNetworkConnectionStates()
|
D | WifiShellCommand.java | 1134 && (suggestion.isOemPaid() || suggestion.isOemPrivate()))) { in onCommand() 1142 if (suggestion.isOemPaid()) { in onCommand() 1181 && (suggestion.isOemPaid() || suggestion.isOemPrivate()))) { in onCommand()
|
D | WifiConnectivityManager.java | 679 .collect(Collectors.groupingBy(c -> c.isOemPaid() || c.isOemPrivate())); in handleScanResults()
|
D | ClientModeImpl.java | 5209 if (mWifiInfo.isOemPaid()) { in getCapabilities()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiInfoTest.java | 210 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()
|
D | WifiNetworkSuggestionTest.java | 225 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/ |
D | WifiQCUtils.java | 82 if (wifiInfo.isOemPaid() || wifiInfo.isOemPrivate()) { in getIcon()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/ |
D | PasspointConfiguration.java | 685 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/ |
D | WifiNetworkSuggestion.java | 918 public @NonNull Builder setOemPaid(boolean isOemPaid) { in setOemPaid() argument 922 mIsNetworkOemPaid = isOemPaid; in setOemPaid() 1623 public boolean isOemPaid() { in isOemPaid() method in WifiNetworkSuggestion
|
D | WifiInfo.java | 1278 public boolean isOemPaid() { in isOemPaid() method in WifiInfo
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtils.java | 172 XmlUtil.writeNextValue(out, XML_TAG_IS_OEM_PAID, config.isOemPaid()); in serializePasspointConfiguration()
|
D | PasspointProvider.java | 588 wifiConfig.oemPaid = mConfig.isOemPaid(); in getWifiConfig()
|
/packages/modules/Wifi/framework/api/ |
D | system-current.txt | 690 method public boolean isOemPaid(); 1122 method public boolean isOemPaid();
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 14383 private void startOemManagedNetwork(final boolean isOemPaid) throws Exception { 14386 isOemPaid ? NET_CAPABILITY_OEM_PAID : NET_CAPABILITY_OEM_PRIVATE);
|