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

Skip to content
Commit 84cb0926 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati
Browse files

Cleanup satellite messaging pipeline.

The following changes are made in this CL:
SatelliteController:
- sendSatelliteDatagram(): Removed datagramId and replaced
  OutcomeReceiver with IIntegerConsumer

DatagramDispatcher:
- send error to all pending datagrams if sending one datagram fails.

DatagramReceiver:
- Make DatagramReceiverAck non-static and created a new object every
  time.
- Added config for datagram receiver ack timeout(default=5minutes).
- wait for ack and retry sending datagram to listener after timeout.
- Replaced ISatelliteDatagramReceiverAck.aidl with ILongConsumer.aidl

SatelliteServiceUtils:
- Moved getValidSatelltieSubId() from SatelliteController to
  SatelliteServiceUtils

Bug: 269637555
Test: atest SatelliteManagerTest, Basic sanity - flashed build on
raven-userdebug: making calls and sending sms is working,
atest FrameworkTelephonyTests
Change-Id: I8ae049a76ef9d064dc8dac839554f6441a1ab330
parent 77fa9a66
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