• Home
  • Raw
  • Download

Lines Matching refs:telephony_handle

58 static struct cras_telephony_handle telephony_handle;  variable
107 telephony_handle.callsetup = 1; in handle_incoming_call()
220 telephony_handle.callheld = value; in handle_set_callheld()
240 telephony_handle.callsetup = value; in handle_set_callsetup()
260 telephony_handle.call = value; in handle_set_call()
344 telephony_handle.dbus_conn = conn; in cras_telephony_start()
345 dbus_connection_ref(telephony_handle.dbus_conn); in cras_telephony_start()
359 if (!telephony_handle.dbus_conn) in cras_telephony_stop()
362 dbus_connection_unregister_object_path(telephony_handle.dbus_conn, in cras_telephony_stop()
364 dbus_connection_unref(telephony_handle.dbus_conn); in cras_telephony_stop()
365 telephony_handle.dbus_conn = NULL; in cras_telephony_stop()
370 return &telephony_handle; in cras_telephony_get()
388 if (telephony_handle.call == 0) { in cras_telephony_event_answer_call()
389 telephony_handle.call = 1; in cras_telephony_event_answer_call()
397 telephony_handle.callsetup = 0; in cras_telephony_event_answer_call()
420 if (telephony_handle.call) { in cras_telephony_event_terminate_call()
421 telephony_handle.call = 0; in cras_telephony_event_terminate_call()
428 if (telephony_handle.callsetup) { in cras_telephony_event_terminate_call()
429 telephony_handle.callsetup = 0; in cras_telephony_event_terminate_call()
441 if (telephony_handle.dial_number != NULL) { in cras_telephony_store_dial_number()
442 free(telephony_handle.dial_number); in cras_telephony_store_dial_number()
443 telephony_handle.dial_number = NULL; in cras_telephony_store_dial_number()
449 telephony_handle.dial_number = in cras_telephony_store_dial_number()
450 (char *)calloc(len + 1, sizeof(*telephony_handle.dial_number)); in cras_telephony_store_dial_number()
451 strncpy(telephony_handle.dial_number, number, len); in cras_telephony_store_dial_number()
454 telephony_handle.dial_number); in cras_telephony_store_dial_number()