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

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

Add a test API to override satellite provision status

Bug: 321155083
Test: atest SatelliteManagerTestOnMockService SatelliteControllerTest
Manually tested with SatelliteTestApp

Change-Id: Ia76a51217380463814be8a80a23f5d7740acadef
parent fdbabfc4
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -3077,6 +3077,16 @@ interface ITelephony {
            in String s2CellFile, in long locationFreshDurationNanos,
            in List<String> satelliteCountryCodes);

    /**
     * This API can be used in only testing to override oem-enabled satellite provision status.
     *
     * @param reset {@code true} mean the overriding status should not be used, {@code false}
     *              otherwise.
     * @param isProvisioned The overriding provision status.
     * @return {@code true} if the provision status is set successfully, {@code false} otherwise.
     */
    boolean setOemEnabledSatelliteProvisionStatus(in boolean reset, in boolean isProvisioned);

    /**
     * Test method to confirm the file contents are not altered.
     */