Loading api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -962,6 +962,7 @@ package android.telephony { public class TelephonyManager { method public int getCarrierIdListVersion(); method public void refreshUiccProfile(); method public void setCarrierTestOverride(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String); field public static final int UNKNOWN_CARRIER_ID_LIST_VERSION = -1; // 0xffffffff } Loading telephony/java/android/telephony/TelephonyManager.java +16 −0 Original line number Diff line number Diff line Loading @@ -2785,6 +2785,22 @@ public class TelephonyManager { } } /** * Test method to reload the UICC profile. * * @hide */ @TestApi @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void refreshUiccProfile() { try { ITelephony telephony = getITelephony(); telephony.refreshUiccProfile(mSubId); } catch (RemoteException ex) { Rlog.w(TAG, "RemoteException", ex); } } /** * Map logicalSlot to physicalSlot, and activate the physicalSlot if it is inactive. For * example, passing the physicalSlots array [1, 0] means mapping the first item 1, which is Loading telephony/java/com/android/internal/telephony/ITelephony.aidl +6 −0 Original line number Diff line number Diff line Loading @@ -1503,4 +1503,10 @@ interface ITelephony { * A test API to return installed carrier id list version. */ int getCarrierIdListVersion(int subId); /** * A test API to reload the UICC profile. * @hide */ void refreshUiccProfile(int subId); } Loading
api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -962,6 +962,7 @@ package android.telephony { public class TelephonyManager { method public int getCarrierIdListVersion(); method public void refreshUiccProfile(); method public void setCarrierTestOverride(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String); field public static final int UNKNOWN_CARRIER_ID_LIST_VERSION = -1; // 0xffffffff } Loading
telephony/java/android/telephony/TelephonyManager.java +16 −0 Original line number Diff line number Diff line Loading @@ -2785,6 +2785,22 @@ public class TelephonyManager { } } /** * Test method to reload the UICC profile. * * @hide */ @TestApi @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void refreshUiccProfile() { try { ITelephony telephony = getITelephony(); telephony.refreshUiccProfile(mSubId); } catch (RemoteException ex) { Rlog.w(TAG, "RemoteException", ex); } } /** * Map logicalSlot to physicalSlot, and activate the physicalSlot if it is inactive. For * example, passing the physicalSlots array [1, 0] means mapping the first item 1, which is Loading
telephony/java/com/android/internal/telephony/ITelephony.aidl +6 −0 Original line number Diff line number Diff line Loading @@ -1503,4 +1503,10 @@ interface ITelephony { * A test API to return installed carrier id list version. */ int getCarrierIdListVersion(int subId); /** * A test API to reload the UICC profile. * @hide */ void refreshUiccProfile(int subId); }