Home
last modified time | relevance | path

Searched refs:requestMtu (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/
DGattClientTest.java477 assertThat(gatt.requestMtu(MTU_REQUESTED)).isFalse(); in requestMtu_notConnected_isFalse()
487 assertThat(gatt.requestMtu(1024)).isTrue(); in requestMtu_invalidParamer_isFalse()
501 assertThat(gatt.requestMtu(MTU_REQUESTED)).isTrue(); in requestMtu_once_isSuccess()
516 assertThat(gatt.requestMtu(MTU_REQUESTED)).isTrue(); in requestMtu_multipleTimeFromSameClient_isRejected()
521 assertThat(gatt.requestMtu(ANOTHER_MTU_REQUESTED)).isTrue(); in requestMtu_multipleTimeFromSameClient_isRejected()
535 assertThat(gatt.requestMtu(MTU_REQUESTED)).isTrue(); in requestMtu_onceFromMultipleClient_secondIsSuccessWithoutUpdate()
545 assertThat(gatt2.requestMtu(ANOTHER_MTU_REQUESTED)).isTrue(); in requestMtu_onceFromMultipleClient_secondIsSuccessWithoutUpdate()
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/
DDistanceMeasurementInitiator.java114 gatt.requestMtu(GATT_MTU_SIZE); in connectGatt()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DGattClientListener.java215 mBluetoothGatt.requestMtu(MAX_MTU); in onServicesDiscovered()
/packages/modules/Bluetooth/android/pandora/server/src/
DGatt.kt78 if (!GattInstance.get(request.connection.address).mGatt.requestMtu(mtu)) { in exchangeMTU()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassClientStateMachine.java1078 mBluetoothGatt.requestMtu(BassConstants.BASS_MAX_BYTES); in onServicesDiscovered()
2512 public boolean requestMtu(int mtu) { in requestMtu() method in BluetoothGattTestableWrapper
2513 return mWrappedBluetoothGatt.requestMtu(mtu); in requestMtu()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientStateMachineTest.java722 verify(btGatt, never()).requestMtu(anyInt()); in gattCallbackOnServicesDiscovered()
729 verify(btGatt, never()).requestMtu(anyInt()); in gattCallbackOnServicesDiscovered()
736 verify(btGatt).requestMtu(anyInt()); in gattCallbackOnServicesDiscovered()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGatt.java1980 public boolean requestMtu(int mtu) { in requestMtu() method in BluetoothGatt
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt618 … @RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT) public boolean requestMtu(int);