/packages/modules/Connectivity/framework-t/src/android/net/ |
D | UnderlyingNetworkInfo.java | 38 public final class UnderlyingNetworkInfo implements Parcelable { class 50 public UnderlyingNetworkInfo(int ownerUid, @NonNull String iface, in UnderlyingNetworkInfo() method in UnderlyingNetworkInfo 59 private UnderlyingNetworkInfo(@NonNull Parcel in) { in UnderlyingNetworkInfo() method in UnderlyingNetworkInfo 106 public static final Parcelable.Creator<UnderlyingNetworkInfo> CREATOR = 107 new Parcelable.Creator<UnderlyingNetworkInfo>() { 110 public UnderlyingNetworkInfo createFromParcel(@NonNull Parcel in) { 111 return new UnderlyingNetworkInfo(in); 116 public UnderlyingNetworkInfo[] newArray(int size) { 117 return new UnderlyingNetworkInfo[size]; 124 if (!(o instanceof UnderlyingNetworkInfo)) return false; in equals() [all …]
|
D | INetworkStatsService.aidl | 26 import android.net.UnderlyingNetworkInfo; 68 in UnderlyingNetworkInfo[] underlyingNetworkInfos); in notifyNetworkStatus()
|
D | UnderlyingNetworkInfo.aidl | 19 parcelable UnderlyingNetworkInfo;
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/ |
D | NetworkStatsFactoryTest.java | 44 import android.net.UnderlyingNetworkInfo; 95 mFactory.updateUnderlyingNetworkInfos(new UnderlyingNetworkInfo[0]); in setUp() 117 UnderlyingNetworkInfo[] underlyingNetworkInfos = in testVpnRewriteTrafficThroughItself() 118 new UnderlyingNetworkInfo[] {createVpnInfo(new String[] {TEST_IFACE})}; in testVpnRewriteTrafficThroughItself() 147 final UnderlyingNetworkInfo[] underlyingNetworkInfos = new UnderlyingNetworkInfo[] { in testVpnWithClat() 182 final UnderlyingNetworkInfo[] underlyingNetworkInfos = in testVpnWithOneUnderlyingIface() 183 new UnderlyingNetworkInfo[] {createVpnInfo(new String[] {TEST_IFACE})}; in testVpnWithOneUnderlyingIface() 208 final UnderlyingNetworkInfo[] underlyingNetworkInfos = in testVpnWithOneUnderlyingIfaceAndOwnTraffic() 209 new UnderlyingNetworkInfo[] {createVpnInfo(new String[] {TEST_IFACE})}; in testVpnWithOneUnderlyingIfaceAndOwnTraffic() 237 final UnderlyingNetworkInfo[] underlyingNetworkInfos = in testVpnWithOneUnderlyingIface_withCompression() [all …]
|
D | NetworkStatsBaseTest.java | 36 import android.net.UnderlyingNetworkInfo; 113 static UnderlyingNetworkInfo createVpnInfo(String[] underlyingIfaces) { in createVpnInfo() 117 static UnderlyingNetworkInfo createVpnInfo(String vpnIface, String[] underlyingIfaces) { in createVpnInfo() 118 return new UnderlyingNetworkInfo(UID_VPN, vpnIface, Arrays.asList(underlyingIfaces)); in createVpnInfo()
|
D | NetworkStatsServiceTest.java | 126 import android.net.UnderlyingNetworkInfo; 690 new UnderlyingNetworkInfo[0]); in initWifiStats() 771 new UnderlyingNetworkInfo[0]); in testStatsRebootPersist() 846 new UnderlyingNetworkInfo[0]); in testStatsBucketResize() 887 new UnderlyingNetworkInfo[0]); in testUidStatsAcrossNetworks() 922 new UnderlyingNetworkInfo[0]); in testUidStatsAcrossNetworks() 962 new UnderlyingNetworkInfo[0]); in testUidRemovedIsMoved() 1039 new UnderlyingNetworkInfo[0]); in doTestMobileStatsByRatType() 1120 getActiveIface(mobileStates), new UnderlyingNetworkInfo[0]); in testMobileStatsMeteredness() 1163 new UnderlyingNetworkInfo[0]); in testMobileStatsOemManaged() [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsFactory.java | 27 import android.net.UnderlyingNetworkInfo; 66 private volatile UnderlyingNetworkInfo[] mUnderlyingNetworkInfos = new UnderlyingNetworkInfo[0]; 140 public void updateUnderlyingNetworkInfos(UnderlyingNetworkInfo[] vpnArray) { in updateUnderlyingNetworkInfos() 206 final UnderlyingNetworkInfo[] vpnArray = mUnderlyingNetworkInfos; in readNetworkStatsDetail() 228 NetworkStats previousStats, UnderlyingNetworkInfo[] vpnArray) { in adjustForTunAnd464Xlat() 239 for (UnderlyingNetworkInfo info : vpnArray) { in adjustForTunAnd464Xlat()
|
D | NetworkStatsService.java | 130 import android.net.UnderlyingNetworkInfo; 1998 @NonNull UnderlyingNetworkInfo[] underlyingNetworkInfos) {
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | UnderlyingNetworkInfoTest.kt | 40 val testInfo = UnderlyingNetworkInfo(TEST_OWNER_UID, TEST_IFACE, TEST_IFACE_LIST) in testParcelUnparcel() 46 val emptyInfo = UnderlyingNetworkInfo(0, String(), listOf()) in testParcelUnparcel()
|
/packages/modules/Connectivity/framework-t/api/ |
D | module-lib-current.txt | 10 …tworkStateSnapshot>, @Nullable String, @NonNull java.util.List<android.net.UnderlyingNetworkInfo>); 198 public final class UnderlyingNetworkInfo implements android.os.Parcelable { 199 …ctor public UnderlyingNetworkInfo(int, @NonNull String, @NonNull java.util.List<java.lang.String>); 205 …nNull public static final android.os.Parcelable.Creator<android.net.UnderlyingNetworkInfo> CREATOR;
|
/packages/modules/Connectivity/framework-t/src/android/app/usage/ |
D | NetworkStatsManager.java | 44 import android.net.UnderlyingNetworkInfo; 1098 @NonNull List<UnderlyingNetworkInfo> underlyingNetworkInfos) { in notifyNetworkStatus() 1105 underlyingNetworkInfos.toArray(new UnderlyingNetworkInfo[0])); in notifyNetworkStatus()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 237 import android.net.UnderlyingNetworkInfo; 7152 private UnderlyingNetworkInfo[] getAllVpnInfo() { 7155 return new UnderlyingNetworkInfo[0]; 7157 List<UnderlyingNetworkInfo> infoList = new ArrayList<>(); 7159 UnderlyingNetworkInfo info = createVpnInfo(nai); 7164 return infoList.toArray(new UnderlyingNetworkInfo[infoList.size()]); 7171 private UnderlyingNetworkInfo createVpnInfo(NetworkAgentInfo nai) { 7207 return new UnderlyingNetworkInfo(nai.networkCapabilities.getOwnerUid(), 11590 final UnderlyingNetworkInfo[] underlyingNetworkInfos = getAllVpnInfo();
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 342 import android.net.UnderlyingNetworkInfo; 7842 ArgumentCaptor<List<UnderlyingNetworkInfo>> vpnInfosCaptor = 7870 List<UnderlyingNetworkInfo> infos = vpnInfosCaptor.getValue(); 7873 UnderlyingNetworkInfo info = infos.get(0);
|