Merge "Add @UnsupportedAppUsage annotations"
This commit is contained in:
@@ -47,10 +47,12 @@ interface IConnectivityManager
|
|||||||
{
|
{
|
||||||
Network getActiveNetwork();
|
Network getActiveNetwork();
|
||||||
Network getActiveNetworkForUid(int uid, boolean ignoreBlocked);
|
Network getActiveNetworkForUid(int uid, boolean ignoreBlocked);
|
||||||
|
@UnsupportedAppUsage
|
||||||
NetworkInfo getActiveNetworkInfo();
|
NetworkInfo getActiveNetworkInfo();
|
||||||
NetworkInfo getActiveNetworkInfoForUid(int uid, boolean ignoreBlocked);
|
NetworkInfo getActiveNetworkInfoForUid(int uid, boolean ignoreBlocked);
|
||||||
NetworkInfo getNetworkInfo(int networkType);
|
NetworkInfo getNetworkInfo(int networkType);
|
||||||
NetworkInfo getNetworkInfoForUid(in Network network, int uid, boolean ignoreBlocked);
|
NetworkInfo getNetworkInfoForUid(in Network network, int uid, boolean ignoreBlocked);
|
||||||
|
@UnsupportedAppUsage
|
||||||
NetworkInfo[] getAllNetworkInfo();
|
NetworkInfo[] getAllNetworkInfo();
|
||||||
Network getNetworkForType(int networkType);
|
Network getNetworkForType(int networkType);
|
||||||
Network[] getAllNetworks();
|
Network[] getAllNetworks();
|
||||||
@@ -58,12 +60,14 @@ interface IConnectivityManager
|
|||||||
|
|
||||||
boolean isNetworkSupported(int networkType);
|
boolean isNetworkSupported(int networkType);
|
||||||
|
|
||||||
|
@UnsupportedAppUsage
|
||||||
LinkProperties getActiveLinkProperties();
|
LinkProperties getActiveLinkProperties();
|
||||||
LinkProperties getLinkPropertiesForType(int networkType);
|
LinkProperties getLinkPropertiesForType(int networkType);
|
||||||
LinkProperties getLinkProperties(in Network network);
|
LinkProperties getLinkProperties(in Network network);
|
||||||
|
|
||||||
NetworkCapabilities getNetworkCapabilities(in Network network);
|
NetworkCapabilities getNetworkCapabilities(in Network network);
|
||||||
|
|
||||||
|
@UnsupportedAppUsage
|
||||||
NetworkState[] getAllNetworkState();
|
NetworkState[] getAllNetworkState();
|
||||||
|
|
||||||
NetworkQuotaInfo getActiveNetworkQuotaInfo();
|
NetworkQuotaInfo getActiveNetworkQuotaInfo();
|
||||||
@@ -75,6 +79,7 @@ interface IConnectivityManager
|
|||||||
|
|
||||||
int untether(String iface, String callerPkg);
|
int untether(String iface, String callerPkg);
|
||||||
|
|
||||||
|
@UnsupportedAppUsage
|
||||||
int getLastTetherError(String iface);
|
int getLastTetherError(String iface);
|
||||||
|
|
||||||
boolean isTetheringSupported(String callerPkg);
|
boolean isTetheringSupported(String callerPkg);
|
||||||
@@ -84,16 +89,21 @@ interface IConnectivityManager
|
|||||||
|
|
||||||
void stopTethering(int type, String callerPkg);
|
void stopTethering(int type, String callerPkg);
|
||||||
|
|
||||||
|
@UnsupportedAppUsage
|
||||||
String[] getTetherableIfaces();
|
String[] getTetherableIfaces();
|
||||||
|
|
||||||
|
@UnsupportedAppUsage
|
||||||
String[] getTetheredIfaces();
|
String[] getTetheredIfaces();
|
||||||
|
|
||||||
|
@UnsupportedAppUsage
|
||||||
String[] getTetheringErroredIfaces();
|
String[] getTetheringErroredIfaces();
|
||||||
|
|
||||||
String[] getTetheredDhcpRanges();
|
String[] getTetheredDhcpRanges();
|
||||||
|
|
||||||
|
@UnsupportedAppUsage
|
||||||
String[] getTetherableUsbRegexs();
|
String[] getTetherableUsbRegexs();
|
||||||
|
|
||||||
|
@UnsupportedAppUsage
|
||||||
String[] getTetherableWifiRegexs();
|
String[] getTetherableWifiRegexs();
|
||||||
|
|
||||||
String[] getTetherableBluetoothRegexs();
|
String[] getTetherableBluetoothRegexs();
|
||||||
@@ -118,6 +128,7 @@ interface IConnectivityManager
|
|||||||
|
|
||||||
VpnConfig getVpnConfig(int userId);
|
VpnConfig getVpnConfig(int userId);
|
||||||
|
|
||||||
|
@UnsupportedAppUsage
|
||||||
void startLegacyVpn(in VpnProfile profile);
|
void startLegacyVpn(in VpnProfile profile);
|
||||||
|
|
||||||
LegacyVpnInfo getLegacyVpnInfo(int userId);
|
LegacyVpnInfo getLegacyVpnInfo(int userId);
|
||||||
|
|||||||
Reference in New Issue
Block a user