Home
last modified time | relevance | path

Searched refs:apn (Results 1 – 23 of 23) sorted by relevance

/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
DLocApiRpc.h102 setAPN(char* apn, int len) { return setAPN(apn, len, false); } in setAPN() argument
104 setAPN(char* apn, int len, boolean force);
114 atlOpenStatus(int handle, int is_succ, char* apn, AGpsBearerType bear, AGpsType agpsType);
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc.cpp91 static int loc_agps_open(const char* apn);
95 static int loc_agps_open_with_apniptype( const char* apn, ApnIpType apnIpType);
136 static void loc_agps_ril_update_network_availability(int avaiable, const char* apn);
777 static int loc_agps_open(const char* apn) in loc_agps_open() argument
782 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); in loc_agps_open()
805 static int loc_agps_open_with_apniptype(const char* apn, ApnIpType apnIpType) in loc_agps_open_with_apniptype() argument
826 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); in loc_agps_open_with_apniptype()
1046 static void loc_agps_ril_update_network_availability(int available, const char* apn) in loc_agps_ril_update_network_availability() argument
1049 loc_eng_agps_ril_update_network_availability(loc_afw_data, available, apn); in loc_agps_ril_update_network_availability()
DLocEngAdapter.h130 setAPN(char* apn, int len) in setAPN() argument
132 return mLocApi->setAPN(apn, len); in setAPN()
155 atlOpenStatus(int handle, int is_succ, char* apn, AGpsBearerType bearer, AGpsType agpsType) in atlOpenStatus() argument
157 return mLocApi->atlOpenStatus(handle, is_succ, apn, bearer, agpsType); in atlOpenStatus()
Dloc_eng.h215 const char* apn, AGpsBearerType bearerType);
224 int avaiable, const char* apn);
Dloc_eng.cpp2236 const char* apn, AGpsBearerType bearerType) in loc_eng_agps_open() argument
2242 if (apn == NULL) in loc_eng_agps_open()
2248 LOC_LOGD("loc_eng_agps_open APN name = [%s]", apn); in loc_eng_agps_open()
2250 int apn_len = smaller_of(strlen (apn), MAX_APN_LEN); in loc_eng_agps_open()
2254 new LocEngAtlOpenSuccess(sm, apn, apn_len, bearerType)); in loc_eng_agps_open()
2493 int available, const char* apn) in loc_eng_agps_ril_update_network_availability() argument
2505 if (apn != NULL) in loc_eng_agps_ril_update_network_availability()
2507 LOC_LOGD("loc_eng_agps_ril_update_network_availability: APN Name = [%s]\n", apn); in loc_eng_agps_ril_update_network_availability()
2508 int apn_len = smaller_of(strlen (apn), MAX_APN_LEN); in loc_eng_agps_ril_update_network_availability()
2510 adapter->sendMsg(new LocEngEnableData(adapter, apn, apn_len, available)); in loc_eng_agps_ril_update_network_availability()
Dloc_eng_agps.cpp682 void AgpsStateMachine::setAPN(const char* apn, unsigned int len) in setAPN() argument
688 if (NULL != apn) { in setAPN()
690 memcpy(mAPN, apn, len); in setAPN()
Dloc_eng_agps.h213 void setAPN(const char* apn, unsigned int len);
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
DLocEngAdapter.h115 setAPN(char* apn, int len) in setAPN() argument
117 return mLocApi->setAPN(apn, len); in setAPN()
140 atlOpenStatus(int handle, int is_succ, char* apn, AGpsBearerType bearer, AGpsType agpsType) in atlOpenStatus() argument
142 return mLocApi->atlOpenStatus(handle, is_succ, apn, bearer, agpsType); in atlOpenStatus()
Dloc.cpp89 static int loc_agps_open(const char* apn);
129 static void loc_agps_ril_update_network_availability(int avaiable, const char* apn);
655 static int loc_agps_open(const char* apn) in loc_agps_open() argument
660 int ret_val = loc_eng_agps_open(loc_afw_data, agpsType, apn, bearerType); in loc_agps_open()
880 static void loc_agps_ril_update_network_availability(int available, const char* apn) in loc_agps_ril_update_network_availability() argument
883 loc_eng_agps_ril_update_network_availability(loc_afw_data, available, apn); in loc_agps_ril_update_network_availability()
Dloc_eng.h201 const char* apn, AGpsBearerType bearerType);
210 int avaiable, const char* apn);
Dloc_eng.cpp2049 const char* apn, AGpsBearerType bearerType) in loc_eng_agps_open() argument
2055 if (apn == NULL) in loc_eng_agps_open()
2061 LOC_LOGD("loc_eng_agps_open APN name = [%s]", apn); in loc_eng_agps_open()
2063 int apn_len = smaller_of(strlen (apn), MAX_APN_LEN); in loc_eng_agps_open()
2067 new LocEngAtlOpenSuccess(sm, apn, apn_len, bearerType)); in loc_eng_agps_open()
2299 int available, const char* apn) in loc_eng_agps_ril_update_network_availability() argument
2311 if (apn != NULL) in loc_eng_agps_ril_update_network_availability()
2313 LOC_LOGD("loc_eng_agps_ril_update_network_availability: APN Name = [%s]\n", apn); in loc_eng_agps_ril_update_network_availability()
2314 int apn_len = smaller_of(strlen (apn), MAX_APN_LEN); in loc_eng_agps_ril_update_network_availability()
2316 adapter->sendMsg(new LocEngEnableData(adapter, apn, apn_len, available)); in loc_eng_agps_ril_update_network_availability()
Dloc_eng_agps.cpp682 void AgpsStateMachine::setAPN(const char* apn, unsigned int len) in setAPN() argument
688 if (NULL != apn) { in setAPN()
690 memcpy(mAPN, apn, len); in setAPN()
Dloc_eng_agps.h213 void setAPN(const char* apn, unsigned int len);
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp538 LocApiRpc::setAPN(char* apn, int len, boolean force) in setAPN() argument
542 if (force || memcmp(apnLastSet, apn, size)) { in setAPN()
547 memcpy(apnLastSet, apn, size); in setAPN()
553 memcpy(&(ioctl_data.rpc_loc_ioctl_data_u_type_u.apn_profiles[0].apn_name), apn, size); in setAPN()
1068 LocApiRpc::atlOpenStatus(int handle, int is_succ, char* apn, AGpsBearerType bearer, AGpsType agpsTy… in atlOpenStatus() argument
1082 conn_open_status_ptr->apn_name = apn; /* requires APN */ in atlOpenStatus()
1085 strlcpy(conn_open_status_ptr->apn_name, apn, in atlOpenStatus()
1094 apn); in atlOpenStatus()
1104 strlcpy(conn_multi_open_status_ptr->apn_name, apn, in atlOpenStatus()
1127 apn, in atlOpenStatus()
/hardware/libhardware/include/hardware/
Dgps.h713 int (*data_conn_open)( const char* apn );
746 int (*data_conn_open)(const char* apn);
765 const char* apn,
990 void (*update_network_availability) (int avaiable, const char* apn);
/hardware/qcom/gps/msm8960/core/
DLocApiBase.h123 setAPN(char* apn, int len);
133 atlOpenStatus(int handle, int is_succ, char* apn, AGpsBearerType bear, AGpsType agpsType);
DLocApiBase.cpp320 setAPN(char* apn, int len)
340 atlOpenStatus(int handle, int is_succ, char* apn,
/hardware/qcom/gps/core/
DLocApiBase.h140 setAPN(char* apn, int len);
150 atlOpenStatus(int handle, int is_succ, char* apn, AGpsBearerType bear, AGpsType agpsType);
DLocApiBase.cpp356 setAPN(char* apn, int len)
376 atlOpenStatus(int handle, int is_succ, char* apn,
/hardware/ril/include/telephony/
Dril.h240 char * apn; /* ignored */ member
1176 char* apn; member
4742 char *apn; member
/hardware/ril/reference-ril/
Dril.h240 char * apn; /* ignored */ member
1176 char* apn; member
4742 char *apn; member
Dreference-ril.c1641 const char *apn; local
1646 apn = ((const char **)data)[2];
1664 RLOGD("requesting data connection to APN '%s'", apn);
1670 asprintf(&cmd, "up:%s", apn);
1726 asprintf(&cmd, "AT+CGDCONT=1,\"%s\",\"%s\",,0,0", pdp_type, apn);
/hardware/ril/libril/
Dril.cpp1672 pf.apn = strdupReadString(p); in dispatchSetInitialAttachApn()
1683 printBuf, pf.apn, pf.protocol, pf.authtype, pf.username, pf.password); in dispatchSetInitialAttachApn()
1693 memsetString(pf.apn); in dispatchSetInitialAttachApn()
1699 free(pf.apn); in dispatchSetInitialAttachApn()
1902 dataProfiles[i].apn = strdupReadString(p); in dispatchDataProfile()
1926 dataProfiles[i].apn, dataProfiles[i].protocol, dataProfiles[i].authType, in dispatchDataProfile()