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

Commit 726d61d6 authored by Rahul Sabnis's avatar Rahul Sabnis Committed by android-build-merger
Browse files

Merge "Replace priority with connectionPolicy in aidl"

am: db1d4025

Change-Id: I6c0f65dde73e652f66cc390aa8cf16187c8fbbef
parents d71c1b82 db1d4025
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -39,9 +39,8 @@ interface IBluetoothA2dp {
    int getConnectionState(in BluetoothDevice device);
    boolean setActiveDevice(in BluetoothDevice device);
    BluetoothDevice getActiveDevice();
    boolean setPriority(in BluetoothDevice device, int priority);
    @UnsupportedAppUsage
    int getPriority(in BluetoothDevice device);
    boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy);
    int getConnectionPolicy(in BluetoothDevice device);
    boolean isAvrcpAbsoluteVolumeSupported();
    oneway void setAvrcpAbsoluteVolume(int volume);
    boolean isA2dpPlaying(in BluetoothDevice device);
+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ interface IBluetoothA2dpSink {
    List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
    int getConnectionState(in BluetoothDevice device);
    BluetoothAudioConfig getAudioConfig(in BluetoothDevice device);
    boolean setPriority(in BluetoothDevice device, int priority);
    int getPriority(in BluetoothDevice device);
    boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy);
    int getConnectionPolicy(in BluetoothDevice device);
    boolean isA2dpPlaying(in BluetoothDevice device);
}
+2 −4
Original line number Diff line number Diff line
@@ -46,10 +46,8 @@ interface IBluetoothHeadset {
    boolean connect(in BluetoothDevice device);
    @UnsupportedAppUsage
    boolean disconnect(in BluetoothDevice device);
    @UnsupportedAppUsage
    boolean setPriority(in BluetoothDevice device, int priority);
    @UnsupportedAppUsage
    int getPriority(in BluetoothDevice device);
    boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy);
    int getConnectionPolicy(in BluetoothDevice device);
    int getAudioState(in BluetoothDevice device);
    boolean isAudioOn();
    boolean connectAudio();
+2 −2
Original line number Diff line number Diff line
@@ -32,8 +32,8 @@ interface IBluetoothHeadsetClient {
    List<BluetoothDevice> getConnectedDevices();
    List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
    int getConnectionState(in BluetoothDevice device);
    boolean setPriority(in BluetoothDevice device, int priority);
    int getPriority(in BluetoothDevice device);
    boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy);
    int getConnectionPolicy(in BluetoothDevice device);

    boolean startVoiceRecognition(in BluetoothDevice device);
    boolean stopVoiceRecognition(in BluetoothDevice device);
+2 −2
Original line number Diff line number Diff line
@@ -32,8 +32,8 @@ interface IBluetoothHearingAid {
    int getConnectionState(in BluetoothDevice device);
    boolean setActiveDevice(in BluetoothDevice device);
    List<BluetoothDevice> getActiveDevices();
    boolean setPriority(in BluetoothDevice device, int priority);
    int getPriority(in BluetoothDevice device);
    boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy);
    int getConnectionPolicy(in BluetoothDevice device);
    void adjustVolume(int direction);
    void setVolume(int volume);
    int getVolume();
Loading