Loading system/binder/android/bluetooth/IBluetoothA2dpSink.aidl +4 −0 Original line number Diff line number Diff line Loading @@ -29,9 +29,13 @@ interface IBluetoothA2dpSink { boolean connect(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean disconnect(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") List<BluetoothDevice> getConnectedDevices(); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getConnectionState(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") BluetoothAudioConfig getAudioConfig(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy); Loading system/binder/android/bluetooth/IBluetoothAvrcpController.aidl +6 −0 Original line number Diff line number Diff line Loading @@ -27,10 +27,16 @@ import android.media.session.PlaybackState; * @hide */ interface IBluetoothAvrcpController { @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") List<BluetoothDevice> getConnectedDevices(); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getConnectionState(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") BluetoothAvrcpPlayerSettings getPlayerSettings(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean setPlayerApplicationSetting(in BluetoothAvrcpPlayerSettings plAppSetting); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") void sendGroupNavigationCmd(in BluetoothDevice device, int keyCode, int keyState); } system/binder/android/bluetooth/IBluetoothHeadsetClient.aidl +4 −0 Original line number Diff line number Diff line Loading @@ -71,14 +71,18 @@ interface IBluetoothHeadsetClient { @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean sendDTMF(in BluetoothDevice device, byte code); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean getLastVoiceTagNumber(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getAudioState(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean connectAudio(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean disconnectAudio(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") void setAudioRouteAllowed(in BluetoothDevice device, boolean allowed); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean getAudioRouteAllowed(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean sendVendorAtCommand(in BluetoothDevice device, int vendorId, String atCommand); Loading system/binder/android/bluetooth/IBluetoothHearingAid.aidl +3 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ interface IBluetoothHearingAid { boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED)") int getConnectionPolicy(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") void setVolume(int volume); const int HI_SYNC_ID_INVALID = 0; Loading @@ -51,9 +52,11 @@ interface IBluetoothHearingAid { const int SIDE_LEFT = 0; const int SIDE_RIGHT = 1; @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getDeviceSide(in BluetoothDevice device); const int MODE_MONAURAL = 0; const int MODE_BINAURAL = 1; @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getDeviceMode(in BluetoothDevice device); } system/binder/android/bluetooth/IBluetoothLeAudio.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ interface IBluetoothLeAudio { int getConnectionState(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean setActiveDevice(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") List<BluetoothDevice> getActiveDevices(); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy); Loading @@ -50,6 +51,7 @@ interface IBluetoothLeAudio { * Get device group id. Devices with same group id belong to same group (i.e left and right * earbud) */ @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getGroupId(in BluetoothDevice device); } Loading
system/binder/android/bluetooth/IBluetoothA2dpSink.aidl +4 −0 Original line number Diff line number Diff line Loading @@ -29,9 +29,13 @@ interface IBluetoothA2dpSink { boolean connect(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean disconnect(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") List<BluetoothDevice> getConnectedDevices(); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getConnectionState(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") BluetoothAudioConfig getAudioConfig(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy); Loading
system/binder/android/bluetooth/IBluetoothAvrcpController.aidl +6 −0 Original line number Diff line number Diff line Loading @@ -27,10 +27,16 @@ import android.media.session.PlaybackState; * @hide */ interface IBluetoothAvrcpController { @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") List<BluetoothDevice> getConnectedDevices(); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getConnectionState(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") BluetoothAvrcpPlayerSettings getPlayerSettings(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean setPlayerApplicationSetting(in BluetoothAvrcpPlayerSettings plAppSetting); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") void sendGroupNavigationCmd(in BluetoothDevice device, int keyCode, int keyState); }
system/binder/android/bluetooth/IBluetoothHeadsetClient.aidl +4 −0 Original line number Diff line number Diff line Loading @@ -71,14 +71,18 @@ interface IBluetoothHeadsetClient { @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean sendDTMF(in BluetoothDevice device, byte code); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean getLastVoiceTagNumber(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getAudioState(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean connectAudio(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean disconnectAudio(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") void setAudioRouteAllowed(in BluetoothDevice device, boolean allowed); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean getAudioRouteAllowed(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean sendVendorAtCommand(in BluetoothDevice device, int vendorId, String atCommand); Loading
system/binder/android/bluetooth/IBluetoothHearingAid.aidl +3 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ interface IBluetoothHearingAid { boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_PRIVILEGED)") int getConnectionPolicy(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") void setVolume(int volume); const int HI_SYNC_ID_INVALID = 0; Loading @@ -51,9 +52,11 @@ interface IBluetoothHearingAid { const int SIDE_LEFT = 0; const int SIDE_RIGHT = 1; @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getDeviceSide(in BluetoothDevice device); const int MODE_MONAURAL = 0; const int MODE_BINAURAL = 1; @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getDeviceMode(in BluetoothDevice device); }
system/binder/android/bluetooth/IBluetoothLeAudio.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ interface IBluetoothLeAudio { int getConnectionState(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") boolean setActiveDevice(in BluetoothDevice device); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") List<BluetoothDevice> getActiveDevices(); @JavaPassthrough(annotation="@android.annotation.RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT,android.Manifest.permission.BLUETOOTH_PRIVILEGED})") boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy); Loading @@ -50,6 +51,7 @@ interface IBluetoothLeAudio { * Get device group id. Devices with same group id belong to same group (i.e left and right * earbud) */ @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") int getGroupId(in BluetoothDevice device); }