Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d978329 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Merge "Bluetooth GATT callback naming fix "Ext" -> "" (1/2)" am: beb8cead am: cfe099b0

am: b4e8fd65

Change-Id: I31be1d92cf7ad95214bf353dca20b990a280f996
parents b758b354 b4e8fd65
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -140,8 +140,8 @@ LOCAL_SRC_FILES += \
	core/java/android/bluetooth/IBluetoothInputHost.aidl \
	core/java/android/bluetooth/IBluetoothHidDeviceCallback.aidl \
	core/java/android/bluetooth/IBluetoothGatt.aidl \
	core/java/android/bluetooth/IBluetoothGattCallbackExt.aidl \
	core/java/android/bluetooth/IBluetoothGattServerCallbackExt.aidl \
	core/java/android/bluetooth/IBluetoothGattCallback.aidl \
	core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
	core/java/android/bluetooth/le/IAdvertiserCallback.aidl \
	core/java/android/bluetooth/le/IAdvertisingSetCallback.aidl \
	core/java/android/bluetooth/le/IPeriodicAdvertisingCallback.aidl \
+2 −2
Original line number Diff line number Diff line
@@ -135,8 +135,8 @@ public final class BluetoothGatt implements BluetoothProfile {
    /**
     * Bluetooth GATT callbacks. Overrides the default BluetoothGattCallback implementation.
     */
    private final IBluetoothGattCallbackExt mBluetoothGattCallback =
        new IBluetoothGattCallbackExt.Stub() {
    private final IBluetoothGattCallback mBluetoothGattCallback =
        new IBluetoothGattCallback.Stub() {
            /**
             * Application interface registered - app is ready to go
             * @hide
+2 −2
Original line number Diff line number Diff line
@@ -59,8 +59,8 @@ public final class BluetoothGattServer implements BluetoothProfile {
    /**
     * Bluetooth GATT interface callbacks
     */
    private final IBluetoothGattServerCallbackExt mBluetoothGattServerCallback =
        new IBluetoothGattServerCallbackExt.Stub() {
    private final IBluetoothGattServerCallback mBluetoothGattServerCallback =
        new IBluetoothGattServerCallback.Stub() {
            /**
             * Application interface registered - app is ready to go
             * @hide
+4 −4
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@ import android.bluetooth.le.ResultStorageDescriptor;
import android.os.ParcelUuid;
import android.os.WorkSource;

import android.bluetooth.IBluetoothGattCallbackExt;
import android.bluetooth.IBluetoothGattServerCallbackExt;
import android.bluetooth.IBluetoothGattCallback;
import android.bluetooth.IBluetoothGattServerCallback;
import android.bluetooth.le.IAdvertiserCallback;
import android.bluetooth.le.IAdvertisingSetCallback;
import android.bluetooth.le.IPeriodicAdvertisingCallback;
@@ -66,7 +66,7 @@ interface IBluetoothGatt {
    void registerSync(in ScanResult scanResult, in int skip, in int timeout, in IPeriodicAdvertisingCallback callback);
    void unregisterSync(in IPeriodicAdvertisingCallback callback);

    void registerClient(in ParcelUuid appId, in IBluetoothGattCallbackExt callback);
    void registerClient(in ParcelUuid appId, in IBluetoothGattCallback callback);

    void unregisterClient(in int clientIf);
    void clientConnect(in int clientIf, in String address, in boolean isDirect, in int transport, in int phy);
@@ -88,7 +88,7 @@ interface IBluetoothGatt {
    void configureMTU(in int clientIf, in String address, in int mtu);
    void connectionParameterUpdate(in int clientIf, in String address, in int connectionPriority);

    void registerServer(in ParcelUuid appId, in IBluetoothGattServerCallbackExt callback);
    void registerServer(in ParcelUuid appId, in IBluetoothGattServerCallback callback);
    void unregisterServer(in int serverIf);
    void serverConnect(in int serverIf, in String address, in boolean isDirect, in int transport);
    void serverDisconnect(in int serverIf, in String address);
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import android.bluetooth.BluetoothGattService;
 * Callback definitions for interacting with BLE / GATT
 * @hide
 */
oneway interface IBluetoothGattCallbackExt {
oneway interface IBluetoothGattCallback {
    void onClientRegistered(in int status, in int clientIf);
    void onClientConnectionState(in int status, in int clientIf,
                                 in boolean connected, in String address);
Loading