# libril
ifeq ($(BOARD_PROVIDES_LIBRIL),true)
-ifneq ($(filter xmm6260 xmm6262 xmm6360 xmm7260 m7450,$(BOARD_MODEM_TYPE)),)
+ifneq ($(filter xmm6260 xmm6262 xmm6360 xmm7260 m7450 ss333,$(BOARD_MODEM_TYPE)),)
include $(RIL_PATH)/libril/Android.mk
endif
endif
ifeq ($(BOARD_MODEM_TYPE),m7450)
LOCAL_CFLAGS := -DMODEM_TYPE_M7450
endif
+ifeq ($(BOARD_MODEM_TYPE),ss333)
+LOCAL_CFLAGS := -DMODEM_TYPE_SS333
+endif
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADER)/librilutils
LOCAL_C_INCLUDES += external/nanopb-c
int32_t sizeOfDial;
int32_t t;
int32_t uusPresent;
-#if defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450)
+#if defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450) || defined(MODEM_TYPE_SS333)
char *csv;
#endif
status_t status;
goto invalid;
}
-#if defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450)
+#if defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450) || defined(MODEM_TYPE_SS333)
/* CallDetails.call_type */
status = p.readInt32(&t);
if (status != NO_ERROR) {
}
if (uusPresent == 0) {
-#if defined(MODEM_TYPE_XMM6262) || defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450)
+#if defined(MODEM_TYPE_XMM6262) || defined(MODEM_TYPE_XMM7260) \
+ || defined(MODEM_TYPE_M7450) || defined(MODEM_TYPE_SS333)
dial.uusInfo = NULL;
#elif defined(MODEM_TYPE_XMM6260)
/* Samsung hack */
p.writeInt32(p_cur->als);
p.writeInt32(p_cur->isVoice);
-#if defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450)
+#if defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450) || defined(MODEM_TYPE_SS333)
+#ifndef MODEM_TYPE_SS333
p.writeInt32(p_cur->isVideo);
+#endif
/* Pass CallDetails */
p.writeInt32(0);
p_cur->als,
(p_cur->isVoice)?"voc":"nonvoc",
(p_cur->isVoicePrivacy)?"evp":"noevp");
-#if defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450)
+#if defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450) || defined(MODEM_TYPE_SS333)
appendPrintBuf("%s,%s,",
printBuf,
(p_cur->isVideo) ? "vid" : "novid");
p.writeInt32(p_cur->GW_SignalStrength.bitErrorRate);
-#if defined(MODEM_TYPE_XMM6262) || defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450)
+#if defined(MODEM_TYPE_XMM6262) || defined(MODEM_TYPE_XMM7260) \
+ || defined(MODEM_TYPE_M7450) || defined(MODEM_TYPE_SS333)
cdmaDbm = p_cur->CDMA_SignalStrength.dbm & 0xFF;
if (cdmaDbm < 0) {
cdmaDbm = 99;
p.writeInt32(cdmaDbm);
p.writeInt32(p_cur->CDMA_SignalStrength.ecio);
-#if defined(MODEM_TYPE_XMM6262) || defined(MODEM_TYPE_XMM7260) || defined(MODEM_TYPE_M7450)
+#if defined(MODEM_TYPE_XMM6262) || defined(MODEM_TYPE_XMM7260) \
+ || defined(MODEM_TYPE_M7450) || defined(MODEM_TYPE_SS333)
evdoDbm = p_cur->EVDO_SignalStrength.dbm & 0xFF;
if (evdoDbm < 0) {
evdoDbm = 99;