/frameworks/base/core/java/android/net/ |
D | DhcpResults.java | 66 public int mtu; field in DhcpResults 105 mtu = source.mtu; in DhcpResults() 139 mtu = 0; in clear() 151 if (mtu != 0) str.append(" MTU ").append(mtu); in toString() 173 && mtu == target.mtu in equals() 195 dest.writeInt(mtu); in writeToParcel() 211 dhcpResults.mtu = in.readInt(); in readFromParcel() 314 return mtu; in getMtu() 317 public void setMtu(int mtu) { in setMtu() argument 318 this.mtu = mtu; in setMtu()
|
D | VpnService.java | 522 public Builder setMtu(int mtu) { in setMtu() argument 523 if (mtu <= 0) { in setMtu() 526 mConfig.mtu = mtu; in setMtu()
|
D | RouteInfo.java | 165 @Nullable String iface, @RouteType int type, int mtu) { in RouteInfo() argument 221 mMtu = mtu; in RouteInfo() 654 int mtu = in.readInt(); 656 return new RouteInfo(dest, gateway, iface, type, mtu);
|
D | LinkProperties.java | 643 public void setMtu(int mtu) { in setMtu() argument 644 mMtu = mtu; in setMtu() 1914 public static boolean isValidMtu(int mtu, boolean ipv6) { in isValidMtu() argument 1916 return mtu >= MIN_MTU_V6 && mtu <= MAX_MTU; in isValidMtu() 1918 return mtu >= MIN_MTU && mtu <= MAX_MTU; in isValidMtu()
|
D | Ikev2VpnProfile.java | 810 public Builder setMaxMtu(int mtu) { in setMaxMtu() argument 814 if (mtu < LinkProperties.MIN_MTU_V6) { in setMaxMtu() 818 mMaxMtu = mtu; in setMaxMtu()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataCallResponse.java | 113 @Nullable List<InetAddress> pcscfAddresses, int mtu) { in DataCallResponse() argument 128 mMtu = mMtuV4 = mMtuV6 = mtu; in DataCallResponse() 136 @Nullable List<InetAddress> pcscfAddresses, int mtu, int mtuV4, int mtuV6) { in DataCallResponse() argument 151 mMtu = mtu; in DataCallResponse() 524 public @NonNull Builder setMtu(int mtu) { in setMtu() argument 525 mMtu = mtu; in setMtu() 537 public @NonNull Builder setMtuV4(int mtu) { in setMtuV4() argument 538 mMtuV4 = mtu; in setMtuV4() 550 public @NonNull Builder setMtuV6(int mtu) { in setMtuV6() argument 551 mMtuV6 = mtu; in setMtuV6()
|
D | DataProfile.java | 592 public @NonNull Builder setMtu(int mtu) { in setMtu() argument 593 mMtuV4 = mMtuV6 = mtu; in setMtu() 604 public @NonNull Builder setMtuV4(int mtu) { in setMtuV4() argument 605 mMtuV4 = mtu; in setMtuV4() 615 public @NonNull Builder setMtuV6(int mtu) { in setMtuV6() argument 616 mMtuV6 = mtu; in setMtuV6()
|
D | ApnSetting.java | 783 boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, in makeApnSetting() argument 808 .setMtu(mtu) in makeApnSetting() 825 int maxConns, int waitTime, int maxConnsTime, int mtu, int mvnoType, in makeApnSetting() argument 830 modemCognitive, maxConns, waitTime, maxConnsTime, mtu, mvnoType, mvnoMatchData, in makeApnSetting() 1017 int mtu = UNSET_MTU; in fromString() local 1052 mtu = Integer.parseInt(a[23]); in fromString() 1089 maxConnsTime, mtu, getMvnoTypeIntFromString(mvnoType), mvnoMatchData, apnSetId, in fromString() 1715 public Builder setMtu(int mtu) { in setMtu() argument 1716 this.mMtu = mtu; in setMtu()
|
/frameworks/base/services/net/java/android/net/util/ |
D | DhcpResultsCompatUtil.java | 47 results.mtu = p.mtu; in fromStableParcelable()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | RouterAdvertisementDaemon.java | 132 public int mtu; field in RouterAdvertisementDaemon.RaParams 139 mtu = IPV6_MIN_MTU; in RaParams() 147 mtu = other.mtu; in RaParams() 318 putMtu(ra, mRaParams.mtu); in assembleRaLocked() 455 private static void putMtu(ByteBuffer ra, int mtu) { in putMtu() argument 472 .putInt((mtu < IPV6_MIN_MTU) ? IPV6_MIN_MTU : mtu); in putMtu()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_connectivity_Vpn.cpp | 58 static int create_interface(int mtu) in create_interface() argument 80 ifr4.ifr_mtu = mtu; in create_interface() 81 if (mtu > 0 && ioctl(inet4, SIOCSIFMTU, &ifr4)) { in create_interface() 262 static jint create(JNIEnv *env, jobject /* thiz */, jint mtu) in create() argument 264 int tun = create_interface(mtu); in create()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnConfig.java | 94 public int mtu = -1; field in VpnConfig 160 out.writeInt(mtu); in writeToParcel() 187 config.mtu = in.readInt(); 220 .append(", mtu=").append(mtu) in toString()
|
/frameworks/base/packages/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 159 int mtu = getMTU(mTestIface); in testVirtualEthernetAlreadyExists() local 168 checkVirtualEthernet(mTestIface, mtu); in testVirtualEthernetAlreadyExists() 366 private TapPacketReader makePacketReader(FileDescriptor fd, int mtu) { in makePacketReader() argument 367 final TapPacketReader reader = new TapPacketReader(mHandler, fd, mtu); in makePacketReader() 373 private void checkVirtualEthernet(TestNetworkInterface iface, int mtu) throws Exception { in checkVirtualEthernet() argument 375 mTapPacketReader = makePacketReader(fd, mtu); in checkVirtualEthernet()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattCallback.java | 177 public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) { in onMtuChanged() argument
|
D | BluetoothGattServerCallback.java | 152 public void onMtuChanged(BluetoothDevice device, int mtu) { in onMtuChanged() argument
|
D | BluetoothGatt.java | 644 public void onConfigureMTU(String address, int mtu, int status) { 647 + " mtu=" + mtu + " status=" + status); 658 callback.onMtuChanged(BluetoothGatt.this, mtu, status); 1475 public boolean requestMtu(int mtu) { in requestMtu() argument 1478 + " mtu: " + mtu); in requestMtu() 1483 mService.configureMTU(mClientIf, mDevice.getAddress(), mtu); in requestMtu()
|
D | BluetoothGattServer.java | 291 public void onMtuChanged(String address, int mtu) { 294 + "device=" + address + ", mtu=" + mtu); 301 mCallback.onMtuChanged(device, mtu);
|
/frameworks/base/tests/net/java/android/net/ |
D | IpMemoryStoreTest.java | 106 private static NetworkAttributes buildTestNetworkAttributes(String hint, int mtu) { in buildTestNetworkAttributes() argument 109 .setMtu(mtu) in buildTestNetworkAttributes()
|
/frameworks/base/core/java/android/os/ |
D | INetworkManagementService.aidl | 122 void setMtu(String iface, int mtu); in setMtu() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 602 int mtu = mPhone.getContext().getResources().getInteger( in checkSetMtu() local 604 if (mtu != PhoneConstants.UNSET_MTU) { in checkSetMtu() 605 lp.setMtu(mtu); in checkSetMtu() 606 if (DBG) log("MTU set by config resource to: " + mtu); in checkSetMtu() 1578 int mtu = gateway instanceof java.net.Inet6Address ? response.getMtuV6() in setLinkProperties() local 1583 RouteInfo.RTN_UNICAST, mtu)); in setLinkProperties()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1058 if (mConfig.mtu > 0) { 1059 lp.setMtu(mConfig.mtu); 1206 ParcelFileDescriptor tun = ParcelFileDescriptor.adoptFd(jniCreate(config.mtu)); 1867 private native int jniCreate(int mtu); 2296 mConfig.mtu = maxMtu;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 1721 dpi.mtu = dp.getMtuV4(); in convertToHalDataProfile10() 1755 dpi.mtu = dp.getMtuV4(); in convertToHalDataProfile14() 6783 int cause, suggestedRetryTime, cid, active, mtu, mtuV4, mtuV6; in convertDataCallResult() local 6814 mtu = mtuV4 = mtuV6 = result.mtu; in convertDataCallResult() 6833 mtu = mtuV4 = mtuV6 = result.mtu; in convertDataCallResult() 6855 mtu = Math.max(result.mtuV4, result.mtuV6); in convertDataCallResult() 6919 .setMtu(mtu) in convertDataCallResult()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 2393 final int mtu = newLp.getMtu(); in updateMtu() local 2394 if (oldLp == null && mtu == 0) { in updateMtu() 2402 if (!LinkProperties.isValidMtu(mtu, newLp.hasGlobalIpv6Address())) { in updateMtu() 2403 if (mtu != 0) loge("Unexpected mtu value: " + mtu + ", " + iface); in updateMtu() 2414 if (VDBG || DDBG) log("Setting MTU size: " + iface + ", " + mtu); in updateMtu() 2415 mNMS.setMtu(iface, mtu); in updateMtu() 6101 rip.mtu = route.getMtu(); in convertRouteInfo()
|
D | NetworkManagementService.java | 948 public void setMtu(String iface, int mtu) { in setMtu() argument 952 mNetdService.interfaceSetMtu(iface, mtu); in setMtu()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RILTest.java | 1993 result10.mtu = 1500; in testConvertDataCallResult() 2035 result14.mtu = 1500; in testConvertDataCallResult() 2370 assertEquals(MTU, dpi.mtu); in testSetupDataCall()
|