Loading core/java/com/android/internal/telephony/ITelephonyRegistry.aidl +0 −5 Original line number Diff line number Diff line Loading @@ -60,15 +60,10 @@ interface ITelephonyRegistry { @UnsupportedAppUsage(maxTargetSdk = 28) void notifyDataActivity(int state); void notifyDataActivityForSubscriber(in int subId, int state); void notifyDataConnection(int state, boolean isDataConnectivityPossible, String apn, String apnType, in LinkProperties linkProperties, in NetworkCapabilities networkCapabilities, int networkType, boolean roaming); void notifyDataConnectionForSubscriber(int phoneId, int subId, int state, boolean isDataConnectivityPossible, String apn, String apnType, in LinkProperties linkProperties, in NetworkCapabilities networkCapabilities, int networkType, boolean roaming); @UnsupportedAppUsage void notifyDataConnectionFailed(String apnType); void notifyDataConnectionFailedForSubscriber(int phoneId, int subId, String apnType); @UnsupportedAppUsage(maxTargetSdk = 28) void notifyCellLocation(in Bundle cellLocation); Loading services/core/java/com/android/server/TelephonyRegistry.java +0 −16 Original line number Diff line number Diff line Loading @@ -1496,16 +1496,6 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub { } } public void notifyDataConnection(int state, boolean isDataAllowed, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) { notifyDataConnectionForSubscriber(SubscriptionManager.DEFAULT_PHONE_INDEX, SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, state, isDataAllowed, apn, apnType, linkProperties, networkCapabilities, networkType, roaming); } public void notifyDataConnectionForSubscriber(int phoneId, int subId, int state, boolean isDataAllowed, String apn, String apnType, Loading Loading @@ -1574,12 +1564,6 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub { networkCapabilities, roaming, subId); } public void notifyDataConnectionFailed(String apnType) { notifyDataConnectionFailedForSubscriber(SubscriptionManager.DEFAULT_PHONE_INDEX, SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, apnType); } public void notifyDataConnectionFailedForSubscriber(int phoneId, int subId, String apnType) { if (!checkNotifyPermission("notifyDataConnectionFailed()")) { return; Loading Loading
core/java/com/android/internal/telephony/ITelephonyRegistry.aidl +0 −5 Original line number Diff line number Diff line Loading @@ -60,15 +60,10 @@ interface ITelephonyRegistry { @UnsupportedAppUsage(maxTargetSdk = 28) void notifyDataActivity(int state); void notifyDataActivityForSubscriber(in int subId, int state); void notifyDataConnection(int state, boolean isDataConnectivityPossible, String apn, String apnType, in LinkProperties linkProperties, in NetworkCapabilities networkCapabilities, int networkType, boolean roaming); void notifyDataConnectionForSubscriber(int phoneId, int subId, int state, boolean isDataConnectivityPossible, String apn, String apnType, in LinkProperties linkProperties, in NetworkCapabilities networkCapabilities, int networkType, boolean roaming); @UnsupportedAppUsage void notifyDataConnectionFailed(String apnType); void notifyDataConnectionFailedForSubscriber(int phoneId, int subId, String apnType); @UnsupportedAppUsage(maxTargetSdk = 28) void notifyCellLocation(in Bundle cellLocation); Loading
services/core/java/com/android/server/TelephonyRegistry.java +0 −16 Original line number Diff line number Diff line Loading @@ -1496,16 +1496,6 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub { } } public void notifyDataConnection(int state, boolean isDataAllowed, String apn, String apnType, LinkProperties linkProperties, NetworkCapabilities networkCapabilities, int networkType, boolean roaming) { notifyDataConnectionForSubscriber(SubscriptionManager.DEFAULT_PHONE_INDEX, SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, state, isDataAllowed, apn, apnType, linkProperties, networkCapabilities, networkType, roaming); } public void notifyDataConnectionForSubscriber(int phoneId, int subId, int state, boolean isDataAllowed, String apn, String apnType, Loading Loading @@ -1574,12 +1564,6 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub { networkCapabilities, roaming, subId); } public void notifyDataConnectionFailed(String apnType) { notifyDataConnectionFailedForSubscriber(SubscriptionManager.DEFAULT_PHONE_INDEX, SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, apnType); } public void notifyDataConnectionFailedForSubscriber(int phoneId, int subId, String apnType) { if (!checkNotifyPermission("notifyDataConnectionFailed()")) { return; Loading