diff options
| author | 2024-01-19 11:30:44 -0800 | |
|---|---|---|
| committer | 2024-01-19 11:30:48 -0800 | |
| commit | fbdb33041c7cb85354cf5e29f78ed4b7e04e9d5a (patch) | |
| tree | c6e62dbf92790dc7bbaa9c4cfada5ec58d6b044a | |
| parent | fdbabfc434f18e9ae4218668abddad6ece3ce4a0 (diff) | |
Add a test API to override satellite provision status
Bug: 321155083
Test: atest SatelliteManagerTestOnMockService SatelliteControllerTest
Manually tested with SatelliteTestApp
Change-Id: Ia76a51217380463814be8a80a23f5d7740acadef
| -rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephony.aidl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index acbf354bb4de..24296f4d9031 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -3078,6 +3078,16 @@ interface ITelephony { 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. */ @JavaPassthrough(annotation="@android.annotation.RequiresPermission(" |