Loading telephony/java/android/telephony/satellite/stub/ISatellite.aidl +9 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,15 @@ oneway interface ISatellite { void requestSatelliteListeningEnabled(in boolean enable, in int timeout, in IIntegerConsumer resultCallback); /** * Allow cellular modem scanning while satellite mode is on. * @param enabled {@code true} to enable cellular modem while satellite mode is on * and {@code false} to disable * @param errorCallback The callback to receive the error code result of the operation. */ void enableCellularModemWhileSatelliteModeIsOn(in boolean enabled, in IIntegerConsumer errorCallback); /** * Request to enable or disable the satellite modem and demo mode. If the satellite modem * is enabled, this may also disable the cellular modem, and if the satellite modem is disabled, Loading telephony/java/android/telephony/satellite/stub/SatelliteImplBase.java +20 −0 Original line number Diff line number Diff line Loading @@ -78,6 +78,15 @@ public class SatelliteImplBase extends SatelliteService { "requestSatelliteListeningEnabled"); } @Override public void enableCellularModemWhileSatelliteModeIsOn(boolean enabled, IIntegerConsumer errorCallback) throws RemoteException { executeMethodAsync( () -> SatelliteImplBase.this .enableCellularModemWhileSatelliteModeIsOn(enabled, errorCallback), "enableCellularModemWhileSatelliteModeIsOn"); } @Override public void requestSatelliteEnabled(boolean enableSatellite, boolean enableDemoMode, IIntegerConsumer errorCallback) throws RemoteException { Loading Loading @@ -260,6 +269,17 @@ public class SatelliteImplBase extends SatelliteService { // stub implementation } /** * Allow cellular modem scanning while satellite mode is on. * @param enabled {@code true} to enable cellular modem while satellite mode is on * and {@code false} to disable * @param errorCallback The callback to receive the error code result of the operation. */ public void enableCellularModemWhileSatelliteModeIsOn(boolean enabled, @NonNull IIntegerConsumer errorCallback) { // stub implementation } /** * Request to enable or disable the satellite modem and demo mode. If the satellite modem is * enabled, this may also disable the cellular modem, and if the satellite modem is disabled, Loading Loading
telephony/java/android/telephony/satellite/stub/ISatellite.aidl +9 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,15 @@ oneway interface ISatellite { void requestSatelliteListeningEnabled(in boolean enable, in int timeout, in IIntegerConsumer resultCallback); /** * Allow cellular modem scanning while satellite mode is on. * @param enabled {@code true} to enable cellular modem while satellite mode is on * and {@code false} to disable * @param errorCallback The callback to receive the error code result of the operation. */ void enableCellularModemWhileSatelliteModeIsOn(in boolean enabled, in IIntegerConsumer errorCallback); /** * Request to enable or disable the satellite modem and demo mode. If the satellite modem * is enabled, this may also disable the cellular modem, and if the satellite modem is disabled, Loading
telephony/java/android/telephony/satellite/stub/SatelliteImplBase.java +20 −0 Original line number Diff line number Diff line Loading @@ -78,6 +78,15 @@ public class SatelliteImplBase extends SatelliteService { "requestSatelliteListeningEnabled"); } @Override public void enableCellularModemWhileSatelliteModeIsOn(boolean enabled, IIntegerConsumer errorCallback) throws RemoteException { executeMethodAsync( () -> SatelliteImplBase.this .enableCellularModemWhileSatelliteModeIsOn(enabled, errorCallback), "enableCellularModemWhileSatelliteModeIsOn"); } @Override public void requestSatelliteEnabled(boolean enableSatellite, boolean enableDemoMode, IIntegerConsumer errorCallback) throws RemoteException { Loading Loading @@ -260,6 +269,17 @@ public class SatelliteImplBase extends SatelliteService { // stub implementation } /** * Allow cellular modem scanning while satellite mode is on. * @param enabled {@code true} to enable cellular modem while satellite mode is on * and {@code false} to disable * @param errorCallback The callback to receive the error code result of the operation. */ public void enableCellularModemWhileSatelliteModeIsOn(boolean enabled, @NonNull IIntegerConsumer errorCallback) { // stub implementation } /** * Request to enable or disable the satellite modem and demo mode. If the satellite modem is * enabled, this may also disable the cellular modem, and if the satellite modem is disabled, Loading