Lines Matching defs:rsp
72 ril_proto::RspStrings *rsp = new ril_proto::RspStrings();
73 rsp->ParseFromArray(buffer->data(), buffer->length());
74 int result_len = rsp->strings_size() * sizeof(const char *);
76 for (int i = 0; i < rsp->strings_size(); i++) {
77 result[i] = rsp->strings(i).c_str();
98 ril_proto::RspStrings *rsp = new ril_proto::RspStrings();
99 rsp->ParseFromArray(buffer->data(), buffer->length());
100 const char *result = rsp->strings(0).c_str();
116 ril_proto::RspIntegers *rsp = new ril_proto::RspIntegers();
117 rsp->ParseFromArray(buffer->data(), buffer->length());
118 int result_len = rsp->integers_size() * sizeof(const int32_t);
120 for (int i = 0; i < rsp->integers_size(); i++) {
121 result[i] = rsp->integers(i);
139 ril_proto::RspGetSimStatus *rsp = new ril_proto::RspGetSimStatus();
140 rsp->ParseFromArray(buffer->data(), buffer->length());
141 const ril_proto::RilCardStatus& r = rsp->card_status();
176 ril_proto::RspEnterSimPin *rsp = new ril_proto::RspEnterSimPin();
177 rsp->ParseFromArray(buffer->data(), buffer->length());
178 DBG("retries_remaining=%d", rsp->retries_remaining());
179 int retries_remaining = rsp->retries_remaining();
196 ril_proto::RspGetCurrentCalls *rsp = new ril_proto::RspGetCurrentCalls();
197 rsp->ParseFromArray(buffer->data(), buffer->length());
198 int result_len = rsp->calls_size() * sizeof(const RIL_Call *);
201 for (int i = 0; i < rsp->calls_size(); i++) {
202 const ril_proto::RilCall& srcCall = rsp->calls(i);
244 ril_proto::RspSignalStrength *rsp = new ril_proto::RspSignalStrength();
245 rsp->ParseFromArray(buffer->data(), buffer->length());
246 const ril_proto::RILGWSignalStrength& gwST = rsp->gw_signalstrength();
247 const ril_proto::RILCDMASignalStrength& cdmaST = rsp->cdma_signalstrength();
248 const ril_proto::RILEVDOSignalStrength& evdoST = rsp->evdo_signalstrength();
249 const ril_proto::RILLTESignalStrength& lteST = rsp->lte_signalstrength();
292 ril_proto::RspSignalStrength *rsp = new ril_proto::RspSignalStrength();
293 rsp->ParseFromArray(buffer->data(), buffer->length());
294 const ril_proto::RILGWSignalStrength& gwST = rsp->gw_signalstrength();
295 const ril_proto::RILCDMASignalStrength& cdmaST = rsp->cdma_signalstrength();
296 const ril_proto::RILEVDOSignalStrength& evdoST = rsp->evdo_signalstrength();
297 const ril_proto::RILLTESignalStrength& lteST = rsp->lte_signalstrength();
319 ril_proto::RspOperator *rsp = new ril_proto::RspOperator();
320 rsp->ParseFromArray(buffer->data(), buffer->length());
322 if (rsp->has_long_alpha_ons()) {
323 DBG("long_alpha_ons=%s", rsp->long_alpha_ons().c_str());
324 result[0] = rsp->long_alpha_ons().c_str();
326 if (rsp->has_short_alpha_ons()) {
327 DBG("short_alpha_ons=%s", rsp->short_alpha_ons().c_str());
328 result[1] = rsp->short_alpha_ons().c_str();
330 if (rsp->has_mcc_mnc()) {
331 DBG("mcc_mnc=%s", rsp->mcc_mnc().c_str());
332 result[2] = rsp->mcc_mnc().c_str();
351 ril_proto::RspSignalStrength *rsp = new ril_proto::RspSignalStrength();
352 rsp->ParseFromArray(buffer->data(), buffer->length());
353 const ril_proto::RILGWSignalStrength& gwST = rsp->gw_signalstrength();
354 const ril_proto::RILCDMASignalStrength& cdmaST = rsp->cdma_signalstrength();
355 const ril_proto::RILEVDOSignalStrength& evdoST = rsp->evdo_signalstrength();