/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/ |
D | NetworkAttributes.java | 83 public final Integer mtu; field in NetworkAttributes 103 @Nullable final Integer mtu) { in NetworkAttributes() argument 104 if (mtu != null && mtu < 0) throw new IllegalArgumentException("MTU can't be negative"); in NetworkAttributes() 113 this.mtu = mtu; in NetworkAttributes() 125 parcelable.mtu >= 0 ? parcelable.mtu : null); in NetworkAttributes() 173 parcelable.mtu = (null == mtu) ? -1 : mtu; in toParcelable() 193 + samenessContribution(WEIGHT_MTU, mtu, o.mtu); in getNetworkGroupSamenessConfidence() 233 mMtu = attributes.mtu; in Builder() 294 public Builder setMtu(@Nullable final Integer mtu) { in setMtu() argument 295 if (null != mtu && mtu < 0) throw new IllegalArgumentException("MTU can't be negative"); in setMtu() [all …]
|
D | NetworkAttributesParcelable.aidl | 36 int mtu;
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpResultsParcelableUtil.java | 41 p.mtu = results.mtu; in toStableParcelable() 56 results.mtu = p.mtu; in fromStableParcelable()
|
D | DhcpPacket.java | 940 Short mtu = null; in decodeFullPacket() local 1132 mtu = packet.getShort(); in decodeFullPacket() 1284 newPacket.mMtu = mtu; in decodeFullPacket() 1366 results.mtu = (mMtu != null && MIN_MTU <= mMtu && mMtu <= MAX_MTU) ? mMtu : 0; in toDhcpResults() 1410 short mtu, String captivePortalUrl) { in buildOfferPacket() argument 1422 pkt.mMtu = mtu; in buildOfferPacket() 1438 short mtu, boolean rapidCommit, String captivePortalUrl) { in buildAckPacket() argument 1450 pkt.mMtu = mtu; in buildAckPacket()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 552 final Integer leaseTimeSec, final short mtu, final String captivePortalUrl) { 560 false /* metered */, mtu, captivePortalUrl); 564 final Inet4Address clientAddress, final Integer leaseTimeSec, final short mtu, 573 false /* metered */, mtu, rapidCommit, captivePortalApiUrl); 635 final long startTime, final int mtu) { 654 assertEquals(new Integer(mtu), naValueCaptured.mtu); 686 final boolean shouldReplyRapidCommitAck, final int mtu, 694 return handleDhcpPackets(isSuccessLease, leaseTimeSec, shouldReplyRapidCommitAck, mtu, 699 final Integer leaseTimeSec, final boolean shouldReplyRapidCommitAck, final int mtu, 708 (short) mtu, true /* rapidCommit */, captivePortalApiUrl)); [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/ |
D | TestableNetworkCallbackTest.kt | 183 val mtu = 1984 in <lambda>() constant 185 this.mtu = mtu in <lambda>() 204 lp.mtu == mtu in <lambda>()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 312 int leaseDuration, boolean hasMeteredHint, int mtu, DhcpResults dhcpResults) in assertDhcpResults() argument 330 assertEquals(mtu, dhcpResults.mtu); in assertDhcpResults() 669 private byte[] mtuBytes(int mtu) { in mtuBytes() argument 671 if (mtu > Short.MAX_VALUE - Short.MIN_VALUE) { in mtuBytes() 673 String.format("Invalid MTU %d, must be 16-bit unsigned", mtu)); in mtuBytes() 675 String hexString = String.format("1a02%04xff", mtu); in mtuBytes()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | BlePeripheralManager.java | 371 public void onMtuChanged(BluetoothDevice device, int mtu) { 372 logd(TAG, "onMtuChanged: " + mtu + " for device " + device.getAddress()); 374 mMtuSize = mtu; 377 callback.onMtuSizeChanged(mtu);
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreDatabase.java | 266 if (null != attributes.mtu) { in toContentValues() 267 values.put(NetworkAttributesContract.COLNAME_MTU, attributes.mtu); in toContentValues() 311 final int mtu = getInt(cursor, NetworkAttributesContract.COLNAME_MTU, -1); in readNetworkAttributesLine() local 322 if (mtu >= 0) { in readNetworkAttributesLine() 323 builder.setMtu(mtu); in readNetworkAttributesLine()
|
/packages/services/Car/service/src/com/android/car/trust/ |
D | BleManager.java | 367 public void onMtuChanged(BluetoothDevice device, int mtu) { 369 Log.d(TAG, "onMtuChanged: " + mtu + " for device " + device.getAddress()); 371 onMtuSizeChanged(mtu);
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/ |
D | IpMemoryStoreServiceTest.java | 162 final List<InetAddress> dnsServers, final int mtu) { in buildTestNetworkAttributes() argument 176 if (MTU_NULL != mtu) { in buildTestNetworkAttributes() 177 na.setMtu(mtu); in buildTestNetworkAttributes() 489 assertEquals(attributes.mtu, attr.mtu);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 671 public void configureMTU(int clientIf, String address, int mtu) { in configureMTU() argument 676 service.configureMTU(clientIf, address, mtu); in configureMTU() 1825 void onConfigureMTU(int connId, int status, int mtu) throws RemoteException { in onConfigureMTU() argument 1830 "onConfigureMTU() address=" + address + ", status=" + status + ", mtu=" + mtu); in onConfigureMTU() 1835 app.callback.onConfigureMTU(address, mtu, status); in onConfigureMTU() 2492 void configureMTU(int clientIf, String address, int mtu) { in configureMTU() argument 2496 Log.d(TAG, "configureMTU() - address=" + address + " mtu=" + mtu); in configureMTU() 2500 gattClientConfigureMTUNative(connId, mtu); in configureMTU() 2833 void onMtuChanged(int connId, int mtu) throws RemoteException { in onMtuChanged() argument 2835 Log.d(TAG, "onMtuChanged() - connId=" + connId + ", mtu=" + mtu); in onMtuChanged() [all …]
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattServer.java | 189 public void onMtuChanged(BluetoothDevice device, int mtu) { in onMtuChanged() argument 190 Log.d(TAG, "onMtuChanged: " + mtu); in onMtuChanged()
|
D | GattClientListener.java | 263 public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) { in onMtuChanged() argument 265 Log.d(TAG, "onMtuChanged " + mtu + " status: " + status); in onMtuChanged()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/ |
D | DhcpResultsParcelable.aidl | 5 int mtu;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/6/android/net/ipmemorystore/ |
D | NetworkAttributesParcelable.aidl | 25 int mtu;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/4/android/net/ipmemorystore/ |
D | NetworkAttributesParcelable.aidl | 7 int mtu;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/3/android/net/ipmemorystore/ |
D | NetworkAttributesParcelable.aidl | 24 int mtu;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/7/android/net/ipmemorystore/ |
D | NetworkAttributesParcelable.aidl | 25 int mtu;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/current/android/net/ipmemorystore/ |
D | NetworkAttributesParcelable.aidl | 25 int mtu;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/2/android/net/ipmemorystore/ |
D | NetworkAttributesParcelable.aidl | 7 int mtu;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/5/android/net/ipmemorystore/ |
D | NetworkAttributesParcelable.aidl | 25 int mtu;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/ipmemorystore-aidl-interfaces/1/android/net/ipmemorystore/ |
D | NetworkAttributesParcelable.aidl | 7 int mtu;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/ |
D | DhcpResultsParcelable.aidl | 5 int mtu;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/ |
D | DhcpResultsParcelable.aidl | 5 int mtu;
|