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 android.net.wifi;
18 
19 import android.annotation.NonNull;
20 import android.annotation.Nullable;
21 import android.net.DhcpInfo;
22 import android.net.DhcpOption;
23 import android.net.Network;
24 import android.net.TetheringManager;
25 import android.net.wifi.hotspot2.IProvisioningCallback;
26 import android.net.wifi.hotspot2.OsuProvider;
27 import android.net.wifi.hotspot2.PasspointConfiguration;
28 import android.net.wifi.twt.TwtRequest;
29 import android.os.Bundle;
30 import android.os.IBinder;
31 import android.os.RemoteException;
32 import android.os.WorkSource;
33 
34 import com.android.modules.utils.ParceledListSlice;
35 
36 import java.util.List;
37 import java.util.Map;
38 
39 /**
40  * Empty concrete class implementing IWifiManager with stub methods throwing runtime exceptions.
41  *
42  * This class is meant to be extended by real implementations of IWifiManager in order to facilitate
43  * cross-repo changes to WiFi internal APIs, including the introduction of new APIs, the removal of
44  * deprecated APIs, or the migration of existing API signatures.
45  *
46  * When an existing API is scheduled for removal, it can be removed from IWifiManager.aidl
47  * immediately and marked as @Deprecated first in this class. Children inheriting this class are
48  * then given a short grace period to update themselves before the @Deprecated stub is removed for
49  * good. If the API scheduled for removal has a replacement or an overload (signature change),
50  * these should be introduced before the stub is removed to allow children to migrate.
51  *
52  * When a new API is added to IWifiManager.aidl, a stub should be added in BaseWifiService as
53  * well otherwise compilation will fail.
54  *
55  * @hide
56  */
57 public class BaseWifiService extends IWifiManager.Stub {
58 
59     private static final String TAG = BaseWifiService.class.getSimpleName();
60 
61     @Override
getSupportedFeatures()62     public long getSupportedFeatures() {
63         throw new UnsupportedOperationException();
64     }
65 
66     @Override
getWifiActivityEnergyInfoAsync(IOnWifiActivityEnergyInfoListener listener)67     public void getWifiActivityEnergyInfoAsync(IOnWifiActivityEnergyInfoListener listener) {
68         throw new UnsupportedOperationException();
69     }
70 
71     @Override
getConfiguredNetworks(String packageName, String featureId, boolean callerNetworksOnly)72     public ParceledListSlice getConfiguredNetworks(String packageName, String featureId,
73             boolean callerNetworksOnly) {
74         throw new UnsupportedOperationException();
75     }
76 
77     @Override
getPrivilegedConfiguredNetworks(String packageName, String featureId, Bundle extras)78     public ParceledListSlice getPrivilegedConfiguredNetworks(String packageName, String featureId,
79             Bundle extras) {
80         throw new UnsupportedOperationException();
81     }
82 
83     @Override
getPrivilegedConnectedNetwork( String packageName, String featureId, Bundle extras)84     public WifiConfiguration getPrivilegedConnectedNetwork(
85             String packageName, String featureId, Bundle extras) {
86         throw new UnsupportedOperationException();
87     }
88 
89     @Override
setNetworkSelectionConfig(WifiNetworkSelectionConfig nsConfig)90     public void setNetworkSelectionConfig(WifiNetworkSelectionConfig nsConfig) {
91         throw new UnsupportedOperationException();
92     }
93 
94     @Override
getNetworkSelectionConfig(@onNull IWifiNetworkSelectionConfigListener listener)95     public void getNetworkSelectionConfig(@NonNull IWifiNetworkSelectionConfigListener listener) {
96         throw new UnsupportedOperationException();
97     }
98 
99     @Override
setThirdPartyAppEnablingWifiConfirmationDialogEnabled(boolean enable)100     public void setThirdPartyAppEnablingWifiConfirmationDialogEnabled(boolean enable) {
101         throw new UnsupportedOperationException();
102     }
103 
104     @Override
isThirdPartyAppEnablingWifiConfirmationDialogEnabled()105     public boolean isThirdPartyAppEnablingWifiConfirmationDialogEnabled() {
106         throw new UnsupportedOperationException();
107     }
108 
109     @Override
setScreenOnScanSchedule(int[] scanScheduleSeconds, int[] scanType)110     public void setScreenOnScanSchedule(int[] scanScheduleSeconds, int[] scanType) {
111         throw new UnsupportedOperationException();
112     }
113 
114     @Override
setOneShotScreenOnConnectivityScanDelayMillis(int delayMs)115     public void setOneShotScreenOnConnectivityScanDelayMillis(int delayMs) {
116         throw new UnsupportedOperationException();
117     }
118 
119     @Override
getAllMatchingFqdnsForScanResults( List<ScanResult> scanResults)120     public Map<String, Map<Integer, List<ScanResult>>> getAllMatchingFqdnsForScanResults(
121             List<ScanResult> scanResults) {
122         throw new UnsupportedOperationException();
123     }
124 
125     @Override
setSsidsAllowlist(String packageName, List<WifiSsid> ssids)126     public void setSsidsAllowlist(String packageName, List<WifiSsid> ssids) {
127         throw new UnsupportedOperationException();
128     }
129 
130     @Override
getSsidsAllowlist(String packageName)131     public List<WifiSsid> getSsidsAllowlist(String packageName) {
132         throw new UnsupportedOperationException();
133     }
134 
135     @Override
getMatchingOsuProviders( List<ScanResult> scanResults)136     public Map<OsuProvider, List<ScanResult>> getMatchingOsuProviders(
137             List<ScanResult> scanResults) {
138         throw new UnsupportedOperationException();
139     }
140 
141     @Override
getMatchingPasspointConfigsForOsuProviders( List<OsuProvider> osuProviders)142     public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders(
143             List<OsuProvider> osuProviders) {
144         throw new UnsupportedOperationException();
145     }
146 
147     @Override
addOrUpdateNetwork(WifiConfiguration config, String packageName, Bundle extras)148     public int addOrUpdateNetwork(WifiConfiguration config, String packageName, Bundle extras) {
149         throw new UnsupportedOperationException();
150     }
151 
152     @Override
addOrUpdateNetworkPrivileged(WifiConfiguration config, String packageName)153     public WifiManager.AddNetworkResult addOrUpdateNetworkPrivileged(WifiConfiguration config,
154             String packageName) {
155         throw new UnsupportedOperationException();
156     }
157 
158     @Override
addOrUpdatePasspointConfiguration( PasspointConfiguration config, String packageName)159     public boolean addOrUpdatePasspointConfiguration(
160             PasspointConfiguration config, String packageName) {
161         throw new UnsupportedOperationException();
162     }
163 
164     @Override
removePasspointConfiguration(String fqdn, String packageName)165     public boolean removePasspointConfiguration(String fqdn, String packageName) {
166         throw new UnsupportedOperationException();
167     }
168 
169     @Override
getPasspointConfigurations(String packageName)170     public List<PasspointConfiguration> getPasspointConfigurations(String packageName) {
171         throw new UnsupportedOperationException();
172     }
173 
174     @Override
getWifiConfigsForPasspointProfiles(List<String> fqdnList)175     public List<WifiConfiguration> getWifiConfigsForPasspointProfiles(List<String> fqdnList) {
176         throw new UnsupportedOperationException();
177     }
178 
179     @Override
queryPasspointIcon(long bssid, String fileName)180     public void queryPasspointIcon(long bssid, String fileName) {
181         throw new UnsupportedOperationException();
182     }
183 
184     @Override
matchProviderWithCurrentNetwork(String fqdn)185     public int matchProviderWithCurrentNetwork(String fqdn) {
186         throw new UnsupportedOperationException();
187     }
188 
189     @Override
removeNetwork(int netId, String packageName)190     public boolean removeNetwork(int netId, String packageName) {
191         throw new UnsupportedOperationException();
192     }
193 
194     @Override
removeNonCallerConfiguredNetworks(String packageName)195     public boolean removeNonCallerConfiguredNetworks(String packageName) {
196         throw new UnsupportedOperationException();
197     }
198 
199     @Override
enableNetwork(int netId, boolean disableOthers, String packageName)200     public boolean enableNetwork(int netId, boolean disableOthers, String packageName) {
201         throw new UnsupportedOperationException();
202     }
203 
204     @Override
disableNetwork(int netId, String packageName)205     public boolean disableNetwork(int netId, String packageName) {
206         throw new UnsupportedOperationException();
207     }
208 
209     /** TO BE REMOVED */
allowAutojoinGlobal(boolean choice)210     public void allowAutojoinGlobal(boolean choice) {
211         throw new UnsupportedOperationException();
212     }
213 
214     @Override
allowAutojoinGlobal(boolean choice, String packageName, Bundle extras)215     public void allowAutojoinGlobal(boolean choice, String packageName, Bundle extras) {
216         throw new UnsupportedOperationException();
217     }
218 
219     @Override
queryAutojoinGlobal(@onNull IBooleanListener listener)220     public void queryAutojoinGlobal(@NonNull IBooleanListener listener) {
221         throw new UnsupportedOperationException();
222     }
223 
224     @Override
allowAutojoin(int netId, boolean choice)225     public void allowAutojoin(int netId, boolean choice) {
226         throw new UnsupportedOperationException();
227     }
228 
229     @Override
allowAutojoinPasspoint(String fqdn, boolean enableAutoJoin)230     public void allowAutojoinPasspoint(String fqdn, boolean enableAutoJoin) {
231         throw new UnsupportedOperationException();
232     }
233 
234     @Override
getBssidBlocklist(ParceledListSlice<WifiSsid> ssids, IMacAddressListListener listener)235     public void getBssidBlocklist(ParceledListSlice<WifiSsid> ssids,
236             IMacAddressListListener listener) {
237         throw new UnsupportedOperationException();
238     }
239 
240     @Override
setMacRandomizationSettingPasspointEnabled(String fqdn, boolean enable)241     public void setMacRandomizationSettingPasspointEnabled(String fqdn, boolean enable) {
242         throw new UnsupportedOperationException();
243     }
244 
245     @Override
setPasspointMeteredOverride(String fqdn, int meteredOverride)246     public void setPasspointMeteredOverride(String fqdn, int meteredOverride) {
247         throw new UnsupportedOperationException();
248     }
249 
250     @Override
startScan(String packageName, String featureId)251     public boolean startScan(String packageName, String featureId) {
252         throw new UnsupportedOperationException();
253     }
254 
255     @Override
getScanResults(String callingPackage, String callingFeatureId)256     public ParceledListSlice getScanResults(String callingPackage, String callingFeatureId) {
257         throw new UnsupportedOperationException();
258     }
259 
260     @Override
getChannelData(@onNull IListListener listener, String packageName, Bundle extras)261     public void getChannelData(@NonNull IListListener listener, String packageName,
262             Bundle extras) {
263         throw new UnsupportedOperationException();
264     }
265 
266     @Override
disconnect(String packageName)267     public boolean disconnect(String packageName) {
268         throw new UnsupportedOperationException();
269     }
270 
271     @Override
reconnect(String packageName)272     public boolean reconnect(String packageName) {
273         throw new UnsupportedOperationException();
274     }
275 
276     @Override
reassociate(String packageName)277     public boolean reassociate(String packageName) {
278         throw new UnsupportedOperationException();
279     }
280 
281     @Override
getConnectionInfo(String callingPackage, String callingFeatureId)282     public WifiInfo getConnectionInfo(String callingPackage, String callingFeatureId) {
283         throw new UnsupportedOperationException();
284     }
285 
286     @Override
setWifiEnabled(String packageName, boolean enable)287     public boolean setWifiEnabled(String packageName, boolean enable) {
288         throw new UnsupportedOperationException();
289     }
290 
291     @Override
registerSubsystemRestartCallback(ISubsystemRestartCallback callback)292     public void registerSubsystemRestartCallback(ISubsystemRestartCallback callback) {
293         throw new UnsupportedOperationException();
294     }
295 
296     @Override
unregisterSubsystemRestartCallback(ISubsystemRestartCallback callback)297     public void unregisterSubsystemRestartCallback(ISubsystemRestartCallback callback) {
298         throw new UnsupportedOperationException();
299     }
300 
301     @Override
addWifiNetworkStateChangedListener(IWifiNetworkStateChangedListener listener)302     public void addWifiNetworkStateChangedListener(IWifiNetworkStateChangedListener listener) {
303         throw new UnsupportedOperationException();
304     }
305 
306     @Override
removeWifiNetworkStateChangedListener(IWifiNetworkStateChangedListener listener)307     public void removeWifiNetworkStateChangedListener(IWifiNetworkStateChangedListener listener) {
308         throw new UnsupportedOperationException();
309     }
310 
311     @Override
restartWifiSubsystem()312     public void restartWifiSubsystem() {
313         throw new UnsupportedOperationException();
314     }
315 
316     @Override
getWifiEnabledState()317     public int getWifiEnabledState() {
318         throw new UnsupportedOperationException();
319     }
320 
321     @Override
registerDriverCountryCodeChangedListener( @onNull IOnWifiDriverCountryCodeChangedListener listener, @Nullable String packageName, @Nullable String featureId)322     public void registerDriverCountryCodeChangedListener(
323             @NonNull IOnWifiDriverCountryCodeChangedListener listener,
324             @Nullable String packageName, @Nullable String featureId) {
325         throw new UnsupportedOperationException();
326     }
327 
328     @Override
unregisterDriverCountryCodeChangedListener( @onNull IOnWifiDriverCountryCodeChangedListener listener)329     public void unregisterDriverCountryCodeChangedListener(
330             @NonNull IOnWifiDriverCountryCodeChangedListener listener) {
331         throw new UnsupportedOperationException();
332     }
333 
334     @Override
getCountryCode(String packageName, String featureId)335     public String getCountryCode(String packageName, String featureId) {
336         throw new UnsupportedOperationException();
337     }
338 
339     @Override
setOverrideCountryCode(@onNull String countryCode)340     public void setOverrideCountryCode(@NonNull String countryCode) {
341         throw new UnsupportedOperationException();
342     }
343 
344     @Override
clearOverrideCountryCode()345     public void clearOverrideCountryCode() {
346         throw new UnsupportedOperationException();
347     }
348 
349     @Override
setDefaultCountryCode(@onNull String countryCode)350     public void setDefaultCountryCode(@NonNull String countryCode) {
351         throw new UnsupportedOperationException();
352     }
353 
354     @Override
is24GHzBandSupported()355     public boolean is24GHzBandSupported() {
356         throw new UnsupportedOperationException();
357     }
358 
359     @Override
is5GHzBandSupported()360     public boolean is5GHzBandSupported() {
361         throw new UnsupportedOperationException();
362     }
363 
364     @Override
is6GHzBandSupported()365     public boolean is6GHzBandSupported() {
366         throw new UnsupportedOperationException();
367     }
368 
369     @Override
is60GHzBandSupported()370     public boolean is60GHzBandSupported() {
371         throw new UnsupportedOperationException();
372     }
373 
374     @Override
isWifiStandardSupported(int standard)375     public boolean isWifiStandardSupported(int standard) {
376         throw new UnsupportedOperationException();
377     }
378 
379     @Override
getDhcpInfo(String packageName)380     public DhcpInfo getDhcpInfo(String packageName) {
381         throw new UnsupportedOperationException();
382     }
383 
384     @Override
setScanAlwaysAvailable(boolean isAvailable, String packageName)385     public void setScanAlwaysAvailable(boolean isAvailable, String packageName) {
386         throw new UnsupportedOperationException();
387     }
388 
389     @Override
isScanAlwaysAvailable()390     public boolean isScanAlwaysAvailable() {
391         throw new UnsupportedOperationException();
392     }
393 
394     /**
395      * Following method is deprecated with
396      * {@link BaseWifiService#acquireWifiLock(IBinder, int, String, WorkSource, String, Bundle)}
397      * @deprecated This is no longer supported.
398      */
399     @Deprecated
acquireWifiLock(IBinder lock, int lockType, String tag, WorkSource ws)400     public boolean acquireWifiLock(IBinder lock, int lockType, String tag, WorkSource ws) {
401         throw new UnsupportedOperationException();
402     }
403 
404     @Override
acquireWifiLock(IBinder lock, int lockType, String tag, WorkSource ws, String packageName, Bundle extras)405     public boolean acquireWifiLock(IBinder lock, int lockType, String tag, WorkSource ws,
406             String packageName, Bundle extras) {
407         throw new UnsupportedOperationException();
408     }
409 
410     /**
411      * Following method is deprecated with
412      * {@link BaseWifiService#updateWifiLockWorkSource(IBinder, WorkSource, String, Bundle)}
413      * @deprecated This is no longer supported.
414      */
415     @Deprecated
updateWifiLockWorkSource(IBinder lock, WorkSource ws)416     public void updateWifiLockWorkSource(IBinder lock, WorkSource ws) {
417         throw new UnsupportedOperationException();
418     }
419 
420     @Override
updateWifiLockWorkSource(IBinder lock, WorkSource ws, String packageName, Bundle extras)421     public void updateWifiLockWorkSource(IBinder lock, WorkSource ws, String packageName,
422             Bundle extras) {
423         throw new UnsupportedOperationException();
424     }
425 
426     @Override
releaseWifiLock(IBinder lock)427     public boolean releaseWifiLock(IBinder lock) {
428         throw new UnsupportedOperationException();
429     }
430 
431     @Override
initializeMulticastFiltering()432     public void initializeMulticastFiltering() {
433         throw new UnsupportedOperationException();
434     }
435 
436     @Override
isMulticastEnabled()437     public boolean isMulticastEnabled() {
438         throw new UnsupportedOperationException();
439     }
440 
441     @Override
acquireMulticastLock(IBinder binder, String tag)442     public void acquireMulticastLock(IBinder binder, String tag) {
443         throw new UnsupportedOperationException();
444     }
445 
446     @Override
releaseMulticastLock(String tag)447     public void releaseMulticastLock(String tag) {
448         throw new UnsupportedOperationException();
449     }
450 
451     @Override
updateInterfaceIpState(String ifaceName, int mode)452     public void updateInterfaceIpState(String ifaceName, int mode) {
453         throw new UnsupportedOperationException();
454     }
455 
456     @Override
isDefaultCoexAlgorithmEnabled()457     public boolean isDefaultCoexAlgorithmEnabled() {
458         throw new UnsupportedOperationException();
459     }
460 
461     @Override
setCoexUnsafeChannels(List<CoexUnsafeChannel> unsafeChannels, int restrictions)462     public void setCoexUnsafeChannels(List<CoexUnsafeChannel> unsafeChannels, int restrictions) {
463         throw new UnsupportedOperationException();
464     }
465 
466     @Override
registerCoexCallback(ICoexCallback callback)467     public void registerCoexCallback(ICoexCallback callback) {
468         throw new UnsupportedOperationException();
469     }
470 
471     @Override
unregisterCoexCallback(ICoexCallback callback)472     public void unregisterCoexCallback(ICoexCallback callback) {
473         throw new UnsupportedOperationException();
474     }
475 
476     @Override
startSoftAp(WifiConfiguration wifiConfig, String packageName)477     public boolean startSoftAp(WifiConfiguration wifiConfig, String packageName) {
478         throw new UnsupportedOperationException();
479     }
480 
481     /**
482      * Following method is deprecated with
483      * {@link #startTetheredHotspotRequest(TetheringManager.TetheringRequest, String)}
484      * @deprecated This is no longer supported.
485      */
486     @Deprecated
487     @Override
startTetheredHotspot(SoftApConfiguration softApConfig, String packageName)488     public boolean startTetheredHotspot(SoftApConfiguration softApConfig, String packageName) {
489         throw new UnsupportedOperationException();
490     }
491 
492     @Override
startTetheredHotspotRequest(TetheringManager.TetheringRequest request, ISoftApCallback callback, String packageName)493     public void startTetheredHotspotRequest(TetheringManager.TetheringRequest request,
494             ISoftApCallback callback, String packageName) {
495         throw new UnsupportedOperationException();
496     }
497 
498     @Override
stopSoftAp()499     public boolean stopSoftAp() {
500         throw new UnsupportedOperationException();
501     }
502 
503     @Override
validateSoftApConfiguration(SoftApConfiguration config)504     public boolean validateSoftApConfiguration(SoftApConfiguration config) {
505         throw new UnsupportedOperationException();
506     }
507 
508     @Override
startLocalOnlyHotspot(ILocalOnlyHotspotCallback callback, String packageName, String featureId, SoftApConfiguration customConfig, Bundle extras)509     public int startLocalOnlyHotspot(ILocalOnlyHotspotCallback callback, String packageName,
510             String featureId, SoftApConfiguration customConfig, Bundle extras) {
511         throw new UnsupportedOperationException();
512     }
513 
514     @Override
stopLocalOnlyHotspot()515     public void stopLocalOnlyHotspot() {
516         throw new UnsupportedOperationException();
517     }
518 
519     @Override
registerLocalOnlyHotspotSoftApCallback(ISoftApCallback callback, Bundle extras)520     public void registerLocalOnlyHotspotSoftApCallback(ISoftApCallback callback, Bundle extras) {
521         throw new UnsupportedOperationException();
522     }
523 
524     @Override
unregisterLocalOnlyHotspotSoftApCallback(ISoftApCallback callback, Bundle extras)525     public void unregisterLocalOnlyHotspotSoftApCallback(ISoftApCallback callback, Bundle extras) {
526         throw new UnsupportedOperationException();
527     }
528 
529     @Override
startWatchLocalOnlyHotspot(ILocalOnlyHotspotCallback callback)530     public void startWatchLocalOnlyHotspot(ILocalOnlyHotspotCallback callback) {
531         throw new UnsupportedOperationException();
532     }
533 
534     @Override
stopWatchLocalOnlyHotspot()535     public void stopWatchLocalOnlyHotspot() {
536         throw new UnsupportedOperationException();
537     }
538 
539     @Override
getWifiApEnabledState()540     public int getWifiApEnabledState() {
541         throw new UnsupportedOperationException();
542     }
543 
544     @Override
getWifiApConfiguration()545     public WifiConfiguration getWifiApConfiguration() {
546         throw new UnsupportedOperationException();
547     }
548 
549     @Override
getSoftApConfiguration()550     public SoftApConfiguration getSoftApConfiguration() {
551         throw new UnsupportedOperationException();
552     }
553 
554     @Override
queryLastConfiguredTetheredApPassphraseSinceBoot(IStringListener listener)555     public void queryLastConfiguredTetheredApPassphraseSinceBoot(IStringListener listener) {
556         throw new UnsupportedOperationException();
557     }
558 
559     @Override
setWifiApConfiguration(WifiConfiguration wifiConfig, String packageName)560     public boolean setWifiApConfiguration(WifiConfiguration wifiConfig, String packageName) {
561         throw new UnsupportedOperationException();
562     }
563 
564     @Override
setSoftApConfiguration(SoftApConfiguration softApConfig, String packageName)565     public boolean setSoftApConfiguration(SoftApConfiguration softApConfig, String packageName) {
566         throw new UnsupportedOperationException();
567     }
568 
569     @Override
notifyUserOfApBandConversion(String packageName)570     public void notifyUserOfApBandConversion(String packageName) {
571         throw new UnsupportedOperationException();
572     }
573 
574     @Override
enableTdls(String remoteIPAddress, boolean enable)575     public void enableTdls(String remoteIPAddress, boolean enable) {
576         throw new UnsupportedOperationException();
577     }
578 
579     @Override
enableTdlsWithRemoteIpAddress(String remoteIPAddress, boolean enable, @NonNull IBooleanListener listener)580     public void enableTdlsWithRemoteIpAddress(String remoteIPAddress, boolean enable,
581             @NonNull IBooleanListener listener) {
582         throw new UnsupportedOperationException();
583     }
584 
585     @Override
enableTdlsWithMacAddress(String remoteMacAddress, boolean enable)586     public void enableTdlsWithMacAddress(String remoteMacAddress, boolean enable) {
587         throw new UnsupportedOperationException();
588     }
589 
590     @Override
enableTdlsWithRemoteMacAddress(String remoteMacAddress, boolean enable, @NonNull IBooleanListener listener)591     public void enableTdlsWithRemoteMacAddress(String remoteMacAddress, boolean enable,
592             @NonNull IBooleanListener listener) {
593         throw new UnsupportedOperationException();
594     }
595 
596     @Override
isTdlsOperationCurrentlyAvailable(@onNull IBooleanListener listener)597     public void isTdlsOperationCurrentlyAvailable(@NonNull IBooleanListener listener) {
598         throw new UnsupportedOperationException();
599     }
600 
601     @Override
getMaxSupportedConcurrentTdlsSessions(@onNull IIntegerListener listener)602     public void getMaxSupportedConcurrentTdlsSessions(@NonNull IIntegerListener listener) {
603         throw new UnsupportedOperationException();
604     }
605 
606     @Override
getNumberOfEnabledTdlsSessions(@onNull IIntegerListener listener)607     public void getNumberOfEnabledTdlsSessions(@NonNull IIntegerListener listener) {
608         throw new UnsupportedOperationException();
609     }
610 
611     @Override
getCurrentNetworkWpsNfcConfigurationToken()612     public String getCurrentNetworkWpsNfcConfigurationToken() {
613         throw new UnsupportedOperationException();
614     }
615 
616     @Override
enableVerboseLogging(int verbose)617     public void enableVerboseLogging(int verbose) {
618         throw new UnsupportedOperationException();
619     }
620 
621     @Override
getVerboseLoggingLevel()622     public int getVerboseLoggingLevel() {
623         throw new UnsupportedOperationException();
624     }
625 
626     @Override
disableEphemeralNetwork(String SSID, String packageName)627     public void disableEphemeralNetwork(String SSID, String packageName) {
628         throw new UnsupportedOperationException();
629     }
630 
631     @Override
factoryReset(String packageName)632     public void factoryReset(String packageName) {
633         throw new UnsupportedOperationException();
634     }
635 
636     @Override
getCurrentNetwork()637     public Network getCurrentNetwork() {
638         throw new UnsupportedOperationException();
639     }
640 
641     @Override
retrieveWifiBackupData(@onNull IByteArrayListener listener)642     public void retrieveWifiBackupData(@NonNull IByteArrayListener  listener) {
643         throw new UnsupportedOperationException();
644     }
645 
646     @Override
restoreWifiBackupData(byte[] data)647     public void restoreWifiBackupData(byte[] data) {
648         throw new UnsupportedOperationException();
649     }
650 
651     @Override
retrieveBackupData()652     public byte[] retrieveBackupData() {
653         throw new UnsupportedOperationException();
654     }
655 
656     @Override
restoreBackupData(byte[] data)657     public void restoreBackupData(byte[] data) {
658         throw new UnsupportedOperationException();
659     }
660 
661     @Override
retrieveSoftApBackupData()662     public byte[] retrieveSoftApBackupData() {
663         throw new UnsupportedOperationException();
664     }
665 
666     @Override
restoreSoftApBackupData(byte[] data)667     public SoftApConfiguration restoreSoftApBackupData(byte[] data) {
668         throw new UnsupportedOperationException();
669     }
670 
671     @Override
restoreSupplicantBackupData(byte[] supplicantData, byte[] ipConfigData)672     public void restoreSupplicantBackupData(byte[] supplicantData, byte[] ipConfigData) {
673         throw new UnsupportedOperationException();
674     }
675 
676     @Override
startSubscriptionProvisioning( OsuProvider provider, IProvisioningCallback callback)677     public void startSubscriptionProvisioning(
678             OsuProvider provider, IProvisioningCallback callback) {
679         throw new UnsupportedOperationException();
680     }
681 
682     @Override
addWifiVerboseLoggingStatusChangedListener( IWifiVerboseLoggingStatusChangedListener callback)683     public void addWifiVerboseLoggingStatusChangedListener(
684             IWifiVerboseLoggingStatusChangedListener callback) {
685         throw new UnsupportedOperationException();
686     }
687 
688     @Override
removeWifiVerboseLoggingStatusChangedListener( IWifiVerboseLoggingStatusChangedListener callback)689     public void removeWifiVerboseLoggingStatusChangedListener(
690             IWifiVerboseLoggingStatusChangedListener callback) {
691         throw new UnsupportedOperationException();
692     }
693 
694     @Override
registerSoftApCallback(ISoftApCallback callback)695     public void registerSoftApCallback(ISoftApCallback callback) {
696         throw new UnsupportedOperationException();
697     }
698 
699     @Override
unregisterSoftApCallback(ISoftApCallback callback)700     public void unregisterSoftApCallback(ISoftApCallback callback) {
701         throw new UnsupportedOperationException();
702     }
703 
704     @Override
registerTrafficStateCallback(ITrafficStateCallback callback)705     public void registerTrafficStateCallback(ITrafficStateCallback callback) {
706         throw new UnsupportedOperationException();
707     }
708 
709     @Override
unregisterTrafficStateCallback(ITrafficStateCallback callback)710     public void unregisterTrafficStateCallback(ITrafficStateCallback callback) {
711         throw new UnsupportedOperationException();
712     }
713 
714     @Override
registerNetworkRequestMatchCallback(INetworkRequestMatchCallback callback)715     public void registerNetworkRequestMatchCallback(INetworkRequestMatchCallback callback) {
716         throw new UnsupportedOperationException();
717     }
718 
719     @Override
unregisterNetworkRequestMatchCallback(INetworkRequestMatchCallback callback)720     public void unregisterNetworkRequestMatchCallback(INetworkRequestMatchCallback callback) {
721         throw new UnsupportedOperationException();
722     }
723 
724     @Override
addNetworkSuggestions( List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName, String callingFeatureId)725     public int addNetworkSuggestions(
726             List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName,
727             String callingFeatureId) {
728         throw new UnsupportedOperationException();
729     }
730 
731     @Override
removeNetworkSuggestions( List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName, int action)732     public int removeNetworkSuggestions(
733             List<WifiNetworkSuggestion> networkSuggestions, String callingPackageName, int action) {
734         throw new UnsupportedOperationException();
735     }
736 
737     @Override
getNetworkSuggestions(String packageName)738     public List<WifiNetworkSuggestion> getNetworkSuggestions(String packageName) {
739         throw new UnsupportedOperationException();
740     }
741 
742     @Override
setCarrierNetworkOffloadEnabled(int subId, boolean merged, boolean enabled)743     public void setCarrierNetworkOffloadEnabled(int subId, boolean merged, boolean enabled)
744             throws RemoteException {
745         throw new UnsupportedOperationException();
746     }
747 
748     @Override
isCarrierNetworkOffloadEnabled(int subId, boolean merged)749     public boolean isCarrierNetworkOffloadEnabled(int subId, boolean merged)
750             throws RemoteException {
751         throw new UnsupportedOperationException();
752     }
753 
754     @Override
getFactoryMacAddresses()755     public String[] getFactoryMacAddresses() {
756         throw new UnsupportedOperationException();
757     }
758 
759     @Override
setDeviceMobilityState(int state)760     public void setDeviceMobilityState(int state) {
761         throw new UnsupportedOperationException();
762     }
763 
764     @Override
startDppAsConfiguratorInitiator(IBinder binder, String packageName, String enrolleeUri, int selectedNetworkId, int netRole, IDppCallback callback)765     public void startDppAsConfiguratorInitiator(IBinder binder, String packageName,
766             String enrolleeUri, int selectedNetworkId, int netRole, IDppCallback callback) {
767         throw new UnsupportedOperationException();
768     }
769 
770     @Override
startDppAsEnrolleeInitiator(IBinder binder, String configuratorUri, IDppCallback callback)771     public void startDppAsEnrolleeInitiator(IBinder binder, String configuratorUri,
772             IDppCallback callback) {
773         throw new UnsupportedOperationException();
774     }
775 
776     @Override
startDppAsEnrolleeResponder(IBinder binder, String deviceInfo, int curve, IDppCallback callback)777     public void startDppAsEnrolleeResponder(IBinder binder, String deviceInfo,
778             int curve, IDppCallback callback) {
779         throw new UnsupportedOperationException();
780     }
781 
782     @Override
stopDppSession()783     public void stopDppSession() throws RemoteException {
784         throw new UnsupportedOperationException();
785     }
786 
787     @Override
addOnWifiUsabilityStatsListener(IOnWifiUsabilityStatsListener listener)788     public void addOnWifiUsabilityStatsListener(IOnWifiUsabilityStatsListener listener) {
789         throw new UnsupportedOperationException();
790     }
791 
792     @Override
removeOnWifiUsabilityStatsListener(IOnWifiUsabilityStatsListener listener)793     public void removeOnWifiUsabilityStatsListener(IOnWifiUsabilityStatsListener listener) {
794         throw new UnsupportedOperationException();
795     }
796 
797     @Override
updateWifiUsabilityScore(int seqNum, int score, int predictionHorizonSec)798     public void updateWifiUsabilityScore(int seqNum, int score, int predictionHorizonSec) {
799         throw new UnsupportedOperationException();
800     }
801 
802     /** TO BE REMOVED */
connect(WifiConfiguration config, int netId, IActionListener callback)803     public void connect(WifiConfiguration config, int netId, IActionListener callback) {
804         throw new UnsupportedOperationException();
805     }
806 
807     /** TO BE REMOVED */
connect(WifiConfiguration config, int netId, IActionListener callback, @NonNull String packageName)808     public void connect(WifiConfiguration config, int netId, IActionListener callback,
809             @NonNull String packageName) {
810         throw new UnsupportedOperationException();
811     }
812     @Override
connect(WifiConfiguration config, int netId, IActionListener callback, @NonNull String packageName, Bundle extras)813     public void connect(WifiConfiguration config, int netId, IActionListener callback,
814             @NonNull String packageName, Bundle extras) {
815         throw new UnsupportedOperationException();
816     }
817 
818     @Override
startRestrictingAutoJoinToSubscriptionId(int subId)819     public void startRestrictingAutoJoinToSubscriptionId(int subId) {
820         throw new UnsupportedOperationException();
821     }
822 
823     @Override
stopRestrictingAutoJoinToSubscriptionId()824     public void stopRestrictingAutoJoinToSubscriptionId() {
825         throw new UnsupportedOperationException();
826     }
827 
828     /** TO BE REMOVED */
save(WifiConfiguration config, IActionListener callback)829     public void save(WifiConfiguration config, IActionListener callback) {
830         throw new UnsupportedOperationException();
831     }
832 
833     @Override
save(WifiConfiguration config, IActionListener callback, @NonNull String packageName)834     public void save(WifiConfiguration config, IActionListener callback,
835             @NonNull String packageName) {
836         throw new UnsupportedOperationException();
837     }
838 
839     @Override
forget(int netId, IActionListener callback)840     public void forget(int netId, IActionListener callback) {
841         throw new UnsupportedOperationException();
842     }
843 
844     @Override
registerScanResultsCallback(IScanResultsCallback callback)845     public void registerScanResultsCallback(IScanResultsCallback callback) {
846         throw new UnsupportedOperationException();
847     }
848 
849     @Override
unregisterScanResultsCallback(IScanResultsCallback callback)850     public void unregisterScanResultsCallback(IScanResultsCallback callback) {
851         throw new UnsupportedOperationException();
852     }
853 
854     @Override
registerSuggestionConnectionStatusListener( ISuggestionConnectionStatusListener listener, String packageName, String featureId)855     public void registerSuggestionConnectionStatusListener(
856             ISuggestionConnectionStatusListener listener, String packageName, String featureId) {
857         throw new UnsupportedOperationException();
858     }
859 
860     @Override
unregisterSuggestionConnectionStatusListener( ISuggestionConnectionStatusListener listener, String packageName)861     public void unregisterSuggestionConnectionStatusListener(
862             ISuggestionConnectionStatusListener listener, String packageName) {
863         throw new UnsupportedOperationException();
864     }
865 
866     @Override
calculateSignalLevel(int rssi)867     public int calculateSignalLevel(int rssi) {
868         throw new UnsupportedOperationException();
869     }
870 
871     @Override
setPnoScanEnabled(boolean enabled, boolean enablePnoScanAfterWifiToggle, String packageName)872     public void setPnoScanEnabled(boolean enabled, boolean enablePnoScanAfterWifiToggle,
873             String packageName) {
874         throw new UnsupportedOperationException();
875     }
876 
877     @Override
getWifiConfigForMatchedNetworkSuggestionsSharedWithUser( List<ScanResult> scanResults)878     public List<WifiConfiguration> getWifiConfigForMatchedNetworkSuggestionsSharedWithUser(
879             List<ScanResult> scanResults) {
880         throw new UnsupportedOperationException();
881     }
882 
883     @Override
setExternalPnoScanRequest(@onNull IBinder binder, @NonNull IPnoScanResultsCallback callback, @NonNull List<WifiSsid> ssids, @NonNull int[] frequencies, @NonNull String packageName, @NonNull String featureId)884     public void setExternalPnoScanRequest(@NonNull IBinder binder,
885             @NonNull IPnoScanResultsCallback callback,
886             @NonNull List<WifiSsid> ssids, @NonNull int[] frequencies,
887             @NonNull String packageName, @NonNull String featureId) {
888         throw new UnsupportedOperationException();
889     }
890 
891     @Override
clearExternalPnoScanRequest()892     public void clearExternalPnoScanRequest() {
893         throw new UnsupportedOperationException();
894     }
895 
896     @Override
getLastCallerInfoForApi(int apiType, @NonNull ILastCallerListener listener)897     public void getLastCallerInfoForApi(int apiType, @NonNull ILastCallerListener listener) {
898         throw new UnsupportedOperationException();
899     }
900 
901     @Override
setWifiConnectedNetworkScorer(IBinder binder, IWifiConnectedNetworkScorer scorer)902     public boolean setWifiConnectedNetworkScorer(IBinder binder,
903             IWifiConnectedNetworkScorer scorer) {
904         throw new UnsupportedOperationException();
905     }
906 
907     @Override
clearWifiConnectedNetworkScorer()908     public void clearWifiConnectedNetworkScorer() {
909         throw new UnsupportedOperationException();
910     }
911 
912     @Override
getMatchingScanResults( List<WifiNetworkSuggestion> networkSuggestions, List<ScanResult> scanResults, String callingPackage, String callingFeatureId)913     public Map<WifiNetworkSuggestion, List<ScanResult>> getMatchingScanResults(
914             List<WifiNetworkSuggestion> networkSuggestions,
915             List<ScanResult> scanResults,
916             String callingPackage, String callingFeatureId) {
917         throw new UnsupportedOperationException();
918     }
919 
920     @Override
setScanThrottleEnabled(boolean enable)921     public void setScanThrottleEnabled(boolean enable) {
922         throw new UnsupportedOperationException();
923     }
924 
925     @Override
isScanThrottleEnabled()926     public boolean isScanThrottleEnabled() {
927         throw new UnsupportedOperationException();
928     }
929 
930     @Override
931     public Map<String, Map<Integer, List<ScanResult>>>
getAllMatchingPasspointProfilesForScanResults(List<ScanResult> scanResults)932             getAllMatchingPasspointProfilesForScanResults(List<ScanResult> scanResults) {
933         throw new UnsupportedOperationException();
934     }
935 
936     @Override
setAutoWakeupEnabled(boolean enable)937     public void setAutoWakeupEnabled(boolean enable) {
938         throw new UnsupportedOperationException();
939     }
940 
941     @Override
isAutoWakeupEnabled()942     public boolean isAutoWakeupEnabled() {
943         throw new UnsupportedOperationException();
944     }
945 
946     @Override
addSuggestionUserApprovalStatusListener( ISuggestionUserApprovalStatusListener listener, String packageName)947     public void addSuggestionUserApprovalStatusListener(
948             ISuggestionUserApprovalStatusListener listener, String packageName) {
949         throw new UnsupportedOperationException();
950     }
951 
952     @Override
removeSuggestionUserApprovalStatusListener( ISuggestionUserApprovalStatusListener listener, String packageName)953     public void removeSuggestionUserApprovalStatusListener(
954             ISuggestionUserApprovalStatusListener listener, String packageName) {
955         throw new UnsupportedOperationException();
956     }
957 
958     @Override
setEmergencyScanRequestInProgress(boolean inProgress)959     public void setEmergencyScanRequestInProgress(boolean inProgress) {
960         throw new UnsupportedOperationException();
961     }
962 
963     @Override
removeAppState(int targetAppUid, @NonNull String targetAppPackageName)964     public void removeAppState(int targetAppUid, @NonNull String targetAppPackageName) {
965         throw new UnsupportedOperationException();
966     }
967 
968     @Override
setWifiScoringEnabled(boolean enabled)969     public boolean setWifiScoringEnabled(boolean enabled) {
970         throw new UnsupportedOperationException();
971     }
972 
973     @Override
flushPasspointAnqpCache(@onNull String packageName)974     public void flushPasspointAnqpCache(@NonNull String packageName) {
975         throw new UnsupportedOperationException();
976     }
977 
978     /** TO BE REMOVED */
getUsableChannels( int band, int mode, int filter)979     public List<WifiAvailableChannel> getUsableChannels(
980             int band, int mode, int filter) {
981         throw new UnsupportedOperationException();
982     }
983 
984     @Override
getUsableChannels( int band, int mode, int filter, String packageName, Bundle extras)985     public List<WifiAvailableChannel> getUsableChannels(
986             int band, int mode, int filter, String packageName, Bundle extras) {
987         throw new UnsupportedOperationException();
988     }
989 
990     @Override
isWifiPasspointEnabled()991     public boolean isWifiPasspointEnabled() {
992         throw new UnsupportedOperationException();
993     }
994 
995     @Override
setWifiPasspointEnabled(boolean enabled)996     public void setWifiPasspointEnabled(boolean enabled) {
997         throw new UnsupportedOperationException();
998     }
999 
1000     @Override
getStaConcurrencyForMultiInternetMode()1001     public @WifiManager.WifiMultiInternetMode int getStaConcurrencyForMultiInternetMode() {
1002         throw new UnsupportedOperationException();
1003     }
1004 
1005     @Override
setStaConcurrencyForMultiInternetMode( @ifiManager.WifiMultiInternetMode int mode)1006     public boolean setStaConcurrencyForMultiInternetMode(
1007             @WifiManager.WifiMultiInternetMode int mode) {
1008         throw new UnsupportedOperationException();
1009     }
1010 
1011     @Override
notifyMinimumRequiredWifiSecurityLevelChanged(int level)1012     public void notifyMinimumRequiredWifiSecurityLevelChanged(int level) {
1013         throw new UnsupportedOperationException();
1014     }
1015 
1016     @Override
notifyWifiSsidPolicyChanged(int policyType, @NonNull List<WifiSsid> ssids)1017     public void notifyWifiSsidPolicyChanged(int policyType, @NonNull List<WifiSsid> ssids) {
1018         throw new UnsupportedOperationException();
1019     }
1020 
1021     @Override
getOemPrivilegedWifiAdminPackages()1022     public String[] getOemPrivilegedWifiAdminPackages() {
1023         throw new UnsupportedOperationException();
1024     }
1025 
1026     @Override
replyToP2pInvitationReceivedDialog( int dialogId, boolean accepted, @Nullable String optionalPin)1027     public void replyToP2pInvitationReceivedDialog(
1028             int dialogId, boolean accepted, @Nullable String optionalPin) {
1029         throw new UnsupportedOperationException();
1030     }
1031 
1032     @Override
replyToSimpleDialog(int dialogId, int button)1033     public void replyToSimpleDialog(int dialogId, int button) {
1034         throw new UnsupportedOperationException();
1035     }
1036 
1037     @Override
addCustomDhcpOptions(WifiSsid ssid, byte[] oui, @NonNull List<DhcpOption> options)1038     public void addCustomDhcpOptions(WifiSsid ssid, byte[] oui, @NonNull List<DhcpOption> options) {
1039         throw new UnsupportedOperationException();
1040     }
1041 
1042     @Override
removeCustomDhcpOptions(WifiSsid ssid, byte[] oui)1043     public void removeCustomDhcpOptions(WifiSsid ssid, byte[] oui) {
1044         throw new UnsupportedOperationException();
1045     }
1046 
1047     @Override
reportCreateInterfaceImpact(String packageName, int interfaceType, boolean requireNewInterface, IInterfaceCreationInfoCallback callback)1048     public void reportCreateInterfaceImpact(String packageName, int interfaceType,
1049             boolean requireNewInterface, IInterfaceCreationInfoCallback callback) {
1050         throw new UnsupportedOperationException();
1051     }
1052 
1053     @Override
getMaxNumberOfChannelsPerRequest()1054     public int getMaxNumberOfChannelsPerRequest() {
1055         throw new UnsupportedOperationException();
1056     }
1057 
1058     @Override
addQosPolicies(@onNull List<QosPolicyParams> policyParamsList, @NonNull IBinder binder, @NonNull String packageName, @NonNull IListListener listener)1059     public void addQosPolicies(@NonNull List<QosPolicyParams> policyParamsList,
1060             @NonNull IBinder binder, @NonNull String packageName, @NonNull IListListener listener) {
1061         throw new UnsupportedOperationException();
1062     }
1063 
1064     @Override
removeQosPolicies(@onNull int[] policyIdList, @NonNull String packageName)1065     public void removeQosPolicies(@NonNull int[] policyIdList, @NonNull String packageName) {
1066         throw new UnsupportedOperationException();
1067     }
1068 
1069     @Override
removeAllQosPolicies(@onNull String packageName)1070     public void removeAllQosPolicies(@NonNull String packageName) {
1071         throw new UnsupportedOperationException();
1072     }
1073 
1074     @Override
addLocalOnlyConnectionStatusListener(ILocalOnlyConnectionStatusListener listener, String packageName, String featureId)1075     public void addLocalOnlyConnectionStatusListener(ILocalOnlyConnectionStatusListener listener,
1076             String packageName, String featureId) {
1077         throw new UnsupportedOperationException();
1078     }
1079 
1080     @Override
removeLocalOnlyConnectionStatusListener(ILocalOnlyConnectionStatusListener listener, String packageName)1081     public void removeLocalOnlyConnectionStatusListener(ILocalOnlyConnectionStatusListener listener,
1082             String packageName) {
1083         throw new UnsupportedOperationException();
1084     }
1085 
1086     @Override
setLinkLayerStatsPollingInterval(int intervalMs)1087     public void setLinkLayerStatsPollingInterval(int intervalMs) {
1088         throw new UnsupportedOperationException();
1089     }
1090 
1091     @Override
getLinkLayerStatsPollingInterval(@onNull IIntegerListener listener)1092     public void getLinkLayerStatsPollingInterval(@NonNull IIntegerListener listener) {
1093         throw new UnsupportedOperationException();
1094     }
1095 
1096     @Override
setMloMode(@ifiManager.MloMode int mode, IBooleanListener listener)1097     public void setMloMode(@WifiManager.MloMode int mode, IBooleanListener listener) {
1098         throw new UnsupportedOperationException();
1099     }
1100 
1101     @Override
getMloMode(IIntegerListener listener)1102     public void getMloMode(IIntegerListener listener) {
1103         throw new UnsupportedOperationException();
1104     }
1105 
1106     @Override
addWifiLowLatencyLockListener(IWifiLowLatencyLockListener listener)1107     public void addWifiLowLatencyLockListener(IWifiLowLatencyLockListener listener) {
1108         throw new UnsupportedOperationException();
1109     }
1110 
1111     @Override
removeWifiLowLatencyLockListener(IWifiLowLatencyLockListener listener)1112     public void removeWifiLowLatencyLockListener(IWifiLowLatencyLockListener listener) {
1113         throw new UnsupportedOperationException();
1114     }
1115 
1116     @Override
getMaxMloAssociationLinkCount(IIntegerListener listener, Bundle extras)1117     public void getMaxMloAssociationLinkCount(IIntegerListener listener, Bundle extras) {
1118         throw new UnsupportedOperationException();
1119     }
1120 
1121     @Override
getMaxMloStrLinkCount(IIntegerListener listener, Bundle extras)1122     public void getMaxMloStrLinkCount(IIntegerListener listener, Bundle extras) {
1123         throw new UnsupportedOperationException();
1124     }
1125 
1126     @Override
getSupportedSimultaneousBandCombinations(IWifiBandsListener listener, Bundle extras)1127     public void getSupportedSimultaneousBandCombinations(IWifiBandsListener listener,
1128             Bundle extras) {
1129         throw new UnsupportedOperationException();
1130     }
1131 
1132     @Override
setWepAllowed(boolean isAllowed)1133     public void setWepAllowed(boolean isAllowed) {
1134         throw new UnsupportedOperationException();
1135     }
1136 
1137     @Override
queryWepAllowed(@onNull IBooleanListener listener)1138     public void queryWepAllowed(@NonNull IBooleanListener listener) {
1139         throw new UnsupportedOperationException();
1140     }
1141 
1142     @Override
enableMscs(@onNull MscsParams mscsParams)1143     public void enableMscs(@NonNull MscsParams mscsParams) {
1144         throw new UnsupportedOperationException();
1145     }
1146 
1147     @Override
disableMscs()1148     public void disableMscs() {
1149         throw new UnsupportedOperationException();
1150     }
1151 
1152     @Override
setSendDhcpHostnameRestriction(@onNull String packageName, @WifiManager.SendDhcpHostnameRestriction int restriction)1153     public void setSendDhcpHostnameRestriction(@NonNull String packageName,
1154             @WifiManager.SendDhcpHostnameRestriction int restriction) {
1155         throw new UnsupportedOperationException();
1156     }
1157 
1158     @Override
querySendDhcpHostnameRestriction(@onNull String packageName, @NonNull IIntegerListener listener)1159     public void querySendDhcpHostnameRestriction(@NonNull String packageName,
1160             @NonNull IIntegerListener listener) {
1161         throw new UnsupportedOperationException();
1162     }
1163 
1164     @Override
setPerSsidRoamingMode(WifiSsid ssid, @WifiManager.RoamingMode int roamingMode, @NonNull String packageName)1165     public void setPerSsidRoamingMode(WifiSsid ssid, @WifiManager.RoamingMode int roamingMode,
1166             @NonNull String packageName) {
1167         throw new UnsupportedOperationException();
1168     }
1169 
1170     @Override
removePerSsidRoamingMode(WifiSsid ssid, @NonNull String packageName)1171     public void removePerSsidRoamingMode(WifiSsid ssid, @NonNull String packageName) {
1172         throw new UnsupportedOperationException();
1173     }
1174 
1175     @Override
getPerSsidRoamingModes(@onNull String packageName, IMapListener listener)1176     public void getPerSsidRoamingModes(@NonNull String packageName, IMapListener listener) {
1177         throw new UnsupportedOperationException();
1178     }
1179 
1180     @Override
setupTwtSession(TwtRequest twtRequest, ITwtCallback iTwtCallback, Bundle extras)1181     public void setupTwtSession(TwtRequest twtRequest, ITwtCallback iTwtCallback, Bundle extras) {
1182         throw new UnsupportedOperationException();
1183     }
1184 
1185     @Override
getTwtCapabilities(ITwtCapabilitiesListener listener, Bundle extras)1186     public void getTwtCapabilities(ITwtCapabilitiesListener listener, Bundle extras) {
1187         throw new UnsupportedOperationException();
1188     }
1189 
1190     @Override
getStatsTwtSession(int sessionId, ITwtStatsListener iTwtStatsListener, Bundle extras)1191     public void getStatsTwtSession(int sessionId, ITwtStatsListener iTwtStatsListener,
1192             Bundle extras) {
1193         throw new UnsupportedOperationException();
1194     }
1195 
1196     @Override
teardownTwtSession(int sessionId, Bundle extras)1197     public void teardownTwtSession(int sessionId, Bundle extras) {
1198         throw new UnsupportedOperationException();
1199     }
1200 
1201     @Override
setD2dAllowedWhenInfraStaDisabled(boolean isAllowed)1202     public void setD2dAllowedWhenInfraStaDisabled(boolean isAllowed) {
1203         throw new UnsupportedOperationException();
1204     }
1205 
1206     @Override
queryD2dAllowedWhenInfraStaDisabled(@onNull IBooleanListener listener)1207     public void queryD2dAllowedWhenInfraStaDisabled(@NonNull IBooleanListener listener) {
1208         throw new UnsupportedOperationException();
1209     }
1210 
1211     @Override
isPnoSupported()1212     public boolean isPnoSupported() {
1213         throw new UnsupportedOperationException();
1214     }
1215 }
1216