Loading telephony/java/android/telephony/TelephonyManager.java +10 −5 Original line number Diff line number Diff line Loading @@ -3241,7 +3241,8 @@ public class TelephonyManager { IPhoneSubInfo info = getSubscriberInfo(); if (info == null) return null; return info.getIsimImpi(); //get the Isim Impi based on subId return info.getIsimImpi(getSubId()); } catch (RemoteException ex) { return null; } catch (NullPointerException ex) { Loading @@ -3260,7 +3261,8 @@ public class TelephonyManager { IPhoneSubInfo info = getSubscriberInfo(); if (info == null) return null; return info.getIsimDomain(); //get the Isim Domain based on subId return info.getIsimDomain(getSubId()); } catch (RemoteException ex) { return null; } catch (NullPointerException ex) { Loading @@ -3280,7 +3282,8 @@ public class TelephonyManager { IPhoneSubInfo info = getSubscriberInfo(); if (info == null) return null; return info.getIsimImpu(); //get the Isim Impu based on subId return info.getIsimImpu(getSubId()); } catch (RemoteException ex) { return null; } catch (NullPointerException ex) { Loading Loading @@ -4393,7 +4396,8 @@ public class TelephonyManager { IPhoneSubInfo info = getSubscriberInfo(); if (info == null) return null; return info.getIsimIst(); //get the Isim Ist based on subId return info.getIsimIst(getSubId()); } catch (RemoteException ex) { return null; } catch (NullPointerException ex) { Loading @@ -4413,7 +4417,8 @@ public class TelephonyManager { IPhoneSubInfo info = getSubscriberInfo(); if (info == null) return null; return info.getIsimPcscf(); //get the Isim Pcscf based on subId return info.getIsimPcscf(getSubId()); } catch (RemoteException ex) { return null; } catch (NullPointerException ex) { Loading telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl +5 −5 Original line number Diff line number Diff line Loading @@ -166,33 +166,33 @@ interface IPhoneSubInfo { * Returns the IMS private user identity (IMPI) that was loaded from the ISIM. * @return the IMPI, or null if not present or not loaded */ String getIsimImpi(); String getIsimImpi(int subId); /** * Returns the IMS home network domain name that was loaded from the ISIM. * @return the IMS domain name, or null if not present or not loaded */ String getIsimDomain(); String getIsimDomain(int subId); /** * Returns the IMS public user identities (IMPU) that were loaded from the ISIM. * @return an array of IMPU strings, with one IMPU per string, or null if * not present or not loaded */ String[] getIsimImpu(); String[] getIsimImpu(int subId); /** * Returns the IMS Service Table (IST) that was loaded from the ISIM. * @return IMS Service Table or null if not present or not loaded */ String getIsimIst(); String getIsimIst(int subId); /** * Returns the IMS Proxy Call Session Control Function(PCSCF) that were loaded from the ISIM. * @return an array of PCSCF strings with one PCSCF per string, or null if * not present or not loaded */ String[] getIsimPcscf(); String[] getIsimPcscf(int subId); /** * TODO: Deprecate and remove this interface. Superceded by getIccsimChallengeResponse. Loading Loading
telephony/java/android/telephony/TelephonyManager.java +10 −5 Original line number Diff line number Diff line Loading @@ -3241,7 +3241,8 @@ public class TelephonyManager { IPhoneSubInfo info = getSubscriberInfo(); if (info == null) return null; return info.getIsimImpi(); //get the Isim Impi based on subId return info.getIsimImpi(getSubId()); } catch (RemoteException ex) { return null; } catch (NullPointerException ex) { Loading @@ -3260,7 +3261,8 @@ public class TelephonyManager { IPhoneSubInfo info = getSubscriberInfo(); if (info == null) return null; return info.getIsimDomain(); //get the Isim Domain based on subId return info.getIsimDomain(getSubId()); } catch (RemoteException ex) { return null; } catch (NullPointerException ex) { Loading @@ -3280,7 +3282,8 @@ public class TelephonyManager { IPhoneSubInfo info = getSubscriberInfo(); if (info == null) return null; return info.getIsimImpu(); //get the Isim Impu based on subId return info.getIsimImpu(getSubId()); } catch (RemoteException ex) { return null; } catch (NullPointerException ex) { Loading Loading @@ -4393,7 +4396,8 @@ public class TelephonyManager { IPhoneSubInfo info = getSubscriberInfo(); if (info == null) return null; return info.getIsimIst(); //get the Isim Ist based on subId return info.getIsimIst(getSubId()); } catch (RemoteException ex) { return null; } catch (NullPointerException ex) { Loading @@ -4413,7 +4417,8 @@ public class TelephonyManager { IPhoneSubInfo info = getSubscriberInfo(); if (info == null) return null; return info.getIsimPcscf(); //get the Isim Pcscf based on subId return info.getIsimPcscf(getSubId()); } catch (RemoteException ex) { return null; } catch (NullPointerException ex) { Loading
telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl +5 −5 Original line number Diff line number Diff line Loading @@ -166,33 +166,33 @@ interface IPhoneSubInfo { * Returns the IMS private user identity (IMPI) that was loaded from the ISIM. * @return the IMPI, or null if not present or not loaded */ String getIsimImpi(); String getIsimImpi(int subId); /** * Returns the IMS home network domain name that was loaded from the ISIM. * @return the IMS domain name, or null if not present or not loaded */ String getIsimDomain(); String getIsimDomain(int subId); /** * Returns the IMS public user identities (IMPU) that were loaded from the ISIM. * @return an array of IMPU strings, with one IMPU per string, or null if * not present or not loaded */ String[] getIsimImpu(); String[] getIsimImpu(int subId); /** * Returns the IMS Service Table (IST) that was loaded from the ISIM. * @return IMS Service Table or null if not present or not loaded */ String getIsimIst(); String getIsimIst(int subId); /** * Returns the IMS Proxy Call Session Control Function(PCSCF) that were loaded from the ISIM. * @return an array of PCSCF strings with one PCSCF per string, or null if * not present or not loaded */ String[] getIsimPcscf(); String[] getIsimPcscf(int subId); /** * TODO: Deprecate and remove this interface. Superceded by getIccsimChallengeResponse. Loading