Lines Matching refs:telephony_handle

52 static struct cras_telephony_handle telephony_handle;  variable
104 telephony_handle.callsetup = 1; in handle_incoming_call()
224 telephony_handle.callheld = value; in handle_set_callheld()
308 telephony_handle.dbus_conn = conn; in cras_telephony_start()
309 dbus_connection_ref(telephony_handle.dbus_conn); in cras_telephony_start()
325 if (!telephony_handle.dbus_conn) in cras_telephony_stop()
328 dbus_connection_unregister_object_path(telephony_handle.dbus_conn, in cras_telephony_stop()
330 dbus_connection_unref(telephony_handle.dbus_conn); in cras_telephony_stop()
331 telephony_handle.dbus_conn = NULL; in cras_telephony_stop()
336 return &telephony_handle; in cras_telephony_get()
354 if (telephony_handle.call == 0) { in cras_telephony_event_answer_call()
355 telephony_handle.call = 1; in cras_telephony_event_answer_call()
363 telephony_handle.callsetup = 0; in cras_telephony_event_answer_call()
386 if (telephony_handle.call) { in cras_telephony_event_terminate_call()
387 telephony_handle.call = 0; in cras_telephony_event_terminate_call()
394 if (telephony_handle.callsetup) { in cras_telephony_event_terminate_call()
395 telephony_handle.callsetup = 0; in cras_telephony_event_terminate_call()
408 if (telephony_handle.dial_number != NULL) { in cras_telephony_store_dial_number()
409 free(telephony_handle.dial_number); in cras_telephony_store_dial_number()
410 telephony_handle.dial_number = NULL; in cras_telephony_store_dial_number()
416 telephony_handle.dial_number = in cras_telephony_store_dial_number()
418 sizeof(*telephony_handle.dial_number)); in cras_telephony_store_dial_number()
419 strncpy(telephony_handle.dial_number, number, len); in cras_telephony_store_dial_number()
422 "store dial_number: \"%s\"", telephony_handle.dial_number); in cras_telephony_store_dial_number()