Lines Matching refs:t
170 static void onRequest (int request, void *data, size_t datalen, RIL_Token t);
173 static void onCancel (RIL_Token t);
196 #define RIL_onRequestComplete(t, e, response, responselen) s_rilenv->OnRequestComplete(t,e, respons… argument
367 static void requestRadioPower(void *data, size_t datalen, RIL_Token t) in requestRadioPower() argument
397 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestRadioPower()
401 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0); in requestRadioPower()
404 static void requestShutdown(RIL_Token t) in requestShutdown() argument
417 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0); in requestShutdown()
421 static void requestOrSendDataCallList(RIL_Token *t);
428 static void requestDataCallList(void *data __unused, size_t datalen __unused, RIL_Token t) in requestDataCallList() argument
430 requestOrSendDataCallList(&t); in requestDataCallList()
433 static void requestOrSendDataCallList(RIL_Token *t) in requestOrSendDataCallList() argument
443 if (t != NULL) in requestOrSendDataCallList()
444 RIL_onRequestComplete(*t, RIL_E_GENERIC_FAILURE, NULL, 0); in requestOrSendDataCallList()
497 if (t != NULL) in requestOrSendDataCallList()
498 RIL_onRequestComplete(*t, RIL_E_GENERIC_FAILURE, NULL, 0); in requestOrSendDataCallList()
604 if (t != NULL) in requestOrSendDataCallList()
605 RIL_onRequestComplete(*t, RIL_E_SUCCESS, responses, in requestOrSendDataCallList()
615 if (t != NULL) in requestOrSendDataCallList()
616 RIL_onRequestComplete(*t, RIL_E_GENERIC_FAILURE, NULL, 0); in requestOrSendDataCallList()
625 void *data __unused, size_t datalen __unused, RIL_Token t) in requestQueryNetworkSelectionMode() argument
652 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(int)); in requestQueryNetworkSelectionMode()
658 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0); in requestQueryNetworkSelectionMode()
668 static void requestGetCurrentCalls(void *data __unused, size_t datalen __unused, RIL_Token t) argument
690 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
771 RIL_onRequestComplete(t, RIL_E_SUCCESS, pp_calls,
787 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
791 static void requestDial(void *data, size_t datalen __unused, RIL_Token t) argument
815 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
818 static void requestWriteSmsToSim(void *data, size_t datalen __unused, RIL_Token t) argument
835 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
840 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
844 static void requestHangup(void *data, size_t datalen __unused, RIL_Token t) argument
863 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
866 static void requestSignalStrength(void *data __unused, size_t datalen __unused, RIL_Token t) argument
878 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
892 RIL_onRequestComplete(t, RIL_E_SUCCESS, response, sizeof(response));
899 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
915 size_t datalen __unused, RIL_Token t ) argument
926 RIL_onRequestComplete(t, RIL_E_MODE_NOT_SUPPORTED, NULL, 0);
930 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
941 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
958 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
962 size_t datalen __unused, RIL_Token t) argument
970 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
975 RIL_onRequestComplete(t, RIL_E_SUCCESS, &i, sizeof(int));
980 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
987 size_t datalen __unused, RIL_Token t) argument
1002 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, strlen(responseStr));
1007 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1011 size_t datalen __unused, RIL_Token t) argument
1025 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, sizeof(responseStr));
1030 size_t datalen __unused, RIL_Token t) argument
1050 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1056 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, count*sizeof(char*));
1063 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1067 size_t datalen __unused, RIL_Token t) argument
1091 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(response));
1096 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1100 size_t datalen, RIL_Token t) argument
1109 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1121 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
1128 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1132 size_t datalen __unused, RIL_Token t) argument
1151 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, count*sizeof(char*));
1156 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1160 size_t datalen __unused, RIL_Token t) argument
1179 RIL_onRequestComplete(t, RIL_E_SUCCESS, &roaming_pref, sizeof(roaming_pref));
1182 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1186 size_t datalen __unused, RIL_Token t) argument
1201 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
1206 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1323 size_t datalen __unused, RIL_Token t) argument
1412 RIL_onRequestComplete(t, RIL_E_SUCCESS, responseStr, numElements*sizeof(responseStr));
1432 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1436 static void requestOperator(void *data __unused, size_t datalen __unused, RIL_Token t) argument
1503 RIL_onRequestComplete(t, RIL_E_SUCCESS, response, sizeof(response));
1509 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1513 static void requestCdmaSendSMS(void *data, size_t datalen, RIL_Token t) argument
1538 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(response));
1544 RIL_onRequestComplete(t, RIL_E_SMS_SEND_FAIL_RETRY, &response, sizeof(response));
1547 static void requestSendSMS(void *data, size_t datalen, RIL_Token t) argument
1582 RIL_onRequestComplete(t, RIL_E_SUCCESS, &response, sizeof(response));
1588 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, &response, sizeof(response));
1594 RIL_onRequestComplete(t, RIL_E_SMS_SEND_FAIL_RETRY, &response, sizeof(response));
1599 static void requestImsSendSMS(void *data, size_t datalen, RIL_Token t) argument
1625 t);
1629 t);
1636 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, &response, sizeof(response));
1641 RIL_onRequestComplete(t, RIL_E_SMS_SEND_FAIL_RETRY, &response, sizeof(response));
1644 static void requestSetupDataCall(void *data, size_t datalen, RIL_Token t) argument
1756 requestOrSendDataCallList(&t);
1762 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1767 static void requestSMSAcknowledge(void *data, size_t datalen __unused, RIL_Token t) argument
1783 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
1785 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1789 static void requestSIM_IO(void *data, size_t datalen __unused, RIL_Token t) argument
1836 RIL_onRequestComplete(t, RIL_E_SUCCESS, &sr, sizeof(sr));
1842 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1848 static void requestEnterSimPin(void* data, size_t datalen, RIL_Token t) argument
1867 RIL_onRequestComplete(t, RIL_E_PASSWORD_INCORRECT, NULL, 0);
1869 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
1875 static void requestSendUSSD(void *data, size_t datalen __unused, RIL_Token t) argument
1882 RIL_onRequestComplete(t, RIL_E_REQUEST_NOT_SUPPORTED, NULL, 0);
1888 static void requestExitEmergencyMode(void *data __unused, size_t datalen __unused, RIL_Token t) argument
1896 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
1900 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
1927 static void requestGetCellInfoList(void *data __unused, size_t datalen __unused, RIL_Token t) argument
1954 RIL_onRequestComplete(t, RIL_E_SUCCESS, ci, sizeof(ci));
1958 static void requestSetCellInfoListRate(void *data, size_t datalen, RIL_Token t) argument
1965 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
1968 static void requestGetHardwareConfig(void *data, size_t datalen, RIL_Token t) argument
1979 RIL_onRequestComplete(t, RIL_E_SUCCESS, &hwCfg, sizeof(hwCfg));
1998 onRequest (int request, void *data, size_t datalen, RIL_Token t) argument
2011 RIL_onRequestComplete(t, RIL_E_RADIO_NOT_AVAILABLE, NULL, 0);
2022 RIL_onRequestComplete(t, RIL_E_RADIO_NOT_AVAILABLE, NULL, 0);
2040 RIL_onRequestComplete(t, result, p_buffer, buffer_size);
2045 requestGetCurrentCalls(data, datalen, t);
2048 requestDial(data, datalen, t);
2051 requestHangup(data, datalen, t);
2061 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
2071 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
2085 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
2096 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
2105 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
2114 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
2128 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
2130 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
2136 requestSignalStrength(data, datalen, t);
2140 requestRegistrationState(request, data, datalen, t);
2143 requestOperator(data, datalen, t);
2146 requestRadioPower(data, datalen, t);
2154 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
2159 requestSendSMS(data, datalen, t);
2162 requestCdmaSendSMS(data, datalen, t);
2165 requestImsSendSMS(data, datalen, t);
2168 requestSetupDataCall(data, datalen, t);
2171 requestSMSAcknowledge(data, datalen, t);
2179 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
2181 RIL_onRequestComplete(t, RIL_E_SUCCESS,
2192 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
2194 RIL_onRequestComplete(t, RIL_E_SUCCESS,
2201 requestSIM_IO(data,datalen,t);
2205 requestSendUSSD(data, datalen, t);
2213 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
2215 RIL_onRequestComplete(t, RIL_E_SUCCESS,
2226 requestDataCallList(data, datalen, t);
2230 requestQueryNetworkSelectionMode(data, datalen, t);
2235 RIL_onRequestComplete(t, RIL_E_SUCCESS, data, datalen);
2252 RIL_onRequestComplete(t, RIL_E_SUCCESS, data, datalen);
2257 requestWriteSmsToSim(data, datalen, t);
2267 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
2269 RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
2281 requestEnterSimPin(data, datalen, t);
2298 RIL_onRequestComplete(t, RIL_E_SUCCESS, reply, sizeof(reply));
2300 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
2309 RIL_onRequestComplete(t, RIL_E_GENERIC_FAILURE, NULL, 0);
2311 RIL_onRequestComplete(t, RIL_E_SUCCESS, &tech, sizeof(tech));
2315 requestSetPreferredNetworkType(request, data, datalen, t);
2319 requestGetPreferredNetworkType(request, data, datalen, t);
2323 requestGetCellInfoList(data, datalen, t);
2327 requestSetCellInfoListRate(data, datalen, t);
2331 requestGetHardwareConfig(data, datalen, t);
2335 requestShutdown(t);
2341 requestCdmaBaseBandVersion(request, data, datalen, t);
2347 requestCdmaDeviceIdentity(request, data, datalen, t);
2353 requestCdmaSubscription(request, data, datalen, t);
2359 requestCdmaSetSubscriptionSource(request, data, datalen, t);
2365 requestCdmaGetSubscriptionSource(request, data, datalen, t);
2371 requestCdmaGetRoamingPreference(request, data, datalen, t);
2377 requestCdmaSetRoamingPreference(request, data, datalen, t);
2383 requestExitEmergencyMode(data, datalen, t);
2389 RIL_onRequestComplete(t, RIL_E_REQUEST_NOT_SUPPORTED, NULL, 0);
2418 static void onCancel (RIL_Token t __unused)