Lines Matching refs:s_callbacks
149 RIL_RadioFunctions s_callbacks = {0, NULL, NULL, NULL, NULL, NULL};
349 s_callbacks.onRequest(request, data, len, pRI);
413 s_callbacks.onRequest(pRI->pCI->requestNumber, NULL, 0, pRI);
431 s_callbacks.onRequest(pRI->pCI->requestNumber, string8,
481 s_callbacks.onRequest(pRI->pCI->requestNumber, pStrings, datalen, pRI);
535 s_callbacks.onRequest(pRI->pCI->requestNumber, const_cast<int *>(pInts),
580 s_callbacks.onRequest(pRI->pCI->requestNumber, &args, sizeof(args), pRI);
624 if (s_callbacks.version < 3) { // Remove when partners upgrade to version 3
676 s_callbacks.onRequest(pRI->pCI->requestNumber, &dial, sizeOfDial, pRI);
754 size = (s_callbacks.version < 6) ? sizeof(simIO.v5) : sizeof(simIO.v6);
755 s_callbacks.onRequest(pRI->pCI->requestNumber, &simIO, size, pRI);
833 s_callbacks.onRequest(pRI->pCI->requestNumber, &cff, sizeof(cff), pRI);
877 s_callbacks.onRequest(pRI->pCI->requestNumber, const_cast<void *>(data), len, pRI);
974 s_callbacks.onRequest(pRI->pCI->requestNumber, &rcsm, sizeof(rcsm),pRI);
1003 s_callbacks.onRequest(pRI->pCI->requestNumber, &rism,
1063 s_callbacks.onRequest(pRI->pCI->requestNumber, &rism,
1156 s_callbacks.onRequest(pRI->pCI->requestNumber, &rcsa, sizeof(rcsa),pRI);
1215 s_callbacks.onRequest(pRI->pCI->requestNumber,
1271 s_callbacks.onRequest(pRI->pCI->requestNumber,
1370 s_callbacks.onRequest(pRI->pCI->requestNumber, &rcsw, sizeof(rcsw),pRI);
1397 if (s_callbacks.version < 4 && numParams > numParamsRilV3) {
1416 RIL_RadioState state = s_callbacks.onStateRequest();
1443 RIL_RadioState state = s_callbacks.onStateRequest();
1492 s_callbacks.onRequest(pRI->pCI->requestNumber, &pf, sizeof(pf), pRI);
1719 if ((s_callbacks.version < 3) || (p_cur->uusInfo == NULL || p_cur->uusInfo->uusData == NULL)) {
1820 p.writeInt32(s_callbacks.version);
1822 if (s_callbacks.version < 5) {
1872 if (s_callbacks.version < 5) {
1873 return responseStringsWithVersion(s_callbacks.version, p, response, responselen);
2215 if (s_callbacks.version <= 6) {
2370 if (s_callbacks.version == 7) {
2802 int rilVer = s_callbacks.version;
2819 if (s_callbacks.getVersion != NULL) {
2821 version = s_callbacks.getVersion();
3135 memcpy(&s_callbacks, callbacks, sizeof (RIL_RadioFunctions));
3165 memcpy(&s_callbacks, callbacks, sizeof (RIL_RadioFunctions));
3541 newState = processRadioState(s_callbacks.onStateRequest());
3544 radioStateToString(s_callbacks.onStateRequest()));