Lines Matching refs:preferred
265 static int query_ctec(ModemInfo *mdm, int *current, int32_t *preferred);
266 static int parse_technology_response(const char *response, int *current, int32_t *preferred);
1047 int32_t preferred = net2pmask[value]; local
1049 …GD("requestSetPreferredNetworkType: current: %x. New: %x", PREFERRED_NETWORK(sMdmInfo), preferred);
1059 RLOGD("old != preferred: %d", old != preferred);
1060 if (old != preferred) {
1061 asprintf(&cmd, "AT+CTEC=%d,\"%x\"", current, preferred);
1089 int preferred; local
1092 switch ( query_ctec(sMdmInfo, NULL, &preferred) ) {
1099 if (preferred == net2pmask[i]) {
1104 RLOGE("Unknown preferred mode received from modem: %d", preferred);
3197 int parse_technology_response( const char *response, int *current, int32_t *preferred ) argument
3228 if (preferred) {
3229 *preferred = pt;
3275 int query_ctec(ModemInfo *mdm __unused, int *current, int32_t *preferred) argument
3281 RLOGD("query_ctec. current: %p, preferred: %p", current, preferred);
3284 res = parse_technology_response(response->p_intermediates->line, current, preferred);
3299 int32_t preferred; local
3301 if (query_ctec(mdm, &tech, &preferred) == 0) {
3303 mdm->preferredNetworkMode = preferred;