use of com.android.internal.telephony.dataconnection.DataCallResponse in project android_frameworks_opt_telephony by LineageOS.
the class RadioResponse method responseSetupDataCall.
private void responseSetupDataCall(RadioResponseInfo responseInfo, SetupDataCallResult setupDataCallResult) {
RILRequest rr = mRil.processResponse(responseInfo);
if (rr != null) {
DataCallResponse ret = RIL.convertDataCallResult(setupDataCallResult);
if (responseInfo.error == RadioError.NONE) {
sendMessageResponse(rr.mResult, ret);
}
mRil.processResponseDone(rr, responseInfo, ret);
}
}
use of com.android.internal.telephony.dataconnection.DataCallResponse in project android_frameworks_opt_telephony by LineageOS.
the class RadioIndication method dataCallListChanged.
public void dataCallListChanged(int indicationType, ArrayList<SetupDataCallResult> dcList) {
mRil.processIndication(indicationType);
ArrayList<DataCallResponse> response = new ArrayList<>();
for (SetupDataCallResult dcResult : dcList) {
response.add(RIL.convertDataCallResult(dcResult));
}
if (RIL.RILJ_LOGD)
mRil.unsljLogRet(RIL_UNSOL_DATA_CALL_LIST_CHANGED, response);
mRil.mDataCallListChangedRegistrants.notifyRegistrants(new AsyncResult(null, response, null));
}
use of com.android.internal.telephony.dataconnection.DataCallResponse in project android_frameworks_opt_telephony by LineageOS.
the class RadioResponse method responseDataCallList.
private void responseDataCallList(RadioResponseInfo responseInfo, ArrayList<SetupDataCallResult> dataCallResultList) {
RILRequest rr = mRil.processResponse(responseInfo);
if (rr != null) {
ArrayList<DataCallResponse> dcResponseList = new ArrayList<>();
for (SetupDataCallResult dcResult : dataCallResultList) {
dcResponseList.add(RIL.convertDataCallResult(dcResult));
}
if (responseInfo.error == RadioError.NONE) {
sendMessageResponse(rr.mResult, dcResponseList);
}
mRil.processResponseDone(rr, responseInfo, dcResponseList);
}
}
Aggregations