From 6fb25dc35a66d2c684e9136c385ec925c63a4116 Mon Sep 17 00:00:00 2001 From: jimsun Date: Tue, 2 Nov 2021 11:11:41 +0800 Subject: [PATCH] Add mock modem service operations in Telephony Bug: 205101043 Bug: 203241555 Test: manual Change-Id: I65127fc43c62b52e3efaa99d06bf77855aab7bb0 Merged-In: I65127fc43c62b52e3efaa99d06bf77855aab7bb0 --- .../com/android/internal/telephony/ITelephony.aidl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 03010f6b27b65..55778883edde2 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -2526,4 +2526,14 @@ interface ITelephony { */ CellIdentity getLastKnownCellIdentity(int subId, String callingPackage, String callingFeatureId); + + /** + * @return true if the modem service is set successfully, false otherwise. + */ + boolean setModemService(in String serviceName); + + /** + * @return the service name of the modem service which bind to. + */ + String getModemService(); }