From cbd14793f0f0a29ab20eced94bf015be6cf8ee78 Mon Sep 17 00:00:00 2001 From: Thomas Nguyen Date: Fri, 28 Feb 2025 09:13:01 -0800 Subject: Add satellite APIs for CTS tests - Set SatelliteAccessAllowedForSubscriptions - SetSatelliteTnScanningSupport Change-Id: Idecf110d706300c084f218587965dc98df002be2 Flag: EXEMPT bugfix Bug: 397980611 Test: System test and SatelliteManagerTestOnMockService --- .../com/android/internal/telephony/ITelephony.aidl | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'telephony') diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 1c6652daf498..0dd0a42d44b4 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -3202,6 +3202,31 @@ interface ITelephony { in String s2CellFile, in long locationFreshDurationNanos, in List satelliteCountryCodes, String satelliteAccessConfigurationFile); + /** + * This API can be used by only CTS to override the satellite access allowed state for + * a list of subscription IDs. + * + * @param subIdListStr The string representation of the list of subscription IDs, + * which are numbers separated by comma. + * @return {@code true} if the satellite access allowed state is set successfully, + * {@code false} otherwise. + */ + boolean setSatelliteAccessAllowedForSubscriptions(in String subIdListStr); + + /** + * This API can be used by only CTS to override satellite TN scanning support. + * + * @param reset {@code true} mean the overridden configs should not be used, {@code false} + * otherwise. + * @param concurrentTnScanningSupported Whether concurrent TN scanning is supported. + * @param tnScanningDuringSatelliteSessionAllowed Whether TN scanning is allowed during + * a satellite session. + * @return {@code true} if the TN scanning support is set successfully, + * {@code false} otherwise. + */ + boolean setTnScanningSupport(in boolean reset, in boolean concurrentTnScanningSupported, + in boolean tnScanningDuringSatelliteSessionAllowed); + /** * This API can be used in only testing to override oem-enabled satellite provision status. * -- cgit v1.2.3-59-g8ed1b