From a5776ed071aa5d2c66f7a587acaf0304a50a5314 Mon Sep 17 00:00:00 2001 From: Thomas Nguyen Date: Thu, 6 Apr 2023 20:53:25 -0700 Subject: [PATCH] Add an API to update satellite listening timeout duration Bug: 276762737 Test: Call/SMS/MMS with live network. atest android.telephony.satellite.cts.SatelliteManagerTestOnMockService atest android.telephony.satellite.cts.SatelliteManagerTest Change-Id: Ib7fd7ce4ea5b830ec602dba0b4514e9abd6fe014 --- .../com/android/internal/telephony/ITelephony.aidl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index cbdf38ae95d4f..ee9d6c1a24484 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -2989,4 +2989,14 @@ interface ITelephony { * {@code false} otherwise. */ boolean setSatelliteServicePackageName(in String servicePackageName); + + /** + * This API can be used by only CTS to update the timeout duration in milliseconds that + * satellite should stay at listening mode to wait for the next incoming page before disabling + * listening mode. + * + * @param timeoutMillis The timeout duration in millisecond. + * @return {@code true} if the timeout duration is set successfully, {@code false} otherwise. + */ + boolean setSatelliteListeningTimeoutDuration(in long timeoutMillis); }