Loading wifi/java/android/net/wifi/IWifiManager.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -147,6 +147,8 @@ interface IWifiManager void updateInterfaceIpState(String ifaceName, int mode); boolean isDefaultCoexAlgorithmEnabled(); void setCoexUnsafeChannels(in List<CoexUnsafeChannel> unsafeChannels, int mandatoryRestrictions); List<CoexUnsafeChannel> getCoexUnsafeChannels(); Loading wifi/java/android/net/wifi/WifiManager.java +13 −0 Original line number Diff line number Diff line Loading @@ -3224,6 +3224,19 @@ public class WifiManager { }) public @interface CoexRestriction {} /** * @return {@code true} if the default coex algorithm is enabled. {@code false} otherwise. * * @hide */ public boolean isDefaultCoexAlgorithmEnabled() { try { return mService.isDefaultCoexAlgorithmEnabled(); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } /** * Specify the set of {@link CoexUnsafeChannel} to propagate through the framework for * Wi-Fi/Cellular coex channel avoidance if the default algorithm is disabled via overlay Loading Loading
wifi/java/android/net/wifi/IWifiManager.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -147,6 +147,8 @@ interface IWifiManager void updateInterfaceIpState(String ifaceName, int mode); boolean isDefaultCoexAlgorithmEnabled(); void setCoexUnsafeChannels(in List<CoexUnsafeChannel> unsafeChannels, int mandatoryRestrictions); List<CoexUnsafeChannel> getCoexUnsafeChannels(); Loading
wifi/java/android/net/wifi/WifiManager.java +13 −0 Original line number Diff line number Diff line Loading @@ -3224,6 +3224,19 @@ public class WifiManager { }) public @interface CoexRestriction {} /** * @return {@code true} if the default coex algorithm is enabled. {@code false} otherwise. * * @hide */ public boolean isDefaultCoexAlgorithmEnabled() { try { return mService.isDefaultCoexAlgorithmEnabled(); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } /** * Specify the set of {@link CoexUnsafeChannel} to propagate through the framework for * Wi-Fi/Cellular coex channel avoidance if the default algorithm is disabled via overlay Loading