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

Commit cbd14793 authored by Thomas Nguyen's avatar Thomas Nguyen
Browse files

Add satellite APIs for CTS tests

- Set SatelliteAccessAllowedForSubscriptions
- SetSatelliteTnScanningSupport

Change-Id: Idecf110d706300c084f218587965dc98df002be2
Flag: EXEMPT bugfix
Bug: 397980611 
Test: System test and SatelliteManagerTestOnMockService
parent 739bb97f
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -3202,6 +3202,31 @@ interface ITelephony {
            in String s2CellFile, in long locationFreshDurationNanos,
            in List<String> 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.
     *