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
Loading
Please register or sign in to comment