Loading system/binder/android/bluetooth/IBluetooth.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -35,12 +35,14 @@ import android.os.ResultReceiver; */ interface IBluetooth { @UnsupportedAppUsage boolean isEnabled(); int getState(); boolean enable(); boolean enableNoAutoConnect(); boolean disable(); @UnsupportedAppUsage String getAddress(); ParcelUuid[] getUuids(); boolean setName(in String name); Loading Loading @@ -79,10 +81,12 @@ interface IBluetooth String getRemoteName(in BluetoothDevice device); int getRemoteType(in BluetoothDevice device); @UnsupportedAppUsage String getRemoteAlias(in BluetoothDevice device); boolean setRemoteAlias(in BluetoothDevice device, in String name); int getRemoteClass(in BluetoothDevice device); ParcelUuid[] getRemoteUuids(in BluetoothDevice device); @UnsupportedAppUsage boolean fetchRemoteUuids(in BluetoothDevice device); boolean sdpSearch(in BluetoothDevice device, in ParcelUuid uuid); int getBatteryLevel(in BluetoothDevice device); Loading @@ -102,6 +106,7 @@ interface IBluetooth int getSimAccessPermission(in BluetoothDevice device); boolean setSimAccessPermission(in BluetoothDevice device, int value); @UnsupportedAppUsage void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState); void registerCallback(in IBluetoothCallback callback); Loading system/binder/android/bluetooth/IBluetoothA2dp.aidl +6 −0 Original line number Diff line number Diff line Loading @@ -27,14 +27,20 @@ import android.bluetooth.BluetoothDevice; */ interface IBluetoothA2dp { // Public API @UnsupportedAppUsage boolean connect(in BluetoothDevice device); @UnsupportedAppUsage boolean disconnect(in BluetoothDevice device); @UnsupportedAppUsage List<BluetoothDevice> getConnectedDevices(); @UnsupportedAppUsage List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); @UnsupportedAppUsage 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 isAvrcpAbsoluteVolumeSupported(); oneway void setAvrcpAbsoluteVolume(int volume); Loading system/binder/android/bluetooth/IBluetoothGatt.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -71,8 +71,10 @@ interface IBluetoothGatt { void registerSync(in ScanResult scanResult, in int skip, in int timeout, in IPeriodicAdvertisingCallback callback); void unregisterSync(in IPeriodicAdvertisingCallback callback); @UnsupportedAppUsage void registerClient(in ParcelUuid appId, in IBluetoothGattCallback callback); @UnsupportedAppUsage void unregisterClient(in int clientIf); void clientConnect(in int clientIf, in String address, in boolean isDirect, in int transport, in boolean opportunistic, in int phy); void clientDisconnect(in int clientIf, in String address); Loading system/binder/android/bluetooth/IBluetoothHeadset.aidl +6 −0 Original line number Diff line number Diff line Loading @@ -29,8 +29,10 @@ import android.bluetooth.BluetoothDevice; */ interface IBluetoothHeadset { // Public API @UnsupportedAppUsage List<BluetoothDevice> getConnectedDevices(); List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); @UnsupportedAppUsage int getConnectionState(in BluetoothDevice device); boolean startVoiceRecognition(in BluetoothDevice device); boolean stopVoiceRecognition(in BluetoothDevice device); Loading @@ -40,9 +42,13 @@ interface IBluetoothHeadset { in String arg); // Hidden API @UnsupportedAppUsage 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); int getAudioState(in BluetoothDevice device); boolean isAudioOn(); Loading system/binder/android/bluetooth/IBluetoothManager.aidl +3 −0 Original line number Diff line number Diff line Loading @@ -31,13 +31,16 @@ interface IBluetoothManager { IBluetooth registerAdapter(in IBluetoothManagerCallback callback); void unregisterAdapter(in IBluetoothManagerCallback callback); @UnsupportedAppUsage void registerStateChangeCallback(in IBluetoothStateChangeCallback callback); @UnsupportedAppUsage void unregisterStateChangeCallback(in IBluetoothStateChangeCallback callback); boolean isEnabled(); boolean enable(String packageName); boolean enableNoAutoConnect(String packageName); boolean disable(String packageName, boolean persist); int getState(); @UnsupportedAppUsage IBluetoothGatt getBluetoothGatt(); boolean bindBluetoothProfileService(int profile, IBluetoothProfileServiceConnection proxy); Loading Loading
system/binder/android/bluetooth/IBluetooth.aidl +5 −0 Original line number Diff line number Diff line Loading @@ -35,12 +35,14 @@ import android.os.ResultReceiver; */ interface IBluetooth { @UnsupportedAppUsage boolean isEnabled(); int getState(); boolean enable(); boolean enableNoAutoConnect(); boolean disable(); @UnsupportedAppUsage String getAddress(); ParcelUuid[] getUuids(); boolean setName(in String name); Loading Loading @@ -79,10 +81,12 @@ interface IBluetooth String getRemoteName(in BluetoothDevice device); int getRemoteType(in BluetoothDevice device); @UnsupportedAppUsage String getRemoteAlias(in BluetoothDevice device); boolean setRemoteAlias(in BluetoothDevice device, in String name); int getRemoteClass(in BluetoothDevice device); ParcelUuid[] getRemoteUuids(in BluetoothDevice device); @UnsupportedAppUsage boolean fetchRemoteUuids(in BluetoothDevice device); boolean sdpSearch(in BluetoothDevice device, in ParcelUuid uuid); int getBatteryLevel(in BluetoothDevice device); Loading @@ -102,6 +106,7 @@ interface IBluetooth int getSimAccessPermission(in BluetoothDevice device); boolean setSimAccessPermission(in BluetoothDevice device, int value); @UnsupportedAppUsage void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState); void registerCallback(in IBluetoothCallback callback); Loading
system/binder/android/bluetooth/IBluetoothA2dp.aidl +6 −0 Original line number Diff line number Diff line Loading @@ -27,14 +27,20 @@ import android.bluetooth.BluetoothDevice; */ interface IBluetoothA2dp { // Public API @UnsupportedAppUsage boolean connect(in BluetoothDevice device); @UnsupportedAppUsage boolean disconnect(in BluetoothDevice device); @UnsupportedAppUsage List<BluetoothDevice> getConnectedDevices(); @UnsupportedAppUsage List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); @UnsupportedAppUsage 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 isAvrcpAbsoluteVolumeSupported(); oneway void setAvrcpAbsoluteVolume(int volume); Loading
system/binder/android/bluetooth/IBluetoothGatt.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -71,8 +71,10 @@ interface IBluetoothGatt { void registerSync(in ScanResult scanResult, in int skip, in int timeout, in IPeriodicAdvertisingCallback callback); void unregisterSync(in IPeriodicAdvertisingCallback callback); @UnsupportedAppUsage void registerClient(in ParcelUuid appId, in IBluetoothGattCallback callback); @UnsupportedAppUsage void unregisterClient(in int clientIf); void clientConnect(in int clientIf, in String address, in boolean isDirect, in int transport, in boolean opportunistic, in int phy); void clientDisconnect(in int clientIf, in String address); Loading
system/binder/android/bluetooth/IBluetoothHeadset.aidl +6 −0 Original line number Diff line number Diff line Loading @@ -29,8 +29,10 @@ import android.bluetooth.BluetoothDevice; */ interface IBluetoothHeadset { // Public API @UnsupportedAppUsage List<BluetoothDevice> getConnectedDevices(); List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); @UnsupportedAppUsage int getConnectionState(in BluetoothDevice device); boolean startVoiceRecognition(in BluetoothDevice device); boolean stopVoiceRecognition(in BluetoothDevice device); Loading @@ -40,9 +42,13 @@ interface IBluetoothHeadset { in String arg); // Hidden API @UnsupportedAppUsage 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); int getAudioState(in BluetoothDevice device); boolean isAudioOn(); Loading
system/binder/android/bluetooth/IBluetoothManager.aidl +3 −0 Original line number Diff line number Diff line Loading @@ -31,13 +31,16 @@ interface IBluetoothManager { IBluetooth registerAdapter(in IBluetoothManagerCallback callback); void unregisterAdapter(in IBluetoothManagerCallback callback); @UnsupportedAppUsage void registerStateChangeCallback(in IBluetoothStateChangeCallback callback); @UnsupportedAppUsage void unregisterStateChangeCallback(in IBluetoothStateChangeCallback callback); boolean isEnabled(); boolean enable(String packageName); boolean enableNoAutoConnect(String packageName); boolean disable(String packageName, boolean persist); int getState(); @UnsupportedAppUsage IBluetoothGatt getBluetoothGatt(); boolean bindBluetoothProfileService(int profile, IBluetoothProfileServiceConnection proxy); Loading