Remove unnecessary code and APIs.
This stuff has been replaced by setNetworkForUser() in NetdClient. Change-Id: If525ee259b74314191d1913f7c2a3e828e05c38f
This commit is contained in:
parent
487d7d6519
commit
b5ae69d410
2 changed files with 0 additions and 43 deletions
|
|
@ -42,9 +42,6 @@ import com.android.internal.net.VpnProfile;
|
|||
/** {@hide} */
|
||||
interface IConnectivityManager
|
||||
{
|
||||
// Keep this in sync with framework/native/services/connectivitymanager/ConnectivityManager.h
|
||||
void markSocketAsUser(in ParcelFileDescriptor socket, int uid);
|
||||
|
||||
NetworkInfo getActiveNetworkInfo();
|
||||
NetworkInfo getActiveNetworkInfoForUid(int uid);
|
||||
NetworkInfo getNetworkInfo(int networkType);
|
||||
|
|
|
|||
|
|
@ -105,11 +105,6 @@ public class NetworkUtils {
|
|||
*/
|
||||
public native static String getDhcpError();
|
||||
|
||||
/**
|
||||
* Set the SO_MARK of {@code socketfd} to {@code mark}
|
||||
*/
|
||||
public native static void markSocket(int socketfd, int mark);
|
||||
|
||||
/**
|
||||
* Binds the current process to the network designated by {@code netId}. All sockets created
|
||||
* in the future (and not explicitly bound via a bound {@link SocketFactory} (see
|
||||
|
|
|
|||
Loading…
Reference in a new issue