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

Commit 4b2dca68 authored by Hakjun Choi's avatar Hakjun Choi
Browse files

Add new internal api for satellite CTS test

As location query of satellite has changed from checking country code to actual location query, it is needed to add allowed value for cts for CF

Bug: 340331500
Test: atest cts/SatelliteManagerTestOnMockService
Change-Id: I4998d934b656091892ea1907f8aa11e4bbbeca71
parent 3e229ec0
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -3375,4 +3375,13 @@ interface ITelephony {
     * @return {@code true} if the boolean config is set successfully, {@code false} otherwise.
     */
    boolean setDatagramControllerBooleanConfig(boolean reset, int booleanType, boolean enable);

    /**
     * This API can be used by only CTS to set the cache whether satellite communication is allowed.
     *
     * @param state a state indicates whether satellite access allowed state should be cached and
     * the allowed state.
     * @return {@code true} if the setting is successful, {@code false} otherwise.
     */
    boolean setIsSatelliteCommunicationAllowedForCurrentLocationCache(in String state);
}