Loading framework/java/android/bluetooth/BluetoothAdapter.java +19 −0 Original line number Diff line number Diff line Loading @@ -599,6 +599,25 @@ public final class BluetoothAdapter { return null; } /** * enable or disable Bluetooth HCI snoop log. * * <p>Requires the {@link android.Manifest.permission#BLUETOOTH_ADMIN} * permission * * @return true to indicate configure HCI log successfully, or false on * immediate error * @hide */ public boolean configHciSnoopLog(boolean enable) { try { synchronized(mManagerCallback) { if (mService != null) return mService.configHciSnoopLog(enable); } } catch (RemoteException e) {Log.e(TAG, "", e);} return false; } /** * Get the UUIDs supported by the local Bluetooth adapter. * Loading framework/java/android/bluetooth/IBluetooth.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -80,4 +80,6 @@ interface IBluetooth // For Socket ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in ParcelUuid uuid, int port, int flag); ParcelFileDescriptor createSocketChannel(int type, in String serviceName, in ParcelUuid uuid, int port, int flag); boolean configHciSnoopLog(boolean enable); } Loading
framework/java/android/bluetooth/BluetoothAdapter.java +19 −0 Original line number Diff line number Diff line Loading @@ -599,6 +599,25 @@ public final class BluetoothAdapter { return null; } /** * enable or disable Bluetooth HCI snoop log. * * <p>Requires the {@link android.Manifest.permission#BLUETOOTH_ADMIN} * permission * * @return true to indicate configure HCI log successfully, or false on * immediate error * @hide */ public boolean configHciSnoopLog(boolean enable) { try { synchronized(mManagerCallback) { if (mService != null) return mService.configHciSnoopLog(enable); } } catch (RemoteException e) {Log.e(TAG, "", e);} return false; } /** * Get the UUIDs supported by the local Bluetooth adapter. * Loading
framework/java/android/bluetooth/IBluetooth.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -80,4 +80,6 @@ interface IBluetooth // For Socket ParcelFileDescriptor connectSocket(in BluetoothDevice device, int type, in ParcelUuid uuid, int port, int flag); ParcelFileDescriptor createSocketChannel(int type, in String serviceName, in ParcelUuid uuid, int port, int flag); boolean configHciSnoopLog(boolean enable); }