Home
last modified time | relevance | path

Searched refs:HotspotNetwork (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
DHotspotNetwork.java44 public final class HotspotNetwork implements Parcelable { class
211 public HotspotNetwork build() { in build()
212 return new HotspotNetwork( in build()
241 private HotspotNetwork( in HotspotNetwork() method in HotspotNetwork
346 if (!(obj instanceof HotspotNetwork)) return false; in equals()
347 HotspotNetwork other = (HotspotNetwork) obj; in equals()
386 public static HotspotNetwork readFromParcel(@NonNull Parcel in) { in readFromParcel()
387 return new HotspotNetwork(in.readLong(), NetworkProviderInfo.readFromParcel(in), in readFromParcel()
393 public static final Creator<HotspotNetwork> CREATOR = new Creator<>() {
395 public HotspotNetwork createFromParcel(Parcel in) {
[all …]
DHotspotNetworkConnectionStatus.java110 private final HotspotNetwork mHotspotNetwork;
119 private HotspotNetwork mHotspotNetwork;
139 public Builder setHotspotNetwork(@NonNull HotspotNetwork hotspotNetwork) { in setHotspotNetwork()
182 HotspotNetwork hotspotNetwork, @NonNull Bundle extras) { in HotspotNetworkConnectionStatus()
205 public HotspotNetwork getHotspotNetwork() { in getHotspotNetwork()
252 HotspotNetwork.readFromParcel(in), in.readBundle()); in readFromParcel()
DHotspotNetwork.aidl19 parcelable HotspotNetwork;
DSharedConnectivityClientCallback.java39 void onHotspotNetworksUpdated(@NonNull List<HotspotNetwork> networks); in onHotspotNetworksUpdated()
DSharedConnectivityManager.java101 public void onHotspotNetworksUpdated(@NonNull List<HotspotNetwork> networks) { in onHotspotNetworksUpdated()
453 public boolean connectHotspotNetwork(@NonNull HotspotNetwork network) { in connectHotspotNetwork()
480 public boolean disconnectHotspotNetwork(@NonNull HotspotNetwork network) { in disconnectHotspotNetwork()
555 public List<HotspotNetwork> getHotspotNetworks() { in getHotspotNetworks()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DHotspotNetworkEntryTest.java47 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
84 private static final HotspotNetwork TEST_HOTSPOT_NETWORK_DATA = new HotspotNetwork.Builder()
92 .setHostNetworkType(HotspotNetwork.NETWORK_TYPE_CELLULAR)
247 HotspotNetwork testNetwork = new HotspotNetwork.Builder() in testGetSummary_tablet_usesHotspotNetworkData()
255 .setHostNetworkType(HotspotNetwork.NETWORK_TYPE_CELLULAR) in testGetSummary_tablet_usesHotspotNetworkData()
269 HotspotNetwork testNetwork = new HotspotNetwork.Builder() in testGetSummary_computer_usesHotspotNetworkData()
277 .setHostNetworkType(HotspotNetwork.NETWORK_TYPE_CELLULAR) in testGetSummary_computer_usesHotspotNetworkData()
291 HotspotNetwork testNetwork = new HotspotNetwork.Builder() in testGetSummary_watch_usesHotspotNetworkData()
299 .setHostNetworkType(HotspotNetwork.NETWORK_TYPE_CELLULAR) in testGetSummary_watch_usesHotspotNetworkData()
313 HotspotNetwork testNetwork = new HotspotNetwork.Builder() in testGetSummary_vehicle_usesHotspotNetworkData()
[all …]
DNetworkDetailsTrackerTest.java33 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
129 new HotspotNetworkEntry.HotspotNetworkEntryKey(new HotspotNetwork.Builder() in testCreateNetworkDetailsTracker_returnsHotspotNetworkDetailsTracker()
136 .setHostNetworkType(HotspotNetwork.NETWORK_TYPE_CELLULAR) in testCreateNetworkDetailsTracker_returnsHotspotNetworkDetailsTracker()
DWifiPickerTrackerTest.java68 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
2503 final HotspotNetwork testHotspotNetwork = new HotspotNetwork.Builder() in testSharedConnectivityManager_onServiceDisconnected_networksCleared()
2511 .setHostNetworkType(HotspotNetwork.NETWORK_TYPE_CELLULAR) in testSharedConnectivityManager_onServiceDisconnected_networksCleared()
2765 final HotspotNetwork testHotspotNetwork = new HotspotNetwork.Builder() in testHotspotNetworks_noActiveHotspot_virtualEntryIncluded()
2773 .setHostNetworkType(HotspotNetwork.NETWORK_TYPE_CELLULAR) in testHotspotNetworks_noActiveHotspot_virtualEntryIncluded()
2797 final HotspotNetwork testHotspotNetwork = new HotspotNetwork.Builder() in testHotspotNetworks_activeHotspot_nonVirtualEntryIncluded()
2805 .setHostNetworkType(HotspotNetwork.NETWORK_TYPE_CELLULAR) in testHotspotNetworks_activeHotspot_nonVirtualEntryIncluded()
2831 final HotspotNetwork testHotspotNetwork = new HotspotNetwork.Builder() in testHotspotNetworks_duplicatesStandardEntry_standardEntryExcluded()
2839 .setHostNetworkType(HotspotNetwork.NETWORK_TYPE_CELLULAR) in testHotspotNetworks_duplicatesStandardEntry_standardEntryExcluded()
2874 final HotspotNetwork testHotspotNetwork = new HotspotNetwork.Builder() in testHotspotNetworks_duplicatesActiveStandardEntry_standardEntryExcluded()
[all …]
/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/service/
DISharedConnectivityService.aidl20 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
32 void connectHotspotNetwork(in HotspotNetwork network); in connectHotspotNetwork()
33 void disconnectHotspotNetwork(in HotspotNetwork network); in disconnectHotspotNetwork()
36 List<HotspotNetwork> getHotspotNetworks(); in getHotspotNetworks()
DSharedConnectivityService.java31 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
70 private List<HotspotNetwork> mHotspotNetworks = Collections.emptyList();
122 public void connectHotspotNetwork(HotspotNetwork network) { in onBind()
134 public void disconnectHotspotNetwork(HotspotNetwork network) { in onBind()
172 public List<HotspotNetwork> getHotspotNetworks() { in onBind()
299 public final void setHotspotNetworks(@NonNull List<HotspotNetwork> networks) { in setHotspotNetworks()
438 public abstract void onConnectHotspotNetwork(@NonNull HotspotNetwork network); in onConnectHotspotNetwork()
447 public abstract void onDisconnectHotspotNetwork(@NonNull HotspotNetwork network); in onDisconnectHotspotNetwork()
DISharedConnectivityCallback.aidl22 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
29 oneway void onHotspotNetworksUpdated(in List<HotspotNetwork> networks); in onHotspotNetworksUpdated()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DHotspotNetworkEntry.java28 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
71 @Nullable private HotspotNetwork mHotspotNetworkData;
85 HotspotNetwork.NETWORK_TYPE_UNKNOWN,
86 HotspotNetwork.NETWORK_TYPE_CELLULAR,
87 HotspotNetwork.NETWORK_TYPE_WIFI,
88 HotspotNetwork.NETWORK_TYPE_ETHERNET
141 @NonNull HotspotNetwork hotspotNetworkData) { in HotspotNetworkEntry()
183 @NonNull HotspotNetwork hotspotNetworkData) { in updateHotspotNetworkData()
358 return HotspotNetwork.NETWORK_TYPE_UNKNOWN; in getNetworkType()
442 public HotspotNetwork getHotspotNetworkData() { in getHotspotNetworkData()
[all …]
DHotspotNetworkDetailsTracker.java28 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
52 private HotspotNetwork mHotspotNetworkData;
115 List<HotspotNetwork> hotspotNetworks = mSharedConnectivityManager.getHotspotNetworks(); in handleServiceConnected()
132 protected void handleHotspotNetworksUpdated(List<HotspotNetwork> networks) { in handleHotspotNetworksUpdated()
DBaseWifiTracker.java37 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
254 public void onHotspotNetworksUpdated(@NonNull List<HotspotNetwork> networks) { in createSharedConnectivityCallback()
608 protected void handleHotspotNetworksUpdated(List<HotspotNetwork> networks) {
DWifiPickerTracker.java48 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
144 private final List<HotspotNetwork> mHotspotNetworkDataCache = new ArrayList<>();
465 protected void handleHotspotNetworksUpdated(List<HotspotNetwork> networks) { in handleHotspotNetworksUpdated()
516 List<HotspotNetwork> hotspotNetworks = mSharedConnectivityManager.getHotspotNetworks(); in handleServiceConnected()
1004 final Map<Long, HotspotNetwork> hotspotNetworkDataById = in updateHotspotNetworkEntries()
1006 HotspotNetwork::getDeviceId, in updateHotspotNetworkEntries()
/frameworks/base/wifi/tests/src/android/net/wifi/sharedconnectivity/service/
DSharedConnectivityServiceTest.java21 import static android.net.wifi.sharedconnectivity.app.HotspotNetwork.NETWORK_TYPE_CELLULAR;
39 import android.net.wifi.sharedconnectivity.app.HotspotNetwork;
73 private static final HotspotNetwork HOTSPOT_NETWORK =
74 new HotspotNetwork.Builder().setDeviceId(1).setNetworkProviderInfo(
80 private static final List<HotspotNetwork> HOTSPOT_NETWORKS = List.of(HOTSPOT_NETWORK);
111 private HotspotNetwork mConnectedHotspotNetwork;
112 private HotspotNetwork mDisconnectedHotspotNetwork;
117 public HotspotNetwork getConnectedHotspotNetwork() { in getConnectedHotspotNetwork()
121 public HotspotNetwork getDisconnectedHotspotNetwork() { in getDisconnectedHotspotNetwork()
142 public void onConnectHotspotNetwork(@NonNull HotspotNetwork network) { in onConnectHotspotNetwork()
[all …]
/frameworks/base/core/api/
Dsystem-current.txt10232 public final class HotspotNetwork implements android.os.Parcelable {
10243 …inal android.os.Parcelable.Creator<android.net.wifi.sharedconnectivity.app.HotspotNetwork> CREATOR;
10250 public static final class HotspotNetwork.Builder {
10251 ctor public HotspotNetwork.Builder();
10252 …method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder addHotspotSe…
10253 method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork build();
10254 …method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setDeviceId(…
10255 …method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setExtras(@N…
10256 …method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setHostNetwo…
10257 …method @NonNull public android.net.wifi.sharedconnectivity.app.HotspotNetwork.Builder setHotspotBs…
[all …]