Searched refs:mtu (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCallback.java150 * @param mtu The new MTU size
153 public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) { argument
H A DBluetoothGattServerCallback.java156 * @param mtu The new MTU size
158 public void onMtuChanged(BluetoothDevice device, int mtu) { argument
H A DBluetoothGattCallbackWrapper.java119 public void onConfigureMTU(String address, int mtu, int status) throws RemoteException { argument
H A DIBluetoothGattCallback.aidl71 void onConfigureMTU(in String address, in int mtu, in int status);
H A DIBluetoothGattServerCallback.aidl62 void onMtuChanged(in String address, in int mtu);
H A DBluetoothGatt.java597 public void onConfigureMTU(String address, int mtu, int status) {
599 " mtu=" + mtu + " status=" + status);
604 mCallback.onMtuChanged(BluetoothGatt.this, mtu, status);
1240 public boolean requestMtu(int mtu) { argument
1242 + " mtu: " + mtu);
1246 mService.configureMTU(mClientIf, mDevice.getAddress(), mtu);
H A DBluetoothGattServer.java292 public void onMtuChanged(String address, int mtu) {
294 + "device=" + address + ", mtu=" + mtu);
300 mCallback.onMtuChanged(device, mtu);
H A DIBluetoothGatt.aidl78 void configureMTU(in int clientIf, in String address, in int mtu);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnSetting.java53 public final int mtu; field in class:ApnSetting
104 int maxConnsTime, int mtu, String mvnoType, String mvnoMatchData) {
131 this.mtu = mtu;
159 * <profileId>, <modemCognitive>, <maxConns>, <waitTime>, <maxConnsTime>, <mtu>,
201 int mtu = PhoneConstants.UNSET_MTU;
233 mtu = Integer.parseInt(a[23]);
245 bearerBitmask, profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu,
302 sb.append(", ").append(mtu);
98 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int bearer, int bearerBitmask, int profileId, boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, String mvnoType, String mvnoMatchData) argument
H A DDataCallResponse.java52 public int mtu = PhoneConstants.UNSET_MTU; field in class:DataCallResponse
88 .append(" mtu=").append(mtu)
230 linkProperties.setMtu(mtu);
H A DDataConnection.java394 * not set by the network, set it again using the mtu szie value defined in the APN
407 if (apn != null && apn.mtu != PhoneConstants.UNSET_MTU) {
408 lp.setMtu(apn.mtu);
409 if (DBG) log("MTU set by APN to: " + apn.mtu);
413 int mtu = mPhone.getContext().getResources().getInteger(
415 if (mtu != PhoneConstants.UNSET_MTU) {
416 lp.setMtu(mtu);
417 if (DBG) log("MTU set by config resource to: " + mtu);
540 response.mtu = PhoneConstants.UNSET_MTU;
H A DDcTracker.java2407 dest.maxConnsTime, dest.mtu, dest.mvnoType, dest.mvnoMatchData);
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp57 static int create_interface(int mtu) argument
79 ifr4.ifr_mtu = mtu;
80 if (mtu > 0 && ioctl(inet4, SIOCSIFMTU, &ifr4)) {
261 static jint create(JNIEnv *env, jobject /* thiz */, jint mtu) argument
263 int tun = create_interface(mtu);
/frameworks/base/core/java/android/net/
H A DLinkProperties.java401 * @param mtu The MTU to use for this link.
404 public void setMtu(int mtu) { argument
405 mMtu = mtu;
412 * @return The mtu value set for this link.
625 String mtu = " MTU: " + mMtu;
645 return "{" + ifaceName + linkAddresses + routes + dns + domainName + mtu
1189 public static boolean isValidMtu(int mtu, boolean ipv6) { argument
1191 if ((mtu >= MIN_MTU_V6 && mtu <= MAX_MTU)) return true;
1193 if ((mtu >
[all...]
H A DVpnService.java440 public Builder setMtu(int mtu) { argument
441 if (mtu <= 0) {
442 throw new IllegalArgumentException("Bad mtu");
444 mConfig.mtu = mtu;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DApnSettingTest.java.broken67 assertEquals(a1.mtu, a2.mtu);
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java90 public int mtu = -1; field in class:VpnConfig
150 out.writeInt(mtu);
175 config.mtu = in.readInt();
/frameworks/base/core/jni/
H A Dandroid_net_NetUtils.cpp54 const char *mtu);
114 char mtu[PROPERTY_VALUE_MAX]; local
120 dns, server, &lease, vendorInfo, domains, mtu);
/frameworks/base/core/java/android/os/
H A DINetworkManagementService.aidl118 void setMtu(String iface, int mtu);
/frameworks/base/services/net/java/android/net/dhcp/
H A DDhcpPacket.java728 Short mtu = null;
901 mtu = Short.valueOf(packet.getShort());
1028 newPacket.mMtu = mtu;
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java532 ParcelFileDescriptor tun = ParcelFileDescriptor.adoptFd(jniCreate(config.mtu));
863 private native int jniCreate(int mtu); argument
987 "usepeerdns", "idle", "1800", "mtu", "1400", "mru", "1400",
997 "usepeerdns", "idle", "1800", "mtu", "1400", "mru", "1400",
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java1655 final int mtu = newLp.getMtu();
1661 if (LinkProperties.isValidMtu(mtu, newLp.hasGlobalIPv6Address()) == false) {
1662 loge("Unexpected mtu value: " + mtu + ", " + iface);
1673 if (DBG) log("Setting MTU size: " + iface + ", " + mtu);
1674 mNetd.setMtu(iface, mtu);
H A DNetworkManagementService.java1144 // iface dest-addr gateway-addr flags refcnt use metric netmask mtu window IRTT
1214 public void setMtu(String iface, int mtu) { argument
1219 event = mConnector.execute("interface", "setmtu", iface, mtu);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRIL.java3615 dataCall.mtu = p.readInt();

Completed in 513 milliseconds