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

Skip to content
Commit 0854c643 authored by howardchung's avatar howardchung
Browse files

Floss: Export BluetoothAdmin to DBUS

Export the folloing APIs to org.chromium.bluetooth

node /org/chromium/bluetooth/hci0/admin {
  interface org.chromium.bluetooth.BluetoothAdmin {
    methods:
      GetAllowedServices(out aay out);
      GetDevicePolicyEffect(in  a{sv} device,
                            out a{sv} out);
      IsServiceAllowed(in  ay uuid,
                       out b out);
      SetAllowedServices(in  aay services,
                         out b out);
    signals:
    properties:
  };

Bug: 239470589
Test: test it with the following procedures.
service allowed list was set by gdbus call.
1. check classic HS, Classic KB and LE Mouse can function.
2. set allowed list to a single random UUID, and check none of the
   above device can function.
3. set allowed list to A2DP+HFP, and check audio is functioning but the
   other two stay non-functioning.
4. set allowed list to HID, and check HID devices are functioning but no
   audio from the HS.
5. set allowed list to empty, and check all of the above devices are
   functioning.
Tag: #floss

Change-Id: Id6e04193666a51883a4f32920df28cf0ab3cbb3f
parent 7bdb3e58
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment