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

Commit 9e53ea49 authored by Martin Brabham's avatar Martin Brabham
Browse files

Floss: ClearFilterAcceptList Topshim Test API

Bug: 228986016
Test: mma -j $(nproc)
Test: ./build.py
Tag: #floss
Change-Id: I1e05f0f7f89731f7e8374a231228d84361d32a7d
parent 2accca5e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ service AdapterService {
  rpc SetDiscoveryMode(SetDiscoveryModeRequest) returns (SetDiscoveryModeResponse) {}
  rpc ClearEventFilter(google.protobuf.Empty) returns (google.protobuf.Empty) {}
  rpc ClearEventMask(google.protobuf.Empty) returns (google.protobuf.Empty) {}
  rpc ClearFilterAcceptList(google.protobuf.Empty) returns (google.protobuf.Empty) {}
}

enum EventType {
+3 −0
Original line number Diff line number Diff line
@@ -68,6 +68,9 @@ class AdapterAutomationHelper():
    async def clear_event_mask(self):
        await self.adapter_stub.ClearEventMask(empty_proto.Empty())

    async def clear_filter_accept_list(self):
        await self.adapter_stub.ClearFilterAcceptList(empty_proto.Empty())


class A2dpAutomationHelper():
    """Invoke gRPC on topshim for A2DP testing"""