Loading src/java/com/android/internal/telephony/BaseCommands.java +12 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,7 @@ public abstract class BaseCommands implements CommandsInterface { protected RegistrantList mRilNetworkScanResultRegistrants = new RegistrantList(); protected RegistrantList mModemResetRegistrants = new RegistrantList(); protected RegistrantList mNattKeepaliveStatusRegistrants = new RegistrantList(); protected RegistrantList mPhysicalChannelConfigurationRegistrants = new RegistrantList(); protected Registrant mGsmSmsRegistrant; protected Registrant mCdmaSmsRegistrant; Loading Loading @@ -835,6 +836,17 @@ public abstract class BaseCommands implements CommandsInterface { mRilCellInfoListRegistrants.remove(h); } @Override public void registerForPhysicalChannelConfiguration(Handler h, int what, Object obj) { Registrant r = new Registrant(h, what, obj); mPhysicalChannelConfigurationRegistrants.add(r); } @Override public void unregisterForPhysicalChannelConfiguration(Handler h) { mPhysicalChannelConfigurationRegistrants.remove(h); } @Override public void registerForSrvccStateChanged(Handler h, int what, Object obj) { Registrant r = new Registrant (h, what, obj); Loading src/java/com/android/internal/telephony/CommandsInterface.java +11 −0 Original line number Diff line number Diff line Loading @@ -1787,6 +1787,17 @@ public interface CommandsInterface { void registerForCellInfoList(Handler h, int what, Object obj); void unregisterForCellInfoList(Handler h); /** * Fires when a new {@link android.telephony.PhysicalChannelConfig} list is received from the * RIL. */ void registerForPhysicalChannelConfiguration(Handler h, int what, Object obj); /** * Unregisters the handler for {@link android.telephony.PhysicalChannelConfig} updates. */ void unregisterForPhysicalChannelConfiguration(Handler h); /** * Set Initial Attach Apn * Loading src/java/com/android/internal/telephony/DefaultPhoneNotifier.java +14 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.os.Bundle; import android.os.RemoteException; import android.os.ServiceManager; import android.telephony.CellInfo; import android.telephony.PhysicalChannelConfig; import android.telephony.PreciseCallState; import android.telephony.Rlog; import android.telephony.ServiceState; Loading Loading @@ -231,6 +232,19 @@ public class DefaultPhoneNotifier implements PhoneNotifier { } } @Override public void notifyPhysicalChannelConfiguration(Phone sender, List<PhysicalChannelConfig> configs) { int subId = sender.getSubId(); try { if (mRegistry != null) { mRegistry.notifyPhysicalChannelConfigurationForSubscriber(subId, configs); } } catch (RemoteException ex) { // system process is dead } } @Override public void notifyOtaspChanged(Phone sender, int otaspMode) { // FIXME: subId? Loading src/java/com/android/internal/telephony/Phone.java +6 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ import android.telephony.CellLocation; import android.telephony.ClientRequestStats; import android.telephony.ImsiEncryptionInfo; import android.telephony.PhoneStateListener; import android.telephony.PhysicalChannelConfig; import android.telephony.RadioAccessFamily; import android.telephony.Rlog; import android.telephony.ServiceState; Loading Loading @@ -2143,6 +2144,11 @@ public abstract class Phone extends Handler implements PhoneInternalInterface { mNotifier.notifyCellInfo(this, privatizeCellInfoList(cellInfo)); } /** Notify {@link PhysicalChannelConfig} changes. */ public void notifyPhysicalChannelConfiguration(List<PhysicalChannelConfig> configs) { mNotifier.notifyPhysicalChannelConfiguration(this, configs); } public void notifyVoLteServiceStateChanged(VoLteServiceState lteState) { mNotifier.notifyVoLteServiceStateChanged(this, lteState); } Loading src/java/com/android/internal/telephony/PhoneNotifier.java +4 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.internal.telephony; import android.telephony.CellInfo; import android.telephony.PhysicalChannelConfig; import android.telephony.VoLteServiceState; import java.util.List; Loading Loading @@ -50,6 +51,9 @@ public interface PhoneNotifier { public void notifyCellInfo(Phone sender, List<CellInfo> cellInfo); /** Notify of change to PhysicalChannelConfiguration. */ void notifyPhysicalChannelConfiguration(Phone sender, List<PhysicalChannelConfig> configs); public void notifyPreciseCallState(Phone sender); public void notifyDisconnectCause(int cause, int preciseCause); Loading Loading
src/java/com/android/internal/telephony/BaseCommands.java +12 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,7 @@ public abstract class BaseCommands implements CommandsInterface { protected RegistrantList mRilNetworkScanResultRegistrants = new RegistrantList(); protected RegistrantList mModemResetRegistrants = new RegistrantList(); protected RegistrantList mNattKeepaliveStatusRegistrants = new RegistrantList(); protected RegistrantList mPhysicalChannelConfigurationRegistrants = new RegistrantList(); protected Registrant mGsmSmsRegistrant; protected Registrant mCdmaSmsRegistrant; Loading Loading @@ -835,6 +836,17 @@ public abstract class BaseCommands implements CommandsInterface { mRilCellInfoListRegistrants.remove(h); } @Override public void registerForPhysicalChannelConfiguration(Handler h, int what, Object obj) { Registrant r = new Registrant(h, what, obj); mPhysicalChannelConfigurationRegistrants.add(r); } @Override public void unregisterForPhysicalChannelConfiguration(Handler h) { mPhysicalChannelConfigurationRegistrants.remove(h); } @Override public void registerForSrvccStateChanged(Handler h, int what, Object obj) { Registrant r = new Registrant (h, what, obj); Loading
src/java/com/android/internal/telephony/CommandsInterface.java +11 −0 Original line number Diff line number Diff line Loading @@ -1787,6 +1787,17 @@ public interface CommandsInterface { void registerForCellInfoList(Handler h, int what, Object obj); void unregisterForCellInfoList(Handler h); /** * Fires when a new {@link android.telephony.PhysicalChannelConfig} list is received from the * RIL. */ void registerForPhysicalChannelConfiguration(Handler h, int what, Object obj); /** * Unregisters the handler for {@link android.telephony.PhysicalChannelConfig} updates. */ void unregisterForPhysicalChannelConfiguration(Handler h); /** * Set Initial Attach Apn * Loading
src/java/com/android/internal/telephony/DefaultPhoneNotifier.java +14 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.os.Bundle; import android.os.RemoteException; import android.os.ServiceManager; import android.telephony.CellInfo; import android.telephony.PhysicalChannelConfig; import android.telephony.PreciseCallState; import android.telephony.Rlog; import android.telephony.ServiceState; Loading Loading @@ -231,6 +232,19 @@ public class DefaultPhoneNotifier implements PhoneNotifier { } } @Override public void notifyPhysicalChannelConfiguration(Phone sender, List<PhysicalChannelConfig> configs) { int subId = sender.getSubId(); try { if (mRegistry != null) { mRegistry.notifyPhysicalChannelConfigurationForSubscriber(subId, configs); } } catch (RemoteException ex) { // system process is dead } } @Override public void notifyOtaspChanged(Phone sender, int otaspMode) { // FIXME: subId? Loading
src/java/com/android/internal/telephony/Phone.java +6 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ import android.telephony.CellLocation; import android.telephony.ClientRequestStats; import android.telephony.ImsiEncryptionInfo; import android.telephony.PhoneStateListener; import android.telephony.PhysicalChannelConfig; import android.telephony.RadioAccessFamily; import android.telephony.Rlog; import android.telephony.ServiceState; Loading Loading @@ -2143,6 +2144,11 @@ public abstract class Phone extends Handler implements PhoneInternalInterface { mNotifier.notifyCellInfo(this, privatizeCellInfoList(cellInfo)); } /** Notify {@link PhysicalChannelConfig} changes. */ public void notifyPhysicalChannelConfiguration(List<PhysicalChannelConfig> configs) { mNotifier.notifyPhysicalChannelConfiguration(this, configs); } public void notifyVoLteServiceStateChanged(VoLteServiceState lteState) { mNotifier.notifyVoLteServiceStateChanged(this, lteState); } Loading
src/java/com/android/internal/telephony/PhoneNotifier.java +4 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.internal.telephony; import android.telephony.CellInfo; import android.telephony.PhysicalChannelConfig; import android.telephony.VoLteServiceState; import java.util.List; Loading Loading @@ -50,6 +51,9 @@ public interface PhoneNotifier { public void notifyCellInfo(Phone sender, List<CellInfo> cellInfo); /** Notify of change to PhysicalChannelConfiguration. */ void notifyPhysicalChannelConfiguration(Phone sender, List<PhysicalChannelConfig> configs); public void notifyPreciseCallState(Phone sender); public void notifyDisconnectCause(int cause, int preciseCause); Loading