Home
last modified time | relevance | path

Searched refs:mtu (Results 1 – 11 of 11) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpPacketTest.java306 int leaseDuration, boolean hasMeteredHint, int mtu, DhcpResults dhcpResults) in assertDhcpResults() argument
324 assertEquals(mtu, dhcpResults.mtu); in assertDhcpResults()
578 private byte[] mtuBytes(int mtu) { in mtuBytes() argument
580 if (mtu > Short.MAX_VALUE - Short.MIN_VALUE) { in mtuBytes()
582 String.format("Invalid MTU %d, must be 16-bit unsigned", mtu)); in mtuBytes()
584 String hexString = String.format("1a02%04xff", mtu); in mtuBytes()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java875 Short mtu = null; in decodeFullPacket() local
1062 mtu = packet.getShort(); in decodeFullPacket()
1209 newPacket.mMtu = mtu; in decodeFullPacket()
1282 results.mtu = (mMtu != null && MIN_MTU <= mMtu && mMtu <= MAX_MTU) ? mMtu : 0; in toDhcpResults()
1323 short mtu) { in buildOfferPacket() argument
1335 pkt.mMtu = mtu; in buildOfferPacket()
1350 short mtu) { in buildAckPacket() argument
1362 pkt.mMtu = mtu; in buildAckPacket()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreDatabase.java258 if (null != attributes.mtu) { in toContentValues()
259 values.put(NetworkAttributesContract.COLNAME_MTU, attributes.mtu); in toContentValues()
303 final int mtu = getInt(cursor, NetworkAttributesContract.COLNAME_MTU, -1); in readNetworkAttributesLine() local
314 if (mtu >= 0) { in readNetworkAttributesLine()
315 builder.setMtu(mtu); in readNetworkAttributesLine()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java135 final List<InetAddress> dnsServers, final int mtu) { in buildTestNetworkAttributes() argument
149 if (MTU_NULL != mtu) { in buildTestNetworkAttributes()
150 na.setMtu(mtu); in buildTestNetworkAttributes()
398 assertEquals(attributes.mtu, attr.mtu);
/packages/services/Car/service/src/com/android/car/trust/
DBleManager.java367 public void onMtuChanged(BluetoothDevice device, int mtu) {
369 Log.d(TAG, "onMtuChanged: " + mtu + " for device " + device.getAddress());
371 onMtuSizeChanged(mtu);
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java667 public void configureMTU(int clientIf, String address, int mtu) { in configureMTU() argument
672 service.configureMTU(clientIf, address, mtu); in configureMTU()
1821 void onConfigureMTU(int connId, int status, int mtu) throws RemoteException { in onConfigureMTU() argument
1826 "onConfigureMTU() address=" + address + ", status=" + status + ", mtu=" + mtu); in onConfigureMTU()
1831 app.callback.onConfigureMTU(address, mtu, status); in onConfigureMTU()
2476 void configureMTU(int clientIf, String address, int mtu) { in configureMTU() argument
2480 Log.d(TAG, "configureMTU() - address=" + address + " mtu=" + mtu); in configureMTU()
2484 gattClientConfigureMTUNative(connId, mtu); in configureMTU()
2817 void onMtuChanged(int connId, int mtu) throws RemoteException { in onMtuChanged() argument
2819 Log.d(TAG, "onMtuChanged() - connId=" + connId + ", mtu=" + mtu); in onMtuChanged()
[all …]
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattServer.java189 public void onMtuChanged(BluetoothDevice device, int mtu) { in onMtuChanged() argument
190 Log.d(TAG, "onMtuChanged: " + mtu); in onMtuChanged()
DGattClientListener.java263 public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) { in onMtuChanged() argument
265 Log.d(TAG, "onMtuChanged " + mtu + " status: " + status); in onMtuChanged()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp359 void btgattc_configure_mtu_cb(int conn_id, int status, int mtu) { in btgattc_configure_mtu_cb() argument
363 status, mtu); in btgattc_configure_mtu_cb()
716 void btgatts_mtu_changed_cb(int conn_id, int mtu) { in btgatts_mtu_changed_cb() argument
720 conn_id, mtu); in btgatts_mtu_changed_cb()
1397 jint conn_id, jint mtu) { in gattClientConfigureMTUNative() argument
1399 sGattIf->client->configure_mtu(conn_id, mtu); in gattClientConfigureMTUNative()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1052 if (mDhcpResults.mtu != 0) { in assembleLinkProperties()
1053 newLp.setMtu(mDhcpResults.mtu); in assembleLinkProperties()
/packages/inputmethods/LatinIME/dictionaries/
Dro_wordlist.combined.gz