Add an API in ITelephony to update satellite service package

Bug: 274777761
Test: Call/SMS/MMS with live network.
atest android.telephony.cts.SatelliteManagerTest
atest android.telephony.satellite.cts.SatelliteManagerTestOnMockService

Change-Id: Id77e409190082dbca3af147658ac395d9b591b88
This commit is contained in:
Thomas Nguyen
2023-03-23 14:45:52 -07:00
committed by Aishwarya Mallampati
parent 9f5c62cf23
commit f547c9fd56

View File

@@ -2980,4 +2980,13 @@ interface ITelephony {
@JavaPassthrough(annotation="@android.annotation.RequiresPermission("
+ "android.Manifest.permission.SATELLITE_COMMUNICATION)")
void requestTimeForNextSatelliteVisibility(int subId, in ResultReceiver receiver);
/**
* This API can be used by only CTS to update satellite vendor service package name.
*
* @param servicePackageName The package name of the satellite vendor service.
* @return {@code true} if the satellite vendor service is set successfully,
* {@code false} otherwise.
*/
boolean setSatelliteServicePackageName(in String servicePackageName);
}