1 /*
2  * Copyright (c) 2018 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.server.wifi;
18 
19 import android.content.pm.ParceledListSlice;
20 import android.net.DhcpInfo;
21 import android.net.Network;
22 import android.net.wifi.IActionListener;
23 import android.net.wifi.IDppCallback;
24 import android.net.wifi.ILocalOnlyHotspotCallback;
25 import android.net.wifi.INetworkRequestMatchCallback;
26 import android.net.wifi.IOnWifiActivityEnergyInfoListener;
27 import android.net.wifi.IOnWifiUsabilityStatsListener;
28 import android.net.wifi.IScanResultsCallback;
29 import android.net.wifi.ISoftApCallback;
30 import android.net.wifi.ISuggestionConnectionStatusListener;
31 import android.net.wifi.ITrafficStateCallback;
32 import android.net.wifi.ITxPacketCountListener;
33 import android.net.wifi.IWifiConnectedNetworkScorer;
34 import android.net.wifi.IWifiManager;
35 import android.net.wifi.ScanResult;
36 import android.net.wifi.SoftApConfiguration;
37 import android.net.wifi.WifiConfiguration;
38 import android.net.wifi.WifiInfo;
39 import android.net.wifi.WifiManager;
40 import android.net.wifi.WifiNetworkSuggestion;
41 import android.net.wifi.hotspot2.IProvisioningCallback;
42 import android.net.wifi.hotspot2.OsuProvider;
43 import android.net.wifi.hotspot2.PasspointConfiguration;
44 import android.os.IBinder;
45 import android.os.RemoteException;
46 import android.os.ResultReceiver;
47 import android.os.WorkSource;
48 import android.os.connectivity.WifiActivityEnergyInfo;
49 
50 import java.util.List;
51 import java.util.Map;
52 
53 /**
54  * Empty concrete class implementing IWifiManager with stub methods throwing runtime exceptions.
55  *
56  * This class is meant to be extended by real implementations of IWifiManager in order to facilitate
57  * cross-repo changes to WiFi internal APIs, including the introduction of new APIs, the removal of
58  * deprecated APIs, or the migration of existing API signatures.
59  *
60  * When an existing API is scheduled for removal, it can be removed from IWifiManager.aidl
61  * immediately and marked as @Deprecated first in this class. Children inheriting this class are
62  * then given a short grace period to update themselves before the @Deprecated stub is removed for
63  * good. If the API scheduled for removal has a replacement or an overload (signature change),
64  * these should be introduced before the stub is removed to allow children to migrate.
65  *
66  * When a new API is added to IWifiManager.aidl, a stub should be added in BaseWifiService as
67  * well otherwise compilation will fail.
68  */
69 public class BaseWifiService extends IWifiManager.Stub {
70 
71     private static final String TAG = BaseWifiService.class.getSimpleName();
72 
73     @Override
getSupportedFeatures()74     public long getSupportedFeatures() {
75         throw new UnsupportedOperationException();
76     }
77 
78     /** @deprecated use {@link #getWifiActivityEnergyInfoAsync} instead */
79     @Deprecated
reportActivityInfo()80     public WifiActivityEnergyInfo reportActivityInfo() {
81         throw new UnsupportedOperationException();
82     }
83 
84     /** @deprecated use {@link #getWifiActivityEnergyInfoAsync} instead */
85     @Deprecated
requestActivityInfo(ResultReceiver result)86     public void requestActivityInfo(ResultReceiver result) {
87         throw new UnsupportedOperationException();
88     }
89 
90     @Override
getWifiActivityEnergyInfoAsync(IOnWifiActivityEnergyInfoListener listener)91     public void getWifiActivityEnergyInfoAsync(IOnWifiActivityEnergyInfoListener listener) {
92         throw new UnsupportedOperationException();
93     }
94 
95     @Override
getConfiguredNetworks(String packageName, String featureId)96     public ParceledListSlice getConfiguredNetworks(String packageName, String featureId) {
97         throw new UnsupportedOperationException();
98     }
99 
100     @Override
getPrivilegedConfiguredNetworks(String packageName, String featureId)101     public ParceledListSlice getPrivilegedConfiguredNetworks(String packageName, String featureId) {
102         throw new UnsupportedOperationException();
103     }
104 
105     @Override
getAllMatchingFqdnsForScanResults( List<ScanResult> scanResults)106     public Map<String, Map<Integer, List<ScanResult>>> getAllMatchingFqdnsForScanResults(
107             List<ScanResult> scanResults) {
108         throw new UnsupportedOperationException();
109     }
110 
111     @Override
getMatchingOsuProviders( List<ScanResult> scanResults)112     public Map<OsuProvider, List<ScanResult>> getMatchingOsuProviders(
113             List<ScanResult> scanResults) {
114         throw new UnsupportedOperationException();
115     }
116 
117     @Override
getMatchingPasspointConfigsForOsuProviders( List<OsuProvider> osuProviders)118     public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders(
119             List<OsuProvider> osuProviders) {
120         throw new UnsupportedOperationException();
121     }
122 
123     @Override
addOrUpdateNetwork(WifiConfiguration config, String packageName)124     public int addOrUpdateNetwork(WifiConfiguration config, String packageName) {
125         throw new UnsupportedOperationException();
126     }
127 
128     @Override
addOrUpdatePasspointConfiguration( PasspointConfiguration config, String packageName)129     public boolean addOrUpdatePasspointConfiguration(
130             PasspointConfiguration config, String packageName) {
131         throw new UnsupportedOperationException();
132     }
133 
134     @Override
removePasspointConfiguration(String fqdn, String packageName)135     public boolean removePasspointConfiguration(String fqdn, String packageName) {
136         throw new UnsupportedOperationException();
137     }
138 
139     @Override
getPasspointConfigurations(String packageName)140     public List<PasspointConfiguration> getPasspointConfigurations(String packageName) {
141         throw new UnsupportedOperationException();
142     }
143 
144     @Override
getWifiConfigsForPasspointProfiles(List<String> fqdnList)145     public List<WifiConfiguration> getWifiConfigsForPasspointProfiles(List<String> fqdnList) {
146         throw new UnsupportedOperationException();
147     }
148 
149     @Override
queryPasspointIcon(long bssid, String fileName)150     public void queryPasspointIcon(long bssid, String fileName) {
151         throw new UnsupportedOperationException();
152     }
153 
154     @Override
matchProviderWithCurrentNetwork(String fqdn)155     public int matchProviderWithCurrentNetwork(String fqdn) {
156         throw new UnsupportedOperationException();
157     }
158 
159     @Override
deauthenticateNetwork(long holdoff, boolean ess)160     public void deauthenticateNetwork(long holdoff, boolean ess) {
161         throw new UnsupportedOperationException();
162     }
163 
164     @Override
removeNetwork(int netId, String packageName)165     public boolean removeNetwork(int netId, String packageName) {
166         throw new UnsupportedOperationException();
167     }
168 
169     @Override
enableNetwork(int netId, boolean disableOthers, String packageName)170     public boolean enableNetwork(int netId, boolean disableOthers, String packageName) {
171         throw new UnsupportedOperationException();
172     }
173 
174     @Override
disableNetwork(int netId, String packageName)175     public boolean disableNetwork(int netId, String packageName) {
176         throw new UnsupportedOperationException();
177     }
178 
179     @Override
allowAutojoinGlobal(boolean choice)180     public void allowAutojoinGlobal(boolean choice) {
181         throw new UnsupportedOperationException();
182     }
183 
184     @Override
allowAutojoin(int netId, boolean choice)185     public void allowAutojoin(int netId, boolean choice) {
186         throw new UnsupportedOperationException();
187     }
188 
189     @Override
allowAutojoinPasspoint(String fqdn, boolean enableAutoJoin)190     public void allowAutojoinPasspoint(String fqdn, boolean enableAutoJoin) {
191         throw new UnsupportedOperationException();
192     }
193 
194     @Override
setMacRandomizationSettingPasspointEnabled(String fqdn, boolean enable)195     public void setMacRandomizationSettingPasspointEnabled(String fqdn, boolean enable) {
196         throw new UnsupportedOperationException();
197     }
198 
199     /** @deprecated use {@link #setPasspointMeteredOverride} instead */
200     @Deprecated
setMeteredOverridePasspoint(String fqdn, int meteredOverride)201     public void setMeteredOverridePasspoint(String fqdn, int meteredOverride) {
202         throw new UnsupportedOperationException();
203     }
204 
205     @Override
setPasspointMeteredOverride(String fqdn, int meteredOverride)206     public void setPasspointMeteredOverride(String fqdn, int meteredOverride) {
207         throw new UnsupportedOperationException();
208     }
209 
210     @Override
startScan(String packageName, String featureId)211     public boolean startScan(String packageName, String featureId) {
212         throw new UnsupportedOperationException();
213     }
214 
215     @Override
getScanResults(String callingPackage, String callingFeatureId)216     public List<ScanResult> getScanResults(String callingPackage, String callingFeatureId) {
217         throw new UnsupportedOperationException();
218     }
219 
220     @Override
disconnect(String packageName)221     public boolean disconnect(String packageName) {
222         throw new UnsupportedOperationException();
223     }
224 
225     @Override
reconnect(String packageName)226     public boolean reconnect(String packageName) {
227         throw new UnsupportedOperationException();
228     }
229 
230     @Override
reassociate(String packageName)231     public boolean reassociate(String packageName) {
232         throw new UnsupportedOperationException();
233     }
234 
235     @Override
getConnectionInfo(String callingPackage, String callingFeatureId)236     public WifiInfo getConnectionInfo(String callingPackage, String callingFeatureId) {
237         throw new UnsupportedOperationException();
238     }
239 
240     @Override
setWifiEnabled(String packageName, boolean enable)241     public boolean setWifiEnabled(String packageName, boolean enable) {
242         throw new UnsupportedOperationException();
243     }
244 
245     @Override
getWifiEnabledState()246     public int getWifiEnabledState() {
247         throw new UnsupportedOperationException();
248     }
249 
250     @Override
getCountryCode()251     public String getCountryCode() {
252         throw new UnsupportedOperationException();
253     }
254 
255     /** @deprecated use {@link #is5GHzBandSupported} instead */
256     @Deprecated
isDualBandSupported()257     public boolean isDualBandSupported() {
258         throw new UnsupportedOperationException();
259     }
260 
261     @Override
is5GHzBandSupported()262     public boolean is5GHzBandSupported() {
263         throw new UnsupportedOperationException();
264     }
265 
266     @Override
is6GHzBandSupported()267     public boolean is6GHzBandSupported() {
268         throw new UnsupportedOperationException();
269     }
270 
271     @Override
isWifiStandardSupported(int standard)272     public boolean isWifiStandardSupported(int standard) {
273         throw new UnsupportedOperationException();
274     }
275 
276     /** @deprecated use {@link WifiManager#isStaApConcurrencySupported()} */
277     @Deprecated
needs5GHzToAnyApBandConversion()278     public boolean needs5GHzToAnyApBandConversion() {
279         throw new UnsupportedOperationException();
280     }
281 
282     @Override
getDhcpInfo()283     public DhcpInfo getDhcpInfo() {
284         throw new UnsupportedOperationException();
285     }
286 
287     @Override
setScanAlwaysAvailable(boolean isAvailable)288     public void setScanAlwaysAvailable(boolean isAvailable) {
289         throw new UnsupportedOperationException();
290     }
291 
292     @Override
isScanAlwaysAvailable()293     public boolean isScanAlwaysAvailable() {
294         throw new UnsupportedOperationException();
295     }
296 
297     @Override
acquireWifiLock(IBinder lock, int lockType, String tag, WorkSource ws)298     public boolean acquireWifiLock(IBinder lock, int lockType, String tag, WorkSource ws) {
299         throw new UnsupportedOperationException();
300     }
301 
302     @Override
updateWifiLockWorkSource(IBinder lock, WorkSource ws)303     public void updateWifiLockWorkSource(IBinder lock, WorkSource ws) {
304         throw new UnsupportedOperationException();
305     }
306 
307     @Override
releaseWifiLock(IBinder lock)308     public boolean releaseWifiLock(IBinder lock) {
309         throw new UnsupportedOperationException();
310     }
311 
312     @Override
initializeMulticastFiltering()313     public void initializeMulticastFiltering() {
314         throw new UnsupportedOperationException();
315     }
316 
317     @Override
isMulticastEnabled()318     public boolean isMulticastEnabled() {
319         throw new UnsupportedOperationException();
320     }
321 
322     @Override
acquireMulticastLock(IBinder binder, String tag)323     public void acquireMulticastLock(IBinder binder, String tag) {
324         throw new UnsupportedOperationException();
325     }
326 
327     @Override
releaseMulticastLock(String tag)328     public void releaseMulticastLock(String tag) {
329         throw new UnsupportedOperationException();
330     }
331 
332     @Override
updateInterfaceIpState(String ifaceName, int mode)333     public void updateInterfaceIpState(String ifaceName, int mode) {
334         throw new UnsupportedOperationException();
335     }
336 
337     @Override
startSoftAp(WifiConfiguration wifiConfig)338     public boolean startSoftAp(WifiConfiguration wifiConfig) {
339         throw new UnsupportedOperationException();
340     }
341 
342     @Override
startTetheredHotspot(SoftApConfiguration softApConfig)343     public boolean startTetheredHotspot(SoftApConfiguration softApConfig) {
344         throw new UnsupportedOperationException();
345     }
346 
347     @Override
stopSoftAp()348     public boolean stopSoftAp() {
349         throw new UnsupportedOperationException();
350     }
351 
352     @Override
startLocalOnlyHotspot(ILocalOnlyHotspotCallback callback, String packageName, String featureId, SoftApConfiguration customConfig)353     public int startLocalOnlyHotspot(ILocalOnlyHotspotCallback callback, String packageName,
354             String featureId, SoftApConfiguration customConfig) {
355         throw new UnsupportedOperationException();
356     }
357 
358     @Override
stopLocalOnlyHotspot()359     public void stopLocalOnlyHotspot() {
360         throw new UnsupportedOperationException();
361     }
362 
363     @Override
startWatchLocalOnlyHotspot(ILocalOnlyHotspotCallback callback)364     public void startWatchLocalOnlyHotspot(ILocalOnlyHotspotCallback callback) {
365         throw new UnsupportedOperationException();
366     }
367 
368     @Override
stopWatchLocalOnlyHotspot()369     public void stopWatchLocalOnlyHotspot() {
370         throw new UnsupportedOperationException();
371     }
372 
373     @Override
getWifiApEnabledState()374     public int getWifiApEnabledState() {
375         throw new UnsupportedOperationException();
376     }
377 
378     @Override
getWifiApConfiguration()379     public WifiConfiguration getWifiApConfiguration() {
380         throw new UnsupportedOperationException();
381     }
382 
383     @Override
getSoftApConfiguration()384     public SoftApConfiguration getSoftApConfiguration() {
385         throw new UnsupportedOperationException();
386     }
387 
388     @Override
setWifiApConfiguration(WifiConfiguration wifiConfig, String packageName)389     public boolean setWifiApConfiguration(WifiConfiguration wifiConfig, String packageName) {
390         throw new UnsupportedOperationException();
391     }
392 
393     @Override
setSoftApConfiguration(SoftApConfiguration softApConfig, String packageName)394     public boolean setSoftApConfiguration(SoftApConfiguration softApConfig, String packageName) {
395         throw new UnsupportedOperationException();
396     }
397 
398     @Override
notifyUserOfApBandConversion(String packageName)399     public void notifyUserOfApBandConversion(String packageName) {
400         throw new UnsupportedOperationException();
401     }
402 
403     @Override
enableTdls(String remoteIPAddress, boolean enable)404     public void enableTdls(String remoteIPAddress, boolean enable) {
405         throw new UnsupportedOperationException();
406     }
407 
408     @Override
enableTdlsWithMacAddress(String remoteMacAddress, boolean enable)409     public void enableTdlsWithMacAddress(String remoteMacAddress, boolean enable) {
410         throw new UnsupportedOperationException();
411     }
412 
413     @Override
getCurrentNetworkWpsNfcConfigurationToken()414     public String getCurrentNetworkWpsNfcConfigurationToken() {
415         throw new UnsupportedOperationException();
416     }
417 
418     @Override
enableVerboseLogging(int verbose)419     public void enableVerboseLogging(int verbose) {
420         throw new UnsupportedOperationException();
421     }
422 
423     @Override
getVerboseLoggingLevel()424     public int getVerboseLoggingLevel() {
425         throw new UnsupportedOperationException();
426     }
427 
428     /** @deprecated use {@link #allowAutojoinGlobal(boolean)} instead */
429     @Deprecated
enableWifiConnectivityManager(boolean enabled)430     public void enableWifiConnectivityManager(boolean enabled) {
431         throw new UnsupportedOperationException();
432     }
433 
434     @Override
disableEphemeralNetwork(String SSID, String packageName)435     public void disableEphemeralNetwork(String SSID, String packageName) {
436         throw new UnsupportedOperationException();
437     }
438 
439     @Override
factoryReset(String packageName)440     public void factoryReset(String packageName) {
441         throw new UnsupportedOperationException();
442     }
443 
444     @Override
getCurrentNetwork()445     public Network getCurrentNetwork() {
446         throw new UnsupportedOperationException();
447     }
448 
449     @Override
retrieveBackupData()450     public byte[] retrieveBackupData() {
451         throw new UnsupportedOperationException();
452     }
453 
454     @Override
restoreBackupData(byte[] data)455     public void restoreBackupData(byte[] data) {
456         throw new UnsupportedOperationException();
457     }
458 
459     @Override
retrieveSoftApBackupData()460     public byte[] retrieveSoftApBackupData() {
461         throw new UnsupportedOperationException();
462     }
463 
464     @Override
restoreSoftApBackupData(byte[] data)465     public SoftApConfiguration restoreSoftApBackupData(byte[] data) {
466         throw new UnsupportedOperationException();
467     }
468 
469     @Override
restoreSupplicantBackupData(byte[] supplicantData, byte[] ipConfigData)470     public void restoreSupplicantBackupData(byte[] supplicantData, byte[] ipConfigData) {
471         throw new UnsupportedOperationException();
472     }
473 
474     @Override
startSubscriptionProvisioning( OsuProvider provider, IProvisioningCallback callback)475     public void startSubscriptionProvisioning(
476             OsuProvider provider, IProvisioningCallback callback) {
477         throw new UnsupportedOperationException();
478     }
479 
480     @Override
registerSoftApCallback( IBinder binder, ISoftApCallback callback, int callbackIdentifier)481     public void registerSoftApCallback(
482             IBinder binder, ISoftApCallback callback, int callbackIdentifier) {
483         throw new UnsupportedOperationException();
484     }
485 
486     @Override
unregisterSoftApCallback(int callbackIdentifier)487     public void unregisterSoftApCallback(int callbackIdentifier) {
488         throw new UnsupportedOperationException();
489     }
490 
491     @Override
registerTrafficStateCallback( IBinder binder, ITrafficStateCallback callback, int callbackIdentifier)492     public void registerTrafficStateCallback(
493             IBinder binder, ITrafficStateCallback callback, int callbackIdentifier) {
494         throw new UnsupportedOperationException();
495     }
496 
497     @Override
unregisterTrafficStateCallback(int callbackIdentifier)498     public void unregisterTrafficStateCallback(int callbackIdentifier) {
499         throw new UnsupportedOperationException();
500     }
501 
502     @Override
registerNetworkRequestMatchCallback( IBinder binder, INetworkRequestMatchCallback callback, int callbackIdentifier)503     public void registerNetworkRequestMatchCallback(
504             IBinder binder, INetworkRequestMatchCallback callback, int callbackIdentifier) {
505         throw new UnsupportedOperationException();
506     }
507 
508     @Override
unregisterNetworkRequestMatchCallback(int callbackIdentifier)509     public void unregisterNetworkRequestMatchCallback(int callbackIdentifier) {
510         throw new UnsupportedOperationException();
511     }
512 
513     @Override
addNetworkSuggestions( List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName, String callingFeatureId)514     public int addNetworkSuggestions(
515             List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName,
516             String callingFeatureId) {
517         throw new UnsupportedOperationException();
518     }
519 
520     @Override
removeNetworkSuggestions( List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName)521     public int removeNetworkSuggestions(
522             List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName) {
523         throw new UnsupportedOperationException();
524     }
525 
526     @Override
getNetworkSuggestions(String packageName)527     public List<WifiNetworkSuggestion> getNetworkSuggestions(String packageName) {
528         throw new UnsupportedOperationException();
529     }
530 
531     @Override
getFactoryMacAddresses()532     public String[] getFactoryMacAddresses() {
533         throw new UnsupportedOperationException();
534     }
535 
536     @Override
setDeviceMobilityState(int state)537     public void setDeviceMobilityState(int state) {
538         throw new UnsupportedOperationException();
539     }
540 
541     @Override
startDppAsConfiguratorInitiator(IBinder binder, String enrolleeUri, int selectedNetworkId, int netRole, IDppCallback callback)542     public void startDppAsConfiguratorInitiator(IBinder binder, String enrolleeUri,
543             int selectedNetworkId, int netRole, IDppCallback callback) {
544         throw new UnsupportedOperationException();
545     }
546 
547     @Override
startDppAsEnrolleeInitiator(IBinder binder, String configuratorUri, IDppCallback callback)548     public void startDppAsEnrolleeInitiator(IBinder binder, String configuratorUri,
549             IDppCallback callback) {
550         throw new UnsupportedOperationException();
551     }
552 
553     @Override
stopDppSession()554     public void stopDppSession() throws RemoteException {
555         throw new UnsupportedOperationException();
556     }
557 
558     @Override
addOnWifiUsabilityStatsListener( IBinder binder, IOnWifiUsabilityStatsListener listener, int listenerIdentifier)559     public void addOnWifiUsabilityStatsListener(
560             IBinder binder, IOnWifiUsabilityStatsListener listener, int listenerIdentifier) {
561         throw new UnsupportedOperationException();
562     }
563 
564     @Override
removeOnWifiUsabilityStatsListener(int listenerIdentifier)565     public void removeOnWifiUsabilityStatsListener(int listenerIdentifier) {
566         throw new UnsupportedOperationException();
567     }
568 
569     @Override
updateWifiUsabilityScore(int seqNum, int score, int predictionHorizonSec)570     public void updateWifiUsabilityScore(int seqNum, int score, int predictionHorizonSec) {
571         throw new UnsupportedOperationException();
572     }
573 
574     @Override
connect(WifiConfiguration config, int netId, IBinder binder, IActionListener callback, int callbackIdentifier)575     public void connect(WifiConfiguration config, int netId, IBinder binder,
576             IActionListener callback, int callbackIdentifier) {
577         throw new UnsupportedOperationException();
578     }
579 
580     @Override
save(WifiConfiguration config, IBinder binder, IActionListener callback, int callbackIdentifier)581     public void save(WifiConfiguration config, IBinder binder, IActionListener callback,
582             int callbackIdentifier) {
583         throw new UnsupportedOperationException();
584     }
585 
586     @Override
forget(int netId, IBinder binder, IActionListener callback, int callbackIdentifier)587     public void forget(int netId, IBinder binder, IActionListener callback,
588             int callbackIdentifier) {
589         throw new UnsupportedOperationException();
590     }
591 
592     /**
593      * @deprecated was only used by CTS test, now fully removed. Please also remove
594      * ITxPacketCountListener.aidl when removing this method.
595      */
596     @Deprecated
getTxPacketCount(String packageName, IBinder binder, ITxPacketCountListener callback, int callbackIdentifier)597     public void getTxPacketCount(String packageName, IBinder binder,
598             ITxPacketCountListener callback, int callbackIdentifier) {
599         throw new UnsupportedOperationException();
600     }
601 
602     @Override
registerScanResultsCallback(IScanResultsCallback callback)603     public void registerScanResultsCallback(IScanResultsCallback callback) {
604         throw new UnsupportedOperationException();
605     }
606 
607     @Override
unregisterScanResultsCallback(IScanResultsCallback callback)608     public void unregisterScanResultsCallback(IScanResultsCallback callback) {
609         throw new UnsupportedOperationException();
610     }
611 
612     @Override
registerSuggestionConnectionStatusListener(IBinder binder, ISuggestionConnectionStatusListener listener, int listenerIdentifier, String packageName, String featureId)613     public void registerSuggestionConnectionStatusListener(IBinder binder,
614             ISuggestionConnectionStatusListener listener,
615             int listenerIdentifier, String packageName, String featureId) {
616         throw new UnsupportedOperationException();
617     }
618 
619     @Override
unregisterSuggestionConnectionStatusListener(int listenerIdentifier, String packageName)620     public void unregisterSuggestionConnectionStatusListener(int listenerIdentifier,
621             String packageName) {
622         throw new UnsupportedOperationException();
623     }
624 
625     @Override
calculateSignalLevel(int rssi)626     public int calculateSignalLevel(int rssi) {
627         throw new UnsupportedOperationException();
628     }
629 
630     @Override
getWifiConfigForMatchedNetworkSuggestionsSharedWithUser( List<ScanResult> scanResults)631     public List<WifiConfiguration> getWifiConfigForMatchedNetworkSuggestionsSharedWithUser(
632             List<ScanResult> scanResults) {
633         throw new UnsupportedOperationException();
634     }
635 
636     @Override
setWifiConnectedNetworkScorer(IBinder binder, IWifiConnectedNetworkScorer scorer)637     public boolean setWifiConnectedNetworkScorer(IBinder binder,
638             IWifiConnectedNetworkScorer scorer) {
639         throw new UnsupportedOperationException();
640     }
641 
642     @Override
clearWifiConnectedNetworkScorer()643     public void clearWifiConnectedNetworkScorer() {
644         throw new UnsupportedOperationException();
645     }
646 
647     @Override
getMatchingScanResults( List<WifiNetworkSuggestion> networkSuggestions, List<ScanResult> scanResults, String callingPackage, String callingFeatureId)648     public Map<WifiNetworkSuggestion, List<ScanResult>> getMatchingScanResults(
649             List<WifiNetworkSuggestion> networkSuggestions,
650             List<ScanResult> scanResults,
651             String callingPackage, String callingFeatureId) {
652         throw new UnsupportedOperationException();
653     }
654 
655     @Override
setScanThrottleEnabled(boolean enable)656     public void setScanThrottleEnabled(boolean enable) {
657         throw new UnsupportedOperationException();
658     }
659 
660     @Override
isScanThrottleEnabled()661     public boolean isScanThrottleEnabled() {
662         throw new UnsupportedOperationException();
663     }
664 
665     @Override
666     public Map<String, Map<Integer, List<ScanResult>>>
getAllMatchingPasspointProfilesForScanResults(List<ScanResult> scanResults)667             getAllMatchingPasspointProfilesForScanResults(List<ScanResult> scanResults) {
668         throw new UnsupportedOperationException();
669     }
670 
671     @Override
setAutoWakeupEnabled(boolean enable)672     public void setAutoWakeupEnabled(boolean enable) {
673         throw new UnsupportedOperationException();
674     }
675 
676     @Override
isAutoWakeupEnabled()677     public boolean isAutoWakeupEnabled() {
678         throw new UnsupportedOperationException();
679     }
680 }
681