Home | History | Annotate | Download | only in libril

Lines Matching full:p_cur

1437         char **p_cur = (char **) response;
1445 appendPrintBuf("%s%s,", printBuf, (char*)p_cur[i]);
1446 writeStringToParcel (p, p_cur[i]);
1496 RIL_Call *p_cur = ((RIL_Call **) response)[i];
1498 p.writeInt32(p_cur->state);
1499 p.writeInt32(p_cur->index);
1500 p.writeInt32(p_cur->toa);
1501 p.writeInt32(p_cur->isMpty);
1502 p.writeInt32(p_cur->isMT);
1503 p.writeInt32(p_cur->als);
1504 p.writeInt32(p_cur->isVoice);
1505 p.writeInt32(p_cur->isVoicePrivacy);
1506 writeStringToParcel(p, p_cur->number);
1507 p.writeInt32(p_cur->numberPresentation);
1508 writeStringToParcel(p, p_cur->name);
1509 p.writeInt32(p_cur->namePresentation);
1511 if ((s_callbacks.version < 3) || (p_cur->uusInfo == NULL || p_cur->uusInfo->uusData == NULL)) {
1514 RIL_UUS_Info *uusInfo = p_cur->uusInfo;
1523 p_cur->index,
1524 callStateToString(p_cur->state),
1525 p_cur->toa);
1528 (p_cur->isMpty)?"conf":"norm",
1529 (p_cur->isMT)?"mt":"mo",
1530 p_cur->als,
1531 (p_cur->isVoice)?"voc":"nonvoc",
1532 (p_cur->isVoicePrivacy)?"evp":"noevp");
1535 p_cur->number,
1536 p_cur->numberPresentation,
1537 p_cur->name,
1538 p_cur->namePresentation);
1558 RIL_SMS_Response *p_cur = (RIL_SMS_Response *) response;
1560 p.writeInt32(p_cur->messageRef);
1561 writeStringToParcel(p, p_cur->ackPDU);
1562 p.writeInt32(p_cur->errorCode);
1565 appendPrintBuf("%s%d,%s,%d", printBuf, p_cur->messageRef,
1566 (char*)p_cur->ackPDU, p_cur->errorCode);
1588 RIL_Data_Call_Response_v4 *p_cur = (RIL_Data_Call_Response_v4 *) response;
1592 p.writeInt32(p_cur[i].cid);
1593 p.writeInt32(p_cur[i].active);
1594 writeStringToParcel(p, p_cur[i].type);
1596 writeStringToParcel(p, p_cur[i].address);
1598 p_cur[i].cid,
1599 (p_cur[i].active==0)?"down":"up",
1600 (char*)p_cur[i].type,
1601 (char*)p_cur[i].address);
1631 RIL_Data_Call_Response_v6 *p_cur = (RIL_Data_Call_Response_v6 *) response;
1635 p.writeInt32((int)p_cur[i].status);
1636 p.writeInt32(p_cur[i].suggestedRetryTime);
1637 p.writeInt32(p_cur[i].cid);
1638 p.writeInt32(p_cur[i].active);
1639 writeStringToParcel(p, p_cur[i].type);
1640 writeStringToParcel(p, p_cur[i].ifname);
1641 writeStringToParcel(p, p_cur[i].addresses);
1642 writeStringToParcel(p, p_cur[i].dnses);
1643 writeStringToParcel(p, p_cur[i].gateways);
1645 p_cur[i].status,
1646 p_cur[i].suggestedRetryTime,
1647 p_cur[i].cid,
1648 (p_cur[i].active==0)?"down":"up",
1649 (char*)p_cur[i].type,
1650 (char*)p_cur[i].ifname,
1651 (char*)p_cur[i].addresses,
1652 (char*)p_cur[i].dnses,
1653 (char*)p_cur[i].gateways);
1701 RIL_SIM_IO_Response *p_cur = (RIL_SIM_IO_Response *) response;
1702 p.writeInt32(p_cur->sw1);
1703 p.writeInt32(p_cur->sw2);
1704 writeStringToParcel(p, p_cur->simResponse);
1707 appendPrintBuf("%ssw1=0x%X,sw2=0x%X,%s", printBuf, p_cur->sw1, p_cur->sw2,
1708 (char*)p_cur->simResponse);
1735 p_cur = ((RIL_CallForwardInfo **) response)[i];
1737 p.writeInt32(p_cur->status);
1738 p.writeInt32(p_cur->reason);
1739 p.writeInt32(p_cur->serviceClass);
1740 p.writeInt32(p_cur->toa);
1741 writeStringToParcel(p, p_cur->number);
1742 p.writeInt32(p_cur->timeSeconds);
1744 (p_cur->status==1)?"enable":"disable",
1745 p_cur->reason, p_cur->serviceClass, p_cur->toa,
1746 (char*)p_cur->number,
1747 p_cur->timeSeconds);
1767 RIL_SuppSvcNotification *p_cur = (RIL_SuppSvcNotification *) response;
1768 p.writeInt32(p_cur->notificationType);
1769 p.writeInt32(p_cur->code);
1770 p.writeInt32(p_cur->index);
1771 p.writeInt32(p_cur->type);
1772 writeStringToParcel(p, p_cur->number);
1776 (p_cur->notificationType==0)?"mo":"mt",
1777 p_cur->code, p_cur->index, p_cur->type,
1778 (char*)p_cur->number);
1804 RIL_NeighboringCell *p_cur = ((RIL_NeighboringCell **) response)[i];
1806 p.writeInt32(p_cur->rssi);
1807 writeStringToParcel (p, p_cur->cid);
1810 p_cur->cid, p_cur->rssi);
1847 RIL_CDMA_InformationRecords *p_cur =
1849 num = MIN(p_cur->numberOfInfoRecs, RIL_CDMA_MAX_NUMBER_OF_INFO_RECS);
1855 infoRec = &p_cur->infoRec[i];
1994 RIL_SignalStrength_v6 *p_cur = ((RIL_SignalStrength_v6 *) response);
1996 p.writeInt32(p_cur->GW_SignalStrength.signalStrength);
1997 p.writeInt32(p_cur->GW_SignalStrength.bitErrorRate);
1998 p.writeInt32(p_cur->CDMA_SignalStrength.dbm);
1999 p.writeInt32(p_cur->CDMA_SignalStrength.ecio);
2000 p.writeInt32(p_cur->EVDO_SignalStrength.dbm);
2001 p.writeInt32(p_cur->EVDO_SignalStrength.ecio);
2002 p.writeInt32(p_cur->EVDO_SignalStrength.signalNoiseRatio);
2009 if (p_cur->LTE_SignalStrength.signalStrength == -1) {
2010 p_cur->LTE_SignalStrength.signalStrength = 99;
2014 if (p_cur->LTE_SignalStrength.rsrp == -1) {
2015 p_cur->LTE_SignalStrength.rsrp = INT_MAX;
2016 } else if (p_cur->LTE_SignalStrength.rsrp < -1) {
2017 p_cur->LTE_SignalStrength.rsrp = -p_cur->LTE_SignalStrength.rsrp;
2020 if (p_cur->LTE_SignalStrength.rsrq == -1) {
2021 p_cur->LTE_SignalStrength.rsrq = INT_MAX;
2026 if (p_cur->LTE_SignalStrength.cqi == -1) {
2027 p_cur->LTE_SignalStrength.cqi = INT_MAX;
2030 p.writeInt32(p_cur->LTE_SignalStrength.signalStrength);
2031 p.writeInt32(p_cur->LTE_SignalStrength.rsrp);
2032 p.writeInt32(p_cur->LTE_SignalStrength.rsrq);
2033 p.writeInt32(p_cur->LTE_SignalStrength.rssnr);
2034 p.writeInt32(p_cur->LTE_SignalStrength.cqi);
2051 p_cur->GW_SignalStrength.signalStrength,
2052 p_cur->GW_SignalStrength.bitErrorRate,
2053 p_cur->CDMA_SignalStrength.dbm,
2054 p_cur->CDMA_SignalStrength.ecio,
2055 p_cur->EVDO_SignalStrength.dbm,
2056 p_cur->EVDO_SignalStrength.ecio,
2057 p_cur->EVDO_SignalStrength.signalNoiseRatio,
2058 p_cur->LTE_SignalStrength.signalStrength,
2059 p_cur->LTE_SignalStrength.rsrp,
2060 p_cur->LTE_SignalStrength.rsrq,
2061 p_cur->LTE_SignalStrength.rssnr,
2062 p_cur->LTE_SignalStrength.cqi);
2095 RIL_CDMA_SignalInfoRecord *p_cur = ((RIL_CDMA_SignalInfoRecord *) response);
2096 marshallSignalInfoRecord(p, *p_cur);
2101 p_cur->isPresent,
2102 p_cur->signalType,
2103 p_cur->alertPitch,
2104 p_cur->signal);
2121 RIL_CDMA_CallWaiting_v6 *p_cur = ((RIL_CDMA_CallWaiting_v6 *) response);
2123 writeStringToParcel(p, p_cur->number);
2124 p.writeInt32(p_cur->numberPresentation);
2125 writeStringToParcel(p, p_cur->name);
2126 marshallSignalInfoRecord(p, p_cur->signalInfoRecord);
2129 p.writeInt32(p_cur->number_type);
2130 p.writeInt32(p_cur->number_plan);
2141 p_cur->number,
2142 p_cur
2143 p_cur->name,
2144 p_cur->signalInfoRecord.isPresent,
2145 p_cur->signalInfoRecord.signalType,
2146 p_cur->signalInfoRecord.alertPitch,
2147 p_cur->signalInfoRecord.signal,
2148 p_cur->number_type,
2149 p_cur->number_plan);
2163 RIL_SimRefreshResponse_v7 *p_cur = ((RIL_SimRefreshResponse_v7 *) response);
2164 p.writeInt32(p_cur->result);
2165 p.writeInt32(p_cur->ef_id);
2166 writeStringToParcel(p, p_cur->aid);
2170 p_cur->result,
2171 p_cur->ef_id,
2172 p_cur->aid);
2174 int *p_cur = ((int *) response);
2175 p.writeInt32(p_cur[0]);
2176 p.writeInt32(p_cur[1]);
2181 p_cur[0],
2182 p_cur[1]);
2205 RIL_CellInfo *p_cur = (RIL_CellInfo *) response;
2210 p_cur->cellInfoType, p_cur->registered, p_cur->timeStampType, p_cur->timeStamp);
2211 p.writeInt32((int)p_cur->cellInfoType);
2212 p.writeInt32(p_cur->registered);
2213 p.writeInt32(p_cur->timeStampType);
2214 p.writeInt64(p_cur->timeStamp);
2215 switch(p_cur->cellInfoType) {
2218 p_cur->CellInfo.gsm.cellIdentityGsm.mcc,
2219 p_cur->CellInfo.gsm.cellIdentityGsm.mnc,
2220 p_cur->CellInfo.gsm.cellIdentityGsm.lac,
2221 p_cur->CellInfo.gsm.cellIdentityGsm.cid);
2223 p_cur->CellInfo.gsm.signalStrengthGsm.signalStrength,
2224 p_cur->CellInfo.gsm.signalStrengthGsm.bitErrorRate);
2226 p.writeInt32(p_cur->CellInfo.gsm.cellIdentityGsm.mcc);
2227 p.writeInt32(p_cur->CellInfo.gsm.cellIdentityGsm.mnc);
2228 p.writeInt32(p_cur->CellInfo.gsm.cellIdentityGsm.lac);
2229 p.writeInt32(p_cur->CellInfo.gsm.cellIdentityGsm.cid);
2230 p.writeInt32(p_cur->CellInfo.gsm.signalStrengthGsm.signalStrength);
2231 p.writeInt32(p_cur->CellInfo.gsm.signalStrengthGsm.bitErrorRate);
2236 p_cur->CellInfo.wcdma.cellIdentityWcdma.mcc,
2237 p_cur->CellInfo.wcdma.cellIdentityWcdma.mnc,
2238 p_cur->CellInfo.wcdma.cellIdentityWcdma.lac,
2239 p_cur->CellInfo.wcdma.cellIdentityWcdma.cid,
2240 p_cur->CellInfo.wcdma.cellIdentityWcdma.psc);
2242 p_cur->CellInfo.wcdma.signalStrengthWcdma.signalStrength,
2243 p_cur->CellInfo.wcdma.signalStrengthWcdma.bitErrorRate);
2245 p.writeInt32(p_cur->CellInfo.wcdma.cellIdentityWcdma.mcc);
2246 p.writeInt32(p_cur->CellInfo.wcdma.cellIdentityWcdma.mnc);
2247 p.writeInt32(p_cur->CellInfo.wcdma.cellIdentityWcdma.lac);
2248 p.writeInt32(p_cur->CellInfo.wcdma.cellIdentityWcdma.cid);
2249 p.writeInt32(p_cur->CellInfo.wcdma.cellIdentityWcdma.psc);
2250 p.writeInt32(p_cur->CellInfo.wcdma.signalStrengthWcdma.signalStrength);
2251 p.writeInt32(p_cur->CellInfo.wcdma.signalStrengthWcdma.bitErrorRate);
2256 p_cur->CellInfo.cdma.cellIdentityCdma.networkId,
2257 p_cur->CellInfo.cdma.cellIdentityCdma.systemId,
2258 p_cur->CellInfo.cdma.cellIdentityCdma.basestationId,
2259 p_cur->CellInfo.cdma.cellIdentityCdma.longitude,
2260 p_cur->CellInfo.cdma.cellIdentityCdma.latitude);
2262 p.writeInt32(p_cur->CellInfo.cdma.cellIdentityCdma.networkId);
2263 p.writeInt32(p_cur->CellInfo.cdma.cellIdentityCdma.systemId);
2264 p.writeInt32(p_cur->CellInfo.cdma.cellIdentityCdma.basestationId);
2265 p.writeInt32(p_cur->CellInfo.cdma.cellIdentityCdma.longitude);
2266 p.writeInt32(p_cur->CellInfo.cdma.cellIdentityCdma.latitude);
2269 p_cur->CellInfo.cdma.signalStrengthCdma.dbm,
2270 p_cur->CellInfo.cdma.signalStrengthCdma.ecio,
2271 p_cur->CellInfo.cdma.signalStrengthEvdo.dbm,
2272 p_cur->CellInfo.cdma.signalStrengthEvdo.ecio,
2273 p_cur->CellInfo.cdma.signalStrengthEvdo.signalNoiseRatio);
2275 p.writeInt32(p_cur->CellInfo.cdma.signalStrengthCdma.dbm);
2276 p.writeInt32(p_cur->CellInfo.cdma.signalStrengthCdma.ecio);
2277 p.writeInt32(p_cur->CellInfo.cdma.signalStrengthEvdo.dbm);
2278 p.writeInt32(p_cur->CellInfo.cdma.signalStrengthEvdo.ecio);
2279 p.writeInt32(p_cur->CellInfo.cdma.signalStrengthEvdo.signalNoiseRatio);
2284 p_cur->CellInfo.lte.cellIdentityLte.mcc,
2285 p_cur->CellInfo.lte.cellIdentityLte.mnc,
2286 p_cur->CellInfo.lte.cellIdentityLte.ci,
2287 p_cur->CellInfo.lte.cellIdentityLte.pci,
2288 p_cur->CellInfo.lte.cellIdentityLte.tac);
2290 p.writeInt32(p_cur->CellInfo.lte.cellIdentityLte.mcc);
2291 p.writeInt32(p_cur->CellInfo.lte.cellIdentityLte.mnc);
2292 p.writeInt32(p_cur->CellInfo.lte.cellIdentityLte.ci);
2293 p.writeInt32(p_cur->CellInfo.lte.cellIdentityLte.pci);
2294 p.writeInt32(p_cur->CellInfo.lte.cellIdentityLte.tac);
2297 p_cur->CellInfo.lte.signalStrengthLte.signalStrength,
2298 p_cur->CellInfo.lte.signalStrengthLte.rsrp,
2299 p_cur->CellInfo.lte.signalStrengthLte.rsrq,
2300 p_cur->CellInfo.lte.signalStrengthLte.rssnr,
2301 p_cur->CellInfo.lte.signalStrengthLte.cqi,
2302 p_cur->CellInfo.lte.signalStrengthLte.timingAdvance);
2303 p.writeInt32(p_cur->CellInfo.lte.signalStrengthLte.signalStrength);
2304 p.writeInt32(p_cur->CellInfo.lte.signalStrengthLte.rsrp);
2305 p.writeInt32(p_cur->CellInfo.lte.signalStrengthLte.rsrq);
2306 p.writeInt32(p_cur->CellInfo.lte.signalStrengthLte.rssnr);
2307 p.writeInt32(p_cur->CellInfo.lte.signalStrengthLte.cqi);
2308 p.writeInt32(p_cur->CellInfo.lte.signalStrengthLte.timingAdvance);
2312 p_cur += 1;
2373 RIL_CardStatus_v6 *p_cur = ((RIL_CardStatus_v6 *) response);
2375 p.writeInt32(p_cur->card_state);
2376 p.writeInt32(p_cur->universal_pin_state);
2377 p.writeInt32(p_cur->gsm_umts_subscription_app_index);
2378 p.writeInt32(p_cur->cdma_subscription_app_index);
2379 p.writeInt32(p_cur->ims_subscription_app_index);
2381 sendSimStatusAppInfo(p, p_cur->num_applications, p_cur->applications);
2383 RIL_CardStatus_v5 *p_cur = ((RIL_CardStatus_v5 *) response);
2385 p.writeInt32(p_cur->card_state);
2386 p.writeInt32(p_cur->universal_pin_state);
2387 p.writeInt32(p_cur->gsm_umts_subscription_app_index);
2388 p.writeInt32(p_cur->cdma_subscription_app_index);
2391 sendSimStatusAppInfo(p, p_cur->num_applications, p_cur->applications);
2405 RIL_GSM_BroadcastSmsConfigInfo **p_cur =
2408 p.writeInt32(p_cur[i]->fromServiceId);
2409 p.writeInt32(p_cur[i]->toServiceId);
2410 p.writeInt32(p_cur[i]->fromCodeScheme);
2411 p.writeInt32(p_cur[i]->toCodeScheme);
2412 p.writeInt32(p_cur[i]->selected);
2416 printBuf, i, p_cur[i]->fromServiceId, p_cur[i]->toServiceId,
2417 p_cur[i]->fromCodeScheme, p_cur[i]->toCodeScheme,
2418 p_cur[i]->selected);
2426 RIL_CDMA_BroadcastSmsConfigInfo **p_cur =
2434 p.writeInt32(p_cur[i]->service_category);
2435 p.writeInt32(p_cur[i]->language);
2436 p.writeInt32(p_cur[i]->selected);
2440 printBuf, i, p_cur[i]->service_category, p_cur[i]->language,
2441 p_cur[i]->selected);
2468 RIL_CDMA_SMS_Message *p_cur = (RIL_CDMA_SMS_Message *) response;
2469 p.writeInt32(p_cur->uTeleserviceID);
2470 p.write(&(p_cur->bIsServicePresent),sizeof(uct));
2471 p.writeInt32(p_cur->uServicecategory);
2472 p.writeInt32(p_cur->sAddress.digit_mode);
2473 p.writeInt32(p_cur->sAddress.number_mode);
2474 p.writeInt32(p_cur->sAddress.number_type);
2475 p.writeInt32(p_cur->sAddress.number_plan);
2476 p.write(&(p_cur->sAddress.number_of_digits), sizeof(uct));
2477 digitLimit= MIN((p_cur->sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX);
2479 p.write(&(p_cur->sAddress.digits[digitCount]),sizeof(uct));
2482 p.writeInt32(p_cur->sSubAddress.subaddressType);
2483 p.write(&(p_cur->sSubAddress.odd),sizeof(uct));
2484 p.write(&(p_cur->sSubAddress.number_of_digits),sizeof(uct));
2485 digitLimit= MIN((p_cur->sSubAddress.number_of_digits), RIL_CDMA_SMS_SUBADDRESS_MAX);
2487 p.write(&(p_cur->sSubAddress.digits[digitCount]),sizeof(uct));
2490 digitLimit= MIN((p_cur->uBearerDataLen), RIL_CDMA_SMS_BEARER_DATA_MAX);
2491 p.writeInt32(p_cur->uBearerDataLen);
2493 p.write(&(p_cur->aBearerData[digitCount]), sizeof(uct));
2499 printBuf, p_cur->uTeleserviceID,p_cur->bIsServicePresent,p_cur->uServicecategory,
2500 p_cur->sAddress.digit_mode, p_cur->sAddress.number_mode,p_cur->sAddress.number_type);
2525 RequestInfo *p_cur;
2532 p_cur = s_pendingRequests;
2534 for (p_cur = s_pendingRequests
2535 ; p_cur != NULL
2536 ; p_cur = p_cur->p_next
2538 p_cur->cancelled = 1;