diff options
Diffstat (limited to 'binder/android/bluetooth/IBluetoothSocketManager.aidl')
-rw-r--r-- | binder/android/bluetooth/IBluetoothSocketManager.aidl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/binder/android/bluetooth/IBluetoothSocketManager.aidl b/binder/android/bluetooth/IBluetoothSocketManager.aidl index 119988e9c..e895b4292 100644 --- a/binder/android/bluetooth/IBluetoothSocketManager.aidl +++ b/binder/android/bluetooth/IBluetoothSocketManager.aidl @@ -27,7 +27,10 @@ import android.os.ParcelFileDescriptor; */ interface IBluetoothSocketManager { + @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") @nullable ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in @nullable ParcelUuid uuid, int port, int flag); + @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") @nullable ParcelFileDescriptor createSocketChannel(int type, in @nullable String serviceName, in @nullable ParcelUuid uuid, int port, int flag); + @JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.BLUETOOTH_CONNECT)") void requestMaximumTxDataLength(in BluetoothDevice device); } |