Lines Matching refs:p_card_status
192 static void freeCardStatus(RIL_CardStatus_v6 *p_card_status);
2410 RIL_CardStatus_v6 *p_card_status; local
2414 int result = getCardStatus(&p_card_status);
2416 p_buffer = (char *)p_card_status;
2417 buffer_size = sizeof(*p_card_status);
2423 freeCardStatus(p_card_status);
3127 RIL_CardStatus_v6 *p_card_status = malloc(sizeof(RIL_CardStatus_v6)); local
3128 p_card_status->card_state = card_state;
3129 p_card_status->universal_pin_state = RIL_PINSTATE_UNKNOWN;
3130 p_card_status->gsm_umts_subscription_app_index = -1;
3131 p_card_status->cdma_subscription_app_index = -1;
3132 p_card_status->ims_subscription_app_index = -1;
3133 p_card_status->num_applications = num_apps;
3138 p_card_status->applications[i] = app_status_array[SIM_ABSENT];
3144 p_card_status->num_applications = 3;
3145 p_card_status->gsm_umts_subscription_app_index = 0;
3146 p_card_status->cdma_subscription_app_index = 1;
3147 p_card_status->ims_subscription_app_index = 2;
3150 p_card_status->applications[0] = app_status_array[sim_status];
3151 p_card_status->applications[1] = app_status_array[sim_status + RUIM_ABSENT];
3152 p_card_status->applications[2] = app_status_array[sim_status + ISIM_ABSENT];
3155 *pp_card_status = p_card_status;
3162 static void freeCardStatus(RIL_CardStatus_v6 *p_card_status) { argument
3163 free(p_card_status);