Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a680dc8 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN Committed by Lorenzo Colitti
Browse files

Move connectivity AIDLs to android.net

java_sdk_libraries and apexes need to contain bootclasspath classes
under predefined packages. Tethering currently uses android.net, so make
sure all the connectivity bootclasspath classes are under android.net.

This avoids maintaining two packages for the tethering APEX, where
com.android.connectivity.aidl is only used by internal AIDL files.

Bug: 182984842
Test: m
Change-Id: I611f1941698c574e37aea912ee76dadc8b32e41a
Merged-In: I611f1941698c574e37aea912ee76dadc8b32e41a
parent 4f808486
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -73,7 +73,6 @@ import android.util.Log;
import android.util.Range;
import android.util.SparseIntArray;

import com.android.connectivity.aidl.INetworkAgent;
import com.android.internal.annotations.GuardedBy;
import com.android.internal.util.Preconditions;

+1 −2
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.app.PendingIntent;
import android.net.ConnectionInfo;
import android.net.ConnectivityDiagnosticsManager;
import android.net.IConnectivityDiagnosticsCallback;
import android.net.INetworkAgent;
import android.net.IOnCompleteListener;
import android.net.INetworkActivityListener;
import android.net.IQosCallback;
@@ -45,8 +46,6 @@ import android.os.PersistableBundle;
import android.os.ResultReceiver;
import android.os.UserHandle;

import com.android.connectivity.aidl.INetworkAgent;

/**
 * Interface that answers queries about, and allows changing, the
 * state of network connectivity.
+2 −2
Original line number Diff line number Diff line
@@ -13,13 +13,13 @@
 * See the License for the specific language governing perNmissions and
 * limitations under the License.
 */
package com.android.connectivity.aidl;
package android.net;

import android.net.NattKeepalivePacketData;
import android.net.QosFilterParcelable;
import android.net.TcpKeepalivePacketData;

import com.android.connectivity.aidl.INetworkAgentRegistry;
import android.net.INetworkAgentRegistry;

/**
 * Interface to notify NetworkAgent of connectivity events.
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
 * See the License for the specific language governing perNmissions and
 * limitations under the License.
 */
package com.android.connectivity.aidl;
package android.net;

import android.net.LinkProperties;
import android.net.Network;
+0 −2
Original line number Diff line number Diff line
@@ -34,8 +34,6 @@ import android.os.RemoteException;
import android.telephony.data.EpsBearerQosSessionAttributes;
import android.util.Log;

import com.android.connectivity.aidl.INetworkAgent;
import com.android.connectivity.aidl.INetworkAgentRegistry;
import com.android.internal.annotations.VisibleForTesting;

import java.lang.annotation.Retention;
Loading