Searched refs:mtu (Results 1 - 23 of 23) 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.aidl70 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.java51 public final int mtu; field in class:ApnSetting
94 int mtu, String mvnoType, String mvnoMatchData) {
120 this.mtu = mtu;
148 * <profileId>, <modemCognitive>, <maxConns>, <waitTime>, <maxConnsTime>, <mtu>,
190 int mtu = PhoneConstants.UNSET_MTU;
226 mtu = Integer.parseInt(a[23]);
238 profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu,
294 sb.append(", ").append(mtu);
88 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 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.java379 * not set by the network, set it again using the mtu szie value defined in the APN
392 if (apn != null && apn.mtu != PhoneConstants.UNSET_MTU) {
393 lp.setMtu(apn.mtu);
394 if (DBG) log("MTU set by APN to: " + apn.mtu);
398 int mtu = mPhone.getContext().getResources().getInteger(
400 if (mtu != PhoneConstants.UNSET_MTU) {
401 lp.setMtu(mtu);
402 if (DBG) log("MTU set by config resource to: " + mtu);
524 response.mtu = PhoneConstants.UNSET_MTU;
H A DDcTracker.java2395 dest.maxConnsTime, dest.mtu, dest.mvnoType, dest.mvnoMatchData);
/frameworks/base/core/jni/
H A Dandroid_net_NetUtils.cpp43 const char *mtu);
54 const char *mtu);
112 char mtu[PROPERTY_VALUE_MAX]; local
119 dns, server, &lease, vendorInfo, domains, mtu);
122 dns, server, &lease, vendorInfo, domains, mtu);
/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.java339 * @param mtu The MTU to use for this link.
342 public void setMtu(int mtu) { argument
343 mMtu = mtu;
350 * @return The mtu value set for this link.
563 String mtu = " MTU: " + mMtu;
583 return "{" + ifaceName + linkAddresses + routes + dns + domainName + mtu
1077 public static boolean isValidMtu(int mtu, boolean ipv6) { argument
1079 if ((mtu >= MIN_MTU_V6 && mtu <= MAX_MTU)) return true;
1081 if ((mtu >
[all...]
H A DVpnService.java439 public Builder setMtu(int mtu) { argument
440 if (mtu <= 0) {
441 throw new IllegalArgumentException("Bad mtu");
443 mConfig.mtu = mtu;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DApnSettingTest.java67 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/java/android/os/
H A DINetworkManagementService.aidl118 void setMtu(String iface, int mtu);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java513 ParcelFileDescriptor tun = ParcelFileDescriptor.adoptFd(jniCreate(config.mtu));
827 private native int jniCreate(int mtu); argument
950 "usepeerdns", "idle", "1800", "mtu", "1400", "mru", "1400",
960 "usepeerdns", "idle", "1800", "mtu", "1400", "mru", "1400",
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java1653 final int mtu = newLp.getMtu();
1659 if (LinkProperties.isValidMtu(mtu, newLp.hasGlobalIPv6Address()) == false) {
1660 loge("Unexpected mtu value: " + mtu + ", " + iface);
1671 if (DBG) log("Setting MTU size: " + iface + ", " + mtu);
1672 mNetd.setMtu(iface, mtu);
H A DNetworkManagementService.java1027 // iface dest-addr gateway-addr flags refcnt use metric netmask mtu window IRTT
1097 public void setMtu(String iface, int mtu) { argument
1102 event = mConnector.execute("interface", "setmtu", iface, mtu);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRIL.java3529 dataCall.mtu = p.readInt();

Completed in 1153 milliseconds