Loading telephony/java/com/android/internal/telephony/IccCardApplication.java +11 −0 Original line number Diff line number Diff line Loading @@ -177,4 +177,15 @@ public class IccCardApplication { return newSubState; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{").append(app_type).append(",").append(app_state); if (app_state == AppState.APPSTATE_SUBSCRIPTION_PERSO) { sb.append(",").append(perso_substate); } sb.append("}"); return sb.toString(); } } telephony/java/com/android/internal/telephony/IccCardStatus.java +29 −0 Original line number Diff line number Diff line Loading @@ -144,4 +144,33 @@ public class IccCardStatus { return mApplications.get(index); } @Override public String toString() { IccCardApplication app; StringBuilder sb = new StringBuilder(); sb.append("IccCardState {").append(mCardState).append(",") .append(mUniversalPinState) .append(",num_apps=").append(mNumApplications) .append(",gsm_id=").append(mGsmUmtsSubscriptionAppIndex); if (mGsmUmtsSubscriptionAppIndex >=0 && mGsmUmtsSubscriptionAppIndex <CARD_MAX_APPS) { app = getApplication(mGsmUmtsSubscriptionAppIndex); sb.append(app == null ? "null" : app); } sb.append(",cmda_id=").append(mCdmaSubscriptionAppIndex); if (mCdmaSubscriptionAppIndex >=0 && mCdmaSubscriptionAppIndex <CARD_MAX_APPS) { app = getApplication(mCdmaSubscriptionAppIndex); sb.append(app == null ? "null" : app); } sb.append(",ism_id=").append(mImsSubscriptionAppIndex); sb.append("}"); return sb.toString(); } } Loading
telephony/java/com/android/internal/telephony/IccCardApplication.java +11 −0 Original line number Diff line number Diff line Loading @@ -177,4 +177,15 @@ public class IccCardApplication { return newSubState; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{").append(app_type).append(",").append(app_state); if (app_state == AppState.APPSTATE_SUBSCRIPTION_PERSO) { sb.append(",").append(perso_substate); } sb.append("}"); return sb.toString(); } }
telephony/java/com/android/internal/telephony/IccCardStatus.java +29 −0 Original line number Diff line number Diff line Loading @@ -144,4 +144,33 @@ public class IccCardStatus { return mApplications.get(index); } @Override public String toString() { IccCardApplication app; StringBuilder sb = new StringBuilder(); sb.append("IccCardState {").append(mCardState).append(",") .append(mUniversalPinState) .append(",num_apps=").append(mNumApplications) .append(",gsm_id=").append(mGsmUmtsSubscriptionAppIndex); if (mGsmUmtsSubscriptionAppIndex >=0 && mGsmUmtsSubscriptionAppIndex <CARD_MAX_APPS) { app = getApplication(mGsmUmtsSubscriptionAppIndex); sb.append(app == null ? "null" : app); } sb.append(",cmda_id=").append(mCdmaSubscriptionAppIndex); if (mCdmaSubscriptionAppIndex >=0 && mCdmaSubscriptionAppIndex <CARD_MAX_APPS) { app = getApplication(mCdmaSubscriptionAppIndex); sb.append(app == null ? "null" : app); } sb.append(",ism_id=").append(mImsSubscriptionAppIndex); sb.append("}"); return sb.toString(); } }