use of com.android.internal.telephony.uicc.IccRefreshResponse in project android_device_mediatek_common by MediatekDevs.
the class MediaTekRIL method responseSimRefresh.
@Override
protected Object responseSimRefresh(Parcel p) {
IccRefreshResponse response = new IccRefreshResponse();
response.refreshResult = p.readInt();
String rawefId = p.readString();
response.efId = rawefId == null ? 0 : Integer.parseInt(rawefId);
response.aid = p.readString();
return response;
}
use of com.android.internal.telephony.uicc.IccRefreshResponse in project android_frameworks_opt_telephony by LineageOS.
the class RadioIndication method simRefresh.
public void simRefresh(int indicationType, SimRefreshResult refreshResult) {
mRil.processIndication(indicationType);
IccRefreshResponse response = new IccRefreshResponse();
response.refreshResult = refreshResult.type;
response.efId = refreshResult.efId;
response.aid = refreshResult.aid;
if (RIL.RILJ_LOGD)
mRil.unsljLogRet(RIL_UNSOL_SIM_REFRESH, response);
mRil.mIccRefreshRegistrants.notifyRegistrants(new AsyncResult(null, response, null));
}
Aggregations