Home
last modified time | relevance | path

Searched refs:countCalls (Results 1 – 2 of 2) sorted by relevance

/device/google/cuttlefish_common/guest/hals/ril/
Dcuttlefish_ril.cpp539 const int countCalls = gActiveCalls.size(); in request_get_current_calls() local
541 RIL_Call** pp_calls = (RIL_Call**)alloca(countCalls * sizeof(RIL_Call*)); in request_get_current_calls()
542 RIL_Call* p_calls = (RIL_Call*)alloca(countCalls * sizeof(RIL_Call)); in request_get_current_calls()
544 memset(p_calls, 0, countCalls * sizeof(RIL_Call)); in request_get_current_calls()
547 for (int i = 0; i < countCalls; i++) { in request_get_current_calls()
574 countCalls * sizeof(RIL_Call*)); in request_get_current_calls()
576 ALOGV("Get Current calls: %d calls found.\n", countCalls); in request_get_current_calls()
/device/generic/goldfish/ril/
Dreference-ril.c916 int countCalls; local
938 for (countCalls = 0, p_cur = p_response->p_intermediates
942 countCalls++;
947 pp_calls = (RIL_Call **)alloca(countCalls * sizeof(RIL_Call *));
948 p_calls = (RIL_Call *)alloca(countCalls * sizeof(RIL_Call));
949 memset (p_calls, 0, countCalls * sizeof(RIL_Call));
952 for(i = 0; i < countCalls ; i++) {