samsung: update libril for xmm6260

Change-Id: Ib5e68bd53fdf5d3db29ce09a975198320337cc52
tirimbino
codeworkx 12 years ago
parent 81366768f2
commit afc051f81a
  1. 1
      ril/xmm6260/libril/Android.mk
  2. 730
      ril/xmm6260/libril/ril.cpp
  3. 8
      ril/xmm6260/libril/ril_commands.h
  4. 5
      ril/xmm6260/libril/ril_event.cpp
  5. 3
      ril/xmm6260/libril/ril_unsol_commands.h

@ -10,6 +10,7 @@ LOCAL_SRC_FILES:= \
ril_event.cpp
LOCAL_SHARED_LIBRARIES := \
liblog \
libutils \
libbinder \
libcutils \

File diff suppressed because it is too large Load Diff

@ -41,7 +41,7 @@
{RIL_REQUEST_DTMF, dispatchString, responseVoid},
{RIL_REQUEST_SEND_SMS, dispatchStrings, responseSMS},
{RIL_REQUEST_SEND_SMS_EXPECT_MORE, dispatchStrings, responseSMS},
{RIL_REQUEST_SETUP_DATA_CALL, dispatchStrings, responseDataCallList},
{RIL_REQUEST_SETUP_DATA_CALL, dispatchDataCall, responseSetupDataCall},
{RIL_REQUEST_SIM_IO, dispatchSIM_IO, responseSIM_IO},
{RIL_REQUEST_SEND_USSD, dispatchString, responseVoid},
{RIL_REQUEST_CANCEL_USSD, dispatchVoid, responseVoid},
@ -118,11 +118,13 @@
{RIL_REQUEST_SET_SMSC_ADDRESS, dispatchString, responseVoid},
{RIL_REQUEST_REPORT_SMS_MEMORY_STATUS, dispatchInts, responseVoid},
{RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING, dispatchVoid, responseVoid},
{RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE, dispatchVoid, responseInts},
{RIL_REQUEST_CDMA_GET_SUBSCRIPTION_SOURCE, dispatchCdmaSubscriptionSource, responseInts},
{RIL_REQUEST_ISIM_AUTHENTICATION, dispatchString, responseString},
{RIL_REQUEST_ACKNOWLEDGE_INCOMING_GSM_SMS_WITH_PDU, dispatchStrings, responseVoid},
{RIL_REQUEST_STK_SEND_ENVELOPE_WITH_STATUS, dispatchString, responseSIM_IO},
{RIL_REQUEST_VOICE_RADIO_TECH, dispatchVoid, responseInts}, // 108
{RIL_REQUEST_VOICE_RADIO_TECH, dispatchVoiceRadioTech, responseInts},
{RIL_REQUEST_GET_CELL_INFO_LIST, dispatchVoid, responseCellInfoList},
{RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE, dispatchInts, responseVoid}, // 110
{0, NULL, NULL}, // 10001
{RIL_REQUEST_GET_CELL_BROADCAST_CONFIG, dispatchVoid, responseVoid},
{0, NULL, NULL}, // 10003

@ -75,7 +75,7 @@ static struct ril_event pending_list;
#define DEBUG 0
#if DEBUG
#define dlog(x...) ALOGD( x )
#define dlog(x...) RLOGD( x )
static void dump_event(struct ril_event * ev)
{
dlog("~~~~ Event %x ~~~~", (unsigned int)ev);
@ -350,6 +350,7 @@ void ril_event_loop()
struct timeval tv;
struct timeval * ptv;
for (;;) {
// make local copy of read fd_set
@ -369,7 +370,7 @@ void ril_event_loop()
if (n < 0) {
if (errno == EINTR) continue;
ALOGE("ril_event: select error (%d)", errno);
RLOGE("ril_event: select error (%d)", errno);
// bail?
return;
}

@ -49,4 +49,5 @@
{RIL_UNSOL_CDMA_PRL_CHANGED, responseInts, WAKE_PARTIAL},
{RIL_UNSOL_EXIT_EMERGENCY_CALLBACK_MODE, responseVoid, WAKE_PARTIAL},
{RIL_UNSOL_RIL_CONNECTED, responseInts, WAKE_PARTIAL},
{RIL_UNSOL_VOICE_RADIO_TECH_CHANGED, responseInts, WAKE_PARTIAL}
{RIL_UNSOL_VOICE_RADIO_TECH_CHANGED, responseInts, WAKE_PARTIAL},
{RIL_UNSOL_CELL_INFO_LIST, responseCellInfoList, WAKE_PARTIAL},

Loading…
Cancel
Save