Commit Graph

5632 Commits

Author SHA1 Message Date
Ben Chan
cf86b6ab98 broadband-modem-qmi: replace ensure_qmi_client with GTask implementation
assure_qmi_client() was created to help migrating MMBroadbandModemQmi code
to use GTask. Now that all MMBroadbandModemQmi code has been migrated to
use GTask, this patch removes the old ensure_qmi_client() and rename
assure_qmi_client() as ensure_qmi_client().
2018-06-02 17:57:00 +02:00
Ben Chan
bf4af8b82a broadband-modem-qmi: port modem_cdma_{activate,activate_manual} to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
856d931a7e broadband-modem-qmi: port load_initial_sms_parts to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
3cd9ae6321 broadband-modem-qmi: port messaging_set_default_storage to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
216fb6bbe8 broadband-modem-qmi: port messaging_{enable,disable}_unsolicited_events to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
52d0f9760b broadband-modem-qmi: port location_load_supl_server to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
6f44554b21 broadband-modem-qmi: port location_set_supl_server to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
44c3cceb5e broadband-modem-qmi: port disable_location_gathering to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
84a3ea7661 broadband-modem-qmi: port firmware_change_current to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
65767c1c88 broadband-modem-qmi: port firmware_check_support to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
f933b967be broadband-modem-qmi: port common_enable_disable_oma_unsolicited_events to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
fe46d2c7db broadband-modem-qmi: port common_setup_cleanup_oma_unsolicited_events to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
456a09c655 broadband-modem-qmi: port oma_cancel_session to use GTask 2018-06-02 17:57:00 +02:00
Ben Chan
ce7b3a7bb0 broadband-modem-qmi: port oma_start_client_initiated_session to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
311859d60f broadband-modem-qmi: port oma_accept_network_initiated_session to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
76bdaaba3e broadband-modem-qmi: port oma_load_features to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
f330ffdaa9 broadband-modem-qmi: port oma_setup to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
3455b01b57 broadband-modem-qmi: port modem_cdma_load_activation_state to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
e09e4692dc broadband-modem-qmi: port modem_cdma_run_registration_checks to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
d73f431987 broadband-modem-qmi: port modem_3gpp_{enable,disable}_unsolicited_registration_events to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
478232dc05 broadband-modem-qmi: port modem_3gpp_run_registration_checks to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
b6de1ad22e broadband-modem-qmi: port modem_3gpp_register_in_network to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
a3123cadd8 broadband-modem-qmi: port modem_3gpp_scan_networks to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
f3b2deadda broadband-modem-qmi: port modem_3gpp_load_enabled_facility_locks to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
8ad01d31ac broadband-modem-qmi: port common_setup_cleanup_unsolicited_registration_events to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
df0d2f9552 broadband-modem-qmi: port common_setup_cleanup_messaging_unsolicited_events to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
85eb5bdcbd broadband-modem-qmi: port common_setup_cleanup_unsolicited_events to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
baefe53ab9 broadband-modem-qmi: port common_enable_disable_unsolicited_events to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
c0669e98ae broadband-modem-qmi: port set_current_capabilities to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
bdc3729cba broadband-modem-qmi: port set_current_bands to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
4a53e7cc39 broadband-modem-qmi: port set_current_modes to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
7d8f0600e6 broadband-modem-qmi: port signal_load_values to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
8047f54083 broadband-modem-qmi: port load_power_state to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
0502fe042b broadband-modem-qmi: port load_signal_quality to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
77a875a1b0 broadband-modem-qmi: port load_current_modes to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
51ede979bf broadband-modem-qmi: port modem_load_equipment_identifier to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
6b14a1cf1b broadband-modem-qmi: port modem_load_current_bands to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
834674b21c broadband-modem-qmi: port modem_load_supported_bands to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
59c8ba8642 broadband-modem-qmi: port modem_load_own_numbers to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
4dc5652520 broadband-modem-qmi: port modem_load_hardware_revision to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
2f8a041122 broadband-modem-qmi: port modem_load_revision to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
3c17065636 broadband-modem-qmi: port modem_load_model to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
0bf2800d05 broadband-modem-qmi: port modem_load_manufacturer to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
dba8702952 broadband-modem-qmi: port modem_load_supported_capabilities to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
3e374e228a broadband-modem-qmi: port modem_load_current_capabilities to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
31c0da2825 broadband-modem-qmi: port common_power_up_down_off to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
71d21cba02 broadband-modem-qmi: port power_cycle to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
f52264d78a broadband-modem-qmi: port modem_reset to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
15ffa69d72 broadband-modem-qmi: port modem_factory_reset to use GTask 2018-06-02 17:56:59 +02:00
Ben Chan
641e1b8a43 broadband-modem-qmi: add a temporary assure_qmi_client() helper
ensure_qmi_client() uses g_simple_async_report_take_gerror_in_idle(),
which can't be mixed with GTask. To allow migrating remaining
MMBroadbandModemQmi code to use GTask in a series of smaller patches,
this patch adds a temporary assure_qmi_client() helper, which mimics
ensure_qmi_client() but uses g_task_report_new_error(). Once all the
MMBroadbandModemQmi code is migrated to use GTask, we will drop the old
ensure_qmi_client() and renames assure_qmi_client() back to
ensure_qmi_client().
2018-06-02 17:56:59 +02:00