From e000fb4f3920769f7bccb5cfc05174aeec4f6226 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 --- .../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 f317c921be75d..be54cecbe3bad 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -2513,4 +2513,14 @@ interface ITelephony { /** Check if telephony new data stack is enabled. */ boolean isUsingNewDataStack(); + + /** + * @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(); }