Lines Matching refs:preferred
251 static int query_ctec(ModemInfo *mdm, int *current, int32_t *preferred);
252 static int parse_technology_response(const char *response, int *current, int32_t *preferred);
922 int32_t preferred = net2pmask[value]; local
924 …GD("requestSetPreferredNetworkType: current: %x. New: %x", PREFERRED_NETWORK(sMdmInfo), preferred);
934 RLOGD("old != preferred: %d", old != preferred);
935 if (old != preferred) {
936 asprintf(&cmd, "AT+CTEC=%d,\"%x\"", current, preferred);
964 int preferred; local
967 switch ( query_ctec(sMdmInfo, NULL, &preferred) ) {
974 if (preferred == net2pmask[i]) {
979 RLOGE("Unknown preferred mode received from modem: %d", preferred);
2828 int parse_technology_response( const char *response, int *current, int32_t *preferred ) argument
2859 if (preferred) {
2860 *preferred = pt;
2906 int query_ctec(ModemInfo *mdm __unused, int *current, int32_t *preferred) argument
2912 RLOGD("query_ctec. current: %p, preferred: %p", current, preferred);
2915 res = parse_technology_response(response->p_intermediates->line, current, preferred);
2930 int32_t preferred; local
2932 if (query_ctec(mdm, &tech, &preferred) == 0) {
2934 mdm->preferredNetworkMode = preferred;