[Feature]1.Add modify Apn API 2.change DNS ADDR MAX LEN 3.change timeout for setupDatacallstate

Change-Id: Ie17adcda44313ba7464f117c423a1d01af1d811e
diff --git a/framework/lynq-ril-service/src/data/data_gdbus.cpp b/framework/lynq-ril-service/src/data/data_gdbus.cpp
index 4b12ffd..f771062 100755
--- a/framework/lynq-ril-service/src/data/data_gdbus.cpp
+++ b/framework/lynq-ril-service/src/data/data_gdbus.cpp
@@ -62,6 +62,26 @@
 MTK_Data_Call_Response_v1 req_response;
 MTK_Data_Call_Response_v1 urc_response;
 
+/*Typethree add for t800 ril service 2022/04/14 start*/
+
+int lynq_data_modify_apn(gchar *reason,int lynq_request_id)
+{
+    Parcel p; 
+    if(reason == NULL)
+    {
+        RLOGD("modify apn reason apn");
+        return -1;
+    }
+    p.writeInt32(1);
+    p.writeInt32(lynq_request_id);
+    p.writeInt32(0);
+    writeStringToParcel(p,reason);
+    android::LYNQ_RIL_urcBroadcast(p);
+    return 0;
+}
+
+/*Typethree add for t800 ril service 2022/04/14 end*/
+
 /*Warren add for t103 szzt atsvc 2022/1/5 start*/
 int lynqUpdateApnStatus(char *apn,char *apntype,int pdnState,char *ifname)
 {
@@ -382,7 +402,7 @@
             NULL);
     return 1;
 }
-
+/*Typethree add for t800 RIL Service 2022/04/14 start*/
 void modifyApnDB_method_cb (GDBusProxy   *proxy,
                                       GAsyncResult *res,
                                       gpointer      user_data)
@@ -399,6 +419,7 @@
     {
         RLOGD("method call back error %s", error->message);
         printf("modify apn db error: %s\n", error->message);
+        lynq_data_modify_apn(error->message,LYNQ_URC_MODIFY_APNDB);
         g_error_free(error);
         return;
     }
@@ -408,6 +429,7 @@
     printf("modify apn db success, return message: %s\n", ((reason == NULL)? "":reason));
     //printf("modifyApnDB_method_cb reason %s\n", ((reason == NULL)? "":reason));
     g_variant_unref(result);
+    lynq_data_modify_apn(reason,LYNQ_URC_MODIFY_APNDB);
 }
 
 int modifyApnDB(int cmd, gchar *record) {
@@ -439,6 +461,7 @@
     {
         RLOGD("method call back error %s", error->message);
         printf("reset apn DB error: %s\n", error->message);
+        lynq_data_modify_apn(error->message,LYNQ_URC_RESET_APNDB);
         g_error_free(error);
         return;
     }
@@ -448,7 +471,9 @@
     printf("reset apn DB success, return message: %s\n", ((reason == NULL)? "":reason));
     //printf("resetApnDB_method_cb reason %s\n", ((reason == NULL)? "":reason));
     g_variant_unref(result);
+    lynq_data_modify_apn(reason,LYNQ_URC_RESET_APNDB);
 }
+/*Typethree add for t800 RIL Service 2022/04/14 end*/
 
 int resetApnDB() {
     RLOGD("%s", __FUNCTION__);