/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManagerTest.java | 60 import android.net.wifi.WifiNetworkSuggestion; 282 WifiNetworkSuggestion networkSuggestion1 = new WifiNetworkSuggestion( in testAddNetworkSuggestionsSuccess() 284 WifiNetworkSuggestion networkSuggestion2 = new WifiNetworkSuggestion( in testAddNetworkSuggestionsSuccess() 287 List<WifiNetworkSuggestion> networkSuggestionList1 = in testAddNetworkSuggestionsSuccess() 288 new ArrayList<WifiNetworkSuggestion>() {{ in testAddNetworkSuggestionsSuccess() 291 List<WifiNetworkSuggestion> networkSuggestionList2 = in testAddNetworkSuggestionsSuccess() 292 new ArrayList<WifiNetworkSuggestion>() {{ in testAddNetworkSuggestionsSuccess() 308 Set<WifiNetworkSuggestion> allNetworkSuggestions = in testAddNetworkSuggestionsSuccess() 310 Set<WifiNetworkSuggestion> expectedAllNetworkSuggestions = in testAddNetworkSuggestionsSuccess() 311 new HashSet<WifiNetworkSuggestion>() {{ in testAddNetworkSuggestionsSuccess() [all …]
|
D | NetworkSuggestionStoreDataTest.java | 24 import android.net.wifi.WifiNetworkSuggestion; 293 WifiNetworkSuggestion networkSuggestion = in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 294 new WifiNetworkSuggestion(configuration, null, false, false, true, true); in serializeDeserializeSingleNetworkSuggestionFromSingleApp() 322 WifiNetworkSuggestion networkSuggestion1 = new WifiNetworkSuggestion( in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 330 WifiNetworkSuggestion networkSuggestion2 = new WifiNetworkSuggestion( in serializeDeserializeSingleNetworkSuggestionFromMultipleApps() 348 WifiNetworkSuggestion networkSuggestion1 = new WifiNetworkSuggestion( in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 350 WifiNetworkSuggestion networkSuggestion2 = new WifiNetworkSuggestion( in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 360 WifiNetworkSuggestion networkSuggestion3 = new WifiNetworkSuggestion( in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 362 WifiNetworkSuggestion networkSuggestion4 = new WifiNetworkSuggestion( in serializeDeserializeMultipleNetworkSuggestionFromMultipleApps() 451 WifiNetworkSuggestion.Builder builder = new WifiNetworkSuggestion.Builder(); in serializeDeserializeSinglePasspointSuggestionFromSingleApp() [all …]
|
D | WakeupControllerTest.java | 34 import android.net.wifi.WifiNetworkSuggestion; 388 WifiNetworkSuggestion openNetworkSuggestion = in startInitializesWakeupLockWithNetworkSuggestions() 389 new WifiNetworkSuggestion(openNetwork, null, false, false, true, true); in startInitializesWakeupLockWithNetworkSuggestions() 391 WifiNetworkSuggestion wepNetworkSuggestion = in startInitializesWakeupLockWithNetworkSuggestions() 392 new WifiNetworkSuggestion(wepNetwork, null, false, false, true, true); in startInitializesWakeupLockWithNetworkSuggestions() 433 WifiNetworkSuggestion oweNetworkSuggestion = in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() 434 new WifiNetworkSuggestion(oweNetwork, null, false, false, true, true); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions() 531 WifiNetworkSuggestion openNetworkSuggestion = in onResultsUpdatesWakeupLockForNetworkSuggestions() 532 new WifiNetworkSuggestion(openNetwork, null, false, false, true, true); in onResultsUpdatesWakeupLockForNetworkSuggestions()
|
D | WifiServiceImplTest.java | 120 import android.net.wifi.WifiNetworkSuggestion; 1858 WifiNetworkSuggestion mockSuggestion = mock(WifiNetworkSuggestion.class); in testGetMatchingScanResultsWithoutSpecifiedScanResults() 1859 List<WifiNetworkSuggestion> matchingSuggestions = new ArrayList<>() {{ in testGetMatchingScanResultsWithoutSpecifiedScanResults() 1862 Map<WifiNetworkSuggestion, List<ScanResult>> result = new HashMap<>() {{ in testGetMatchingScanResultsWithoutSpecifiedScanResults() 1871 Map<WifiNetworkSuggestion, List<ScanResult>> retrievedScanResults = in testGetMatchingScanResultsWithoutSpecifiedScanResults() 1891 WifiNetworkSuggestion mockSuggestion = mock(WifiNetworkSuggestion.class); in testGetMatchingScanResultsWithSpecifiedScanResults() 1892 List<WifiNetworkSuggestion> matchingSuggestions = new ArrayList<>() {{ in testGetMatchingScanResultsWithSpecifiedScanResults() 1895 Map<WifiNetworkSuggestion, List<ScanResult>> result = new HashMap<>() {{ in testGetMatchingScanResultsWithSpecifiedScanResults() 1904 Map<WifiNetworkSuggestion, List<ScanResult>> retrievedScanResults = in testGetMatchingScanResultsWithSpecifiedScanResults() 1927 WifiNetworkSuggestion mockSuggestion = mock(WifiNetworkSuggestion.class); in testGetMatchingScanResultsFailureInRunWithScissors() [all …]
|
D | NetworkSuggestionNominatorTest.java | 32 import android.net.wifi.WifiNetworkSuggestion; 1116 WifiNetworkSuggestion suggestion = in buildNetworkSuggestions() 1117 new WifiNetworkSuggestion(configs[i], null, appInteractions[i], false, in buildNetworkSuggestions()
|
D | WifiConnectivityManagerTest.java | 38 import android.net.wifi.WifiNetworkSuggestion; 209 @Mock private WifiNetworkSuggestion mWifiNetworkSuggestion; 1548 Set<WifiNetworkSuggestion> suggestionNetworks = new HashSet<WifiNetworkSuggestion>(); in checkScanScheduleForSingleSuggestionsNetworkConnected() 1599 Set<WifiNetworkSuggestion> suggestionNetworks = new HashSet<WifiNetworkSuggestion>(); in checkScanScheduleForSavedPasspointSuggestionNetworkConnected()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkSuggestionTest.java | 50 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForOpenNetworkWithReqAppInteraction() 75 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForWpa2EapNetworkWithPriorityAndReqAppInteraction() 105 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithMeteredAndReqUserInteraction() 135 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForWpa2PskNetworkWithNotMeteredAndReqUserInteraction() 163 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForEnhancedOpenNetworkWithBssid() 185 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForWpa3PskNetwork() 215 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForWpa3EapNetwork() 246 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForEapNetworkWithoutCa() 263 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForEapNetworkWithoutMatch() 275 WifiNetworkSuggestion suggestion = new WifiNetworkSuggestion.Builder() in testWifiNetworkSuggestionBuilderForWapiPskNetwork() [all …]
|
D | WifiManagerTest.java | 148 private WifiNetworkSuggestion mWifiNetworkSuggestion; 206 mWifiNetworkSuggestion = new WifiNetworkSuggestion(); in setUp() 1583 List<WifiNetworkSuggestion> testList = new ArrayList<>(); in addGetRemoveNetworkSuggestions() 2159 verify(mListener).onConnectionStatus(any(WifiNetworkSuggestion.class), eq(errorCode)); in testAddSuggestionConnectionStatusListenerAndReceiveEvent() 2173 callbackCaptor.getValue().onConnectionStatus(any(WifiNetworkSuggestion.class), errorCode); in testAddSuggestionConnectionStatusListenerWithTheTargetExecutor()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiNetworkSuggestion.java | 46 public final class WifiNetworkSuggestion implements Parcelable { class 646 public @NonNull WifiNetworkSuggestion build() { in build() 693 return new WifiNetworkSuggestion( in build() 743 public WifiNetworkSuggestion() { in WifiNetworkSuggestion() method in WifiNetworkSuggestion 753 public WifiNetworkSuggestion(@NonNull WifiConfiguration networkConfiguration, in WifiNetworkSuggestion() method in WifiNetworkSuggestion 769 public static final @NonNull Creator<WifiNetworkSuggestion> CREATOR = 770 new Creator<WifiNetworkSuggestion>() { 772 public WifiNetworkSuggestion createFromParcel(Parcel in) { 773 return new WifiNetworkSuggestion( 784 public WifiNetworkSuggestion[] newArray(int size) { [all …]
|
D | ISuggestionConnectionStatusListener.aidl | 19 import android.net.wifi.WifiNetworkSuggestion; 28 void onConnectionStatus(in WifiNetworkSuggestion wifiNetworkSuggestion, int failureReason); in onConnectionStatus()
|
D | IWifiManager.aidl | 42 import android.net.wifi.WifiNetworkSuggestion; 221 …int addNetworkSuggestions(in List<WifiNetworkSuggestion> networkSuggestions, in String packageName, in addNetworkSuggestions() 224 …int removeNetworkSuggestions(in List<WifiNetworkSuggestion> networkSuggestions, in String packageN… in removeNetworkSuggestions() 226 List<WifiNetworkSuggestion> getNetworkSuggestions(in String packageName); in getNetworkSuggestions() 267 …Map getMatchingScanResults(in List<WifiNetworkSuggestion> networkSuggestions, in List<ScanResult> … in getMatchingScanResults()
|
D | WifiManager.java | 1937 @NonNull List<WifiNetworkSuggestion> networkSuggestions) { in addNetworkSuggestions() 1962 @NonNull List<WifiNetworkSuggestion> networkSuggestions) { in removeNetworkSuggestions() 1978 public @NonNull List<WifiNetworkSuggestion> getNetworkSuggestions() { in getNetworkSuggestions() 2792 public Map<WifiNetworkSuggestion, List<ScanResult>> getMatchingScanResults( in getMatchingScanResults() 2793 @NonNull List<WifiNetworkSuggestion> networkSuggestionsToMatch, in getMatchingScanResults() 5814 @NonNull WifiNetworkSuggestion wifiNetworkSuggestion, in onConnectionStatus() 5830 public void onConnectionStatus(@NonNull WifiNetworkSuggestion wifiNetworkSuggestion, in onConnectionStatus()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkSuggestionsManager.java | 45 import android.net.wifi.WifiNetworkSuggestion; 253 public final WifiNetworkSuggestion wns; 258 public ExtendedWifiNetworkSuggestion(@NonNull WifiNetworkSuggestion wns, in ExtendedWifiNetworkSuggestion() 311 public static ExtendedWifiNetworkSuggestion fromWns(@NonNull WifiNetworkSuggestion wns, in fromWns() 565 void onSuggestionsAddedOrUpdated(@NonNull List<WifiNetworkSuggestion> addedSuggestions); in onSuggestionsAddedOrUpdated() 569 void onSuggestionsRemoved(@NonNull List<WifiNetworkSuggestion> removedSuggestions); in onSuggestionsRemoved() 783 final Collection<WifiNetworkSuggestion> networkSuggestions, in convertToExtendedWnsSet() 798 private Set<WifiNetworkSuggestion> convertToWnsSet( in convertToWnsSet() 834 List<WifiNetworkSuggestion> networkSuggestions, int uid, String packageName, in add() 986 private boolean validateNetworkSuggestions(List<WifiNetworkSuggestion> networkSuggestions) { in validateNetworkSuggestions() [all …]
|
D | BaseWifiService.java | 40 import android.net.wifi.WifiNetworkSuggestion; 515 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName, in addNetworkSuggestions() 522 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName) { in removeNetworkSuggestions() 527 public List<WifiNetworkSuggestion> getNetworkSuggestions(String packageName) { in getNetworkSuggestions() 648 public Map<WifiNetworkSuggestion, List<ScanResult>> getMatchingScanResults( in getMatchingScanResults() 649 List<WifiNetworkSuggestion> networkSuggestions, in getMatchingScanResults()
|
D | NetworkSuggestionStoreData.java | 24 import android.net.wifi.WifiNetworkSuggestion; 213 WifiNetworkSuggestion suggestion = extSuggestion.wns; in serializeNetworkSuggestion() 325 Pair<WifiNetworkSuggestion, Boolean> networkSuggestionData = in parseNetworkSuggestionsMap() 368 private Pair<WifiNetworkSuggestion, Boolean> parseNetworkSuggestion(XmlPullParser in, in parseNetworkSuggestion() 469 return Pair.create(new WifiNetworkSuggestion(wifiConfiguration, passpointConfiguration, in parseNetworkSuggestion()
|
D | WifiShellCommand.java | 40 import android.net.wifi.WifiNetworkSuggestion; 496 WifiNetworkSuggestion suggestion = buildSuggestion(pw); in onCommand() 503 List<WifiNetworkSuggestion> suggestions = in onCommand() 505 WifiNetworkSuggestion suggestion = suggestions.stream() in onCommand() 522 List<WifiNetworkSuggestion> suggestions = in onCommand() 528 for (WifiNetworkSuggestion suggestion : suggestions) { in onCommand() 761 private WifiNetworkSuggestion buildSuggestion(PrintWriter pw) { in buildSuggestion() 764 WifiNetworkSuggestion.Builder suggestionBuilder = in buildSuggestion() 765 new WifiNetworkSuggestion.Builder(); in buildSuggestion()
|
D | WakeupController.java | 23 import android.net.wifi.WifiNetworkSuggestion; 349 Set<WifiNetworkSuggestion> networkSuggestions = in getGoodSavedNetworksAndSuggestions() 351 for (WifiNetworkSuggestion suggestion : networkSuggestions) { in getGoodSavedNetworksAndSuggestions()
|
D | WifiConnectivityManager.java | 32 import android.net.wifi.WifiNetworkSuggestion; 746 public void onSuggestionsAddedOrUpdated(List<WifiNetworkSuggestion> suggestions) { in onSuggestionsAddedOrUpdated() 751 public void onSuggestionsRemoved(List<WifiNetworkSuggestion> suggestions) { in onSuggestionsRemoved() 1628 Set<WifiNetworkSuggestion> suggestionsNetworks = in useSingleSavedNetworkSchedule() 1651 WifiNetworkSuggestion network = suggestionsNetworks.iterator().next(); in useSingleSavedNetworkSchedule()
|
D | WifiServiceImpl.java | 77 import android.net.wifi.WifiNetworkSuggestion; 2745 public Map<WifiNetworkSuggestion, List<ScanResult>> getMatchingScanResults( in getMatchingScanResults() 2746 @NonNull List<WifiNetworkSuggestion> networkSuggestions, in getMatchingScanResults() 3838 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName, 3867 List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName) { 3890 public List<WifiNetworkSuggestion> getNetworkSuggestions(String callingPackageName) {
|
/frameworks/base/wifi/aidl-export/android/net/wifi/ |
D | WifiNetworkSuggestion.aidl | 19 parcelable WifiNetworkSuggestion;
|
/frameworks/base/wifi/api/ |
D | current.txt | 304 … public int addNetworkSuggestions(@NonNull java.util.List<android.net.wifi.WifiNetworkSuggestion>); 322 …mission.ACCESS_WIFI_STATE) public java.util.List<android.net.wifi.WifiNetworkSuggestion> getNetwor… 349 …blic int removeNetworkSuggestions(@NonNull java.util.List<android.net.wifi.WifiNetworkSuggestion>); 444 method public void onConnectionStatus(@NonNull android.net.wifi.WifiNetworkSuggestion, int); 483 public final class WifiNetworkSuggestion implements android.os.Parcelable { 500 … public static final android.os.Parcelable.Creator<android.net.wifi.WifiNetworkSuggestion> CREATOR; 503 public static final class WifiNetworkSuggestion.Builder { 504 ctor public WifiNetworkSuggestion.Builder(); 505 method @NonNull public android.net.wifi.WifiNetworkSuggestion build(); 506 …method @NonNull public android.net.wifi.WifiNetworkSuggestion.Builder setBssid(@NonNull android.ne… [all …]
|
D | system-current.txt | 437 …WifiNetworkSuggestion,java.util.List<android.net.wifi.ScanResult>> getMatchingScanResults(@NonNull… 598 public final class WifiNetworkSuggestion implements android.os.Parcelable { 602 public static final class WifiNetworkSuggestion.Builder { 603 ….permission.NETWORK_CARRIER_PROVISIONING) public android.net.wifi.WifiNetworkSuggestion.Builder se…
|
/frameworks/base/api/ |
D | system-current.txt | 7234 …WifiNetworkSuggestion,java.util.List<android.net.wifi.ScanResult>> getMatchingScanResults(@NonNull… 7432 public final class WifiNetworkSuggestion implements android.os.Parcelable { 7436 public static final class WifiNetworkSuggestion.Builder { 7437 ….permission.NETWORK_CARRIER_PROVISIONING) public android.net.wifi.WifiNetworkSuggestion.Builder se…
|
D | current.txt | 31384 … public int addNetworkSuggestions(@NonNull java.util.List<android.net.wifi.WifiNetworkSuggestion>); 31402 …mission.ACCESS_WIFI_STATE) public java.util.List<android.net.wifi.WifiNetworkSuggestion> getNetwor… 31429 …blic int removeNetworkSuggestions(@NonNull java.util.List<android.net.wifi.WifiNetworkSuggestion>); 31524 method public void onConnectionStatus(@NonNull android.net.wifi.WifiNetworkSuggestion, int); 31563 public final class WifiNetworkSuggestion implements android.os.Parcelable { 31580 … public static final android.os.Parcelable.Creator<android.net.wifi.WifiNetworkSuggestion> CREATOR; 31583 public static final class WifiNetworkSuggestion.Builder { 31584 ctor public WifiNetworkSuggestion.Builder(); 31585 method @NonNull public android.net.wifi.WifiNetworkSuggestion build(); 31586 …method @NonNull public android.net.wifi.WifiNetworkSuggestion.Builder setBssid(@NonNull android.ne… [all …]
|